From c6f7ad478ca608a74e978eb1772575174cd996bc Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 12:59:49 +0100 Subject: [PATCH 1/6] Dual package support without typescript --- packages/javascript/.gitignore | 7 +- .../dist/gen/livekit_agent_dispatch_pb.cjs | 385 ++ .../gen/livekit_agent_dispatch_pb.cjs.map | 1 + .../dist/gen/livekit_agent_dispatch_pb.d.ts | 174 + .../gen/livekit_agent_dispatch_pb.d.ts.map | 1 + .../dist/gen/livekit_agent_dispatch_pb.js | 356 ++ .../dist/gen/livekit_agent_dispatch_pb.js.map | 1 + .../javascript/dist/gen/livekit_agent_pb.cjs | 881 ++++ .../dist/gen/livekit_agent_pb.cjs.map | 1 + .../javascript/dist/gen/livekit_agent_pb.d.ts | 575 +++ .../dist/gen/livekit_agent_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_agent_pb.js | 840 ++++ .../dist/gen/livekit_agent_pb.js.map | 1 + .../dist/gen/livekit_analytics_pb.cjs | 1087 +++++ .../dist/gen/livekit_analytics_pb.cjs.map | 1 + .../dist/gen/livekit_analytics_pb.d.ts | 679 +++ .../dist/gen/livekit_analytics_pb.d.ts.map | 1 + .../dist/gen/livekit_analytics_pb.js | 1053 +++++ .../dist/gen/livekit_analytics_pb.js.map | 1 + .../javascript/dist/gen/livekit_egress_pb.cjs | 2476 +++++++++++ .../dist/gen/livekit_egress_pb.cjs.map | 1 + .../dist/gen/livekit_egress_pb.d.ts | 1720 ++++++++ .../dist/gen/livekit_egress_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_egress_pb.js | 2417 +++++++++++ .../dist/gen/livekit_egress_pb.js.map | 1 + .../dist/gen/livekit_ingress_pb.cjs | 1050 +++++ .../dist/gen/livekit_ingress_pb.cjs.map | 1 + .../dist/gen/livekit_ingress_pb.d.ts | 660 +++ .../dist/gen/livekit_ingress_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_ingress_pb.js | 1011 +++++ .../dist/gen/livekit_ingress_pb.js.map | 1 + .../dist/gen/livekit_internal_pb.cjs | 998 +++++ .../dist/gen/livekit_internal_pb.cjs.map | 1 + .../dist/gen/livekit_internal_pb.d.ts | 481 +++ .../dist/gen/livekit_internal_pb.d.ts.map | 1 + .../dist/gen/livekit_internal_pb.js | 968 +++++ .../dist/gen/livekit_internal_pb.js.map | 1 + .../dist/gen/livekit_metrics_pb.cjs | 371 ++ .../dist/gen/livekit_metrics_pb.cjs.map | 1 + .../dist/gen/livekit_metrics_pb.d.ts | 304 ++ .../dist/gen/livekit_metrics_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_metrics_pb.js | 344 ++ .../dist/gen/livekit_metrics_pb.js.map | 1 + .../javascript/dist/gen/livekit_models_pb.cjs | 3668 +++++++++++++++++ .../dist/gen/livekit_models_pb.cjs.map | 1 + .../dist/gen/livekit_models_pb.d.ts | 2265 ++++++++++ .../dist/gen/livekit_models_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_models_pb.js | 3588 ++++++++++++++++ .../dist/gen/livekit_models_pb.js.map | 1 + .../javascript/dist/gen/livekit_room_pb.cjs | 1080 +++++ .../dist/gen/livekit_room_pb.cjs.map | 1 + .../javascript/dist/gen/livekit_room_pb.d.ts | 580 +++ .../dist/gen/livekit_room_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_room_pb.js | 1038 +++++ .../dist/gen/livekit_room_pb.js.map | 1 + .../javascript/dist/gen/livekit_rtc_pb.cjs | 2261 ++++++++++ .../dist/gen/livekit_rtc_pb.cjs.map | 1 + .../javascript/dist/gen/livekit_rtc_pb.d.ts | 1602 +++++++ .../dist/gen/livekit_rtc_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_rtc_pb.js | 2192 ++++++++++ .../javascript/dist/gen/livekit_rtc_pb.js.map | 1 + .../javascript/dist/gen/livekit_sip_pb.cjs | 2118 ++++++++++ .../dist/gen/livekit_sip_pb.cjs.map | 1 + .../javascript/dist/gen/livekit_sip_pb.d.ts | 1226 ++++++ .../dist/gen/livekit_sip_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_sip_pb.js | 2061 +++++++++ .../javascript/dist/gen/livekit_sip_pb.js.map | 1 + .../dist/gen/livekit_webhook_pb.cjs | 111 + .../dist/gen/livekit_webhook_pb.cjs.map | 1 + .../dist/gen/livekit_webhook_pb.d.ts | 71 + .../dist/gen/livekit_webhook_pb.d.ts.map | 1 + .../javascript/dist/gen/livekit_webhook_pb.js | 88 + .../dist/gen/livekit_webhook_pb.js.map | 1 + packages/javascript/dist/gen/version.cjs | 28 + packages/javascript/dist/gen/version.cjs.map | 1 + packages/javascript/dist/gen/version.d.ts | 2 + packages/javascript/dist/gen/version.d.ts.map | 1 + packages/javascript/dist/gen/version.js | 5 + packages/javascript/dist/gen/version.js.map | 1 + packages/javascript/dist/index.cjs | 51 + packages/javascript/dist/index.cjs.map | 1 + packages/javascript/dist/index.d.ts | 13 + packages/javascript/dist/index.d.ts.map | 1 + packages/javascript/dist/index.js | 16 + packages/javascript/dist/index.js.map | 1 + packages/javascript/package.json | 40 +- packages/javascript/src/cjs/index.cjs | 27 + packages/javascript/src/cjs/index.d.ts | 12 + .../src/{index.ts => esm/index.d.ts} | 0 packages/javascript/src/esm/index.js | 12 + packages/javascript/tsconfig.json | 14 - pnpm-lock.yaml | 689 ---- 92 files changed, 43016 insertions(+), 721 deletions(-) create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.js create mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.js create mode 100644 packages/javascript/dist/gen/livekit_agent_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.js create mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.js create mode 100644 packages/javascript/dist/gen/livekit_egress_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.js create mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.js create mode 100644 packages/javascript/dist/gen/livekit_internal_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.js create mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_models_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_models_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_models_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_models_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_models_pb.js create mode 100644 packages/javascript/dist/gen/livekit_models_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_room_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_room_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_room_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_room_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_room_pb.js create mode 100644 packages/javascript/dist/gen/livekit_room_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.js create mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.js create mode 100644 packages/javascript/dist/gen/livekit_sip_pb.js.map create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.cjs create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.cjs.map create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.d.ts create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.js create mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.js.map create mode 100644 packages/javascript/dist/gen/version.cjs create mode 100644 packages/javascript/dist/gen/version.cjs.map create mode 100644 packages/javascript/dist/gen/version.d.ts create mode 100644 packages/javascript/dist/gen/version.d.ts.map create mode 100644 packages/javascript/dist/gen/version.js create mode 100644 packages/javascript/dist/gen/version.js.map create mode 100644 packages/javascript/dist/index.cjs create mode 100644 packages/javascript/dist/index.cjs.map create mode 100644 packages/javascript/dist/index.d.ts create mode 100644 packages/javascript/dist/index.d.ts.map create mode 100644 packages/javascript/dist/index.js create mode 100644 packages/javascript/dist/index.js.map create mode 100644 packages/javascript/src/cjs/index.cjs create mode 100644 packages/javascript/src/cjs/index.d.ts rename packages/javascript/src/{index.ts => esm/index.d.ts} (100%) create mode 100644 packages/javascript/src/esm/index.js delete mode 100644 packages/javascript/tsconfig.json diff --git a/packages/javascript/.gitignore b/packages/javascript/.gitignore index 61eededa..b0af45ae 100644 --- a/packages/javascript/.gitignore +++ b/packages/javascript/.gitignore @@ -1,3 +1,6 @@ node_modules/ -dist/ -src/gen +src/esm/gen +src/cjs/gen +!src/esm/gen/version.d.ts +!src/cjs/gen/version.d.ts + diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs new file mode 100644 index 00000000..ca2a4f9a --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs @@ -0,0 +1,385 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_agent_dispatch_pb_exports = {}; +__export(livekit_agent_dispatch_pb_exports, { + AgentDispatch: () => AgentDispatch, + AgentDispatchState: () => AgentDispatchState, + CreateAgentDispatchRequest: () => CreateAgentDispatchRequest, + DeleteAgentDispatchRequest: () => DeleteAgentDispatchRequest, + ListAgentDispatchRequest: () => ListAgentDispatchRequest, + ListAgentDispatchResponse: () => ListAgentDispatchResponse, + RoomAgentDispatch: () => RoomAgentDispatch +}); +module.exports = __toCommonJS(livekit_agent_dispatch_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_agent_pb = require("./livekit_agent_pb.cjs"); +const _CreateAgentDispatchRequest = class _CreateAgentDispatchRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string agent_name = 1; + */ + this.agentName = ""; + /** + * @generated from field: string room = 2; + */ + this.room = ""; + /** + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateAgentDispatchRequest, a, b); + } +}; +_CreateAgentDispatchRequest.runtime = import_protobuf.proto3; +_CreateAgentDispatchRequest.typeName = "livekit.CreateAgentDispatchRequest"; +_CreateAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let CreateAgentDispatchRequest = _CreateAgentDispatchRequest; +const _RoomAgentDispatch = class _RoomAgentDispatch extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string agent_name = 1; + */ + this.agentName = ""; + /** + * @generated from field: string metadata = 2; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomAgentDispatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomAgentDispatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomAgentDispatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomAgentDispatch, a, b); + } +}; +_RoomAgentDispatch.runtime = import_protobuf.proto3; +_RoomAgentDispatch.typeName = "livekit.RoomAgentDispatch"; +_RoomAgentDispatch.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RoomAgentDispatch = _RoomAgentDispatch; +const _DeleteAgentDispatchRequest = class _DeleteAgentDispatchRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string dispatch_id = 1; + */ + this.dispatchId = ""; + /** + * @generated from field: string room = 2; + */ + this.room = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteAgentDispatchRequest, a, b); + } +}; +_DeleteAgentDispatchRequest.runtime = import_protobuf.proto3; +_DeleteAgentDispatchRequest.typeName = "livekit.DeleteAgentDispatchRequest"; +_DeleteAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteAgentDispatchRequest = _DeleteAgentDispatchRequest; +const _ListAgentDispatchRequest = class _ListAgentDispatchRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * if set, only the dispatch whose id is given will be returned + * + * @generated from field: string dispatch_id = 1; + */ + this.dispatchId = ""; + /** + * name of the room to list agents for. Must be set. + * + * @generated from field: string room = 2; + */ + this.room = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListAgentDispatchRequest, a, b); + } +}; +_ListAgentDispatchRequest.runtime = import_protobuf.proto3; +_ListAgentDispatchRequest.typeName = "livekit.ListAgentDispatchRequest"; +_ListAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListAgentDispatchRequest = _ListAgentDispatchRequest; +const _ListAgentDispatchResponse = class _ListAgentDispatchResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; + */ + this.agentDispatches = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListAgentDispatchResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListAgentDispatchResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListAgentDispatchResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListAgentDispatchResponse, a, b); + } +}; +_ListAgentDispatchResponse.runtime = import_protobuf.proto3; +_ListAgentDispatchResponse.typeName = "livekit.ListAgentDispatchResponse"; +_ListAgentDispatchResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true } +]); +let ListAgentDispatchResponse = _ListAgentDispatchResponse; +const _AgentDispatch = class _AgentDispatch extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string agent_name = 2; + */ + this.agentName = ""; + /** + * @generated from field: string room = 3; + */ + this.room = ""; + /** + * @generated from field: string metadata = 4; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AgentDispatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AgentDispatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AgentDispatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AgentDispatch, a, b); + } +}; +_AgentDispatch.runtime = import_protobuf.proto3; +_AgentDispatch.typeName = "livekit.AgentDispatch"; +_AgentDispatch.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "state", kind: "message", T: AgentDispatchState } +]); +let AgentDispatch = _AgentDispatch; +const _AgentDispatchState = class _AgentDispatchState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * For dispatches of tyoe JT_ROOM, there will be at most 1 job. + * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. + * + * @generated from field: repeated livekit.Job jobs = 1; + */ + this.jobs = []; + /** + * @generated from field: int64 created_at = 2; + */ + this.createdAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 deleted_at = 3; + */ + this.deletedAt = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AgentDispatchState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AgentDispatchState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AgentDispatchState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AgentDispatchState, a, b); + } +}; +_AgentDispatchState.runtime = import_protobuf.proto3; +_AgentDispatchState.typeName = "livekit.AgentDispatchState"; +_AgentDispatchState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "jobs", kind: "message", T: import_livekit_agent_pb.Job, repeated: true }, + { + no: 2, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "deleted_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let AgentDispatchState = _AgentDispatchState; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + AgentDispatch, + AgentDispatchState, + CreateAgentDispatchRequest, + DeleteAgentDispatchRequest, + ListAgentDispatchRequest, + ListAgentDispatchResponse, + RoomAgentDispatch +}); +//# sourceMappingURL=livekit_agent_dispatch_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map new file mode 100644 index 00000000..e0c0d7da --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { Job } from \"./livekit_agent_pb.js\";\n\n/**\n * @generated from message livekit.CreateAgentDispatchRequest\n */\nexport class CreateAgentDispatchRequest extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgentDispatch\n */\nexport class RoomAgentDispatch extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteAgentDispatchRequest\n */\nexport class DeleteAgentDispatchRequest extends Message {\n /**\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchRequest\n */\nexport class ListAgentDispatchRequest extends Message {\n /**\n * if set, only the dispatch whose id is given will be returned\n *\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * name of the room to list agents for. Must be set.\n *\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchResponse\n */\nexport class ListAgentDispatchResponse extends Message {\n /**\n * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1;\n */\n agentDispatches: AgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_dispatches\", kind: \"message\", T: AgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatch\n */\nexport class AgentDispatch extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string agent_name = 2;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 3;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 4;\n */\n metadata = \"\";\n\n /**\n * @generated from field: livekit.AgentDispatchState state = 5;\n */\n state?: AgentDispatchState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"state\", kind: \"message\", T: AgentDispatchState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatchState\n */\nexport class AgentDispatchState extends Message {\n /**\n * For dispatches of tyoe JT_ROOM, there will be at most 1 job. \n * For dispatches of type JT_PUBLISHER, there will be 1 per publisher.\n *\n * @generated from field: repeated livekit.Job jobs = 1;\n */\n jobs: Job[] = [];\n\n /**\n * @generated from field: int64 created_at = 2;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 deleted_at = 3;\n */\n deletedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatchState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"jobs\", kind: \"message\", T: Job, repeated: true },\n { no: 2, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"deleted_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatchState, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,8BAAoB;AAKb,MAAM,8BAAN,MAAM,oCAAmC,wBAAoC;AAAA,EAgBlF,YAAY,MAAmD;AAC7D,UAAM;AAbR;AAAA;AAAA;AAAA,qBAAY;AAKZ;AAAA;AAAA;AAAA,gBAAO;AAKP;AAAA;AAAA;AAAA,oBAAW;AAIT,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAUA,OAAO,WAAW,OAAmB,SAAkE;AACrG,WAAO,IAAI,4BAA2B,EAAE,WAAW,OAAO,OAAO;AAAA,EACnE;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAgE;AACpG,WAAO,IAAI,4BAA2B,EAAE,SAAS,WAAW,OAAO;AAAA,EACrE;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAgE;AACxG,WAAO,IAAI,4BAA2B,EAAE,eAAe,YAAY,OAAO;AAAA,EAC5E;AAAA,EAEA,OAAO,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AyBK,WAAW;AAzBhB,oBA0BK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,6BAAK,UAAU,KAAK;AAAA,EAC/D;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC3E,CAAC;AA9BI,IAAM,qBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts new file mode 100644 index 00000000..8d0c73b4 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts @@ -0,0 +1,174 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { Job } from "./livekit_agent_pb.js"; +/** + * @generated from message livekit.CreateAgentDispatchRequest + */ +export declare class CreateAgentDispatchRequest extends Message { + /** + * @generated from field: string agent_name = 1; + */ + agentName: string; + /** + * @generated from field: string room = 2; + */ + room: string; + /** + * @generated from field: string metadata = 3; + */ + metadata: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateAgentDispatchRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest; + static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomAgentDispatch + */ +export declare class RoomAgentDispatch extends Message { + /** + * @generated from field: string agent_name = 1; + */ + agentName: string; + /** + * @generated from field: string metadata = 2; + */ + metadata: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomAgentDispatch"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch; + static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch; + static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteAgentDispatchRequest + */ +export declare class DeleteAgentDispatchRequest extends Message { + /** + * @generated from field: string dispatch_id = 1; + */ + dispatchId: string; + /** + * @generated from field: string room = 2; + */ + room: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteAgentDispatchRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest; + static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest; + static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListAgentDispatchRequest + */ +export declare class ListAgentDispatchRequest extends Message { + /** + * if set, only the dispatch whose id is given will be returned + * + * @generated from field: string dispatch_id = 1; + */ + dispatchId: string; + /** + * name of the room to list agents for. Must be set. + * + * @generated from field: string room = 2; + */ + room: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListAgentDispatchRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest; + static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest; + static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListAgentDispatchResponse + */ +export declare class ListAgentDispatchResponse extends Message { + /** + * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; + */ + agentDispatches: AgentDispatch[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListAgentDispatchResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse; + static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse; + static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AgentDispatch + */ +export declare class AgentDispatch extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string agent_name = 2; + */ + agentName: string; + /** + * @generated from field: string room = 3; + */ + room: string; + /** + * @generated from field: string metadata = 4; + */ + metadata: string; + /** + * @generated from field: livekit.AgentDispatchState state = 5; + */ + state?: AgentDispatchState; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AgentDispatch"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch; + static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch; + static fromJsonString(jsonString: string, options?: Partial): AgentDispatch; + static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AgentDispatchState + */ +export declare class AgentDispatchState extends Message { + /** + * For dispatches of tyoe JT_ROOM, there will be at most 1 job. + * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. + * + * @generated from field: repeated livekit.Job jobs = 1; + */ + jobs: Job[]; + /** + * @generated from field: int64 created_at = 2; + */ + createdAt: bigint; + /** + * @generated from field: int64 deleted_at = 3; + */ + deletedAt: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AgentDispatchState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState; + static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState; + static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState; + static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_agent_dispatch_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map new file mode 100644 index 00000000..d4d252ac --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_agent_dispatch_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,OAAO,CAAC,0BAA0B,CAAC;IACjF;;OAEG;IACH,SAAS,SAAM;IAEf;;OAEG;IACH,IAAI,SAAM;IAEV;;OAEG;IACH,QAAQ,SAAM;gBAEF,IAAI,CAAC,EAAE,cAAc,CAAC,0BAA0B,CAAC;IAK7D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,wCAAwC;IAChE,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE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Aa,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/I;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IACjE;;;;;OAKG;IACH,IAAI,EAAE,GAAG,EAAE,CAAM;IAEjB;;OAEG;IACH,SAAS,SAAmB;IAE5B;;OAEG;IACH,SAAS,SAAmB;gBAEhB,IAAI,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;IAKrD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,gCAAgC;IACxD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAI9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,kBAAkB;IAI9F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAI7F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js new file mode 100644 index 00000000..2ca0055a --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js @@ -0,0 +1,356 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { Job } from "./livekit_agent_pb.js"; +const _CreateAgentDispatchRequest = class _CreateAgentDispatchRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string agent_name = 1; + */ + this.agentName = ""; + /** + * @generated from field: string room = 2; + */ + this.room = ""; + /** + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateAgentDispatchRequest, a, b); + } +}; +_CreateAgentDispatchRequest.runtime = proto3; +_CreateAgentDispatchRequest.typeName = "livekit.CreateAgentDispatchRequest"; +_CreateAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let CreateAgentDispatchRequest = _CreateAgentDispatchRequest; +const _RoomAgentDispatch = class _RoomAgentDispatch extends Message { + constructor(data) { + super(); + /** + * @generated from field: string agent_name = 1; + */ + this.agentName = ""; + /** + * @generated from field: string metadata = 2; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomAgentDispatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomAgentDispatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomAgentDispatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomAgentDispatch, a, b); + } +}; +_RoomAgentDispatch.runtime = proto3; +_RoomAgentDispatch.typeName = "livekit.RoomAgentDispatch"; +_RoomAgentDispatch.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RoomAgentDispatch = _RoomAgentDispatch; +const _DeleteAgentDispatchRequest = class _DeleteAgentDispatchRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string dispatch_id = 1; + */ + this.dispatchId = ""; + /** + * @generated from field: string room = 2; + */ + this.room = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteAgentDispatchRequest, a, b); + } +}; +_DeleteAgentDispatchRequest.runtime = proto3; +_DeleteAgentDispatchRequest.typeName = "livekit.DeleteAgentDispatchRequest"; +_DeleteAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteAgentDispatchRequest = _DeleteAgentDispatchRequest; +const _ListAgentDispatchRequest = class _ListAgentDispatchRequest extends Message { + constructor(data) { + super(); + /** + * if set, only the dispatch whose id is given will be returned + * + * @generated from field: string dispatch_id = 1; + */ + this.dispatchId = ""; + /** + * name of the room to list agents for. Must be set. + * + * @generated from field: string room = 2; + */ + this.room = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListAgentDispatchRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListAgentDispatchRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListAgentDispatchRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListAgentDispatchRequest, a, b); + } +}; +_ListAgentDispatchRequest.runtime = proto3; +_ListAgentDispatchRequest.typeName = "livekit.ListAgentDispatchRequest"; +_ListAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListAgentDispatchRequest = _ListAgentDispatchRequest; +const _ListAgentDispatchResponse = class _ListAgentDispatchResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; + */ + this.agentDispatches = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListAgentDispatchResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListAgentDispatchResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListAgentDispatchResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListAgentDispatchResponse, a, b); + } +}; +_ListAgentDispatchResponse.runtime = proto3; +_ListAgentDispatchResponse.typeName = "livekit.ListAgentDispatchResponse"; +_ListAgentDispatchResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true } +]); +let ListAgentDispatchResponse = _ListAgentDispatchResponse; +const _AgentDispatch = class _AgentDispatch extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string agent_name = 2; + */ + this.agentName = ""; + /** + * @generated from field: string room = 3; + */ + this.room = ""; + /** + * @generated from field: string metadata = 4; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AgentDispatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AgentDispatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AgentDispatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AgentDispatch, a, b); + } +}; +_AgentDispatch.runtime = proto3; +_AgentDispatch.typeName = "livekit.AgentDispatch"; +_AgentDispatch.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "state", kind: "message", T: AgentDispatchState } +]); +let AgentDispatch = _AgentDispatch; +const _AgentDispatchState = class _AgentDispatchState extends Message { + constructor(data) { + super(); + /** + * For dispatches of tyoe JT_ROOM, there will be at most 1 job. + * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. + * + * @generated from field: repeated livekit.Job jobs = 1; + */ + this.jobs = []; + /** + * @generated from field: int64 created_at = 2; + */ + this.createdAt = protoInt64.zero; + /** + * @generated from field: int64 deleted_at = 3; + */ + this.deletedAt = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AgentDispatchState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AgentDispatchState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AgentDispatchState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AgentDispatchState, a, b); + } +}; +_AgentDispatchState.runtime = proto3; +_AgentDispatchState.typeName = "livekit.AgentDispatchState"; +_AgentDispatchState.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "jobs", kind: "message", T: Job, repeated: true }, + { + no: 2, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "deleted_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let AgentDispatchState = _AgentDispatchState; +export { + AgentDispatch, + AgentDispatchState, + CreateAgentDispatchRequest, + DeleteAgentDispatchRequest, + ListAgentDispatchRequest, + ListAgentDispatchResponse, + RoomAgentDispatch +}; +//# sourceMappingURL=livekit_agent_dispatch_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map new file mode 100644 index 00000000..487efcdc --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { Job } from \"./livekit_agent_pb.js\";\n\n/**\n * @generated from message livekit.CreateAgentDispatchRequest\n */\nexport class CreateAgentDispatchRequest extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgentDispatch\n */\nexport class RoomAgentDispatch extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteAgentDispatchRequest\n */\nexport class DeleteAgentDispatchRequest extends Message {\n /**\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchRequest\n */\nexport class ListAgentDispatchRequest extends Message {\n /**\n * if set, only the dispatch whose id is given will be returned\n *\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * name of the room to list agents for. Must be set.\n *\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchResponse\n */\nexport class ListAgentDispatchResponse extends Message {\n /**\n * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1;\n */\n agentDispatches: AgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_dispatches\", kind: \"message\", T: AgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatch\n */\nexport class AgentDispatch extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string agent_name = 2;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 3;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 4;\n */\n metadata = \"\";\n\n /**\n * @generated from field: livekit.AgentDispatchState state = 5;\n */\n state?: AgentDispatchState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"state\", kind: \"message\", T: AgentDispatchState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatchState\n */\nexport class AgentDispatchState extends Message {\n /**\n * For dispatches of tyoe JT_ROOM, there will be at most 1 job. \n * For dispatches of type JT_PUBLISHER, there will be 1 per publisher.\n *\n * @generated from field: repeated livekit.Job jobs = 1;\n */\n jobs: Job[] = [];\n\n /**\n * @generated from field: int64 created_at = 2;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 deleted_at = 3;\n */\n deletedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatchState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"jobs\", kind: \"message\", T: Job, repeated: true },\n { no: 2, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"deleted_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatchState, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,WAAW;AAKb,MAAM,8BAAN,MAAM,oCAAmC,QAAoC;AAAA,EAgBlF,YAAY,MAAmD;AAC7D,UAAM;AAbR;AAAA;AAAA;AAAA,qBAAY;AAKZ;AAAA;AAAA;AAAA,gBAAO;AAKP;AAAA;AAAA;AAAA,oBAAW;AAIT,WAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAUA,OAAO,WAAW,OAAmB,SAAkE;AACrG,WAAO,IAAI,4BAA2B,EAAE,WAAW,OAAO,OAAO;AAAA,EACnE;AAAA,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AAmB,EAAE,eAAe,YAAY,OAAO;AAAA,EACpE;AAAA,EAEA,OAAO,OAAO,GAAsE,GAA+E;AACjK,WAAO,OAAO,KAAK,OAAO,qBAAoB,GAAG,CAAC;AAAA,EACpD;AACF;AA/Ca,oBAwBK,UAAyB;AAxB9B,oBAyBK,WAAW;AAzBhB,oBA0BK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,KAAK,UAAU,KAAK;AAAA,EAC/D;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC3E,CAAC;AA9BI,IAAM,qBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.cjs b/packages/javascript/dist/gen/livekit_agent_pb.cjs new file mode 100644 index 00000000..428bc252 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.cjs @@ -0,0 +1,881 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_agent_pb_exports = {}; +__export(livekit_agent_pb_exports, { + AvailabilityRequest: () => AvailabilityRequest, + AvailabilityResponse: () => AvailabilityResponse, + Job: () => Job, + JobAssignment: () => JobAssignment, + JobState: () => JobState, + JobStatus: () => JobStatus, + JobTermination: () => JobTermination, + JobType: () => JobType, + MigrateJobRequest: () => MigrateJobRequest, + RegisterWorkerRequest: () => RegisterWorkerRequest, + RegisterWorkerResponse: () => RegisterWorkerResponse, + ServerMessage: () => ServerMessage, + SimulateJobRequest: () => SimulateJobRequest, + UpdateJobStatus: () => UpdateJobStatus, + UpdateWorkerStatus: () => UpdateWorkerStatus, + WorkerMessage: () => WorkerMessage, + WorkerPing: () => WorkerPing, + WorkerPong: () => WorkerPong, + WorkerStatus: () => WorkerStatus +}); +module.exports = __toCommonJS(livekit_agent_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var JobType = /* @__PURE__ */ ((JobType2) => { + JobType2[JobType2["JT_ROOM"] = 0] = "JT_ROOM"; + JobType2[JobType2["JT_PUBLISHER"] = 1] = "JT_PUBLISHER"; + return JobType2; +})(JobType || {}); +import_protobuf.proto3.util.setEnumType(JobType, "livekit.JobType", [ + { no: 0, name: "JT_ROOM" }, + { no: 1, name: "JT_PUBLISHER" } +]); +var WorkerStatus = /* @__PURE__ */ ((WorkerStatus2) => { + WorkerStatus2[WorkerStatus2["WS_AVAILABLE"] = 0] = "WS_AVAILABLE"; + WorkerStatus2[WorkerStatus2["WS_FULL"] = 1] = "WS_FULL"; + return WorkerStatus2; +})(WorkerStatus || {}); +import_protobuf.proto3.util.setEnumType(WorkerStatus, "livekit.WorkerStatus", [ + { no: 0, name: "WS_AVAILABLE" }, + { no: 1, name: "WS_FULL" } +]); +var JobStatus = /* @__PURE__ */ ((JobStatus2) => { + JobStatus2[JobStatus2["JS_PENDING"] = 0] = "JS_PENDING"; + JobStatus2[JobStatus2["JS_RUNNING"] = 1] = "JS_RUNNING"; + JobStatus2[JobStatus2["JS_SUCCESS"] = 2] = "JS_SUCCESS"; + JobStatus2[JobStatus2["JS_FAILED"] = 3] = "JS_FAILED"; + return JobStatus2; +})(JobStatus || {}); +import_protobuf.proto3.util.setEnumType(JobStatus, "livekit.JobStatus", [ + { no: 0, name: "JS_PENDING" }, + { no: 1, name: "JS_RUNNING" }, + { no: 2, name: "JS_SUCCESS" }, + { no: 3, name: "JS_FAILED" } +]); +const _Job = class _Job extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string dispatch_id = 9; + */ + this.dispatchId = ""; + /** + * @generated from field: livekit.JobType type = 2; + */ + this.type = 0 /* JT_ROOM */; + /** + * @generated from field: string namespace = 5 [deprecated = true]; + * @deprecated + */ + this.namespace = ""; + /** + * @generated from field: string metadata = 6; + */ + this.metadata = ""; + /** + * @generated from field: string agent_name = 7; + */ + this.agentName = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Job().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Job().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Job().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Job, a, b); + } +}; +_Job.runtime = import_protobuf.proto3; +_Job.typeName = "livekit.Job"; +_Job.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, + { no: 3, name: "room", kind: "message", T: import_livekit_models_pb.Room }, + { no: 4, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo, opt: true }, + { + no: 5, + name: "namespace", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "state", kind: "message", T: JobState } +]); +let Job = _Job; +const _JobState = class _JobState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobStatus status = 1; + */ + this.status = 0 /* JS_PENDING */; + /** + * @generated from field: string error = 2; + */ + this.error = ""; + /** + * @generated from field: int64 started_at = 3; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 4; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 updated_at = 5; + */ + this.updatedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: string participant_identity = 6; + */ + this.participantIdentity = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_JobState, a, b); + } +}; +_JobState.runtime = import_protobuf.proto3; +_JobState.typeName = "livekit.JobState"; +_JobState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(JobStatus) }, + { + no: 2, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobState = _JobState; +const _WorkerMessage = class _WorkerMessage extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.WorkerMessage.message + */ + this.message = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_WorkerMessage, a, b); + } +}; +_WorkerMessage.runtime = import_protobuf.proto3; +_WorkerMessage.typeName = "livekit.WorkerMessage"; +_WorkerMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, + { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, + { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, + { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, + { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, + { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" } +]); +let WorkerMessage = _WorkerMessage; +const _ServerMessage = class _ServerMessage extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.ServerMessage.message + */ + this.message = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ServerMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ServerMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ServerMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ServerMessage, a, b); + } +}; +_ServerMessage.runtime = import_protobuf.proto3; +_ServerMessage.typeName = "livekit.ServerMessage"; +_ServerMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, + { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, + { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, + { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" } +]); +let ServerMessage = _ServerMessage; +const _SimulateJobRequest = class _SimulateJobRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobType type = 1; + */ + this.type = 0 /* JT_ROOM */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulateJobRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulateJobRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulateJobRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SimulateJobRequest, a, b); + } +}; +_SimulateJobRequest.runtime = import_protobuf.proto3; +_SimulateJobRequest.typeName = "livekit.SimulateJobRequest"; +_SimulateJobRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, + { no: 2, name: "room", kind: "message", T: import_livekit_models_pb.Room }, + { no: 3, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo } +]); +let SimulateJobRequest = _SimulateJobRequest; +const _WorkerPing = class _WorkerPing extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int64 timestamp = 1; + */ + this.timestamp = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerPing().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerPing().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerPing().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_WorkerPing, a, b); + } +}; +_WorkerPing.runtime = import_protobuf.proto3; +_WorkerPing.typeName = "livekit.WorkerPing"; +_WorkerPing.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let WorkerPing = _WorkerPing; +const _WorkerPong = class _WorkerPong extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int64 last_timestamp = 1; + */ + this.lastTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerPong().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerPong().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerPong().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_WorkerPong, a, b); + } +}; +_WorkerPong.runtime = import_protobuf.proto3; +_WorkerPong.typeName = "livekit.WorkerPong"; +_WorkerPong.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "last_timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let WorkerPong = _WorkerPong; +const _RegisterWorkerRequest = class _RegisterWorkerRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobType type = 1; + */ + this.type = 0 /* JT_ROOM */; + /** + * @generated from field: string agent_name = 8; + */ + this.agentName = ""; + /** + * string worker_id = 2; + * + * @generated from field: string version = 3; + */ + this.version = ""; + /** + * string name = 4 [deprecated = true]; + * + * @generated from field: uint32 ping_interval = 5; + */ + this.pingInterval = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegisterWorkerRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegisterWorkerRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegisterWorkerRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RegisterWorkerRequest, a, b); + } +}; +_RegisterWorkerRequest.runtime = import_protobuf.proto3; +_RegisterWorkerRequest.typeName = "livekit.RegisterWorkerRequest"; +_RegisterWorkerRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, + { + no: 8, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "ping_interval", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 6, name: "namespace", kind: "scalar", T: 9, opt: true }, + { no: 7, name: "allowed_permissions", kind: "message", T: import_livekit_models_pb.ParticipantPermission } +]); +let RegisterWorkerRequest = _RegisterWorkerRequest; +const _RegisterWorkerResponse = class _RegisterWorkerResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string worker_id = 1; + */ + this.workerId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegisterWorkerResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegisterWorkerResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegisterWorkerResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RegisterWorkerResponse, a, b); + } +}; +_RegisterWorkerResponse.runtime = import_protobuf.proto3; +_RegisterWorkerResponse.typeName = "livekit.RegisterWorkerResponse"; +_RegisterWorkerResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "worker_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "server_info", kind: "message", T: import_livekit_models_pb.ServerInfo } +]); +let RegisterWorkerResponse = _RegisterWorkerResponse; +const _MigrateJobRequest = class _MigrateJobRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * string job_id = 1 [deprecated = true]; + * + * @generated from field: repeated string job_ids = 2; + */ + this.jobIds = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MigrateJobRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MigrateJobRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MigrateJobRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MigrateJobRequest, a, b); + } +}; +_MigrateJobRequest.runtime = import_protobuf.proto3; +_MigrateJobRequest.typeName = "livekit.MigrateJobRequest"; +_MigrateJobRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 2, name: "job_ids", kind: "scalar", T: 9, repeated: true } +]); +let MigrateJobRequest = _MigrateJobRequest; +const _AvailabilityRequest = class _AvailabilityRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * True when the job was previously assigned to another worker but has been + * migrated due to different reasons (e.g. worker failure, job migration) + * + * @generated from field: bool resuming = 2; + */ + this.resuming = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AvailabilityRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AvailabilityRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AvailabilityRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AvailabilityRequest, a, b); + } +}; +_AvailabilityRequest.runtime = import_protobuf.proto3; +_AvailabilityRequest.typeName = "livekit.AvailabilityRequest"; +_AvailabilityRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "job", kind: "message", T: Job }, + { + no: 2, + name: "resuming", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let AvailabilityRequest = _AvailabilityRequest; +const _AvailabilityResponse = class _AvailabilityResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + /** + * @generated from field: bool available = 2; + */ + this.available = false; + /** + * @generated from field: bool supports_resume = 3; + */ + this.supportsResume = false; + /** + * @generated from field: string participant_name = 4; + */ + this.participantName = ""; + /** + * @generated from field: string participant_identity = 5; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_metadata = 6; + */ + this.participantMetadata = ""; + /** + * @generated from field: map participant_attributes = 7; + */ + this.participantAttributes = {}; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AvailabilityResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AvailabilityResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AvailabilityResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AvailabilityResponse, a, b); + } +}; +_AvailabilityResponse.runtime = import_protobuf.proto3; +_AvailabilityResponse.typeName = "livekit.AvailabilityResponse"; +_AvailabilityResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "available", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "supports_resume", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "participant_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let AvailabilityResponse = _AvailabilityResponse; +const _UpdateJobStatus = class _UpdateJobStatus extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + /** + * The worker can indicate the job end by either specifying SUCCESS or FAILED + * + * @generated from field: livekit.JobStatus status = 2; + */ + this.status = 0 /* JS_PENDING */; + /** + * metadata shown on the dashboard, useful for debugging + * + * @generated from field: string error = 3; + */ + this.error = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateJobStatus().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateJobStatus().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateJobStatus().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateJobStatus, a, b); + } +}; +_UpdateJobStatus.runtime = import_protobuf.proto3; +_UpdateJobStatus.typeName = "livekit.UpdateJobStatus"; +_UpdateJobStatus.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(JobStatus) }, + { + no: 3, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateJobStatus = _UpdateJobStatus; +const _UpdateWorkerStatus = class _UpdateWorkerStatus extends import_protobuf.Message { + constructor(data) { + super(); + /** + * optional string metadata = 2 [deprecated=true]; + * + * @generated from field: float load = 3; + */ + this.load = 0; + /** + * @generated from field: uint32 job_count = 4; + */ + this.jobCount = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateWorkerStatus().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateWorkerStatus().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateWorkerStatus().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateWorkerStatus, a, b); + } +}; +_UpdateWorkerStatus.runtime = import_protobuf.proto3; +_UpdateWorkerStatus.typeName = "livekit.UpdateWorkerStatus"; +_UpdateWorkerStatus.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(WorkerStatus), opt: true }, + { + no: 3, + name: "load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 4, + name: "job_count", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateWorkerStatus = _UpdateWorkerStatus; +const _JobAssignment = class _JobAssignment extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string token = 3; + */ + this.token = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobAssignment().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobAssignment().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobAssignment().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_JobAssignment, a, b); + } +}; +_JobAssignment.runtime = import_protobuf.proto3; +_JobAssignment.typeName = "livekit.JobAssignment"; +_JobAssignment.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "job", kind: "message", T: Job }, + { no: 2, name: "url", kind: "scalar", T: 9, opt: true }, + { + no: 3, + name: "token", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobAssignment = _JobAssignment; +const _JobTermination = class _JobTermination extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobTermination().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobTermination().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobTermination().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_JobTermination, a, b); + } +}; +_JobTermination.runtime = import_protobuf.proto3; +_JobTermination.typeName = "livekit.JobTermination"; +_JobTermination.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobTermination = _JobTermination; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + AvailabilityRequest, + AvailabilityResponse, + Job, + JobAssignment, + JobState, + JobStatus, + JobTermination, + JobType, + MigrateJobRequest, + RegisterWorkerRequest, + RegisterWorkerResponse, + ServerMessage, + SimulateJobRequest, + UpdateJobStatus, + UpdateWorkerStatus, + WorkerMessage, + WorkerPing, + WorkerPong, + WorkerStatus +}); +//# sourceMappingURL=livekit_agent_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.cjs.map b/packages/javascript/dist/gen/livekit_agent_pb.cjs.map new file mode 100644 index 00000000..19664801 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_agent_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.JobType\n */\nexport enum JobType {\n /**\n * @generated from enum value: JT_ROOM = 0;\n */\n JT_ROOM = 0,\n\n /**\n * @generated from enum value: JT_PUBLISHER = 1;\n */\n JT_PUBLISHER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobType)\nproto3.util.setEnumType(JobType, \"livekit.JobType\", [\n { no: 0, name: \"JT_ROOM\" },\n { no: 1, name: \"JT_PUBLISHER\" },\n]);\n\n/**\n * @generated from enum livekit.WorkerStatus\n */\nexport enum WorkerStatus {\n /**\n * @generated from enum value: WS_AVAILABLE = 0;\n */\n WS_AVAILABLE = 0,\n\n /**\n * @generated from enum value: WS_FULL = 1;\n */\n WS_FULL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(WorkerStatus)\nproto3.util.setEnumType(WorkerStatus, \"livekit.WorkerStatus\", [\n { no: 0, name: \"WS_AVAILABLE\" },\n { no: 1, name: \"WS_FULL\" },\n]);\n\n/**\n * @generated from enum livekit.JobStatus\n */\nexport enum JobStatus {\n /**\n * @generated from enum value: JS_PENDING = 0;\n */\n JS_PENDING = 0,\n\n /**\n * @generated from enum value: JS_RUNNING = 1;\n */\n JS_RUNNING = 1,\n\n /**\n * @generated from enum value: JS_SUCCESS = 2;\n */\n JS_SUCCESS = 2,\n\n /**\n * @generated from enum value: JS_FAILED = 3;\n */\n JS_FAILED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobStatus)\nproto3.util.setEnumType(JobStatus, \"livekit.JobStatus\", [\n { no: 0, name: \"JS_PENDING\" },\n { no: 1, name: \"JS_RUNNING\" },\n { no: 2, name: \"JS_SUCCESS\" },\n { no: 3, name: \"JS_FAILED\" },\n]);\n\n/**\n * @generated from message livekit.Job\n */\nexport class Job extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string dispatch_id = 9;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: livekit.JobType type = 2;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 3;\n */\n room?: Room;\n\n /**\n * @generated from field: optional livekit.ParticipantInfo participant = 4;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string namespace = 5 [deprecated = true];\n * @deprecated\n */\n namespace = \"\";\n\n /**\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string agent_name = 7;\n */\n agentName = \"\";\n\n /**\n * @generated from field: livekit.JobState state = 8;\n */\n state?: JobState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Job\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 3, name: \"room\", kind: \"message\", T: Room },\n { no: 4, name: \"participant\", kind: \"message\", T: ParticipantInfo, opt: true },\n { no: 5, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"state\", kind: \"message\", T: JobState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Job {\n return new Job().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Job {\n return new Job().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Job {\n return new Job().fromJsonString(jsonString, options);\n }\n\n static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean {\n return proto3.util.equals(Job, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobState\n */\nexport class JobState extends Message {\n /**\n * @generated from field: livekit.JobStatus status = 1;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: int64 started_at = 3;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 4;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 5;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string participant_identity = 6;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobState {\n return new JobState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobState {\n return new JobState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobState {\n return new JobState().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobState, a, b);\n }\n}\n\n/**\n * from Worker to Server\n *\n * @generated from message livekit.WorkerMessage\n */\nexport class WorkerMessage extends Message {\n /**\n * @generated from oneof livekit.WorkerMessage.message\n */\n message: {\n /**\n * agent workers need to register themselves with the server first\n *\n * @generated from field: livekit.RegisterWorkerRequest register = 1;\n */\n value: RegisterWorkerRequest;\n case: \"register\";\n } | {\n /**\n * worker confirms to server that it's available for a job, or declines it\n *\n * @generated from field: livekit.AvailabilityResponse availability = 2;\n */\n value: AvailabilityResponse;\n case: \"availability\";\n } | {\n /**\n * worker can update its status to the server, including taking itself out of the pool\n *\n * @generated from field: livekit.UpdateWorkerStatus update_worker = 3;\n */\n value: UpdateWorkerStatus;\n case: \"updateWorker\";\n } | {\n /**\n * job can send status updates to the server, useful for tracking progress\n *\n * @generated from field: livekit.UpdateJobStatus update_job = 4;\n */\n value: UpdateJobStatus;\n case: \"updateJob\";\n } | {\n /**\n * @generated from field: livekit.WorkerPing ping = 5;\n */\n value: WorkerPing;\n case: \"ping\";\n } | {\n /**\n * @generated from field: livekit.SimulateJobRequest simulate_job = 6;\n */\n value: SimulateJobRequest;\n case: \"simulateJob\";\n } | {\n /**\n * @generated from field: livekit.MigrateJobRequest migrate_job = 7;\n */\n value: MigrateJobRequest;\n case: \"migrateJob\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerRequest, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityResponse, oneof: \"message\" },\n { no: 3, name: \"update_worker\", kind: \"message\", T: UpdateWorkerStatus, oneof: \"message\" },\n { no: 4, name: \"update_job\", kind: \"message\", T: UpdateJobStatus, oneof: \"message\" },\n { no: 5, name: \"ping\", kind: \"message\", T: WorkerPing, oneof: \"message\" },\n { no: 6, name: \"simulate_job\", kind: \"message\", T: SimulateJobRequest, oneof: \"message\" },\n { no: 7, name: \"migrate_job\", kind: \"message\", T: MigrateJobRequest, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerMessage, a, b);\n }\n}\n\n/**\n * from Server to Worker\n *\n * @generated from message livekit.ServerMessage\n */\nexport class ServerMessage extends Message {\n /**\n * @generated from oneof livekit.ServerMessage.message\n */\n message: {\n /**\n * server confirms the registration, from this moment on, the worker is considered active\n *\n * @generated from field: livekit.RegisterWorkerResponse register = 1;\n */\n value: RegisterWorkerResponse;\n case: \"register\";\n } | {\n /**\n * server asks worker to confirm availability for a job\n *\n * @generated from field: livekit.AvailabilityRequest availability = 2;\n */\n value: AvailabilityRequest;\n case: \"availability\";\n } | {\n /**\n * @generated from field: livekit.JobAssignment assignment = 3;\n */\n value: JobAssignment;\n case: \"assignment\";\n } | {\n /**\n * @generated from field: livekit.JobTermination termination = 5;\n */\n value: JobTermination;\n case: \"termination\";\n } | {\n /**\n * @generated from field: livekit.WorkerPong pong = 4;\n */\n value: WorkerPong;\n case: \"pong\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerResponse, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityRequest, oneof: \"message\" },\n { no: 3, name: \"assignment\", kind: \"message\", T: JobAssignment, oneof: \"message\" },\n { no: 5, name: \"termination\", kind: \"message\", T: JobTermination, oneof: \"message\" },\n { no: 4, name: \"pong\", kind: \"message\", T: WorkerPong, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage {\n return new ServerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage {\n return new ServerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerMessage {\n return new ServerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateJobRequest\n */\nexport class SimulateJobRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPing\n */\nexport class WorkerPing extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPing\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing {\n return new WorkerPing().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing {\n return new WorkerPing().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPing {\n return new WorkerPing().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPing, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPong\n */\nexport class WorkerPong extends Message {\n /**\n * @generated from field: int64 last_timestamp = 1;\n */\n lastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong {\n return new WorkerPong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong {\n return new WorkerPong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPong {\n return new WorkerPong().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerRequest\n */\nexport class RegisterWorkerRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: string agent_name = 8;\n */\n agentName = \"\";\n\n /**\n * string worker_id = 2;\n *\n * @generated from field: string version = 3;\n */\n version = \"\";\n\n /**\n * string name = 4 [deprecated = true];\n *\n * @generated from field: uint32 ping_interval = 5;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: optional string namespace = 6;\n */\n namespace?: string;\n\n /**\n * @generated from field: livekit.ParticipantPermission allowed_permissions = 7;\n */\n allowedPermissions?: ParticipantPermission;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 8, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ping_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 7, name: \"allowed_permissions\", kind: \"message\", T: ParticipantPermission },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerResponse\n */\nexport class RegisterWorkerResponse extends Message {\n /**\n * @generated from field: string worker_id = 1;\n */\n workerId = \"\";\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 3;\n */\n serverInfo?: ServerInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"worker_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"server_info\", kind: \"message\", T: ServerInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MigrateJobRequest\n */\nexport class MigrateJobRequest extends Message {\n /**\n * string job_id = 1 [deprecated = true];\n *\n * @generated from field: repeated string job_ids = 2;\n */\n jobIds: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MigrateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"job_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MigrateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityRequest\n */\nexport class AvailabilityRequest extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * True when the job was previously assigned to another worker but has been\n * migrated due to different reasons (e.g. worker failure, job migration)\n *\n * @generated from field: bool resuming = 2;\n */\n resuming = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"resuming\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityResponse\n */\nexport class AvailabilityResponse extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * @generated from field: bool available = 2;\n */\n available = false;\n\n /**\n * @generated from field: bool supports_resume = 3;\n */\n supportsResume = false;\n\n /**\n * @generated from field: string participant_name = 4;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_metadata = 6;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: map participant_attributes = 7;\n */\n participantAttributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"available\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"supports_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateJobStatus\n */\nexport class UpdateJobStatus extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * The worker can indicate the job end by either specifying SUCCESS or FAILED\n *\n * @generated from field: livekit.JobStatus status = 2;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * metadata shown on the dashboard, useful for debugging\n *\n * @generated from field: string error = 3;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateJobStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 3, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateJobStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateWorkerStatus\n */\nexport class UpdateWorkerStatus extends Message {\n /**\n * @generated from field: optional livekit.WorkerStatus status = 1;\n */\n status?: WorkerStatus;\n\n /**\n * optional string metadata = 2 [deprecated=true];\n *\n * @generated from field: float load = 3;\n */\n load = 0;\n\n /**\n * @generated from field: uint32 job_count = 4;\n */\n jobCount = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateWorkerStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(WorkerStatus), opt: true },\n { no: 3, name: \"load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 4, name: \"job_count\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateWorkerStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobAssignment\n */\nexport class JobAssignment extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * @generated from field: optional string url = 2;\n */\n url?: string;\n\n /**\n * @generated from field: string token = 3;\n */\n token = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobAssignment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment {\n return new JobAssignment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment {\n return new JobAssignment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobAssignment {\n return new JobAssignment().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobAssignment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobTermination\n */\nexport class JobTermination extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobTermination\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination {\n return new JobTermination().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination {\n return new JobTermination().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobTermination {\n return new JobTermination().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobTermination, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAyE;AAKlE,IAAK,UAAL,kBAAKA,aAAL;AAIL,EAAAA,kBAAA,aAAU,KAAV;AAKA,EAAAA,kBAAA,kBAAe,KAAf;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,SAAS,mBAAmB;AAAA,EAClD,EAAE,IAAI,GAAG,MAAM,UAAU;AAAA,EACzB,EAAE,IAAI,G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line at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.d.ts b/packages/javascript/dist/gen/livekit_agent_pb.d.ts new file mode 100644 index 00000000..79aa72f8 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.d.ts @@ -0,0 +1,575 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; +/** + * @generated from enum livekit.JobType + */ +export declare enum JobType { + /** + * @generated from enum value: JT_ROOM = 0; + */ + JT_ROOM = 0, + /** + * @generated from enum value: JT_PUBLISHER = 1; + */ + JT_PUBLISHER = 1 +} +/** + * @generated from enum livekit.WorkerStatus + */ +export declare enum WorkerStatus { + /** + * @generated from enum value: WS_AVAILABLE = 0; + */ + WS_AVAILABLE = 0, + /** + * @generated from enum value: WS_FULL = 1; + */ + WS_FULL = 1 +} +/** + * @generated from enum livekit.JobStatus + */ +export declare enum JobStatus { + /** + * @generated from enum value: JS_PENDING = 0; + */ + JS_PENDING = 0, + /** + * @generated from enum value: JS_RUNNING = 1; + */ + JS_RUNNING = 1, + /** + * @generated from enum value: JS_SUCCESS = 2; + */ + JS_SUCCESS = 2, + /** + * @generated from enum value: JS_FAILED = 3; + */ + JS_FAILED = 3 +} +/** + * @generated from message livekit.Job + */ +export declare class Job extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string dispatch_id = 9; + */ + dispatchId: string; + /** + * @generated from field: livekit.JobType type = 2; + */ + type: JobType; + /** + * @generated from field: livekit.Room room = 3; + */ + room?: Room; + /** + * @generated from field: optional livekit.ParticipantInfo participant = 4; + */ + participant?: ParticipantInfo; + /** + * @generated from field: string namespace = 5 [deprecated = true]; + * @deprecated + */ + namespace: string; + /** + * @generated from field: string metadata = 6; + */ + metadata: string; + /** + * @generated from field: string agent_name = 7; + */ + agentName: string; + /** + * @generated from field: livekit.JobState state = 8; + */ + state?: JobState; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Job"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Job; + static fromJson(jsonValue: JsonValue, options?: Partial): Job; + static fromJsonString(jsonString: string, options?: Partial): Job; + static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.JobState + */ +export declare class JobState extends Message { + /** + * @generated from field: livekit.JobStatus status = 1; + */ + status: JobStatus; + /** + * @generated from field: string error = 2; + */ + error: string; + /** + * @generated from field: int64 started_at = 3; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 4; + */ + endedAt: bigint; + /** + * @generated from field: int64 updated_at = 5; + */ + updatedAt: bigint; + /** + * @generated from field: string participant_identity = 6; + */ + participantIdentity: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): JobState; + static fromJson(jsonValue: JsonValue, options?: Partial): JobState; + static fromJsonString(jsonString: string, options?: Partial): JobState; + static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean; +} +/** + * from Worker to Server + * + * @generated from message livekit.WorkerMessage + */ +export declare class WorkerMessage extends Message { + /** + * @generated from oneof livekit.WorkerMessage.message + */ + message: { + /** + * agent workers need to register themselves with the server first + * + * @generated from field: livekit.RegisterWorkerRequest register = 1; + */ + value: RegisterWorkerRequest; + case: "register"; + } | { + /** + * worker confirms to server that it's available for a job, or declines it + * + * @generated from field: livekit.AvailabilityResponse availability = 2; + */ + value: AvailabilityResponse; + case: "availability"; + } | { + /** + * worker can update its status to the server, including taking itself out of the pool + * + * @generated from field: livekit.UpdateWorkerStatus update_worker = 3; + */ + value: UpdateWorkerStatus; + case: "updateWorker"; + } | { + /** + * job can send status updates to the server, useful for tracking progress + * + * @generated from field: livekit.UpdateJobStatus update_job = 4; + */ + value: UpdateJobStatus; + case: "updateJob"; + } | { + /** + * @generated from field: livekit.WorkerPing ping = 5; + */ + value: WorkerPing; + case: "ping"; + } | { + /** + * @generated from field: livekit.SimulateJobRequest simulate_job = 6; + */ + value: SimulateJobRequest; + case: "simulateJob"; + } | { + /** + * @generated from field: livekit.MigrateJobRequest migrate_job = 7; + */ + value: MigrateJobRequest; + case: "migrateJob"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerMessage"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage; + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage; + static fromJsonString(jsonString: string, options?: Partial): WorkerMessage; + static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean; +} +/** + * from Server to Worker + * + * @generated from message livekit.ServerMessage + */ +export declare class ServerMessage extends Message { + /** + * @generated from oneof livekit.ServerMessage.message + */ + message: { + /** + * server confirms the registration, from this moment on, the worker is considered active + * + * @generated from field: livekit.RegisterWorkerResponse register = 1; + */ + value: RegisterWorkerResponse; + case: "register"; + } | { + /** + * server asks worker to confirm availability for a job + * + * @generated from field: livekit.AvailabilityRequest availability = 2; + */ + value: AvailabilityRequest; + case: "availability"; + } | { + /** + * @generated from field: livekit.JobAssignment assignment = 3; + */ + value: JobAssignment; + case: "assignment"; + } | { + /** + * @generated from field: livekit.JobTermination termination = 5; + */ + value: JobTermination; + case: "termination"; + } | { + /** + * @generated from field: livekit.WorkerPong pong = 4; + */ + value: WorkerPong; + case: "pong"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ServerMessage"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage; + static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage; + static fromJsonString(jsonString: string, options?: Partial): ServerMessage; + static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SimulateJobRequest + */ +export declare class SimulateJobRequest extends Message { + /** + * @generated from field: livekit.JobType type = 1; + */ + type: JobType; + /** + * @generated from field: livekit.Room room = 2; + */ + room?: Room; + /** + * @generated from field: livekit.ParticipantInfo participant = 3; + */ + participant?: ParticipantInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulateJobRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest; + static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest; + static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.WorkerPing + */ +export declare class WorkerPing extends Message { + /** + * @generated from field: int64 timestamp = 1; + */ + timestamp: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerPing"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing; + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing; + static fromJsonString(jsonString: string, options?: Partial): WorkerPing; + static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.WorkerPong + */ +export declare class WorkerPong extends Message { + /** + * @generated from field: int64 last_timestamp = 1; + */ + lastTimestamp: bigint; + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerPong"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong; + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong; + static fromJsonString(jsonString: string, options?: Partial): WorkerPong; + static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RegisterWorkerRequest + */ +export declare class RegisterWorkerRequest extends Message { + /** + * @generated from field: livekit.JobType type = 1; + */ + type: JobType; + /** + * @generated from field: string agent_name = 8; + */ + agentName: string; + /** + * string worker_id = 2; + * + * @generated from field: string version = 3; + */ + version: string; + /** + * string name = 4 [deprecated = true]; + * + * @generated from field: uint32 ping_interval = 5; + */ + pingInterval: number; + /** + * @generated from field: optional string namespace = 6; + */ + namespace?: string; + /** + * @generated from field: livekit.ParticipantPermission allowed_permissions = 7; + */ + allowedPermissions?: ParticipantPermission; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegisterWorkerRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest; + static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest; + static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RegisterWorkerResponse + */ +export declare class RegisterWorkerResponse extends Message { + /** + * @generated from field: string worker_id = 1; + */ + workerId: string; + /** + * @generated from field: livekit.ServerInfo server_info = 3; + */ + serverInfo?: ServerInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegisterWorkerResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse; + static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse; + static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.MigrateJobRequest + */ +export declare class MigrateJobRequest extends Message { + /** + * string job_id = 1 [deprecated = true]; + * + * @generated from field: repeated string job_ids = 2; + */ + jobIds: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MigrateJobRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest; + static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest; + static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AvailabilityRequest + */ +export declare class AvailabilityRequest extends Message { + /** + * @generated from field: livekit.Job job = 1; + */ + job?: Job; + /** + * True when the job was previously assigned to another worker but has been + * migrated due to different reasons (e.g. worker failure, job migration) + * + * @generated from field: bool resuming = 2; + */ + resuming: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AvailabilityRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest; + static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest; + static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AvailabilityResponse + */ +export declare class AvailabilityResponse extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + /** + * @generated from field: bool available = 2; + */ + available: boolean; + /** + * @generated from field: bool supports_resume = 3; + */ + supportsResume: boolean; + /** + * @generated from field: string participant_name = 4; + */ + participantName: string; + /** + * @generated from field: string participant_identity = 5; + */ + participantIdentity: string; + /** + * @generated from field: string participant_metadata = 6; + */ + participantMetadata: string; + /** + * @generated from field: map participant_attributes = 7; + */ + participantAttributes: { + [key: string]: string; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AvailabilityResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse; + static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse; + static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateJobStatus + */ +export declare class UpdateJobStatus extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + /** + * The worker can indicate the job end by either specifying SUCCESS or FAILED + * + * @generated from field: livekit.JobStatus status = 2; + */ + status: JobStatus; + /** + * metadata shown on the dashboard, useful for debugging + * + * @generated from field: string error = 3; + */ + error: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateJobStatus"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus; + static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus; + static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateWorkerStatus + */ +export declare class UpdateWorkerStatus extends Message { + /** + * @generated from field: optional livekit.WorkerStatus status = 1; + */ + status?: WorkerStatus; + /** + * optional string metadata = 2 [deprecated=true]; + * + * @generated from field: float load = 3; + */ + load: number; + /** + * @generated from field: uint32 job_count = 4; + */ + jobCount: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateWorkerStatus"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus; + static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus; + static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.JobAssignment + */ +export declare class JobAssignment extends Message { + /** + * @generated from field: livekit.Job job = 1; + */ + job?: Job; + /** + * @generated from field: optional string url = 2; + */ + url?: string; + /** + * @generated from field: string token = 3; + */ + token: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobAssignment"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment; + static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment; + static fromJsonString(jsonString: string, options?: Partial): JobAssignment; + static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.JobTermination + */ +export declare class JobTermination extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobTermination"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination; + static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination; + static fromJsonString(jsonString: string, options?: Partial): JobTermination; + static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_agent_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map b/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map new file mode 100644 index 00000000..9ab79834 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_agent_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_agent_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,wBAAwB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G,cAAc;IAI7F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.js b/packages/javascript/dist/gen/livekit_agent_pb.js new file mode 100644 index 00000000..c07395dc --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.js @@ -0,0 +1,840 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; +var JobType = /* @__PURE__ */ ((JobType2) => { + JobType2[JobType2["JT_ROOM"] = 0] = "JT_ROOM"; + JobType2[JobType2["JT_PUBLISHER"] = 1] = "JT_PUBLISHER"; + return JobType2; +})(JobType || {}); +proto3.util.setEnumType(JobType, "livekit.JobType", [ + { no: 0, name: "JT_ROOM" }, + { no: 1, name: "JT_PUBLISHER" } +]); +var WorkerStatus = /* @__PURE__ */ ((WorkerStatus2) => { + WorkerStatus2[WorkerStatus2["WS_AVAILABLE"] = 0] = "WS_AVAILABLE"; + WorkerStatus2[WorkerStatus2["WS_FULL"] = 1] = "WS_FULL"; + return WorkerStatus2; +})(WorkerStatus || {}); +proto3.util.setEnumType(WorkerStatus, "livekit.WorkerStatus", [ + { no: 0, name: "WS_AVAILABLE" }, + { no: 1, name: "WS_FULL" } +]); +var JobStatus = /* @__PURE__ */ ((JobStatus2) => { + JobStatus2[JobStatus2["JS_PENDING"] = 0] = "JS_PENDING"; + JobStatus2[JobStatus2["JS_RUNNING"] = 1] = "JS_RUNNING"; + JobStatus2[JobStatus2["JS_SUCCESS"] = 2] = "JS_SUCCESS"; + JobStatus2[JobStatus2["JS_FAILED"] = 3] = "JS_FAILED"; + return JobStatus2; +})(JobStatus || {}); +proto3.util.setEnumType(JobStatus, "livekit.JobStatus", [ + { no: 0, name: "JS_PENDING" }, + { no: 1, name: "JS_RUNNING" }, + { no: 2, name: "JS_SUCCESS" }, + { no: 3, name: "JS_FAILED" } +]); +const _Job = class _Job extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string dispatch_id = 9; + */ + this.dispatchId = ""; + /** + * @generated from field: livekit.JobType type = 2; + */ + this.type = 0 /* JT_ROOM */; + /** + * @generated from field: string namespace = 5 [deprecated = true]; + * @deprecated + */ + this.namespace = ""; + /** + * @generated from field: string metadata = 6; + */ + this.metadata = ""; + /** + * @generated from field: string agent_name = 7; + */ + this.agentName = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Job().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Job().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Job().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Job, a, b); + } +}; +_Job.runtime = proto3; +_Job.typeName = "livekit.Job"; +_Job.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "dispatch_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { no: 3, name: "room", kind: "message", T: Room }, + { no: 4, name: "participant", kind: "message", T: ParticipantInfo, opt: true }, + { + no: 5, + name: "namespace", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "state", kind: "message", T: JobState } +]); +let Job = _Job; +const _JobState = class _JobState extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobStatus status = 1; + */ + this.status = 0 /* JS_PENDING */; + /** + * @generated from field: string error = 2; + */ + this.error = ""; + /** + * @generated from field: int64 started_at = 3; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 4; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: int64 updated_at = 5; + */ + this.updatedAt = protoInt64.zero; + /** + * @generated from field: string participant_identity = 6; + */ + this.participantIdentity = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_JobState, a, b); + } +}; +_JobState.runtime = proto3; +_JobState.typeName = "livekit.JobState"; +_JobState.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, + { + no: 2, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobState = _JobState; +const _WorkerMessage = class _WorkerMessage extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.WorkerMessage.message + */ + this.message = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_WorkerMessage, a, b); + } +}; +_WorkerMessage.runtime = proto3; +_WorkerMessage.typeName = "livekit.WorkerMessage"; +_WorkerMessage.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, + { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, + { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, + { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, + { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, + { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" } +]); +let WorkerMessage = _WorkerMessage; +const _ServerMessage = class _ServerMessage extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.ServerMessage.message + */ + this.message = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ServerMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ServerMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ServerMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ServerMessage, a, b); + } +}; +_ServerMessage.runtime = proto3; +_ServerMessage.typeName = "livekit.ServerMessage"; +_ServerMessage.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, + { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, + { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, + { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" } +]); +let ServerMessage = _ServerMessage; +const _SimulateJobRequest = class _SimulateJobRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobType type = 1; + */ + this.type = 0 /* JT_ROOM */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulateJobRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulateJobRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulateJobRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SimulateJobRequest, a, b); + } +}; +_SimulateJobRequest.runtime = proto3; +_SimulateJobRequest.typeName = "livekit.SimulateJobRequest"; +_SimulateJobRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { no: 2, name: "room", kind: "message", T: Room }, + { no: 3, name: "participant", kind: "message", T: ParticipantInfo } +]); +let SimulateJobRequest = _SimulateJobRequest; +const _WorkerPing = class _WorkerPing extends Message { + constructor(data) { + super(); + /** + * @generated from field: int64 timestamp = 1; + */ + this.timestamp = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerPing().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerPing().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerPing().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_WorkerPing, a, b); + } +}; +_WorkerPing.runtime = proto3; +_WorkerPing.typeName = "livekit.WorkerPing"; +_WorkerPing.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let WorkerPing = _WorkerPing; +const _WorkerPong = class _WorkerPong extends Message { + constructor(data) { + super(); + /** + * @generated from field: int64 last_timestamp = 1; + */ + this.lastTimestamp = protoInt64.zero; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WorkerPong().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WorkerPong().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WorkerPong().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_WorkerPong, a, b); + } +}; +_WorkerPong.runtime = proto3; +_WorkerPong.typeName = "livekit.WorkerPong"; +_WorkerPong.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "last_timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let WorkerPong = _WorkerPong; +const _RegisterWorkerRequest = class _RegisterWorkerRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.JobType type = 1; + */ + this.type = 0 /* JT_ROOM */; + /** + * @generated from field: string agent_name = 8; + */ + this.agentName = ""; + /** + * string worker_id = 2; + * + * @generated from field: string version = 3; + */ + this.version = ""; + /** + * string name = 4 [deprecated = true]; + * + * @generated from field: uint32 ping_interval = 5; + */ + this.pingInterval = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegisterWorkerRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegisterWorkerRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegisterWorkerRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RegisterWorkerRequest, a, b); + } +}; +_RegisterWorkerRequest.runtime = proto3; +_RegisterWorkerRequest.typeName = "livekit.RegisterWorkerRequest"; +_RegisterWorkerRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { + no: 8, + name: "agent_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "ping_interval", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 6, name: "namespace", kind: "scalar", T: 9, opt: true }, + { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission } +]); +let RegisterWorkerRequest = _RegisterWorkerRequest; +const _RegisterWorkerResponse = class _RegisterWorkerResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string worker_id = 1; + */ + this.workerId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegisterWorkerResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegisterWorkerResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegisterWorkerResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RegisterWorkerResponse, a, b); + } +}; +_RegisterWorkerResponse.runtime = proto3; +_RegisterWorkerResponse.typeName = "livekit.RegisterWorkerResponse"; +_RegisterWorkerResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "worker_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "server_info", kind: "message", T: ServerInfo } +]); +let RegisterWorkerResponse = _RegisterWorkerResponse; +const _MigrateJobRequest = class _MigrateJobRequest extends Message { + constructor(data) { + super(); + /** + * string job_id = 1 [deprecated = true]; + * + * @generated from field: repeated string job_ids = 2; + */ + this.jobIds = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MigrateJobRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MigrateJobRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MigrateJobRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MigrateJobRequest, a, b); + } +}; +_MigrateJobRequest.runtime = proto3; +_MigrateJobRequest.typeName = "livekit.MigrateJobRequest"; +_MigrateJobRequest.fields = proto3.util.newFieldList(() => [ + { no: 2, name: "job_ids", kind: "scalar", T: 9, repeated: true } +]); +let MigrateJobRequest = _MigrateJobRequest; +const _AvailabilityRequest = class _AvailabilityRequest extends Message { + constructor(data) { + super(); + /** + * True when the job was previously assigned to another worker but has been + * migrated due to different reasons (e.g. worker failure, job migration) + * + * @generated from field: bool resuming = 2; + */ + this.resuming = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AvailabilityRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AvailabilityRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AvailabilityRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AvailabilityRequest, a, b); + } +}; +_AvailabilityRequest.runtime = proto3; +_AvailabilityRequest.typeName = "livekit.AvailabilityRequest"; +_AvailabilityRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "job", kind: "message", T: Job }, + { + no: 2, + name: "resuming", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let AvailabilityRequest = _AvailabilityRequest; +const _AvailabilityResponse = class _AvailabilityResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + /** + * @generated from field: bool available = 2; + */ + this.available = false; + /** + * @generated from field: bool supports_resume = 3; + */ + this.supportsResume = false; + /** + * @generated from field: string participant_name = 4; + */ + this.participantName = ""; + /** + * @generated from field: string participant_identity = 5; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_metadata = 6; + */ + this.participantMetadata = ""; + /** + * @generated from field: map participant_attributes = 7; + */ + this.participantAttributes = {}; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AvailabilityResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AvailabilityResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AvailabilityResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AvailabilityResponse, a, b); + } +}; +_AvailabilityResponse.runtime = proto3; +_AvailabilityResponse.typeName = "livekit.AvailabilityResponse"; +_AvailabilityResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "available", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "supports_resume", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "participant_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let AvailabilityResponse = _AvailabilityResponse; +const _UpdateJobStatus = class _UpdateJobStatus extends Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + /** + * The worker can indicate the job end by either specifying SUCCESS or FAILED + * + * @generated from field: livekit.JobStatus status = 2; + */ + this.status = 0 /* JS_PENDING */; + /** + * metadata shown on the dashboard, useful for debugging + * + * @generated from field: string error = 3; + */ + this.error = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateJobStatus().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateJobStatus().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateJobStatus().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateJobStatus, a, b); + } +}; +_UpdateJobStatus.runtime = proto3; +_UpdateJobStatus.typeName = "livekit.UpdateJobStatus"; +_UpdateJobStatus.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, + { + no: 3, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateJobStatus = _UpdateJobStatus; +const _UpdateWorkerStatus = class _UpdateWorkerStatus extends Message { + constructor(data) { + super(); + /** + * optional string metadata = 2 [deprecated=true]; + * + * @generated from field: float load = 3; + */ + this.load = 0; + /** + * @generated from field: uint32 job_count = 4; + */ + this.jobCount = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateWorkerStatus().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateWorkerStatus().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateWorkerStatus().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateWorkerStatus, a, b); + } +}; +_UpdateWorkerStatus.runtime = proto3; +_UpdateWorkerStatus.typeName = "livekit.UpdateWorkerStatus"; +_UpdateWorkerStatus.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true }, + { + no: 3, + name: "load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 4, + name: "job_count", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateWorkerStatus = _UpdateWorkerStatus; +const _JobAssignment = class _JobAssignment extends Message { + constructor(data) { + super(); + /** + * @generated from field: string token = 3; + */ + this.token = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobAssignment().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobAssignment().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobAssignment().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_JobAssignment, a, b); + } +}; +_JobAssignment.runtime = proto3; +_JobAssignment.typeName = "livekit.JobAssignment"; +_JobAssignment.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "job", kind: "message", T: Job }, + { no: 2, name: "url", kind: "scalar", T: 9, opt: true }, + { + no: 3, + name: "token", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobAssignment = _JobAssignment; +const _JobTermination = class _JobTermination extends Message { + constructor(data) { + super(); + /** + * @generated from field: string job_id = 1; + */ + this.jobId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JobTermination().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JobTermination().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JobTermination().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_JobTermination, a, b); + } +}; +_JobTermination.runtime = proto3; +_JobTermination.typeName = "livekit.JobTermination"; +_JobTermination.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "job_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let JobTermination = _JobTermination; +export { + AvailabilityRequest, + AvailabilityResponse, + Job, + JobAssignment, + JobState, + JobStatus, + JobTermination, + JobType, + MigrateJobRequest, + RegisterWorkerRequest, + RegisterWorkerResponse, + ServerMessage, + SimulateJobRequest, + UpdateJobStatus, + UpdateWorkerStatus, + WorkerMessage, + WorkerPing, + WorkerPong, + WorkerStatus +}; +//# sourceMappingURL=livekit_agent_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.js.map b/packages/javascript/dist/gen/livekit_agent_pb.js.map new file mode 100644 index 00000000..df7d6923 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_agent_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_agent_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.JobType\n */\nexport enum JobType {\n /**\n * @generated from enum value: JT_ROOM = 0;\n */\n JT_ROOM = 0,\n\n /**\n * @generated from enum value: JT_PUBLISHER = 1;\n */\n JT_PUBLISHER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobType)\nproto3.util.setEnumType(JobType, \"livekit.JobType\", [\n { no: 0, name: \"JT_ROOM\" },\n { no: 1, name: \"JT_PUBLISHER\" },\n]);\n\n/**\n * @generated from enum livekit.WorkerStatus\n */\nexport enum WorkerStatus {\n /**\n * @generated from enum value: WS_AVAILABLE = 0;\n */\n WS_AVAILABLE = 0,\n\n /**\n * @generated from enum value: WS_FULL = 1;\n */\n WS_FULL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(WorkerStatus)\nproto3.util.setEnumType(WorkerStatus, \"livekit.WorkerStatus\", [\n { no: 0, name: \"WS_AVAILABLE\" },\n { no: 1, name: \"WS_FULL\" },\n]);\n\n/**\n * @generated from enum livekit.JobStatus\n */\nexport enum JobStatus {\n /**\n * @generated from enum value: JS_PENDING = 0;\n */\n JS_PENDING = 0,\n\n /**\n * @generated from enum value: JS_RUNNING = 1;\n */\n JS_RUNNING = 1,\n\n /**\n * @generated from enum value: JS_SUCCESS = 2;\n */\n JS_SUCCESS = 2,\n\n /**\n * @generated from enum value: JS_FAILED = 3;\n */\n JS_FAILED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobStatus)\nproto3.util.setEnumType(JobStatus, \"livekit.JobStatus\", [\n { no: 0, name: \"JS_PENDING\" },\n { no: 1, name: \"JS_RUNNING\" },\n { no: 2, name: \"JS_SUCCESS\" },\n { no: 3, name: \"JS_FAILED\" },\n]);\n\n/**\n * @generated from message livekit.Job\n */\nexport class Job extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string dispatch_id = 9;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: livekit.JobType type = 2;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 3;\n */\n room?: Room;\n\n /**\n * @generated from field: optional livekit.ParticipantInfo participant = 4;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string namespace = 5 [deprecated = true];\n * @deprecated\n */\n namespace = \"\";\n\n /**\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string agent_name = 7;\n */\n agentName = \"\";\n\n /**\n * @generated from field: livekit.JobState state = 8;\n */\n state?: JobState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Job\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 3, name: \"room\", kind: \"message\", T: Room },\n { no: 4, name: \"participant\", kind: \"message\", T: ParticipantInfo, opt: true },\n { no: 5, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"state\", kind: \"message\", T: JobState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Job {\n return new Job().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Job {\n return new Job().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Job {\n return new Job().fromJsonString(jsonString, options);\n }\n\n static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean {\n return proto3.util.equals(Job, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobState\n */\nexport class JobState extends Message {\n /**\n * @generated from field: livekit.JobStatus status = 1;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: int64 started_at = 3;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 4;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 5;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string participant_identity = 6;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobState {\n return new JobState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobState {\n return new JobState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobState {\n return new JobState().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobState, a, b);\n }\n}\n\n/**\n * from Worker to Server\n *\n * @generated from message livekit.WorkerMessage\n */\nexport class WorkerMessage extends Message {\n /**\n * @generated from oneof livekit.WorkerMessage.message\n */\n message: {\n /**\n * agent workers need to register themselves with the server first\n *\n * @generated from field: livekit.RegisterWorkerRequest register = 1;\n */\n value: RegisterWorkerRequest;\n case: \"register\";\n } | {\n /**\n * worker confirms to server that it's available for a job, or declines it\n *\n * @generated from field: livekit.AvailabilityResponse availability = 2;\n */\n value: AvailabilityResponse;\n case: \"availability\";\n } | {\n /**\n * worker can update its status to the server, including taking itself out of the pool\n *\n * @generated from field: livekit.UpdateWorkerStatus update_worker = 3;\n */\n value: UpdateWorkerStatus;\n case: \"updateWorker\";\n } | {\n /**\n * job can send status updates to the server, useful for tracking progress\n *\n * @generated from field: livekit.UpdateJobStatus update_job = 4;\n */\n value: UpdateJobStatus;\n case: \"updateJob\";\n } | {\n /**\n * @generated from field: livekit.WorkerPing ping = 5;\n */\n value: WorkerPing;\n case: \"ping\";\n } | {\n /**\n * @generated from field: livekit.SimulateJobRequest simulate_job = 6;\n */\n value: SimulateJobRequest;\n case: \"simulateJob\";\n } | {\n /**\n * @generated from field: livekit.MigrateJobRequest migrate_job = 7;\n */\n value: MigrateJobRequest;\n case: \"migrateJob\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerRequest, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityResponse, oneof: \"message\" },\n { no: 3, name: \"update_worker\", kind: \"message\", T: UpdateWorkerStatus, oneof: \"message\" },\n { no: 4, name: \"update_job\", kind: \"message\", T: UpdateJobStatus, oneof: \"message\" },\n { no: 5, name: \"ping\", kind: \"message\", T: WorkerPing, oneof: \"message\" },\n { no: 6, name: \"simulate_job\", kind: \"message\", T: SimulateJobRequest, oneof: \"message\" },\n { no: 7, name: \"migrate_job\", kind: \"message\", T: MigrateJobRequest, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerMessage, a, b);\n }\n}\n\n/**\n * from Server to Worker\n *\n * @generated from message livekit.ServerMessage\n */\nexport class ServerMessage extends Message {\n /**\n * @generated from oneof livekit.ServerMessage.message\n */\n message: {\n /**\n * server confirms the registration, from this moment on, the worker is considered active\n *\n * @generated from field: livekit.RegisterWorkerResponse register = 1;\n */\n value: RegisterWorkerResponse;\n case: \"register\";\n } | {\n /**\n * server asks worker to confirm availability for a job\n *\n * @generated from field: livekit.AvailabilityRequest availability = 2;\n */\n value: AvailabilityRequest;\n case: \"availability\";\n } | {\n /**\n * @generated from field: livekit.JobAssignment assignment = 3;\n */\n value: JobAssignment;\n case: \"assignment\";\n } | {\n /**\n * @generated from field: livekit.JobTermination termination = 5;\n */\n value: JobTermination;\n case: \"termination\";\n } | {\n /**\n * @generated from field: livekit.WorkerPong pong = 4;\n */\n value: WorkerPong;\n case: \"pong\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerResponse, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityRequest, oneof: \"message\" },\n { no: 3, name: \"assignment\", kind: \"message\", T: JobAssignment, oneof: \"message\" },\n { no: 5, name: \"termination\", kind: \"message\", T: JobTermination, oneof: \"message\" },\n { no: 4, name: \"pong\", kind: \"message\", T: WorkerPong, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage {\n return new ServerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage {\n return new ServerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerMessage {\n return new ServerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateJobRequest\n */\nexport class SimulateJobRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPing\n */\nexport class WorkerPing extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPing\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing {\n return new WorkerPing().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing {\n return new WorkerPing().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPing {\n return new WorkerPing().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPing, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPong\n */\nexport class WorkerPong extends Message {\n /**\n * @generated from field: int64 last_timestamp = 1;\n */\n lastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong {\n return new WorkerPong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong {\n return new WorkerPong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPong {\n return new WorkerPong().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerRequest\n */\nexport class RegisterWorkerRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: string agent_name = 8;\n */\n agentName = \"\";\n\n /**\n * string worker_id = 2;\n *\n * @generated from field: string version = 3;\n */\n version = \"\";\n\n /**\n * string name = 4 [deprecated = true];\n *\n * @generated from field: uint32 ping_interval = 5;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: optional string namespace = 6;\n */\n namespace?: string;\n\n /**\n * @generated from field: livekit.ParticipantPermission allowed_permissions = 7;\n */\n allowedPermissions?: ParticipantPermission;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 8, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ping_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 7, name: \"allowed_permissions\", kind: \"message\", T: ParticipantPermission },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerResponse\n */\nexport class RegisterWorkerResponse extends Message {\n /**\n * @generated from field: string worker_id = 1;\n */\n workerId = \"\";\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 3;\n */\n serverInfo?: ServerInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"worker_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"server_info\", kind: \"message\", T: ServerInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MigrateJobRequest\n */\nexport class MigrateJobRequest extends Message {\n /**\n * string job_id = 1 [deprecated = true];\n *\n * @generated from field: repeated string job_ids = 2;\n */\n jobIds: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MigrateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"job_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MigrateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityRequest\n */\nexport class AvailabilityRequest extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * True when the job was previously assigned to another worker but has been\n * migrated due to different reasons (e.g. worker failure, job migration)\n *\n * @generated from field: bool resuming = 2;\n */\n resuming = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"resuming\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityResponse\n */\nexport class AvailabilityResponse extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * @generated from field: bool available = 2;\n */\n available = false;\n\n /**\n * @generated from field: bool supports_resume = 3;\n */\n supportsResume = false;\n\n /**\n * @generated from field: string participant_name = 4;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_metadata = 6;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: map participant_attributes = 7;\n */\n participantAttributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"available\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"supports_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateJobStatus\n */\nexport class UpdateJobStatus extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * The worker can indicate the job end by either specifying SUCCESS or FAILED\n *\n * @generated from field: livekit.JobStatus status = 2;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * metadata shown on the dashboard, useful for debugging\n *\n * @generated from field: string error = 3;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateJobStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 3, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateJobStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateWorkerStatus\n */\nexport class UpdateWorkerStatus extends Message {\n /**\n * @generated from field: optional livekit.WorkerStatus status = 1;\n */\n status?: WorkerStatus;\n\n /**\n * optional string metadata = 2 [deprecated=true];\n *\n * @generated from field: float load = 3;\n */\n load = 0;\n\n /**\n * @generated from field: uint32 job_count = 4;\n */\n jobCount = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateWorkerStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(WorkerStatus), opt: true },\n { no: 3, name: \"load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 4, name: \"job_count\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateWorkerStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobAssignment\n */\nexport class JobAssignment extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * @generated from field: optional string url = 2;\n */\n url?: string;\n\n /**\n * @generated from field: string token = 3;\n */\n token = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobAssignment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment {\n return new JobAssignment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment {\n return new JobAssignment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobAssignment {\n return new JobAssignment().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobAssignment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobTermination\n */\nexport class JobTermination extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobTermination\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination {\n return new JobTermination().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination {\n return new JobTermination().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobTermination {\n return new JobTermination().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobTermination, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,iBAAiB,uBAAuB,MAAM,kBAAkB;AAKlE,IAAK,UAAL,kBAAKA,aAAL;AAIL,EAAAA,kBAAA,aAAU,KAAV;AAKA,EAAAA,kBAAA,k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AAM,iBAAN;","names":["JobType","WorkerStatus","JobStatus"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.cjs b/packages/javascript/dist/gen/livekit_analytics_pb.cjs new file mode 100644 index 00000000..155d9f86 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.cjs @@ -0,0 +1,1087 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_analytics_pb_exports = {}; +__export(livekit_analytics_pb_exports, { + AnalyticsClientMeta: () => AnalyticsClientMeta, + AnalyticsEvent: () => AnalyticsEvent, + AnalyticsEventType: () => AnalyticsEventType, + AnalyticsEvents: () => AnalyticsEvents, + AnalyticsNodeRooms: () => AnalyticsNodeRooms, + AnalyticsRoom: () => AnalyticsRoom, + AnalyticsRoomParticipant: () => AnalyticsRoomParticipant, + AnalyticsStat: () => AnalyticsStat, + AnalyticsStats: () => AnalyticsStats, + AnalyticsStream: () => AnalyticsStream, + AnalyticsVideoLayer: () => AnalyticsVideoLayer, + StreamType: () => StreamType +}); +module.exports = __toCommonJS(livekit_analytics_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); +var import_livekit_ingress_pb = require("./livekit_ingress_pb.cjs"); +var import_livekit_sip_pb = require("./livekit_sip_pb.cjs"); +var StreamType = /* @__PURE__ */ ((StreamType2) => { + StreamType2[StreamType2["UPSTREAM"] = 0] = "UPSTREAM"; + StreamType2[StreamType2["DOWNSTREAM"] = 1] = "DOWNSTREAM"; + return StreamType2; +})(StreamType || {}); +import_protobuf.proto3.util.setEnumType(StreamType, "livekit.StreamType", [ + { no: 0, name: "UPSTREAM" }, + { no: 1, name: "DOWNSTREAM" } +]); +var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => { + AnalyticsEventType2[AnalyticsEventType2["ROOM_CREATED"] = 0] = "ROOM_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["ROOM_ENDED"] = 1] = "ROOM_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_JOINED"] = 2] = "PARTICIPANT_JOINED"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_LEFT"] = 3] = "PARTICIPANT_LEFT"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED"] = 4] = "TRACK_PUBLISHED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_REQUESTED"] = 20] = "TRACK_PUBLISH_REQUESTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNPUBLISHED"] = 5] = "TRACK_UNPUBLISHED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBED"] = 6] = "TRACK_SUBSCRIBED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_REQUESTED"] = 21] = "TRACK_SUBSCRIBE_REQUESTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_FAILED"] = 25] = "TRACK_SUBSCRIBE_FAILED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNSUBSCRIBED"] = 7] = "TRACK_UNSUBSCRIBED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED_UPDATE"] = 10] = "TRACK_PUBLISHED_UPDATE"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_MUTED"] = 23] = "TRACK_MUTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNMUTED"] = 24] = "TRACK_UNMUTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_STATS"] = 26] = "TRACK_PUBLISH_STATS"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_STATS"] = 27] = "TRACK_SUBSCRIBE_STATS"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_ACTIVE"] = 11] = "PARTICIPANT_ACTIVE"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_RESUMED"] = 22] = "PARTICIPANT_RESUMED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_STARTED"] = 12] = "EGRESS_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_ENDED"] = 13] = "EGRESS_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_UPDATED"] = 28] = "EGRESS_UPDATED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"] = 14] = "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"; + AnalyticsEventType2[AnalyticsEventType2["RECONNECTED"] = 15] = "RECONNECTED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_CREATED"] = 18] = "INGRESS_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_DELETED"] = 19] = "INGRESS_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_STARTED"] = 16] = "INGRESS_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_ENDED"] = 17] = "INGRESS_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_UPDATED"] = 29] = "INGRESS_UPDATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_CREATED"] = 30] = "SIP_INBOUND_TRUNK_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_DELETED"] = 31] = "SIP_INBOUND_TRUNK_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_CREATED"] = 32] = "SIP_OUTBOUND_TRUNK_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_DELETED"] = 33] = "SIP_OUTBOUND_TRUNK_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_CREATED"] = 34] = "SIP_DISPATCH_RULE_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_DELETED"] = 35] = "SIP_DISPATCH_RULE_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_PARTICIPANT_CREATED"] = 36] = "SIP_PARTICIPANT_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_INCOMING"] = 37] = "SIP_CALL_INCOMING"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_STARTED"] = 38] = "SIP_CALL_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_ENDED"] = 39] = "SIP_CALL_ENDED"; + return AnalyticsEventType2; +})(AnalyticsEventType || {}); +import_protobuf.proto3.util.setEnumType(AnalyticsEventType, "livekit.AnalyticsEventType", [ + { no: 0, name: "ROOM_CREATED" }, + { no: 1, name: "ROOM_ENDED" }, + { no: 2, name: "PARTICIPANT_JOINED" }, + { no: 3, name: "PARTICIPANT_LEFT" }, + { no: 4, name: "TRACK_PUBLISHED" }, + { no: 20, name: "TRACK_PUBLISH_REQUESTED" }, + { no: 5, name: "TRACK_UNPUBLISHED" }, + { no: 6, name: "TRACK_SUBSCRIBED" }, + { no: 21, name: "TRACK_SUBSCRIBE_REQUESTED" }, + { no: 25, name: "TRACK_SUBSCRIBE_FAILED" }, + { no: 7, name: "TRACK_UNSUBSCRIBED" }, + { no: 10, name: "TRACK_PUBLISHED_UPDATE" }, + { no: 23, name: "TRACK_MUTED" }, + { no: 24, name: "TRACK_UNMUTED" }, + { no: 26, name: "TRACK_PUBLISH_STATS" }, + { no: 27, name: "TRACK_SUBSCRIBE_STATS" }, + { no: 11, name: "PARTICIPANT_ACTIVE" }, + { no: 22, name: "PARTICIPANT_RESUMED" }, + { no: 12, name: "EGRESS_STARTED" }, + { no: 13, name: "EGRESS_ENDED" }, + { no: 28, name: "EGRESS_UPDATED" }, + { no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY" }, + { no: 15, name: "RECONNECTED" }, + { no: 18, name: "INGRESS_CREATED" }, + { no: 19, name: "INGRESS_DELETED" }, + { no: 16, name: "INGRESS_STARTED" }, + { no: 17, name: "INGRESS_ENDED" }, + { no: 29, name: "INGRESS_UPDATED" }, + { no: 30, name: "SIP_INBOUND_TRUNK_CREATED" }, + { no: 31, name: "SIP_INBOUND_TRUNK_DELETED" }, + { no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED" }, + { no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED" }, + { no: 34, name: "SIP_DISPATCH_RULE_CREATED" }, + { no: 35, name: "SIP_DISPATCH_RULE_DELETED" }, + { no: 36, name: "SIP_PARTICIPANT_CREATED" }, + { no: 37, name: "SIP_CALL_INCOMING" }, + { no: 38, name: "SIP_CALL_STARTED" }, + { no: 39, name: "SIP_CALL_ENDED" } +]); +const _AnalyticsVideoLayer = class _AnalyticsVideoLayer extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int32 layer = 1; + */ + this.layer = 0; + /** + * @generated from field: uint32 packets = 2; + */ + this.packets = 0; + /** + * @generated from field: uint64 bytes = 3; + */ + this.bytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 frames = 4; + */ + this.frames = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsVideoLayer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsVideoLayer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsVideoLayer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsVideoLayer, a, b); + } +}; +_AnalyticsVideoLayer.runtime = import_protobuf.proto3; +_AnalyticsVideoLayer.typeName = "livekit.AnalyticsVideoLayer"; +_AnalyticsVideoLayer.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "layer", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let AnalyticsVideoLayer = _AnalyticsVideoLayer; +const _AnalyticsStream = class _AnalyticsStream extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 ssrc = 1; + */ + this.ssrc = 0; + /** + * @generated from field: uint32 primary_packets = 2; + */ + this.primaryPackets = 0; + /** + * @generated from field: uint64 primary_bytes = 3; + */ + this.primaryBytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 retransmit_packets = 4; + */ + this.retransmitPackets = 0; + /** + * @generated from field: uint64 retransmit_bytes = 5; + */ + this.retransmitBytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 padding_packets = 6; + */ + this.paddingPackets = 0; + /** + * @generated from field: uint64 padding_bytes = 7; + */ + this.paddingBytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 packets_lost = 8; + */ + this.packetsLost = 0; + /** + * @generated from field: uint32 frames = 9; + */ + this.frames = 0; + /** + * @generated from field: uint32 rtt = 10; + */ + this.rtt = 0; + /** + * @generated from field: uint32 jitter = 11; + */ + this.jitter = 0; + /** + * @generated from field: uint32 nacks = 12; + */ + this.nacks = 0; + /** + * @generated from field: uint32 plis = 13; + */ + this.plis = 0; + /** + * @generated from field: uint32 firs = 14; + */ + this.firs = 0; + /** + * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; + */ + this.videoLayers = []; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + this.packetsOutOfOrder = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStream().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStream().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStream().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsStream, a, b); + } +}; +_AnalyticsStream.runtime = import_protobuf.proto3; +_AnalyticsStream.typeName = "livekit.AnalyticsStream"; +_AnalyticsStream.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ssrc", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "primary_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "primary_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "retransmit_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "retransmit_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 6, + name: "padding_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "padding_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 8, + name: "packets_lost", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "rtt", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 11, + name: "jitter", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 12, + name: "nacks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 13, + name: "plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 14, + name: "firs", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, + { no: 17, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, + { no: 18, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, + { + no: 19, + name: "packets_out_of_order", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let AnalyticsStream = _AnalyticsStream; +const _AnalyticsStat = class _AnalyticsStat extends import_protobuf.Message { + constructor(data) { + super(); + /** + * unique id for this stat + * + * @generated from field: string id = 14; + */ + this.id = ""; + /** + * @generated from field: string analytics_key = 1; + */ + this.analyticsKey = ""; + /** + * @generated from field: livekit.StreamType kind = 2; + */ + this.kind = 0 /* UPSTREAM */; + /** + * @generated from field: string node = 4; + */ + this.node = ""; + /** + * @generated from field: string room_id = 5; + */ + this.roomId = ""; + /** + * @generated from field: string room_name = 6; + */ + this.roomName = ""; + /** + * @generated from field: string participant_id = 7; + */ + this.participantId = ""; + /** + * @generated from field: string track_id = 8; + */ + this.trackId = ""; + /** + * average score + * + * @generated from field: float score = 9; + */ + this.score = 0; + /** + * @generated from field: repeated livekit.AnalyticsStream streams = 10; + */ + this.streams = []; + /** + * @generated from field: string mime = 11; + */ + this.mime = ""; + /** + * @generated from field: float min_score = 12; + */ + this.minScore = 0; + /** + * @generated from field: float median_score = 13; + */ + this.medianScore = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStat().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStat().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStat().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsStat, a, b); + } +}; +_AnalyticsStat.runtime = import_protobuf.proto3; +_AnalyticsStat.typeName = "livekit.AnalyticsStat"; +_AnalyticsStat.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 14, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 1, + name: "analytics_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamType) }, + { no: 3, name: "time_stamp", kind: "message", T: import_protobuf.Timestamp }, + { + no: 4, + name: "node", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, + { + no: 11, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "min_score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 13, + name: "median_score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let AnalyticsStat = _AnalyticsStat; +const _AnalyticsStats = class _AnalyticsStats extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AnalyticsStat stats = 1; + */ + this.stats = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsStats, a, b); + } +}; +_AnalyticsStats.runtime = import_protobuf.proto3; +_AnalyticsStats.typeName = "livekit.AnalyticsStats"; +_AnalyticsStats.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true } +]); +let AnalyticsStats = _AnalyticsStats; +const _AnalyticsClientMeta = class _AnalyticsClientMeta extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string region = 1; + */ + this.region = ""; + /** + * @generated from field: string node = 2; + */ + this.node = ""; + /** + * @generated from field: string client_addr = 3; + */ + this.clientAddr = ""; + /** + * @generated from field: uint32 client_connect_time = 4; + */ + this.clientConnectTime = 0; + /** + * udp, tcp, turn + * + * @generated from field: string connection_type = 5; + */ + this.connectionType = ""; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 6; + */ + this.reconnectReason = import_livekit_models_pb.ReconnectReason.RR_UNKNOWN; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsClientMeta().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsClientMeta().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsClientMeta().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsClientMeta, a, b); + } +}; +_AnalyticsClientMeta.runtime = import_protobuf.proto3; +_AnalyticsClientMeta.typeName = "livekit.AnalyticsClientMeta"; +_AnalyticsClientMeta.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "node", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "client_addr", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "client_connect_time", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "connection_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "reconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ReconnectReason) }, + { no: 7, name: "geo_hash", kind: "scalar", T: 9, opt: true }, + { no: 8, name: "country", kind: "scalar", T: 9, opt: true }, + { no: 9, name: "isp_asn", kind: "scalar", T: 13, opt: true } +]); +let AnalyticsClientMeta = _AnalyticsClientMeta; +const _AnalyticsEvent = class _AnalyticsEvent extends import_protobuf.Message { + constructor(data) { + super(); + /** + * unique id for this event + * + * @generated from field: string id = 25; + */ + this.id = ""; + /** + * @generated from field: livekit.AnalyticsEventType type = 1; + */ + this.type = 0 /* ROOM_CREATED */; + /** + * @generated from field: string room_id = 3; + */ + this.roomId = ""; + /** + * @generated from field: string participant_id = 5; + */ + this.participantId = ""; + /** + * @generated from field: string track_id = 7; + */ + this.trackId = ""; + /** + * @generated from field: string analytics_key = 10; + */ + this.analyticsKey = ""; + /** + * @generated from field: string egress_id = 13; + */ + this.egressId = ""; + /** + * @generated from field: string ingress_id = 19; + */ + this.ingressId = ""; + /** + * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; + */ + this.maxSubscribedVideoQuality = import_livekit_models_pb.VideoQuality.LOW; + /** + * @generated from field: string mime = 16; + */ + this.mime = ""; + /** + * @generated from field: string error = 20; + */ + this.error = ""; + /** + * @generated from field: int32 video_layer = 22; + */ + this.videoLayer = 0; + /** + * @generated from field: string node_id = 24; + */ + this.nodeId = ""; + /** + * @generated from field: string sip_call_id = 26; + */ + this.sipCallId = ""; + /** + * @generated from field: string sip_trunk_id = 28; + */ + this.sipTrunkId = ""; + /** + * @generated from field: string sip_dispatch_rule_id = 31; + */ + this.sipDispatchRuleId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsEvent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsEvent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsEvent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsEvent, a, b); + } +}; +_AnalyticsEvent.runtime = import_protobuf.proto3; +_AnalyticsEvent.typeName = "livekit.AnalyticsEvent"; +_AnalyticsEvent.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 25, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(AnalyticsEventType) }, + { no: 2, name: "timestamp", kind: "message", T: import_protobuf.Timestamp }, + { + no: 3, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "room", kind: "message", T: import_livekit_models_pb.Room }, + { + no: 5, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, + { + no: 7, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo }, + { + no: 10, + name: "analytics_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 11, name: "client_info", kind: "message", T: import_livekit_models_pb.ClientInfo }, + { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, + { + no: 13, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 19, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, + { no: 15, name: "publisher", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, + { + no: 16, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 17, name: "egress", kind: "message", T: import_livekit_egress_pb.EgressInfo }, + { no: 18, name: "ingress", kind: "message", T: import_livekit_ingress_pb.IngressInfo }, + { + no: 20, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 21, name: "rtp_stats", kind: "message", T: import_livekit_models_pb.RTPStats }, + { + no: 22, + name: "video_layer", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 24, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 26, + name: "sip_call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 27, name: "sip_call", kind: "message", T: import_livekit_sip_pb.SIPCallInfo }, + { + no: 28, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 29, name: "sip_inbound_trunk", kind: "message", T: import_livekit_sip_pb.SIPInboundTrunkInfo }, + { no: 30, name: "sip_outbound_trunk", kind: "message", T: import_livekit_sip_pb.SIPOutboundTrunkInfo }, + { + no: 31, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 32, name: "sip_dispatch_rule", kind: "message", T: import_livekit_sip_pb.SIPDispatchRuleInfo } +]); +let AnalyticsEvent = _AnalyticsEvent; +const _AnalyticsEvents = class _AnalyticsEvents extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AnalyticsEvent events = 1; + */ + this.events = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsEvents().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsEvents().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsEvents().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsEvents, a, b); + } +}; +_AnalyticsEvents.runtime = import_protobuf.proto3; +_AnalyticsEvents.typeName = "livekit.AnalyticsEvents"; +_AnalyticsEvents.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true } +]); +let AnalyticsEvents = _AnalyticsEvents; +const _AnalyticsRoomParticipant = class _AnalyticsRoomParticipant extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: string name = 3; + */ + this.name = ""; + /** + * @generated from field: livekit.ParticipantInfo.State state = 4; + */ + this.state = import_livekit_models_pb.ParticipantInfo_State.JOINING; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsRoomParticipant().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsRoomParticipant().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsRoomParticipant().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsRoomParticipant, a, b); + } +}; +_AnalyticsRoomParticipant.runtime = import_protobuf.proto3; +_AnalyticsRoomParticipant.typeName = "livekit.AnalyticsRoomParticipant"; +_AnalyticsRoomParticipant.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ParticipantInfo_State) }, + { no: 5, name: "joined_at", kind: "message", T: import_protobuf.Timestamp } +]); +let AnalyticsRoomParticipant = _AnalyticsRoomParticipant; +const _AnalyticsRoom = class _AnalyticsRoom extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string project_id = 5; + */ + this.projectId = ""; + /** + * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; + */ + this.participants = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsRoom().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsRoom().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsRoom().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsRoom, a, b); + } +}; +_AnalyticsRoom.runtime = import_protobuf.proto3; +_AnalyticsRoom.typeName = "livekit.AnalyticsRoom"; +_AnalyticsRoom.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "project_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "created_at", kind: "message", T: import_protobuf.Timestamp }, + { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true } +]); +let AnalyticsRoom = _AnalyticsRoom; +const _AnalyticsNodeRooms = class _AnalyticsNodeRooms extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string node_id = 1; + */ + this.nodeId = ""; + /** + * @generated from field: uint64 sequence_number = 2; + */ + this.sequenceNumber = import_protobuf.protoInt64.zero; + /** + * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; + */ + this.rooms = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsNodeRooms().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsNodeRooms().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsNodeRooms().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AnalyticsNodeRooms, a, b); + } +}; +_AnalyticsNodeRooms.runtime = import_protobuf.proto3; +_AnalyticsNodeRooms.typeName = "livekit.AnalyticsNodeRooms"; +_AnalyticsNodeRooms.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { no: 3, name: "timestamp", kind: "message", T: import_protobuf.Timestamp }, + { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true } +]); +let AnalyticsNodeRooms = _AnalyticsNodeRooms; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + AnalyticsClientMeta, + AnalyticsEvent, + AnalyticsEventType, + AnalyticsEvents, + AnalyticsNodeRooms, + AnalyticsRoom, + AnalyticsRoomParticipant, + AnalyticsStat, + AnalyticsStats, + AnalyticsStream, + AnalyticsVideoLayer, + StreamType +}); +//# sourceMappingURL=livekit_analytics_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map b/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map new file mode 100644 index 00000000..d708b722 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_analytics_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_analytics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\nimport { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from \"./livekit_sip_pb.js\";\n\n/**\n * @generated from enum livekit.StreamType\n */\nexport enum StreamType {\n /**\n * @generated from enum value: UPSTREAM = 0;\n */\n UPSTREAM = 0,\n\n /**\n * @generated from enum value: DOWNSTREAM = 1;\n */\n DOWNSTREAM = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamType)\nproto3.util.setEnumType(StreamType, \"livekit.StreamType\", [\n { no: 0, name: \"UPSTREAM\" },\n { no: 1, name: \"DOWNSTREAM\" },\n]);\n\n/**\n * @generated from enum livekit.AnalyticsEventType\n */\nexport enum AnalyticsEventType {\n /**\n * @generated from enum value: ROOM_CREATED = 0;\n */\n ROOM_CREATED = 0,\n\n /**\n * @generated from enum value: ROOM_ENDED = 1;\n */\n ROOM_ENDED = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_JOINED = 2;\n */\n PARTICIPANT_JOINED = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_LEFT = 3;\n */\n PARTICIPANT_LEFT = 3,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED = 4;\n */\n TRACK_PUBLISHED = 4,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20;\n */\n TRACK_PUBLISH_REQUESTED = 20,\n\n /**\n * @generated from enum value: TRACK_UNPUBLISHED = 5;\n */\n TRACK_UNPUBLISHED = 5,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBED = 6;\n */\n TRACK_SUBSCRIBED = 6,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21;\n */\n TRACK_SUBSCRIBE_REQUESTED = 21,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25;\n */\n TRACK_SUBSCRIBE_FAILED = 25,\n\n /**\n * @generated from enum value: TRACK_UNSUBSCRIBED = 7;\n */\n TRACK_UNSUBSCRIBED = 7,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10;\n */\n TRACK_PUBLISHED_UPDATE = 10,\n\n /**\n * @generated from enum value: TRACK_MUTED = 23;\n */\n TRACK_MUTED = 23,\n\n /**\n * @generated from enum value: TRACK_UNMUTED = 24;\n */\n TRACK_UNMUTED = 24,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_STATS = 26;\n */\n TRACK_PUBLISH_STATS = 26,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27;\n */\n TRACK_SUBSCRIBE_STATS = 27,\n\n /**\n * @generated from enum value: PARTICIPANT_ACTIVE = 11;\n */\n PARTICIPANT_ACTIVE = 11,\n\n /**\n * @generated from enum value: PARTICIPANT_RESUMED = 22;\n */\n PARTICIPANT_RESUMED = 22,\n\n /**\n * @generated from enum value: EGRESS_STARTED = 12;\n */\n EGRESS_STARTED = 12,\n\n /**\n * @generated from enum value: EGRESS_ENDED = 13;\n */\n EGRESS_ENDED = 13,\n\n /**\n * @generated from enum value: EGRESS_UPDATED = 28;\n */\n EGRESS_UPDATED = 28,\n\n /**\n * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14;\n */\n TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14,\n\n /**\n * @generated from enum value: RECONNECTED = 15;\n */\n RECONNECTED = 15,\n\n /**\n * @generated from enum value: INGRESS_CREATED = 18;\n */\n INGRESS_CREATED = 18,\n\n /**\n * @generated from enum value: INGRESS_DELETED = 19;\n */\n INGRESS_DELETED = 19,\n\n /**\n * @generated from enum value: INGRESS_STARTED = 16;\n */\n INGRESS_STARTED = 16,\n\n /**\n * @generated from enum value: INGRESS_ENDED = 17;\n */\n INGRESS_ENDED = 17,\n\n /**\n * @generated from enum value: INGRESS_UPDATED = 29;\n */\n INGRESS_UPDATED = 29,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30;\n */\n SIP_INBOUND_TRUNK_CREATED = 30,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31;\n */\n SIP_INBOUND_TRUNK_DELETED = 31,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32;\n */\n SIP_OUTBOUND_TRUNK_CREATED = 32,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33;\n */\n SIP_OUTBOUND_TRUNK_DELETED = 33,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34;\n */\n SIP_DISPATCH_RULE_CREATED = 34,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35;\n */\n SIP_DISPATCH_RULE_DELETED = 35,\n\n /**\n * @generated from enum value: SIP_PARTICIPANT_CREATED = 36;\n */\n SIP_PARTICIPANT_CREATED = 36,\n\n /**\n * @generated from enum value: SIP_CALL_INCOMING = 37;\n */\n SIP_CALL_INCOMING = 37,\n\n /**\n * @generated from enum value: SIP_CALL_STARTED = 38;\n */\n SIP_CALL_STARTED = 38,\n\n /**\n * @generated from enum value: SIP_CALL_ENDED = 39;\n */\n SIP_CALL_ENDED = 39,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AnalyticsEventType)\nproto3.util.setEnumType(AnalyticsEventType, \"livekit.AnalyticsEventType\", [\n { no: 0, name: \"ROOM_CREATED\" },\n { no: 1, name: \"ROOM_ENDED\" },\n { no: 2, name: \"PARTICIPANT_JOINED\" },\n { no: 3, name: \"PARTICIPANT_LEFT\" },\n { no: 4, name: \"TRACK_PUBLISHED\" },\n { no: 20, name: \"TRACK_PUBLISH_REQUESTED\" },\n { no: 5, name: \"TRACK_UNPUBLISHED\" },\n { no: 6, name: \"TRACK_SUBSCRIBED\" },\n { no: 21, name: \"TRACK_SUBSCRIBE_REQUESTED\" },\n { no: 25, name: \"TRACK_SUBSCRIBE_FAILED\" },\n { no: 7, name: \"TRACK_UNSUBSCRIBED\" },\n { no: 10, name: \"TRACK_PUBLISHED_UPDATE\" },\n { no: 23, name: \"TRACK_MUTED\" },\n { no: 24, name: \"TRACK_UNMUTED\" },\n { no: 26, name: \"TRACK_PUBLISH_STATS\" },\n { no: 27, name: \"TRACK_SUBSCRIBE_STATS\" },\n { no: 11, name: \"PARTICIPANT_ACTIVE\" },\n { no: 22, name: \"PARTICIPANT_RESUMED\" },\n { no: 12, name: \"EGRESS_STARTED\" },\n { no: 13, name: \"EGRESS_ENDED\" },\n { no: 28, name: \"EGRESS_UPDATED\" },\n { no: 14, name: \"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY\" },\n { no: 15, name: \"RECONNECTED\" },\n { no: 18, name: \"INGRESS_CREATED\" },\n { no: 19, name: \"INGRESS_DELETED\" },\n { no: 16, name: \"INGRESS_STARTED\" },\n { no: 17, name: \"INGRESS_ENDED\" },\n { no: 29, name: \"INGRESS_UPDATED\" },\n { no: 30, name: \"SIP_INBOUND_TRUNK_CREATED\" },\n { no: 31, name: \"SIP_INBOUND_TRUNK_DELETED\" },\n { no: 32, name: \"SIP_OUTBOUND_TRUNK_CREATED\" },\n { no: 33, name: \"SIP_OUTBOUND_TRUNK_DELETED\" },\n { no: 34, name: \"SIP_DISPATCH_RULE_CREATED\" },\n { no: 35, name: \"SIP_DISPATCH_RULE_DELETED\" },\n { no: 36, name: \"SIP_PARTICIPANT_CREATED\" },\n { no: 37, name: \"SIP_CALL_INCOMING\" },\n { no: 38, name: \"SIP_CALL_STARTED\" },\n { no: 39, name: \"SIP_CALL_ENDED\" },\n]);\n\n/**\n * @generated from message livekit.AnalyticsVideoLayer\n */\nexport class AnalyticsVideoLayer extends Message {\n /**\n * @generated from field: int32 layer = 1;\n */\n layer = 0;\n\n /**\n * @generated from field: uint32 packets = 2;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 bytes = 3;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 frames = 4;\n */\n frames = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsVideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsVideoLayer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStream\n */\nexport class AnalyticsStream extends Message {\n /**\n * @generated from field: uint32 ssrc = 1;\n */\n ssrc = 0;\n\n /**\n * @generated from field: uint32 primary_packets = 2;\n */\n primaryPackets = 0;\n\n /**\n * @generated from field: uint64 primary_bytes = 3;\n */\n primaryBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 retransmit_packets = 4;\n */\n retransmitPackets = 0;\n\n /**\n * @generated from field: uint64 retransmit_bytes = 5;\n */\n retransmitBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 padding_packets = 6;\n */\n paddingPackets = 0;\n\n /**\n * @generated from field: uint64 padding_bytes = 7;\n */\n paddingBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: uint32 frames = 9;\n */\n frames = 0;\n\n /**\n * @generated from field: uint32 rtt = 10;\n */\n rtt = 0;\n\n /**\n * @generated from field: uint32 jitter = 11;\n */\n jitter = 0;\n\n /**\n * @generated from field: uint32 nacks = 12;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 plis = 13;\n */\n plis = 0;\n\n /**\n * @generated from field: uint32 firs = 14;\n */\n firs = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15;\n */\n videoLayers: AnalyticsVideoLayer[] = [];\n\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 17;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 18;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"primary_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"primary_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"retransmit_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"retransmit_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"padding_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"padding_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"rtt\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 13, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 15, name: \"video_layers\", kind: \"message\", T: AnalyticsVideoLayer, repeated: true },\n { no: 17, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 18, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStream, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStat\n */\nexport class AnalyticsStat extends Message {\n /**\n * unique id for this stat\n *\n * @generated from field: string id = 14;\n */\n id = \"\";\n\n /**\n * @generated from field: string analytics_key = 1;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.StreamType kind = 2;\n */\n kind = StreamType.UPSTREAM;\n\n /**\n * @generated from field: google.protobuf.Timestamp time_stamp = 3;\n */\n timeStamp?: Timestamp;\n\n /**\n * @generated from field: string node = 4;\n */\n node = \"\";\n\n /**\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 6;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_id = 7;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string track_id = 8;\n */\n trackId = \"\";\n\n /**\n * average score\n *\n * @generated from field: float score = 9;\n */\n score = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsStream streams = 10;\n */\n streams: AnalyticsStream[] = [];\n\n /**\n * @generated from field: string mime = 11;\n */\n mime = \"\";\n\n /**\n * @generated from field: float min_score = 12;\n */\n minScore = 0;\n\n /**\n * @generated from field: float median_score = 13;\n */\n medianScore = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStat\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 14, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(StreamType) },\n { no: 3, name: \"time_stamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 10, name: \"streams\", kind: \"message\", T: AnalyticsStream, repeated: true },\n { no: 11, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"min_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"median_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStat, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStats\n */\nexport class AnalyticsStats extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsStat stats = 1;\n */\n stats: AnalyticsStat[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stats\", kind: \"message\", T: AnalyticsStat, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsClientMeta\n */\nexport class AnalyticsClientMeta extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string node = 2;\n */\n node = \"\";\n\n /**\n * @generated from field: string client_addr = 3;\n */\n clientAddr = \"\";\n\n /**\n * @generated from field: uint32 client_connect_time = 4;\n */\n clientConnectTime = 0;\n\n /**\n * udp, tcp, turn\n *\n * @generated from field: string connection_type = 5;\n */\n connectionType = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 6;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional string geo_hash = 7;\n */\n geoHash?: string;\n\n /**\n * @generated from field: optional string country = 8;\n */\n country?: string;\n\n /**\n * @generated from field: optional uint32 isp_asn = 9;\n */\n ispAsn?: number;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsClientMeta\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"client_addr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"client_connect_time\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"connection_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 7, name: \"geo_hash\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"country\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"isp_asn\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsClientMeta, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvent\n */\nexport class AnalyticsEvent extends Message {\n /**\n * unique id for this event\n *\n * @generated from field: string id = 25;\n */\n id = \"\";\n\n /**\n * @generated from field: livekit.AnalyticsEventType type = 1;\n */\n type = AnalyticsEventType.ROOM_CREATED;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 2;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: string room_id = 3;\n */\n roomId = \"\";\n\n /**\n * @generated from field: livekit.Room room = 4;\n */\n room?: Room;\n\n /**\n * @generated from field: string participant_id = 5;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 6;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string track_id = 7;\n */\n trackId = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * @generated from field: string analytics_key = 10;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.ClientInfo client_info = 11;\n */\n clientInfo?: ClientInfo;\n\n /**\n * @generated from field: livekit.AnalyticsClientMeta client_meta = 12;\n */\n clientMeta?: AnalyticsClientMeta;\n\n /**\n * @generated from field: string egress_id = 13;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string ingress_id = 19;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14;\n */\n maxSubscribedVideoQuality = VideoQuality.LOW;\n\n /**\n * @generated from field: livekit.ParticipantInfo publisher = 15;\n */\n publisher?: ParticipantInfo;\n\n /**\n * @generated from field: string mime = 16;\n */\n mime = \"\";\n\n /**\n * @generated from field: livekit.EgressInfo egress = 17;\n */\n egress?: EgressInfo;\n\n /**\n * @generated from field: livekit.IngressInfo ingress = 18;\n */\n ingress?: IngressInfo;\n\n /**\n * @generated from field: string error = 20;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.RTPStats rtp_stats = 21;\n */\n rtpStats?: RTPStats;\n\n /**\n * @generated from field: int32 video_layer = 22;\n */\n videoLayer = 0;\n\n /**\n * @generated from field: string node_id = 24;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: string sip_call_id = 26;\n */\n sipCallId = \"\";\n\n /**\n * @generated from field: livekit.SIPCallInfo sip_call = 27;\n */\n sipCall?: SIPCallInfo;\n\n /**\n * @generated from field: string sip_trunk_id = 28;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29;\n */\n sipInboundTrunk?: SIPInboundTrunkInfo;\n\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30;\n */\n sipOutboundTrunk?: SIPOutboundTrunkInfo;\n\n /**\n * @generated from field: string sip_dispatch_rule_id = 31;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32;\n */\n sipDispatchRule?: SIPDispatchRuleInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 25, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(AnalyticsEventType) },\n { no: 2, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room\", kind: \"message\", T: Room },\n { no: 5, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 7, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 10, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"client_info\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"client_meta\", kind: \"message\", T: AnalyticsClientMeta },\n { no: 13, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 19, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"max_subscribed_video_quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 15, name: \"publisher\", kind: \"message\", T: ParticipantInfo },\n { no: 16, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"egress\", kind: \"message\", T: EgressInfo },\n { no: 18, name: \"ingress\", kind: \"message\", T: IngressInfo },\n { no: 20, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 21, name: \"rtp_stats\", kind: \"message\", T: RTPStats },\n { no: 22, name: \"video_layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 24, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 26, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 27, name: \"sip_call\", kind: \"message\", T: SIPCallInfo },\n { no: 28, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 29, name: \"sip_inbound_trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n { no: 30, name: \"sip_outbound_trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n { no: 31, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 32, name: \"sip_dispatch_rule\", kind: \"message\", T: SIPDispatchRuleInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvents\n */\nexport class AnalyticsEvents extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsEvent events = 1;\n */\n events: AnalyticsEvent[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvents\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"events\", kind: \"message\", T: AnalyticsEvent, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvents, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoomParticipant\n */\nexport class AnalyticsRoomParticipant extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 4;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: google.protobuf.Timestamp joined_at = 5;\n */\n joinedAt?: Timestamp;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoomParticipant\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 5, name: \"joined_at\", kind: \"message\", T: Timestamp },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoomParticipant, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoom\n */\nexport class AnalyticsRoom extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string project_id = 5;\n */\n projectId = \"\";\n\n /**\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4;\n */\n participants: AnalyticsRoomParticipant[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoom\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"created_at\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"participants\", kind: \"message\", T: AnalyticsRoomParticipant, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoom, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsNodeRooms\n */\nexport class AnalyticsNodeRooms extends Message {\n /**\n * @generated from field: string node_id = 1;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: uint64 sequence_number = 2;\n */\n sequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 3;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoom rooms = 4;\n */\n rooms: AnalyticsRoom[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsNodeRooms\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"rooms\", kind: \"message\", T: AnalyticsRoom, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsNodeRooms, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAuD;AACvD,+BAA6H;AAC7H,+BAA2B;AAC3B,gCAA4B;AAC5B,4BAA4F;AAKrF,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,cAAW,KAAX;AAKA,EAAAA,wBAAA,gBAAa,KAAb;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,YAAY,sBAAsB;AAAA,EACxD,EAAE,IAAI,GAAG,MAAM,WAAW;AAAA,EAC1B,EAAE,IAAI,GAAG,MAAM,aAAa;AAC9B,CAAC;AAKM,IAAK,qBAAL,kBAAKC,wBAAL;AAIL,EAAAA,wCAAA,kBAAe,KAAf;AAK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IAAI;AAAA,EACpC;AAAA,EAWA,OAAO,WAAW,OAAmB,SAA0D;AAC7F,WAAO,IAAI,oBAAmB,EAAE,WAAW,OAAO,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAwD;AAC5F,WAAO,IAAI,oBAAmB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC7D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAwD;AAChG,WAAO,IAAI,oBAAmB,EAAE,eAAe,YAAY,OAAO;AAAA,EACpE;AAAA,EAEA,OAAO,OAAO,GAAsE,GAA+E;AACjK,WAAO,uBAAO,KAAK,OAAO,qBAAoB,GAAG,CAAC;AAAA,EACpD;AACF;AAlDa,oBA0BK,UAAyB;AA1B9B,oBA2BK,WAAW;AA3BhB,oBA4BK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACvE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAmB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAC/E,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,0BAAU;AAAA,EAC1D,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,eAAe,UAAU,KAAK;AAC5E,CAAC;AAjCI,IAAM,qBAAN;","names":["StreamType","AnalyticsEventType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.d.ts b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts new file mode 100644 index 00000000..9a0c7806 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts @@ -0,0 +1,679 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; +import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; +/** + * @generated from enum livekit.StreamType + */ +export declare enum StreamType { + /** + * @generated from enum value: UPSTREAM = 0; + */ + UPSTREAM = 0, + /** + * @generated from enum value: DOWNSTREAM = 1; + */ + DOWNSTREAM = 1 +} +/** + * @generated from enum livekit.AnalyticsEventType + */ +export declare enum AnalyticsEventType { + /** + * @generated from enum value: ROOM_CREATED = 0; + */ + ROOM_CREATED = 0, + /** + * @generated from enum value: ROOM_ENDED = 1; + */ + ROOM_ENDED = 1, + /** + * @generated from enum value: PARTICIPANT_JOINED = 2; + */ + PARTICIPANT_JOINED = 2, + /** + * @generated from enum value: PARTICIPANT_LEFT = 3; + */ + PARTICIPANT_LEFT = 3, + /** + * @generated from enum value: TRACK_PUBLISHED = 4; + */ + TRACK_PUBLISHED = 4, + /** + * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20; + */ + TRACK_PUBLISH_REQUESTED = 20, + /** + * @generated from enum value: TRACK_UNPUBLISHED = 5; + */ + TRACK_UNPUBLISHED = 5, + /** + * @generated from enum value: TRACK_SUBSCRIBED = 6; + */ + TRACK_SUBSCRIBED = 6, + /** + * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21; + */ + TRACK_SUBSCRIBE_REQUESTED = 21, + /** + * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25; + */ + TRACK_SUBSCRIBE_FAILED = 25, + /** + * @generated from enum value: TRACK_UNSUBSCRIBED = 7; + */ + TRACK_UNSUBSCRIBED = 7, + /** + * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10; + */ + TRACK_PUBLISHED_UPDATE = 10, + /** + * @generated from enum value: TRACK_MUTED = 23; + */ + TRACK_MUTED = 23, + /** + * @generated from enum value: TRACK_UNMUTED = 24; + */ + TRACK_UNMUTED = 24, + /** + * @generated from enum value: TRACK_PUBLISH_STATS = 26; + */ + TRACK_PUBLISH_STATS = 26, + /** + * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27; + */ + TRACK_SUBSCRIBE_STATS = 27, + /** + * @generated from enum value: PARTICIPANT_ACTIVE = 11; + */ + PARTICIPANT_ACTIVE = 11, + /** + * @generated from enum value: PARTICIPANT_RESUMED = 22; + */ + PARTICIPANT_RESUMED = 22, + /** + * @generated from enum value: EGRESS_STARTED = 12; + */ + EGRESS_STARTED = 12, + /** + * @generated from enum value: EGRESS_ENDED = 13; + */ + EGRESS_ENDED = 13, + /** + * @generated from enum value: EGRESS_UPDATED = 28; + */ + EGRESS_UPDATED = 28, + /** + * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14; + */ + TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14, + /** + * @generated from enum value: RECONNECTED = 15; + */ + RECONNECTED = 15, + /** + * @generated from enum value: INGRESS_CREATED = 18; + */ + INGRESS_CREATED = 18, + /** + * @generated from enum value: INGRESS_DELETED = 19; + */ + INGRESS_DELETED = 19, + /** + * @generated from enum value: INGRESS_STARTED = 16; + */ + INGRESS_STARTED = 16, + /** + * @generated from enum value: INGRESS_ENDED = 17; + */ + INGRESS_ENDED = 17, + /** + * @generated from enum value: INGRESS_UPDATED = 29; + */ + INGRESS_UPDATED = 29, + /** + * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30; + */ + SIP_INBOUND_TRUNK_CREATED = 30, + /** + * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31; + */ + SIP_INBOUND_TRUNK_DELETED = 31, + /** + * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32; + */ + SIP_OUTBOUND_TRUNK_CREATED = 32, + /** + * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33; + */ + SIP_OUTBOUND_TRUNK_DELETED = 33, + /** + * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34; + */ + SIP_DISPATCH_RULE_CREATED = 34, + /** + * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35; + */ + SIP_DISPATCH_RULE_DELETED = 35, + /** + * @generated from enum value: SIP_PARTICIPANT_CREATED = 36; + */ + SIP_PARTICIPANT_CREATED = 36, + /** + * @generated from enum value: SIP_CALL_INCOMING = 37; + */ + SIP_CALL_INCOMING = 37, + /** + * @generated from enum value: SIP_CALL_STARTED = 38; + */ + SIP_CALL_STARTED = 38, + /** + * @generated from enum value: SIP_CALL_ENDED = 39; + */ + SIP_CALL_ENDED = 39 +} +/** + * @generated from message livekit.AnalyticsVideoLayer + */ +export declare class AnalyticsVideoLayer extends Message { + /** + * @generated from field: int32 layer = 1; + */ + layer: number; + /** + * @generated from field: uint32 packets = 2; + */ + packets: number; + /** + * @generated from field: uint64 bytes = 3; + */ + bytes: bigint; + /** + * @generated from field: uint32 frames = 4; + */ + frames: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsVideoLayer"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer; + static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsStream + */ +export declare class AnalyticsStream extends Message { + /** + * @generated from field: uint32 ssrc = 1; + */ + ssrc: number; + /** + * @generated from field: uint32 primary_packets = 2; + */ + primaryPackets: number; + /** + * @generated from field: uint64 primary_bytes = 3; + */ + primaryBytes: bigint; + /** + * @generated from field: uint32 retransmit_packets = 4; + */ + retransmitPackets: number; + /** + * @generated from field: uint64 retransmit_bytes = 5; + */ + retransmitBytes: bigint; + /** + * @generated from field: uint32 padding_packets = 6; + */ + paddingPackets: number; + /** + * @generated from field: uint64 padding_bytes = 7; + */ + paddingBytes: bigint; + /** + * @generated from field: uint32 packets_lost = 8; + */ + packetsLost: number; + /** + * @generated from field: uint32 frames = 9; + */ + frames: number; + /** + * @generated from field: uint32 rtt = 10; + */ + rtt: number; + /** + * @generated from field: uint32 jitter = 11; + */ + jitter: number; + /** + * @generated from field: uint32 nacks = 12; + */ + nacks: number; + /** + * @generated from field: uint32 plis = 13; + */ + plis: number; + /** + * @generated from field: uint32 firs = 14; + */ + firs: number; + /** + * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; + */ + videoLayers: AnalyticsVideoLayer[]; + /** + * @generated from field: google.protobuf.Timestamp start_time = 17; + */ + startTime?: Timestamp; + /** + * @generated from field: google.protobuf.Timestamp end_time = 18; + */ + endTime?: Timestamp; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + packetsOutOfOrder: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStream"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream; + static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsStat + */ +export declare class AnalyticsStat extends Message { + /** + * unique id for this stat + * + * @generated from field: string id = 14; + */ + id: string; + /** + * @generated from field: string analytics_key = 1; + */ + analyticsKey: string; + /** + * @generated from field: livekit.StreamType kind = 2; + */ + kind: StreamType; + /** + * @generated from field: google.protobuf.Timestamp time_stamp = 3; + */ + timeStamp?: Timestamp; + /** + * @generated from field: string node = 4; + */ + node: string; + /** + * @generated from field: string room_id = 5; + */ + roomId: string; + /** + * @generated from field: string room_name = 6; + */ + roomName: string; + /** + * @generated from field: string participant_id = 7; + */ + participantId: string; + /** + * @generated from field: string track_id = 8; + */ + trackId: string; + /** + * average score + * + * @generated from field: float score = 9; + */ + score: number; + /** + * @generated from field: repeated livekit.AnalyticsStream streams = 10; + */ + streams: AnalyticsStream[]; + /** + * @generated from field: string mime = 11; + */ + mime: string; + /** + * @generated from field: float min_score = 12; + */ + minScore: number; + /** + * @generated from field: float median_score = 13; + */ + medianScore: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStat"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat; + static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsStats + */ +export declare class AnalyticsStats extends Message { + /** + * @generated from field: repeated livekit.AnalyticsStat stats = 1; + */ + stats: AnalyticsStat[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStats"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats; + static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsClientMeta + */ +export declare class AnalyticsClientMeta extends Message { + /** + * @generated from field: string region = 1; + */ + region: string; + /** + * @generated from field: string node = 2; + */ + node: string; + /** + * @generated from field: string client_addr = 3; + */ + clientAddr: string; + /** + * @generated from field: uint32 client_connect_time = 4; + */ + clientConnectTime: number; + /** + * udp, tcp, turn + * + * @generated from field: string connection_type = 5; + */ + connectionType: string; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 6; + */ + reconnectReason: ReconnectReason; + /** + * @generated from field: optional string geo_hash = 7; + */ + geoHash?: string; + /** + * @generated from field: optional string country = 8; + */ + country?: string; + /** + * @generated from field: optional uint32 isp_asn = 9; + */ + ispAsn?: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsClientMeta"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta; + static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsEvent + */ +export declare class AnalyticsEvent extends Message { + /** + * unique id for this event + * + * @generated from field: string id = 25; + */ + id: string; + /** + * @generated from field: livekit.AnalyticsEventType type = 1; + */ + type: AnalyticsEventType; + /** + * @generated from field: google.protobuf.Timestamp timestamp = 2; + */ + timestamp?: Timestamp; + /** + * @generated from field: string room_id = 3; + */ + roomId: string; + /** + * @generated from field: livekit.Room room = 4; + */ + room?: Room; + /** + * @generated from field: string participant_id = 5; + */ + participantId: string; + /** + * @generated from field: livekit.ParticipantInfo participant = 6; + */ + participant?: ParticipantInfo; + /** + * @generated from field: string track_id = 7; + */ + trackId: string; + /** + * @generated from field: livekit.TrackInfo track = 8; + */ + track?: TrackInfo; + /** + * @generated from field: string analytics_key = 10; + */ + analyticsKey: string; + /** + * @generated from field: livekit.ClientInfo client_info = 11; + */ + clientInfo?: ClientInfo; + /** + * @generated from field: livekit.AnalyticsClientMeta client_meta = 12; + */ + clientMeta?: AnalyticsClientMeta; + /** + * @generated from field: string egress_id = 13; + */ + egressId: string; + /** + * @generated from field: string ingress_id = 19; + */ + ingressId: string; + /** + * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; + */ + maxSubscribedVideoQuality: VideoQuality; + /** + * @generated from field: livekit.ParticipantInfo publisher = 15; + */ + publisher?: ParticipantInfo; + /** + * @generated from field: string mime = 16; + */ + mime: string; + /** + * @generated from field: livekit.EgressInfo egress = 17; + */ + egress?: EgressInfo; + /** + * @generated from field: livekit.IngressInfo ingress = 18; + */ + ingress?: IngressInfo; + /** + * @generated from field: string error = 20; + */ + error: string; + /** + * @generated from field: livekit.RTPStats rtp_stats = 21; + */ + rtpStats?: RTPStats; + /** + * @generated from field: int32 video_layer = 22; + */ + videoLayer: number; + /** + * @generated from field: string node_id = 24; + */ + nodeId: string; + /** + * @generated from field: string sip_call_id = 26; + */ + sipCallId: string; + /** + * @generated from field: livekit.SIPCallInfo sip_call = 27; + */ + sipCall?: SIPCallInfo; + /** + * @generated from field: string sip_trunk_id = 28; + */ + sipTrunkId: string; + /** + * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29; + */ + sipInboundTrunk?: SIPInboundTrunkInfo; + /** + * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30; + */ + sipOutboundTrunk?: SIPOutboundTrunkInfo; + /** + * @generated from field: string sip_dispatch_rule_id = 31; + */ + sipDispatchRuleId: string; + /** + * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32; + */ + sipDispatchRule?: SIPDispatchRuleInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsEvent"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent; + static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsEvents + */ +export declare class AnalyticsEvents extends Message { + /** + * @generated from field: repeated livekit.AnalyticsEvent events = 1; + */ + events: AnalyticsEvent[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsEvents"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents; + static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsRoomParticipant + */ +export declare class AnalyticsRoomParticipant extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * @generated from field: string name = 3; + */ + name: string; + /** + * @generated from field: livekit.ParticipantInfo.State state = 4; + */ + state: ParticipantInfo_State; + /** + * @generated from field: google.protobuf.Timestamp joined_at = 5; + */ + joinedAt?: Timestamp; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsRoomParticipant"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant; + static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsRoom + */ +export declare class AnalyticsRoom extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * @generated from field: string project_id = 5; + */ + projectId: string; + /** + * @generated from field: google.protobuf.Timestamp created_at = 3; + */ + createdAt?: Timestamp; + /** + * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; + */ + participants: AnalyticsRoomParticipant[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsRoom"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom; + static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AnalyticsNodeRooms + */ +export declare class AnalyticsNodeRooms extends Message { + /** + * @generated from field: string node_id = 1; + */ + nodeId: string; + /** + * @generated from field: uint64 sequence_number = 2; + */ + sequenceNumber: bigint; + /** + * @generated from field: google.protobuf.Timestamp timestamp = 3; + */ + timestamp?: Timestamp; + /** + * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; + */ + rooms: AnalyticsRoom[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsNodeRooms"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms; + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms; + static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms; + static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_analytics_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map new file mode 100644 index 00000000..537b0d2e --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_analytics_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_analytics_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,qBAAqB,EAAE,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OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,gCAAgC;IACxD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAK9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,kBAAkB;IAI9F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAI7F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.js b/packages/javascript/dist/gen/livekit_analytics_pb.js new file mode 100644 index 00000000..761855bb --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.js @@ -0,0 +1,1053 @@ +import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; +import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; +import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; +var StreamType = /* @__PURE__ */ ((StreamType2) => { + StreamType2[StreamType2["UPSTREAM"] = 0] = "UPSTREAM"; + StreamType2[StreamType2["DOWNSTREAM"] = 1] = "DOWNSTREAM"; + return StreamType2; +})(StreamType || {}); +proto3.util.setEnumType(StreamType, "livekit.StreamType", [ + { no: 0, name: "UPSTREAM" }, + { no: 1, name: "DOWNSTREAM" } +]); +var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => { + AnalyticsEventType2[AnalyticsEventType2["ROOM_CREATED"] = 0] = "ROOM_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["ROOM_ENDED"] = 1] = "ROOM_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_JOINED"] = 2] = "PARTICIPANT_JOINED"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_LEFT"] = 3] = "PARTICIPANT_LEFT"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED"] = 4] = "TRACK_PUBLISHED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_REQUESTED"] = 20] = "TRACK_PUBLISH_REQUESTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNPUBLISHED"] = 5] = "TRACK_UNPUBLISHED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBED"] = 6] = "TRACK_SUBSCRIBED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_REQUESTED"] = 21] = "TRACK_SUBSCRIBE_REQUESTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_FAILED"] = 25] = "TRACK_SUBSCRIBE_FAILED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNSUBSCRIBED"] = 7] = "TRACK_UNSUBSCRIBED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED_UPDATE"] = 10] = "TRACK_PUBLISHED_UPDATE"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_MUTED"] = 23] = "TRACK_MUTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_UNMUTED"] = 24] = "TRACK_UNMUTED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_STATS"] = 26] = "TRACK_PUBLISH_STATS"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_STATS"] = 27] = "TRACK_SUBSCRIBE_STATS"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_ACTIVE"] = 11] = "PARTICIPANT_ACTIVE"; + AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_RESUMED"] = 22] = "PARTICIPANT_RESUMED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_STARTED"] = 12] = "EGRESS_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_ENDED"] = 13] = "EGRESS_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["EGRESS_UPDATED"] = 28] = "EGRESS_UPDATED"; + AnalyticsEventType2[AnalyticsEventType2["TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"] = 14] = "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"; + AnalyticsEventType2[AnalyticsEventType2["RECONNECTED"] = 15] = "RECONNECTED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_CREATED"] = 18] = "INGRESS_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_DELETED"] = 19] = "INGRESS_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_STARTED"] = 16] = "INGRESS_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_ENDED"] = 17] = "INGRESS_ENDED"; + AnalyticsEventType2[AnalyticsEventType2["INGRESS_UPDATED"] = 29] = "INGRESS_UPDATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_CREATED"] = 30] = "SIP_INBOUND_TRUNK_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_DELETED"] = 31] = "SIP_INBOUND_TRUNK_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_CREATED"] = 32] = "SIP_OUTBOUND_TRUNK_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_DELETED"] = 33] = "SIP_OUTBOUND_TRUNK_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_CREATED"] = 34] = "SIP_DISPATCH_RULE_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_DELETED"] = 35] = "SIP_DISPATCH_RULE_DELETED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_PARTICIPANT_CREATED"] = 36] = "SIP_PARTICIPANT_CREATED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_INCOMING"] = 37] = "SIP_CALL_INCOMING"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_STARTED"] = 38] = "SIP_CALL_STARTED"; + AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_ENDED"] = 39] = "SIP_CALL_ENDED"; + return AnalyticsEventType2; +})(AnalyticsEventType || {}); +proto3.util.setEnumType(AnalyticsEventType, "livekit.AnalyticsEventType", [ + { no: 0, name: "ROOM_CREATED" }, + { no: 1, name: "ROOM_ENDED" }, + { no: 2, name: "PARTICIPANT_JOINED" }, + { no: 3, name: "PARTICIPANT_LEFT" }, + { no: 4, name: "TRACK_PUBLISHED" }, + { no: 20, name: "TRACK_PUBLISH_REQUESTED" }, + { no: 5, name: "TRACK_UNPUBLISHED" }, + { no: 6, name: "TRACK_SUBSCRIBED" }, + { no: 21, name: "TRACK_SUBSCRIBE_REQUESTED" }, + { no: 25, name: "TRACK_SUBSCRIBE_FAILED" }, + { no: 7, name: "TRACK_UNSUBSCRIBED" }, + { no: 10, name: "TRACK_PUBLISHED_UPDATE" }, + { no: 23, name: "TRACK_MUTED" }, + { no: 24, name: "TRACK_UNMUTED" }, + { no: 26, name: "TRACK_PUBLISH_STATS" }, + { no: 27, name: "TRACK_SUBSCRIBE_STATS" }, + { no: 11, name: "PARTICIPANT_ACTIVE" }, + { no: 22, name: "PARTICIPANT_RESUMED" }, + { no: 12, name: "EGRESS_STARTED" }, + { no: 13, name: "EGRESS_ENDED" }, + { no: 28, name: "EGRESS_UPDATED" }, + { no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY" }, + { no: 15, name: "RECONNECTED" }, + { no: 18, name: "INGRESS_CREATED" }, + { no: 19, name: "INGRESS_DELETED" }, + { no: 16, name: "INGRESS_STARTED" }, + { no: 17, name: "INGRESS_ENDED" }, + { no: 29, name: "INGRESS_UPDATED" }, + { no: 30, name: "SIP_INBOUND_TRUNK_CREATED" }, + { no: 31, name: "SIP_INBOUND_TRUNK_DELETED" }, + { no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED" }, + { no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED" }, + { no: 34, name: "SIP_DISPATCH_RULE_CREATED" }, + { no: 35, name: "SIP_DISPATCH_RULE_DELETED" }, + { no: 36, name: "SIP_PARTICIPANT_CREATED" }, + { no: 37, name: "SIP_CALL_INCOMING" }, + { no: 38, name: "SIP_CALL_STARTED" }, + { no: 39, name: "SIP_CALL_ENDED" } +]); +const _AnalyticsVideoLayer = class _AnalyticsVideoLayer extends Message { + constructor(data) { + super(); + /** + * @generated from field: int32 layer = 1; + */ + this.layer = 0; + /** + * @generated from field: uint32 packets = 2; + */ + this.packets = 0; + /** + * @generated from field: uint64 bytes = 3; + */ + this.bytes = protoInt64.zero; + /** + * @generated from field: uint32 frames = 4; + */ + this.frames = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsVideoLayer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsVideoLayer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsVideoLayer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsVideoLayer, a, b); + } +}; +_AnalyticsVideoLayer.runtime = proto3; +_AnalyticsVideoLayer.typeName = "livekit.AnalyticsVideoLayer"; +_AnalyticsVideoLayer.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "layer", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let AnalyticsVideoLayer = _AnalyticsVideoLayer; +const _AnalyticsStream = class _AnalyticsStream extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 ssrc = 1; + */ + this.ssrc = 0; + /** + * @generated from field: uint32 primary_packets = 2; + */ + this.primaryPackets = 0; + /** + * @generated from field: uint64 primary_bytes = 3; + */ + this.primaryBytes = protoInt64.zero; + /** + * @generated from field: uint32 retransmit_packets = 4; + */ + this.retransmitPackets = 0; + /** + * @generated from field: uint64 retransmit_bytes = 5; + */ + this.retransmitBytes = protoInt64.zero; + /** + * @generated from field: uint32 padding_packets = 6; + */ + this.paddingPackets = 0; + /** + * @generated from field: uint64 padding_bytes = 7; + */ + this.paddingBytes = protoInt64.zero; + /** + * @generated from field: uint32 packets_lost = 8; + */ + this.packetsLost = 0; + /** + * @generated from field: uint32 frames = 9; + */ + this.frames = 0; + /** + * @generated from field: uint32 rtt = 10; + */ + this.rtt = 0; + /** + * @generated from field: uint32 jitter = 11; + */ + this.jitter = 0; + /** + * @generated from field: uint32 nacks = 12; + */ + this.nacks = 0; + /** + * @generated from field: uint32 plis = 13; + */ + this.plis = 0; + /** + * @generated from field: uint32 firs = 14; + */ + this.firs = 0; + /** + * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; + */ + this.videoLayers = []; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + this.packetsOutOfOrder = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStream().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStream().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStream().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsStream, a, b); + } +}; +_AnalyticsStream.runtime = proto3; +_AnalyticsStream.typeName = "livekit.AnalyticsStream"; +_AnalyticsStream.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ssrc", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "primary_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "primary_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "retransmit_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "retransmit_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 6, + name: "padding_packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "padding_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 8, + name: "packets_lost", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "rtt", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 11, + name: "jitter", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 12, + name: "nacks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 13, + name: "plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 14, + name: "firs", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, + { no: 17, name: "start_time", kind: "message", T: Timestamp }, + { no: 18, name: "end_time", kind: "message", T: Timestamp }, + { + no: 19, + name: "packets_out_of_order", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let AnalyticsStream = _AnalyticsStream; +const _AnalyticsStat = class _AnalyticsStat extends Message { + constructor(data) { + super(); + /** + * unique id for this stat + * + * @generated from field: string id = 14; + */ + this.id = ""; + /** + * @generated from field: string analytics_key = 1; + */ + this.analyticsKey = ""; + /** + * @generated from field: livekit.StreamType kind = 2; + */ + this.kind = 0 /* UPSTREAM */; + /** + * @generated from field: string node = 4; + */ + this.node = ""; + /** + * @generated from field: string room_id = 5; + */ + this.roomId = ""; + /** + * @generated from field: string room_name = 6; + */ + this.roomName = ""; + /** + * @generated from field: string participant_id = 7; + */ + this.participantId = ""; + /** + * @generated from field: string track_id = 8; + */ + this.trackId = ""; + /** + * average score + * + * @generated from field: float score = 9; + */ + this.score = 0; + /** + * @generated from field: repeated livekit.AnalyticsStream streams = 10; + */ + this.streams = []; + /** + * @generated from field: string mime = 11; + */ + this.mime = ""; + /** + * @generated from field: float min_score = 12; + */ + this.minScore = 0; + /** + * @generated from field: float median_score = 13; + */ + this.medianScore = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStat().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStat().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStat().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsStat, a, b); + } +}; +_AnalyticsStat.runtime = proto3; +_AnalyticsStat.typeName = "livekit.AnalyticsStat"; +_AnalyticsStat.fields = proto3.util.newFieldList(() => [ + { + no: 14, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 1, + name: "analytics_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) }, + { no: 3, name: "time_stamp", kind: "message", T: Timestamp }, + { + no: 4, + name: "node", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, + { + no: 11, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "min_score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 13, + name: "median_score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let AnalyticsStat = _AnalyticsStat; +const _AnalyticsStats = class _AnalyticsStats extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AnalyticsStat stats = 1; + */ + this.stats = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsStats, a, b); + } +}; +_AnalyticsStats.runtime = proto3; +_AnalyticsStats.typeName = "livekit.AnalyticsStats"; +_AnalyticsStats.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true } +]); +let AnalyticsStats = _AnalyticsStats; +const _AnalyticsClientMeta = class _AnalyticsClientMeta extends Message { + constructor(data) { + super(); + /** + * @generated from field: string region = 1; + */ + this.region = ""; + /** + * @generated from field: string node = 2; + */ + this.node = ""; + /** + * @generated from field: string client_addr = 3; + */ + this.clientAddr = ""; + /** + * @generated from field: uint32 client_connect_time = 4; + */ + this.clientConnectTime = 0; + /** + * udp, tcp, turn + * + * @generated from field: string connection_type = 5; + */ + this.connectionType = ""; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 6; + */ + this.reconnectReason = ReconnectReason.RR_UNKNOWN; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsClientMeta().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsClientMeta().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsClientMeta().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsClientMeta, a, b); + } +}; +_AnalyticsClientMeta.runtime = proto3; +_AnalyticsClientMeta.typeName = "livekit.AnalyticsClientMeta"; +_AnalyticsClientMeta.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "node", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "client_addr", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "client_connect_time", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "connection_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, + { no: 7, name: "geo_hash", kind: "scalar", T: 9, opt: true }, + { no: 8, name: "country", kind: "scalar", T: 9, opt: true }, + { no: 9, name: "isp_asn", kind: "scalar", T: 13, opt: true } +]); +let AnalyticsClientMeta = _AnalyticsClientMeta; +const _AnalyticsEvent = class _AnalyticsEvent extends Message { + constructor(data) { + super(); + /** + * unique id for this event + * + * @generated from field: string id = 25; + */ + this.id = ""; + /** + * @generated from field: livekit.AnalyticsEventType type = 1; + */ + this.type = 0 /* ROOM_CREATED */; + /** + * @generated from field: string room_id = 3; + */ + this.roomId = ""; + /** + * @generated from field: string participant_id = 5; + */ + this.participantId = ""; + /** + * @generated from field: string track_id = 7; + */ + this.trackId = ""; + /** + * @generated from field: string analytics_key = 10; + */ + this.analyticsKey = ""; + /** + * @generated from field: string egress_id = 13; + */ + this.egressId = ""; + /** + * @generated from field: string ingress_id = 19; + */ + this.ingressId = ""; + /** + * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; + */ + this.maxSubscribedVideoQuality = VideoQuality.LOW; + /** + * @generated from field: string mime = 16; + */ + this.mime = ""; + /** + * @generated from field: string error = 20; + */ + this.error = ""; + /** + * @generated from field: int32 video_layer = 22; + */ + this.videoLayer = 0; + /** + * @generated from field: string node_id = 24; + */ + this.nodeId = ""; + /** + * @generated from field: string sip_call_id = 26; + */ + this.sipCallId = ""; + /** + * @generated from field: string sip_trunk_id = 28; + */ + this.sipTrunkId = ""; + /** + * @generated from field: string sip_dispatch_rule_id = 31; + */ + this.sipDispatchRuleId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsEvent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsEvent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsEvent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsEvent, a, b); + } +}; +_AnalyticsEvent.runtime = proto3; +_AnalyticsEvent.typeName = "livekit.AnalyticsEvent"; +_AnalyticsEvent.fields = proto3.util.newFieldList(() => [ + { + no: 25, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) }, + { no: 2, name: "timestamp", kind: "message", T: Timestamp }, + { + no: 3, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "room", kind: "message", T: Room }, + { + no: 5, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "participant", kind: "message", T: ParticipantInfo }, + { + no: 7, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "track", kind: "message", T: TrackInfo }, + { + no: 10, + name: "analytics_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 11, name: "client_info", kind: "message", T: ClientInfo }, + { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, + { + no: 13, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 19, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { no: 15, name: "publisher", kind: "message", T: ParticipantInfo }, + { + no: 16, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 17, name: "egress", kind: "message", T: EgressInfo }, + { no: 18, name: "ingress", kind: "message", T: IngressInfo }, + { + no: 20, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 21, name: "rtp_stats", kind: "message", T: RTPStats }, + { + no: 22, + name: "video_layer", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 24, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 26, + name: "sip_call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 27, name: "sip_call", kind: "message", T: SIPCallInfo }, + { + no: 28, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo }, + { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo }, + { + no: 31, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo } +]); +let AnalyticsEvent = _AnalyticsEvent; +const _AnalyticsEvents = class _AnalyticsEvents extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.AnalyticsEvent events = 1; + */ + this.events = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsEvents().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsEvents().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsEvents().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsEvents, a, b); + } +}; +_AnalyticsEvents.runtime = proto3; +_AnalyticsEvents.typeName = "livekit.AnalyticsEvents"; +_AnalyticsEvents.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true } +]); +let AnalyticsEvents = _AnalyticsEvents; +const _AnalyticsRoomParticipant = class _AnalyticsRoomParticipant extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: string name = 3; + */ + this.name = ""; + /** + * @generated from field: livekit.ParticipantInfo.State state = 4; + */ + this.state = ParticipantInfo_State.JOINING; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsRoomParticipant().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsRoomParticipant().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsRoomParticipant().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsRoomParticipant, a, b); + } +}; +_AnalyticsRoomParticipant.runtime = proto3; +_AnalyticsRoomParticipant.typeName = "livekit.AnalyticsRoomParticipant"; +_AnalyticsRoomParticipant.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, + { no: 5, name: "joined_at", kind: "message", T: Timestamp } +]); +let AnalyticsRoomParticipant = _AnalyticsRoomParticipant; +const _AnalyticsRoom = class _AnalyticsRoom extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string project_id = 5; + */ + this.projectId = ""; + /** + * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; + */ + this.participants = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsRoom().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsRoom().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsRoom().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsRoom, a, b); + } +}; +_AnalyticsRoom.runtime = proto3; +_AnalyticsRoom.typeName = "livekit.AnalyticsRoom"; +_AnalyticsRoom.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "project_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "created_at", kind: "message", T: Timestamp }, + { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true } +]); +let AnalyticsRoom = _AnalyticsRoom; +const _AnalyticsNodeRooms = class _AnalyticsNodeRooms extends Message { + constructor(data) { + super(); + /** + * @generated from field: string node_id = 1; + */ + this.nodeId = ""; + /** + * @generated from field: uint64 sequence_number = 2; + */ + this.sequenceNumber = protoInt64.zero; + /** + * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; + */ + this.rooms = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AnalyticsNodeRooms().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AnalyticsNodeRooms().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AnalyticsNodeRooms().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AnalyticsNodeRooms, a, b); + } +}; +_AnalyticsNodeRooms.runtime = proto3; +_AnalyticsNodeRooms.typeName = "livekit.AnalyticsNodeRooms"; +_AnalyticsNodeRooms.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { no: 3, name: "timestamp", kind: "message", T: Timestamp }, + { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true } +]); +let AnalyticsNodeRooms = _AnalyticsNodeRooms; +export { + AnalyticsClientMeta, + AnalyticsEvent, + AnalyticsEventType, + AnalyticsEvents, + AnalyticsNodeRooms, + AnalyticsRoom, + AnalyticsRoomParticipant, + AnalyticsStat, + AnalyticsStats, + AnalyticsStream, + AnalyticsVideoLayer, + StreamType +}; +//# sourceMappingURL=livekit_analytics_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.js.map b/packages/javascript/dist/gen/livekit_analytics_pb.js.map new file mode 100644 index 00000000..5c575dd4 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_analytics_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_analytics_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_analytics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\nimport { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from \"./livekit_sip_pb.js\";\n\n/**\n * @generated from enum livekit.StreamType\n */\nexport enum StreamType {\n /**\n * @generated from enum value: UPSTREAM = 0;\n */\n UPSTREAM = 0,\n\n /**\n * @generated from enum value: DOWNSTREAM = 1;\n */\n DOWNSTREAM = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamType)\nproto3.util.setEnumType(StreamType, \"livekit.StreamType\", [\n { no: 0, name: \"UPSTREAM\" },\n { no: 1, name: \"DOWNSTREAM\" },\n]);\n\n/**\n * @generated from enum livekit.AnalyticsEventType\n */\nexport enum AnalyticsEventType {\n /**\n * @generated from enum value: ROOM_CREATED = 0;\n */\n ROOM_CREATED = 0,\n\n /**\n * @generated from enum value: ROOM_ENDED = 1;\n */\n ROOM_ENDED = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_JOINED = 2;\n */\n PARTICIPANT_JOINED = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_LEFT = 3;\n */\n PARTICIPANT_LEFT = 3,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED = 4;\n */\n TRACK_PUBLISHED = 4,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20;\n */\n TRACK_PUBLISH_REQUESTED = 20,\n\n /**\n * @generated from enum value: TRACK_UNPUBLISHED = 5;\n */\n TRACK_UNPUBLISHED = 5,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBED = 6;\n */\n TRACK_SUBSCRIBED = 6,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21;\n */\n TRACK_SUBSCRIBE_REQUESTED = 21,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25;\n */\n TRACK_SUBSCRIBE_FAILED = 25,\n\n /**\n * @generated from enum value: TRACK_UNSUBSCRIBED = 7;\n */\n TRACK_UNSUBSCRIBED = 7,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10;\n */\n TRACK_PUBLISHED_UPDATE = 10,\n\n /**\n * @generated from enum value: TRACK_MUTED = 23;\n */\n TRACK_MUTED = 23,\n\n /**\n * @generated from enum value: TRACK_UNMUTED = 24;\n */\n TRACK_UNMUTED = 24,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_STATS = 26;\n */\n TRACK_PUBLISH_STATS = 26,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27;\n */\n TRACK_SUBSCRIBE_STATS = 27,\n\n /**\n * @generated from enum value: PARTICIPANT_ACTIVE = 11;\n */\n PARTICIPANT_ACTIVE = 11,\n\n /**\n * @generated from enum value: PARTICIPANT_RESUMED = 22;\n */\n PARTICIPANT_RESUMED = 22,\n\n /**\n * @generated from enum value: EGRESS_STARTED = 12;\n */\n EGRESS_STARTED = 12,\n\n /**\n * @generated from enum value: EGRESS_ENDED = 13;\n */\n EGRESS_ENDED = 13,\n\n /**\n * @generated from enum value: EGRESS_UPDATED = 28;\n */\n EGRESS_UPDATED = 28,\n\n /**\n * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14;\n */\n TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14,\n\n /**\n * @generated from enum value: RECONNECTED = 15;\n */\n RECONNECTED = 15,\n\n /**\n * @generated from enum value: INGRESS_CREATED = 18;\n */\n INGRESS_CREATED = 18,\n\n /**\n * @generated from enum value: INGRESS_DELETED = 19;\n */\n INGRESS_DELETED = 19,\n\n /**\n * @generated from enum value: INGRESS_STARTED = 16;\n */\n INGRESS_STARTED = 16,\n\n /**\n * @generated from enum value: INGRESS_ENDED = 17;\n */\n INGRESS_ENDED = 17,\n\n /**\n * @generated from enum value: INGRESS_UPDATED = 29;\n */\n INGRESS_UPDATED = 29,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30;\n */\n SIP_INBOUND_TRUNK_CREATED = 30,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31;\n */\n SIP_INBOUND_TRUNK_DELETED = 31,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32;\n */\n SIP_OUTBOUND_TRUNK_CREATED = 32,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33;\n */\n SIP_OUTBOUND_TRUNK_DELETED = 33,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34;\n */\n SIP_DISPATCH_RULE_CREATED = 34,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35;\n */\n SIP_DISPATCH_RULE_DELETED = 35,\n\n /**\n * @generated from enum value: SIP_PARTICIPANT_CREATED = 36;\n */\n SIP_PARTICIPANT_CREATED = 36,\n\n /**\n * @generated from enum value: SIP_CALL_INCOMING = 37;\n */\n SIP_CALL_INCOMING = 37,\n\n /**\n * @generated from enum value: SIP_CALL_STARTED = 38;\n */\n SIP_CALL_STARTED = 38,\n\n /**\n * @generated from enum value: SIP_CALL_ENDED = 39;\n */\n SIP_CALL_ENDED = 39,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AnalyticsEventType)\nproto3.util.setEnumType(AnalyticsEventType, \"livekit.AnalyticsEventType\", [\n { no: 0, name: \"ROOM_CREATED\" },\n { no: 1, name: \"ROOM_ENDED\" },\n { no: 2, name: \"PARTICIPANT_JOINED\" },\n { no: 3, name: \"PARTICIPANT_LEFT\" },\n { no: 4, name: \"TRACK_PUBLISHED\" },\n { no: 20, name: \"TRACK_PUBLISH_REQUESTED\" },\n { no: 5, name: \"TRACK_UNPUBLISHED\" },\n { no: 6, name: \"TRACK_SUBSCRIBED\" },\n { no: 21, name: \"TRACK_SUBSCRIBE_REQUESTED\" },\n { no: 25, name: \"TRACK_SUBSCRIBE_FAILED\" },\n { no: 7, name: \"TRACK_UNSUBSCRIBED\" },\n { no: 10, name: \"TRACK_PUBLISHED_UPDATE\" },\n { no: 23, name: \"TRACK_MUTED\" },\n { no: 24, name: \"TRACK_UNMUTED\" },\n { no: 26, name: \"TRACK_PUBLISH_STATS\" },\n { no: 27, name: \"TRACK_SUBSCRIBE_STATS\" },\n { no: 11, name: \"PARTICIPANT_ACTIVE\" },\n { no: 22, name: \"PARTICIPANT_RESUMED\" },\n { no: 12, name: \"EGRESS_STARTED\" },\n { no: 13, name: \"EGRESS_ENDED\" },\n { no: 28, name: \"EGRESS_UPDATED\" },\n { no: 14, name: \"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY\" },\n { no: 15, name: \"RECONNECTED\" },\n { no: 18, name: \"INGRESS_CREATED\" },\n { no: 19, name: \"INGRESS_DELETED\" },\n { no: 16, name: \"INGRESS_STARTED\" },\n { no: 17, name: \"INGRESS_ENDED\" },\n { no: 29, name: \"INGRESS_UPDATED\" },\n { no: 30, name: \"SIP_INBOUND_TRUNK_CREATED\" },\n { no: 31, name: \"SIP_INBOUND_TRUNK_DELETED\" },\n { no: 32, name: \"SIP_OUTBOUND_TRUNK_CREATED\" },\n { no: 33, name: \"SIP_OUTBOUND_TRUNK_DELETED\" },\n { no: 34, name: \"SIP_DISPATCH_RULE_CREATED\" },\n { no: 35, name: \"SIP_DISPATCH_RULE_DELETED\" },\n { no: 36, name: \"SIP_PARTICIPANT_CREATED\" },\n { no: 37, name: \"SIP_CALL_INCOMING\" },\n { no: 38, name: \"SIP_CALL_STARTED\" },\n { no: 39, name: \"SIP_CALL_ENDED\" },\n]);\n\n/**\n * @generated from message livekit.AnalyticsVideoLayer\n */\nexport class AnalyticsVideoLayer extends Message {\n /**\n * @generated from field: int32 layer = 1;\n */\n layer = 0;\n\n /**\n * @generated from field: uint32 packets = 2;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 bytes = 3;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 frames = 4;\n */\n frames = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsVideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsVideoLayer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStream\n */\nexport class AnalyticsStream extends Message {\n /**\n * @generated from field: uint32 ssrc = 1;\n */\n ssrc = 0;\n\n /**\n * @generated from field: uint32 primary_packets = 2;\n */\n primaryPackets = 0;\n\n /**\n * @generated from field: uint64 primary_bytes = 3;\n */\n primaryBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 retransmit_packets = 4;\n */\n retransmitPackets = 0;\n\n /**\n * @generated from field: uint64 retransmit_bytes = 5;\n */\n retransmitBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 padding_packets = 6;\n */\n paddingPackets = 0;\n\n /**\n * @generated from field: uint64 padding_bytes = 7;\n */\n paddingBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: uint32 frames = 9;\n */\n frames = 0;\n\n /**\n * @generated from field: uint32 rtt = 10;\n */\n rtt = 0;\n\n /**\n * @generated from field: uint32 jitter = 11;\n */\n jitter = 0;\n\n /**\n * @generated from field: uint32 nacks = 12;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 plis = 13;\n */\n plis = 0;\n\n /**\n * @generated from field: uint32 firs = 14;\n */\n firs = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15;\n */\n videoLayers: AnalyticsVideoLayer[] = [];\n\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 17;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 18;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"primary_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"primary_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"retransmit_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"retransmit_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"padding_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"padding_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"rtt\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 13, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 15, name: \"video_layers\", kind: \"message\", T: AnalyticsVideoLayer, repeated: true },\n { no: 17, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 18, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStream, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStat\n */\nexport class AnalyticsStat extends Message {\n /**\n * unique id for this stat\n *\n * @generated from field: string id = 14;\n */\n id = \"\";\n\n /**\n * @generated from field: string analytics_key = 1;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.StreamType kind = 2;\n */\n kind = StreamType.UPSTREAM;\n\n /**\n * @generated from field: google.protobuf.Timestamp time_stamp = 3;\n */\n timeStamp?: Timestamp;\n\n /**\n * @generated from field: string node = 4;\n */\n node = \"\";\n\n /**\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 6;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_id = 7;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string track_id = 8;\n */\n trackId = \"\";\n\n /**\n * average score\n *\n * @generated from field: float score = 9;\n */\n score = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsStream streams = 10;\n */\n streams: AnalyticsStream[] = [];\n\n /**\n * @generated from field: string mime = 11;\n */\n mime = \"\";\n\n /**\n * @generated from field: float min_score = 12;\n */\n minScore = 0;\n\n /**\n * @generated from field: float median_score = 13;\n */\n medianScore = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStat\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 14, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(StreamType) },\n { no: 3, name: \"time_stamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 10, name: \"streams\", kind: \"message\", T: AnalyticsStream, repeated: true },\n { no: 11, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"min_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"median_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStat, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStats\n */\nexport class AnalyticsStats extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsStat stats = 1;\n */\n stats: AnalyticsStat[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stats\", kind: \"message\", T: AnalyticsStat, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsClientMeta\n */\nexport class AnalyticsClientMeta extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string node = 2;\n */\n node = \"\";\n\n /**\n * @generated from field: string client_addr = 3;\n */\n clientAddr = \"\";\n\n /**\n * @generated from field: uint32 client_connect_time = 4;\n */\n clientConnectTime = 0;\n\n /**\n * udp, tcp, turn\n *\n * @generated from field: string connection_type = 5;\n */\n connectionType = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 6;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional string geo_hash = 7;\n */\n geoHash?: string;\n\n /**\n * @generated from field: optional string country = 8;\n */\n country?: string;\n\n /**\n * @generated from field: optional uint32 isp_asn = 9;\n */\n ispAsn?: number;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsClientMeta\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"client_addr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"client_connect_time\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"connection_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 7, name: \"geo_hash\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"country\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"isp_asn\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsClientMeta, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvent\n */\nexport class AnalyticsEvent extends Message {\n /**\n * unique id for this event\n *\n * @generated from field: string id = 25;\n */\n id = \"\";\n\n /**\n * @generated from field: livekit.AnalyticsEventType type = 1;\n */\n type = AnalyticsEventType.ROOM_CREATED;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 2;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: string room_id = 3;\n */\n roomId = \"\";\n\n /**\n * @generated from field: livekit.Room room = 4;\n */\n room?: Room;\n\n /**\n * @generated from field: string participant_id = 5;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 6;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string track_id = 7;\n */\n trackId = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * @generated from field: string analytics_key = 10;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.ClientInfo client_info = 11;\n */\n clientInfo?: ClientInfo;\n\n /**\n * @generated from field: livekit.AnalyticsClientMeta client_meta = 12;\n */\n clientMeta?: AnalyticsClientMeta;\n\n /**\n * @generated from field: string egress_id = 13;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string ingress_id = 19;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14;\n */\n maxSubscribedVideoQuality = VideoQuality.LOW;\n\n /**\n * @generated from field: livekit.ParticipantInfo publisher = 15;\n */\n publisher?: ParticipantInfo;\n\n /**\n * @generated from field: string mime = 16;\n */\n mime = \"\";\n\n /**\n * @generated from field: livekit.EgressInfo egress = 17;\n */\n egress?: EgressInfo;\n\n /**\n * @generated from field: livekit.IngressInfo ingress = 18;\n */\n ingress?: IngressInfo;\n\n /**\n * @generated from field: string error = 20;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.RTPStats rtp_stats = 21;\n */\n rtpStats?: RTPStats;\n\n /**\n * @generated from field: int32 video_layer = 22;\n */\n videoLayer = 0;\n\n /**\n * @generated from field: string node_id = 24;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: string sip_call_id = 26;\n */\n sipCallId = \"\";\n\n /**\n * @generated from field: livekit.SIPCallInfo sip_call = 27;\n */\n sipCall?: SIPCallInfo;\n\n /**\n * @generated from field: string sip_trunk_id = 28;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29;\n */\n sipInboundTrunk?: SIPInboundTrunkInfo;\n\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30;\n */\n sipOutboundTrunk?: SIPOutboundTrunkInfo;\n\n /**\n * @generated from field: string sip_dispatch_rule_id = 31;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32;\n */\n sipDispatchRule?: SIPDispatchRuleInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 25, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(AnalyticsEventType) },\n { no: 2, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room\", kind: \"message\", T: Room },\n { no: 5, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 7, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 10, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"client_info\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"client_meta\", kind: \"message\", T: AnalyticsClientMeta },\n { no: 13, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 19, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"max_subscribed_video_quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 15, name: \"publisher\", kind: \"message\", T: ParticipantInfo },\n { no: 16, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"egress\", kind: \"message\", T: EgressInfo },\n { no: 18, name: \"ingress\", kind: \"message\", T: IngressInfo },\n { no: 20, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 21, name: \"rtp_stats\", kind: \"message\", T: RTPStats },\n { no: 22, name: \"video_layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 24, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 26, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 27, name: \"sip_call\", kind: \"message\", T: SIPCallInfo },\n { no: 28, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 29, name: \"sip_inbound_trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n { no: 30, name: \"sip_outbound_trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n { no: 31, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 32, name: \"sip_dispatch_rule\", kind: \"message\", T: SIPDispatchRuleInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvents\n */\nexport class AnalyticsEvents extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsEvent events = 1;\n */\n events: AnalyticsEvent[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvents\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"events\", kind: \"message\", T: AnalyticsEvent, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvents, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoomParticipant\n */\nexport class AnalyticsRoomParticipant extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 4;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: google.protobuf.Timestamp joined_at = 5;\n */\n joinedAt?: Timestamp;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoomParticipant\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 5, name: \"joined_at\", kind: \"message\", T: Timestamp },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoomParticipant, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoom\n */\nexport class AnalyticsRoom extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string project_id = 5;\n */\n projectId = \"\";\n\n /**\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4;\n */\n participants: AnalyticsRoomParticipant[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoom\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"created_at\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"participants\", kind: \"message\", T: AnalyticsRoomParticipant, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoom, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsNodeRooms\n */\nexport class AnalyticsNodeRooms extends Message {\n /**\n * @generated from field: string node_id = 1;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: uint64 sequence_number = 2;\n */\n sequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 3;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoom rooms = 4;\n */\n rooms: AnalyticsRoom[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsNodeRooms\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"rooms\", kind: \"message\", T: AnalyticsRoom, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsNodeRooms, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,YAAY,iBAAiB;AACvD,SAAS,YAAY,iBAAiB,uBAAuB,iBAAiB,MAAM,UAAU,WAAW,oBAAoB;AAC7H,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,aAAa,qBAAqB,qBAAqB,4BAA4B;AAKrF,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,cAAW,KAAX;AAKA,EAAAA,wBAAA,gBAA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AY,MAA2C;AACrD,UAAM;AAlBR;AAAA;AAAA;AAAA,kBAAS;AAKT;AAAA;AAAA;AAAA,0BAAiB,WAAW;AAU5B;AAAA;AAAA;AAAA,iBAAyB,CAAC;AAIxB,WAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAWA,OAAO,WAAW,OAAmB,SAA0D;AAC7F,WAAO,IAAI,oBAAmB,EAAE,WAAW,OAAO,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAwD;AAC5F,WAAO,IAAI,oBAAmB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC7D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAwD;AAChG,WAAO,IAAI,oBAAmB,EAAE,eAAe,YAAY,OAAO;AAAA,EACpE;AAAA,EAEA,OAAO,OAAO,GAAsE,GAA+E;AACjK,WAAO,OAAO,KAAK,OAAO,qBAAoB,GAAG,CAAC;AAAA,EACpD;AACF;AAlDa,oBA0BK,UAAyB;AA1B9B,oBA2BK,WAAW;AA3BhB,oBA4BK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACvE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAmB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAC/E,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,UAAU;AAAA,EAC1D,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,eAAe,UAAU,KAAK;AAC5E,CAAC;AAjCI,IAAM,qBAAN;","names":["StreamType","AnalyticsEventType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.cjs b/packages/javascript/dist/gen/livekit_egress_pb.cjs new file mode 100644 index 00000000..a4ff5c35 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.cjs @@ -0,0 +1,2476 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_egress_pb_exports = {}; +__export(livekit_egress_pb_exports, { + AliOSSUpload: () => AliOSSUpload, + AutoParticipantEgress: () => AutoParticipantEgress, + AutoTrackEgress: () => AutoTrackEgress, + AzureBlobUpload: () => AzureBlobUpload, + DirectFileOutput: () => DirectFileOutput, + EgressInfo: () => EgressInfo, + EgressStatus: () => EgressStatus, + EncodedFileOutput: () => EncodedFileOutput, + EncodedFileType: () => EncodedFileType, + EncodingOptions: () => EncodingOptions, + EncodingOptionsPreset: () => EncodingOptionsPreset, + FileInfo: () => FileInfo, + GCPUpload: () => GCPUpload, + ImageFileSuffix: () => ImageFileSuffix, + ImageOutput: () => ImageOutput, + ImagesInfo: () => ImagesInfo, + ListEgressRequest: () => ListEgressRequest, + ListEgressResponse: () => ListEgressResponse, + ParticipantEgressRequest: () => ParticipantEgressRequest, + ProxyConfig: () => ProxyConfig, + RoomCompositeEgressRequest: () => RoomCompositeEgressRequest, + S3Upload: () => S3Upload, + SegmentedFileOutput: () => SegmentedFileOutput, + SegmentedFileProtocol: () => SegmentedFileProtocol, + SegmentedFileSuffix: () => SegmentedFileSuffix, + SegmentsInfo: () => SegmentsInfo, + StopEgressRequest: () => StopEgressRequest, + StreamInfo: () => StreamInfo, + StreamInfoList: () => StreamInfoList, + StreamInfo_Status: () => StreamInfo_Status, + StreamOutput: () => StreamOutput, + StreamProtocol: () => StreamProtocol, + TrackCompositeEgressRequest: () => TrackCompositeEgressRequest, + TrackEgressRequest: () => TrackEgressRequest, + UpdateLayoutRequest: () => UpdateLayoutRequest, + UpdateStreamRequest: () => UpdateStreamRequest, + WebEgressRequest: () => WebEgressRequest +}); +module.exports = __toCommonJS(livekit_egress_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var EncodedFileType = /* @__PURE__ */ ((EncodedFileType2) => { + EncodedFileType2[EncodedFileType2["DEFAULT_FILETYPE"] = 0] = "DEFAULT_FILETYPE"; + EncodedFileType2[EncodedFileType2["MP4"] = 1] = "MP4"; + EncodedFileType2[EncodedFileType2["OGG"] = 2] = "OGG"; + return EncodedFileType2; +})(EncodedFileType || {}); +import_protobuf.proto3.util.setEnumType(EncodedFileType, "livekit.EncodedFileType", [ + { no: 0, name: "DEFAULT_FILETYPE" }, + { no: 1, name: "MP4" }, + { no: 2, name: "OGG" } +]); +var SegmentedFileProtocol = /* @__PURE__ */ ((SegmentedFileProtocol2) => { + SegmentedFileProtocol2[SegmentedFileProtocol2["DEFAULT_SEGMENTED_FILE_PROTOCOL"] = 0] = "DEFAULT_SEGMENTED_FILE_PROTOCOL"; + SegmentedFileProtocol2[SegmentedFileProtocol2["HLS_PROTOCOL"] = 1] = "HLS_PROTOCOL"; + return SegmentedFileProtocol2; +})(SegmentedFileProtocol || {}); +import_protobuf.proto3.util.setEnumType(SegmentedFileProtocol, "livekit.SegmentedFileProtocol", [ + { no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL" }, + { no: 1, name: "HLS_PROTOCOL" } +]); +var SegmentedFileSuffix = /* @__PURE__ */ ((SegmentedFileSuffix2) => { + SegmentedFileSuffix2[SegmentedFileSuffix2["INDEX"] = 0] = "INDEX"; + SegmentedFileSuffix2[SegmentedFileSuffix2["TIMESTAMP"] = 1] = "TIMESTAMP"; + return SegmentedFileSuffix2; +})(SegmentedFileSuffix || {}); +import_protobuf.proto3.util.setEnumType(SegmentedFileSuffix, "livekit.SegmentedFileSuffix", [ + { no: 0, name: "INDEX" }, + { no: 1, name: "TIMESTAMP" } +]); +var ImageFileSuffix = /* @__PURE__ */ ((ImageFileSuffix2) => { + ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_INDEX"] = 0] = "IMAGE_SUFFIX_INDEX"; + ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_TIMESTAMP"] = 1] = "IMAGE_SUFFIX_TIMESTAMP"; + return ImageFileSuffix2; +})(ImageFileSuffix || {}); +import_protobuf.proto3.util.setEnumType(ImageFileSuffix, "livekit.ImageFileSuffix", [ + { no: 0, name: "IMAGE_SUFFIX_INDEX" }, + { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" } +]); +var StreamProtocol = /* @__PURE__ */ ((StreamProtocol2) => { + StreamProtocol2[StreamProtocol2["DEFAULT_PROTOCOL"] = 0] = "DEFAULT_PROTOCOL"; + StreamProtocol2[StreamProtocol2["RTMP"] = 1] = "RTMP"; + StreamProtocol2[StreamProtocol2["SRT"] = 2] = "SRT"; + return StreamProtocol2; +})(StreamProtocol || {}); +import_protobuf.proto3.util.setEnumType(StreamProtocol, "livekit.StreamProtocol", [ + { no: 0, name: "DEFAULT_PROTOCOL" }, + { no: 1, name: "RTMP" }, + { no: 2, name: "SRT" } +]); +var EncodingOptionsPreset = /* @__PURE__ */ ((EncodingOptionsPreset2) => { + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_30"] = 0] = "H264_720P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_60"] = 1] = "H264_720P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_30"] = 2] = "H264_1080P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_60"] = 3] = "H264_1080P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_30"] = 4] = "PORTRAIT_H264_720P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_60"] = 5] = "PORTRAIT_H264_720P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_30"] = 6] = "PORTRAIT_H264_1080P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_60"] = 7] = "PORTRAIT_H264_1080P_60"; + return EncodingOptionsPreset2; +})(EncodingOptionsPreset || {}); +import_protobuf.proto3.util.setEnumType(EncodingOptionsPreset, "livekit.EncodingOptionsPreset", [ + { no: 0, name: "H264_720P_30" }, + { no: 1, name: "H264_720P_60" }, + { no: 2, name: "H264_1080P_30" }, + { no: 3, name: "H264_1080P_60" }, + { no: 4, name: "PORTRAIT_H264_720P_30" }, + { no: 5, name: "PORTRAIT_H264_720P_60" }, + { no: 6, name: "PORTRAIT_H264_1080P_30" }, + { no: 7, name: "PORTRAIT_H264_1080P_60" } +]); +var EgressStatus = /* @__PURE__ */ ((EgressStatus2) => { + EgressStatus2[EgressStatus2["EGRESS_STARTING"] = 0] = "EGRESS_STARTING"; + EgressStatus2[EgressStatus2["EGRESS_ACTIVE"] = 1] = "EGRESS_ACTIVE"; + EgressStatus2[EgressStatus2["EGRESS_ENDING"] = 2] = "EGRESS_ENDING"; + EgressStatus2[EgressStatus2["EGRESS_COMPLETE"] = 3] = "EGRESS_COMPLETE"; + EgressStatus2[EgressStatus2["EGRESS_FAILED"] = 4] = "EGRESS_FAILED"; + EgressStatus2[EgressStatus2["EGRESS_ABORTED"] = 5] = "EGRESS_ABORTED"; + EgressStatus2[EgressStatus2["EGRESS_LIMIT_REACHED"] = 6] = "EGRESS_LIMIT_REACHED"; + return EgressStatus2; +})(EgressStatus || {}); +import_protobuf.proto3.util.setEnumType(EgressStatus, "livekit.EgressStatus", [ + { no: 0, name: "EGRESS_STARTING" }, + { no: 1, name: "EGRESS_ACTIVE" }, + { no: 2, name: "EGRESS_ENDING" }, + { no: 3, name: "EGRESS_COMPLETE" }, + { no: 4, name: "EGRESS_FAILED" }, + { no: 5, name: "EGRESS_ABORTED" }, + { no: 6, name: "EGRESS_LIMIT_REACHED" } +]); +const _RoomCompositeEgressRequest = class _RoomCompositeEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional) + * + * @generated from field: string layout = 2; + */ + this.layout = ""; + /** + * (default false) + * + * @generated from field: bool audio_only = 3; + */ + this.audioOnly = false; + /** + * (default false) + * + * @generated from field: bool video_only = 4; + */ + this.videoOnly = false; + /** + * template base url (default https://recorder.livekit.io) + * + * @generated from field: string custom_base_url = 5; + */ + this.customBaseUrl = ""; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.RoomCompositeEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.RoomCompositeEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + this.imageOutputs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomCompositeEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomCompositeEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomCompositeEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomCompositeEgressRequest, a, b); + } +}; +_RoomCompositeEgressRequest.runtime = import_protobuf.proto3; +_RoomCompositeEgressRequest.typeName = "livekit.RoomCompositeEgressRequest"; +_RoomCompositeEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "layout", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "audio_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "video_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "custom_base_url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 8, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let RoomCompositeEgressRequest = _RoomCompositeEgressRequest; +const _WebEgressRequest = class _WebEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: bool audio_only = 2; + */ + this.audioOnly = false; + /** + * @generated from field: bool video_only = 3; + */ + this.videoOnly = false; + /** + * @generated from field: bool await_start_signal = 12; + */ + this.awaitStartSignal = false; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.WebEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.WebEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 13; + */ + this.imageOutputs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WebEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WebEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WebEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_WebEgressRequest, a, b); + } +}; +_WebEgressRequest.runtime = import_protobuf.proto3; +_WebEgressRequest.typeName = "livekit.WebEgressRequest"; +_WebEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "audio_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "video_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 12, + name: "await_start_signal", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 7, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let WebEgressRequest = _WebEgressRequest; +const _ParticipantEgressRequest = class _ParticipantEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * required + * + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * (default false) + * + * @generated from field: bool screen_share = 3; + */ + this.screenShare = false; + /** + * @generated from oneof livekit.ParticipantEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 9; + */ + this.imageOutputs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ParticipantEgressRequest, a, b); + } +}; +_ParticipantEgressRequest.runtime = import_protobuf.proto3; +_ParticipantEgressRequest.typeName = "livekit.ParticipantEgressRequest"; +_ParticipantEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "screen_share", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let ParticipantEgressRequest = _ParticipantEgressRequest; +const _TrackCompositeEgressRequest = class _TrackCompositeEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional) + * + * @generated from field: string audio_track_id = 2; + */ + this.audioTrackId = ""; + /** + * (optional) + * + * @generated from field: string video_track_id = 3; + */ + this.videoTrackId = ""; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.TrackCompositeEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.TrackCompositeEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + this.imageOutputs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackCompositeEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackCompositeEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackCompositeEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackCompositeEgressRequest, a, b); + } +}; +_TrackCompositeEgressRequest.runtime = import_protobuf.proto3; +_TrackCompositeEgressRequest.typeName = "livekit.TrackCompositeEgressRequest"; +_TrackCompositeEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "audio_track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "video_track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 6, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let TrackCompositeEgressRequest = _TrackCompositeEgressRequest; +const _TrackEgressRequest = class _TrackEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * required + * + * @generated from field: string track_id = 2; + */ + this.trackId = ""; + /** + * required + * + * @generated from oneof livekit.TrackEgressRequest.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackEgressRequest, a, b); + } +}; +_TrackEgressRequest.runtime = import_protobuf.proto3; +_TrackEgressRequest.typeName = "livekit.TrackEgressRequest"; +_TrackEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, + { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" } +]); +let TrackEgressRequest = _TrackEgressRequest; +const _EncodedFileOutput = class _EncodedFileOutput extends import_protobuf.Message { + constructor(data) { + super(); + /** + * (optional) + * + * @generated from field: livekit.EncodedFileType file_type = 1; + */ + this.fileType = 0 /* DEFAULT_FILETYPE */; + /** + * see egress docs for templating (default {room_name}-{time}) + * + * @generated from field: string filepath = 2; + */ + this.filepath = ""; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 6; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.EncodedFileOutput.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EncodedFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EncodedFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EncodedFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_EncodedFileOutput, a, b); + } +}; +_EncodedFileOutput.runtime = import_protobuf.proto3; +_EncodedFileOutput.typeName = "livekit.EncodedFileOutput"; +_EncodedFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "file_type", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodedFileType) }, + { + no: 2, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let EncodedFileOutput = _EncodedFileOutput; +const _SegmentedFileOutput = class _SegmentedFileOutput extends import_protobuf.Message { + constructor(data) { + super(); + /** + * (optional) + * + * @generated from field: livekit.SegmentedFileProtocol protocol = 1; + */ + this.protocol = 0 /* DEFAULT_SEGMENTED_FILE_PROTOCOL */; + /** + * (optional) + * + * @generated from field: string filename_prefix = 2; + */ + this.filenamePrefix = ""; + /** + * (optional) + * + * @generated from field: string playlist_name = 3; + */ + this.playlistName = ""; + /** + * (optional, disabled if not provided). Path of a live playlist + * + * @generated from field: string live_playlist_name = 11; + */ + this.livePlaylistName = ""; + /** + * in seconds (optional) + * + * @generated from field: uint32 segment_duration = 4; + */ + this.segmentDuration = 0; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; + */ + this.filenameSuffix = 0 /* INDEX */; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 8; + */ + this.disableManifest = false; + /** + * required + * + * @generated from oneof livekit.SegmentedFileOutput.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SegmentedFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SegmentedFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SegmentedFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SegmentedFileOutput, a, b); + } +}; +_SegmentedFileOutput.runtime = import_protobuf.proto3; +_SegmentedFileOutput.typeName = "livekit.SegmentedFileOutput"; +_SegmentedFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(SegmentedFileProtocol) }, + { + no: 2, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "live_playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "segment_duration", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 10, name: "filename_suffix", kind: "enum", T: import_protobuf.proto3.getEnumType(SegmentedFileSuffix) }, + { + no: 8, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let SegmentedFileOutput = _SegmentedFileOutput; +const _DirectFileOutput = class _DirectFileOutput extends import_protobuf.Message { + constructor(data) { + super(); + /** + * see egress docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + this.filepath = ""; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.DirectFileOutput.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DirectFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DirectFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DirectFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DirectFileOutput, a, b); + } +}; +_DirectFileOutput.runtime = import_protobuf.proto3; +_DirectFileOutput.typeName = "livekit.DirectFileOutput"; +_DirectFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let DirectFileOutput = _DirectFileOutput; +const _ImageOutput = class _ImageOutput extends import_protobuf.Message { + constructor(data) { + super(); + /** + * in seconds (required) + * + * @generated from field: uint32 capture_interval = 1; + */ + this.captureInterval = 0; + /** + * (optional, defaults to track width) + * + * @generated from field: int32 width = 2; + */ + this.width = 0; + /** + * (optional, defaults to track height) + * + * @generated from field: int32 height = 3; + */ + this.height = 0; + /** + * (optional) + * + * @generated from field: string filename_prefix = 4; + */ + this.filenamePrefix = ""; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; + */ + this.filenameSuffix = 0 /* IMAGE_SUFFIX_INDEX */; + /** + * (optional) + * + * @generated from field: livekit.ImageCodec image_codec = 6; + */ + this.imageCodec = import_livekit_models_pb.ImageCodec.IC_DEFAULT; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 7; + */ + this.disableManifest = false; + /** + * required + * + * @generated from oneof livekit.ImageOutput.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ImageOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ImageOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ImageOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ImageOutput, a, b); + } +}; +_ImageOutput.runtime = import_protobuf.proto3; +_ImageOutput.typeName = "livekit.ImageOutput"; +_ImageOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "capture_interval", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "width", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "filename_suffix", kind: "enum", T: import_protobuf.proto3.getEnumType(ImageFileSuffix) }, + { no: 6, name: "image_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ImageCodec) }, + { + no: 7, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let ImageOutput = _ImageOutput; +const _S3Upload = class _S3Upload extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string access_key = 1; + */ + this.accessKey = ""; + /** + * @generated from field: string secret = 2; + */ + this.secret = ""; + /** + * @generated from field: string session_token = 11; + */ + this.sessionToken = ""; + /** + * @generated from field: string region = 3; + */ + this.region = ""; + /** + * @generated from field: string endpoint = 4; + */ + this.endpoint = ""; + /** + * @generated from field: string bucket = 5; + */ + this.bucket = ""; + /** + * @generated from field: bool force_path_style = 6; + */ + this.forcePathStyle = false; + /** + * @generated from field: map metadata = 7; + */ + this.metadata = {}; + /** + * @generated from field: string tagging = 8; + */ + this.tagging = ""; + /** + * Content-Disposition header + * + * @generated from field: string content_disposition = 9; + */ + this.contentDisposition = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _S3Upload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _S3Upload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _S3Upload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_S3Upload, a, b); + } +}; +_S3Upload.runtime = import_protobuf.proto3; +_S3Upload.typeName = "livekit.S3Upload"; +_S3Upload.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "access_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "secret", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "session_token", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "endpoint", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "force_path_style", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 7, name: "metadata", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 8, + name: "tagging", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "content_disposition", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 10, name: "proxy", kind: "message", T: ProxyConfig } +]); +let S3Upload = _S3Upload; +const _GCPUpload = class _GCPUpload extends import_protobuf.Message { + constructor(data) { + super(); + /** + * service account credentials serialized in JSON "credentials.json" + * + * @generated from field: string credentials = 1; + */ + this.credentials = ""; + /** + * @generated from field: string bucket = 2; + */ + this.bucket = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GCPUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GCPUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GCPUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_GCPUpload, a, b); + } +}; +_GCPUpload.runtime = import_protobuf.proto3; +_GCPUpload.typeName = "livekit.GCPUpload"; +_GCPUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "credentials", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "proxy", kind: "message", T: ProxyConfig } +]); +let GCPUpload = _GCPUpload; +const _AzureBlobUpload = class _AzureBlobUpload extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string account_name = 1; + */ + this.accountName = ""; + /** + * @generated from field: string account_key = 2; + */ + this.accountKey = ""; + /** + * @generated from field: string container_name = 3; + */ + this.containerName = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AzureBlobUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AzureBlobUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AzureBlobUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AzureBlobUpload, a, b); + } +}; +_AzureBlobUpload.runtime = import_protobuf.proto3; +_AzureBlobUpload.typeName = "livekit.AzureBlobUpload"; +_AzureBlobUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "account_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "account_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "container_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AzureBlobUpload = _AzureBlobUpload; +const _AliOSSUpload = class _AliOSSUpload extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string access_key = 1; + */ + this.accessKey = ""; + /** + * @generated from field: string secret = 2; + */ + this.secret = ""; + /** + * @generated from field: string region = 3; + */ + this.region = ""; + /** + * @generated from field: string endpoint = 4; + */ + this.endpoint = ""; + /** + * @generated from field: string bucket = 5; + */ + this.bucket = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AliOSSUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AliOSSUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AliOSSUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AliOSSUpload, a, b); + } +}; +_AliOSSUpload.runtime = import_protobuf.proto3; +_AliOSSUpload.typeName = "livekit.AliOSSUpload"; +_AliOSSUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "access_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "secret", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "endpoint", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AliOSSUpload = _AliOSSUpload; +const _ProxyConfig = class _ProxyConfig extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: string username = 2; + */ + this.username = ""; + /** + * @generated from field: string password = 3; + */ + this.password = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ProxyConfig().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ProxyConfig().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ProxyConfig().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ProxyConfig, a, b); + } +}; +_ProxyConfig.runtime = import_protobuf.proto3; +_ProxyConfig.typeName = "livekit.ProxyConfig"; +_ProxyConfig.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ProxyConfig = _ProxyConfig; +const _StreamOutput = class _StreamOutput extends import_protobuf.Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: livekit.StreamProtocol protocol = 1; + */ + this.protocol = 0 /* DEFAULT_PROTOCOL */; + /** + * required + * + * @generated from field: repeated string urls = 2; + */ + this.urls = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StreamOutput, a, b); + } +}; +_StreamOutput.runtime = import_protobuf.proto3; +_StreamOutput.typeName = "livekit.StreamOutput"; +_StreamOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamProtocol) }, + { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true } +]); +let StreamOutput = _StreamOutput; +const _EncodingOptions = class _EncodingOptions extends import_protobuf.Message { + constructor(data) { + super(); + /** + * (default 1920) + * + * @generated from field: int32 width = 1; + */ + this.width = 0; + /** + * (default 1080) + * + * @generated from field: int32 height = 2; + */ + this.height = 0; + /** + * (default 24) + * + * @generated from field: int32 depth = 3; + */ + this.depth = 0; + /** + * (default 30) + * + * @generated from field: int32 framerate = 4; + */ + this.framerate = 0; + /** + * (default OPUS) + * + * @generated from field: livekit.AudioCodec audio_codec = 5; + */ + this.audioCodec = import_livekit_models_pb.AudioCodec.DEFAULT_AC; + /** + * (default 128) + * + * @generated from field: int32 audio_bitrate = 6; + */ + this.audioBitrate = 0; + /** + * quality setting on audio encoder + * + * @generated from field: int32 audio_quality = 11; + */ + this.audioQuality = 0; + /** + * (default 44100) + * + * @generated from field: int32 audio_frequency = 7; + */ + this.audioFrequency = 0; + /** + * (default H264_MAIN) + * + * @generated from field: livekit.VideoCodec video_codec = 8; + */ + this.videoCodec = import_livekit_models_pb.VideoCodec.DEFAULT_VC; + /** + * (default 4500) + * + * @generated from field: int32 video_bitrate = 9; + */ + this.videoBitrate = 0; + /** + * quality setting on video encoder + * + * @generated from field: int32 video_quality = 12; + */ + this.videoQuality = 0; + /** + * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + * + * @generated from field: double key_frame_interval = 10; + */ + this.keyFrameInterval = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_EncodingOptions, a, b); + } +}; +_EncodingOptions.runtime = import_protobuf.proto3; +_EncodingOptions.typeName = "livekit.EncodingOptions"; +_EncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "width", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "height", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "depth", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "framerate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 5, name: "audio_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioCodec) }, + { + no: 6, + name: "audio_bitrate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 11, + name: "audio_quality", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 7, + name: "audio_frequency", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 8, name: "video_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoCodec) }, + { + no: 9, + name: "video_bitrate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 12, + name: "video_quality", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 10, + name: "key_frame_interval", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let EncodingOptions = _EncodingOptions; +const _UpdateLayoutRequest = class _UpdateLayoutRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: string layout = 2; + */ + this.layout = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLayoutRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLayoutRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLayoutRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateLayoutRequest, a, b); + } +}; +_UpdateLayoutRequest.runtime = import_protobuf.proto3; +_UpdateLayoutRequest.typeName = "livekit.UpdateLayoutRequest"; +_UpdateLayoutRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "layout", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateLayoutRequest = _UpdateLayoutRequest; +const _UpdateStreamRequest = class _UpdateStreamRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: repeated string add_output_urls = 2; + */ + this.addOutputUrls = []; + /** + * @generated from field: repeated string remove_output_urls = 3; + */ + this.removeOutputUrls = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateStreamRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateStreamRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateStreamRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateStreamRequest, a, b); + } +}; +_UpdateStreamRequest.runtime = import_protobuf.proto3; +_UpdateStreamRequest.typeName = "livekit.UpdateStreamRequest"; +_UpdateStreamRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true }, + { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true } +]); +let UpdateStreamRequest = _UpdateStreamRequest; +const _ListEgressRequest = class _ListEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional, filter by egress ID) + * + * @generated from field: string egress_id = 2; + */ + this.egressId = ""; + /** + * (optional, list active egress only) + * + * @generated from field: bool active = 3; + */ + this.active = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListEgressRequest, a, b); + } +}; +_ListEgressRequest.runtime = import_protobuf.proto3; +_ListEgressRequest.typeName = "livekit.ListEgressRequest"; +_ListEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "active", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ListEgressRequest = _ListEgressRequest; +const _ListEgressResponse = class _ListEgressResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.EgressInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListEgressResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListEgressResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListEgressResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListEgressResponse, a, b); + } +}; +_ListEgressResponse.runtime = import_protobuf.proto3; +_ListEgressResponse.typeName = "livekit.ListEgressResponse"; +_ListEgressResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true } +]); +let ListEgressResponse = _ListEgressResponse; +const _StopEgressRequest = class _StopEgressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StopEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StopEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StopEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StopEgressRequest, a, b); + } +}; +_StopEgressRequest.runtime = import_protobuf.proto3; +_StopEgressRequest.typeName = "livekit.StopEgressRequest"; +_StopEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let StopEgressRequest = _StopEgressRequest; +const _EgressInfo = class _EgressInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: string room_id = 2; + */ + this.roomId = ""; + /** + * @generated from field: string room_name = 13; + */ + this.roomName = ""; + /** + * @generated from field: livekit.EgressStatus status = 3; + */ + this.status = 0 /* EGRESS_STARTING */; + /** + * @generated from field: int64 started_at = 10; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 11; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 updated_at = 18; + */ + this.updatedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: string details = 21; + */ + this.details = ""; + /** + * @generated from field: string error = 9; + */ + this.error = ""; + /** + * @generated from field: int32 error_code = 22; + */ + this.errorCode = 0; + /** + * @generated from oneof livekit.EgressInfo.request + */ + this.request = { case: void 0 }; + /** + * deprecated (use _result fields) + * + * @generated from oneof livekit.EgressInfo.result + */ + this.result = { case: void 0 }; + /** + * @generated from field: repeated livekit.StreamInfo stream_results = 15; + */ + this.streamResults = []; + /** + * @generated from field: repeated livekit.FileInfo file_results = 16; + */ + this.fileResults = []; + /** + * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; + */ + this.segmentResults = []; + /** + * @generated from field: repeated livekit.ImagesInfo image_results = 20; + */ + this.imageResults = []; + /** + * @generated from field: string manifest_location = 23; + */ + this.manifestLocation = ""; + /** + * next ID: 26 + * + * @generated from field: bool backup_storage_used = 25; + */ + this.backupStorageUsed = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EgressInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EgressInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EgressInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_EgressInfo, a, b); + } +}; +_EgressInfo.runtime = import_protobuf.proto3; +_EgressInfo.typeName = "livekit.EgressInfo"; +_EgressInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 13, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(EgressStatus) }, + { + no: 10, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 18, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 21, + name: "details", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 22, + name: "error_code", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, + { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, + { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, + { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, + { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, + { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, + { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, + { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, + { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, + { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, + { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, + { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, + { + no: 23, + name: "manifest_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 25, + name: "backup_storage_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let EgressInfo = _EgressInfo; +const _StreamInfoList = class _StreamInfoList extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.StreamInfo info = 1; + */ + this.info = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamInfoList().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamInfoList().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamInfoList().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StreamInfoList, a, b); + } +}; +_StreamInfoList.runtime = import_protobuf.proto3; +_StreamInfoList.typeName = "livekit.StreamInfoList"; +_StreamInfoList.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true } +]); +let StreamInfoList = _StreamInfoList; +const _StreamInfo = class _StreamInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 duration = 4; + */ + this.duration = import_protobuf.protoInt64.zero; + /** + * @generated from field: livekit.StreamInfo.Status status = 5; + */ + this.status = 0 /* ACTIVE */; + /** + * @generated from field: string error = 6; + */ + this.error = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StreamInfo, a, b); + } +}; +_StreamInfo.runtime = import_protobuf.proto3; +_StreamInfo.typeName = "livekit.StreamInfo"; +_StreamInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 5, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamInfo_Status) }, + { + no: 6, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let StreamInfo = _StreamInfo; +var StreamInfo_Status = /* @__PURE__ */ ((StreamInfo_Status2) => { + StreamInfo_Status2[StreamInfo_Status2["ACTIVE"] = 0] = "ACTIVE"; + StreamInfo_Status2[StreamInfo_Status2["FINISHED"] = 1] = "FINISHED"; + StreamInfo_Status2[StreamInfo_Status2["FAILED"] = 2] = "FAILED"; + return StreamInfo_Status2; +})(StreamInfo_Status || {}); +import_protobuf.proto3.util.setEnumType(StreamInfo_Status, "livekit.StreamInfo.Status", [ + { no: 0, name: "ACTIVE" }, + { no: 1, name: "FINISHED" }, + { no: 2, name: "FAILED" } +]); +const _FileInfo = class _FileInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string filename = 1; + */ + this.filename = ""; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 duration = 6; + */ + this.duration = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 size = 4; + */ + this.size = import_protobuf.protoInt64.zero; + /** + * @generated from field: string location = 5; + */ + this.location = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _FileInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _FileInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _FileInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_FileInfo, a, b); + } +}; +_FileInfo.runtime = import_protobuf.proto3; +_FileInfo.typeName = "livekit.FileInfo"; +_FileInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "filename", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "size", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let FileInfo = _FileInfo; +const _SegmentsInfo = class _SegmentsInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string playlist_name = 1; + */ + this.playlistName = ""; + /** + * @generated from field: string live_playlist_name = 8; + */ + this.livePlaylistName = ""; + /** + * @generated from field: int64 duration = 2; + */ + this.duration = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 size = 3; + */ + this.size = import_protobuf.protoInt64.zero; + /** + * @generated from field: string playlist_location = 4; + */ + this.playlistLocation = ""; + /** + * @generated from field: string live_playlist_location = 9; + */ + this.livePlaylistLocation = ""; + /** + * @generated from field: int64 segment_count = 5; + */ + this.segmentCount = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 started_at = 6; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 7; + */ + this.endedAt = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SegmentsInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SegmentsInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SegmentsInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SegmentsInfo, a, b); + } +}; +_SegmentsInfo.runtime = import_protobuf.proto3; +_SegmentsInfo.typeName = "livekit.SegmentsInfo"; +_SegmentsInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "live_playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "size", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "playlist_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "live_playlist_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "segment_count", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 7, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let SegmentsInfo = _SegmentsInfo; +const _ImagesInfo = class _ImagesInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string filename_prefix = 4; + */ + this.filenamePrefix = ""; + /** + * @generated from field: int64 image_count = 1; + */ + this.imageCount = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ImagesInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ImagesInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ImagesInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ImagesInfo, a, b); + } +}; +_ImagesInfo.runtime = import_protobuf.proto3; +_ImagesInfo.typeName = "livekit.ImagesInfo"; +_ImagesInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 4, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 1, + name: "image_count", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let ImagesInfo = _ImagesInfo; +const _AutoParticipantEgress = class _AutoParticipantEgress extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.AutoParticipantEgress.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; + */ + this.segmentOutputs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AutoParticipantEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AutoParticipantEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AutoParticipantEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AutoParticipantEgress, a, b); + } +}; +_AutoParticipantEgress.runtime = import_protobuf.proto3; +_AutoParticipantEgress.typeName = "livekit.AutoParticipantEgress"; +_AutoParticipantEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true } +]); +let AutoParticipantEgress = _AutoParticipantEgress; +const _AutoTrackEgress = class _AutoTrackEgress extends import_protobuf.Message { + constructor(data) { + super(); + /** + * see docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + this.filepath = ""; + /** + * disables upload of json manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.AutoTrackEgress.output + */ + this.output = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AutoTrackEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AutoTrackEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AutoTrackEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AutoTrackEgress, a, b); + } +}; +_AutoTrackEgress.runtime = import_protobuf.proto3; +_AutoTrackEgress.typeName = "livekit.AutoTrackEgress"; +_AutoTrackEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let AutoTrackEgress = _AutoTrackEgress; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + AliOSSUpload, + AutoParticipantEgress, + AutoTrackEgress, + AzureBlobUpload, + DirectFileOutput, + EgressInfo, + EgressStatus, + EncodedFileOutput, + EncodedFileType, + EncodingOptions, + EncodingOptionsPreset, + FileInfo, + GCPUpload, + ImageFileSuffix, + ImageOutput, + ImagesInfo, + ListEgressRequest, + ListEgressResponse, + ParticipantEgressRequest, + ProxyConfig, + RoomCompositeEgressRequest, + S3Upload, + SegmentedFileOutput, + SegmentedFileProtocol, + SegmentedFileSuffix, + SegmentsInfo, + StopEgressRequest, + StreamInfo, + StreamInfoList, + StreamInfo_Status, + StreamOutput, + StreamProtocol, + TrackCompositeEgressRequest, + TrackEgressRequest, + UpdateLayoutRequest, + UpdateStreamRequest, + WebEgressRequest +}); +//# sourceMappingURL=livekit_egress_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.cjs.map b/packages/javascript/dist/gen/livekit_egress_pb.cjs.map new file mode 100644 index 00000000..1a920b54 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_egress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_egress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, ImageCodec, VideoCodec } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.EncodedFileType\n */\nexport enum EncodedFileType {\n /**\n * file type chosen based on codecs\n *\n * @generated from enum value: DEFAULT_FILETYPE = 0;\n */\n DEFAULT_FILETYPE = 0,\n\n /**\n * @generated from enum value: MP4 = 1;\n */\n MP4 = 1,\n\n /**\n * @generated from enum value: OGG = 2;\n */\n OGG = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodedFileType)\nproto3.util.setEnumType(EncodedFileType, \"livekit.EncodedFileType\", [\n { no: 0, name: \"DEFAULT_FILETYPE\" },\n { no: 1, name: \"MP4\" },\n { no: 2, name: \"OGG\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileProtocol\n */\nexport enum SegmentedFileProtocol {\n /**\n * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;\n */\n DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,\n\n /**\n * @generated from enum value: HLS_PROTOCOL = 1;\n */\n HLS_PROTOCOL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileProtocol)\nproto3.util.setEnumType(SegmentedFileProtocol, \"livekit.SegmentedFileProtocol\", [\n { no: 0, name: \"DEFAULT_SEGMENTED_FILE_PROTOCOL\" },\n { no: 1, name: \"HLS_PROTOCOL\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileSuffix\n */\nexport enum SegmentedFileSuffix {\n /**\n * @generated from enum value: INDEX = 0;\n */\n INDEX = 0,\n\n /**\n * @generated from enum value: TIMESTAMP = 1;\n */\n TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileSuffix)\nproto3.util.setEnumType(SegmentedFileSuffix, \"livekit.SegmentedFileSuffix\", [\n { no: 0, name: \"INDEX\" },\n { no: 1, name: \"TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.ImageFileSuffix\n */\nexport enum ImageFileSuffix {\n /**\n * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;\n */\n IMAGE_SUFFIX_INDEX = 0,\n\n /**\n * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;\n */\n IMAGE_SUFFIX_TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageFileSuffix)\nproto3.util.setEnumType(ImageFileSuffix, \"livekit.ImageFileSuffix\", [\n { no: 0, name: \"IMAGE_SUFFIX_INDEX\" },\n { no: 1, name: \"IMAGE_SUFFIX_TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.StreamProtocol\n */\nexport enum StreamProtocol {\n /**\n * protocol chosen based on urls\n *\n * @generated from enum value: DEFAULT_PROTOCOL = 0;\n */\n DEFAULT_PROTOCOL = 0,\n\n /**\n * @generated from enum value: RTMP = 1;\n */\n RTMP = 1,\n\n /**\n * @generated from enum value: SRT = 2;\n */\n SRT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamProtocol)\nproto3.util.setEnumType(StreamProtocol, \"livekit.StreamProtocol\", [\n { no: 0, name: \"DEFAULT_PROTOCOL\" },\n { no: 1, name: \"RTMP\" },\n { no: 2, name: \"SRT\" },\n]);\n\n/**\n * @generated from enum livekit.EncodingOptionsPreset\n */\nexport enum EncodingOptionsPreset {\n /**\n * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_30 = 0;\n */\n H264_720P_30 = 0,\n\n /**\n * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_60 = 1;\n */\n H264_720P_60 = 1,\n\n /**\n * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_30 = 2;\n */\n H264_1080P_30 = 2,\n\n /**\n * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_60 = 3;\n */\n H264_1080P_60 = 3,\n\n /**\n * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_30 = 4;\n */\n PORTRAIT_H264_720P_30 = 4,\n\n /**\n * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_60 = 5;\n */\n PORTRAIT_H264_720P_60 = 5,\n\n /**\n * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;\n */\n PORTRAIT_H264_1080P_30 = 6,\n\n /**\n * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;\n */\n PORTRAIT_H264_1080P_60 = 7,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodingOptionsPreset)\nproto3.util.setEnumType(EncodingOptionsPreset, \"livekit.EncodingOptionsPreset\", [\n { no: 0, name: \"H264_720P_30\" },\n { no: 1, name: \"H264_720P_60\" },\n { no: 2, name: \"H264_1080P_30\" },\n { no: 3, name: \"H264_1080P_60\" },\n { no: 4, name: \"PORTRAIT_H264_720P_30\" },\n { no: 5, name: \"PORTRAIT_H264_720P_60\" },\n { no: 6, name: \"PORTRAIT_H264_1080P_30\" },\n { no: 7, name: \"PORTRAIT_H264_1080P_60\" },\n]);\n\n/**\n * @generated from enum livekit.EgressStatus\n */\nexport enum EgressStatus {\n /**\n * @generated from enum value: EGRESS_STARTING = 0;\n */\n EGRESS_STARTING = 0,\n\n /**\n * @generated from enum value: EGRESS_ACTIVE = 1;\n */\n EGRESS_ACTIVE = 1,\n\n /**\n * @generated from enum value: EGRESS_ENDING = 2;\n */\n EGRESS_ENDING = 2,\n\n /**\n * @generated from enum value: EGRESS_COMPLETE = 3;\n */\n EGRESS_COMPLETE = 3,\n\n /**\n * @generated from enum value: EGRESS_FAILED = 4;\n */\n EGRESS_FAILED = 4,\n\n /**\n * @generated from enum value: EGRESS_ABORTED = 5;\n */\n EGRESS_ABORTED = 5,\n\n /**\n * @generated from enum value: EGRESS_LIMIT_REACHED = 6;\n */\n EGRESS_LIMIT_REACHED = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EgressStatus)\nproto3.util.setEnumType(EgressStatus, \"livekit.EgressStatus\", [\n { no: 0, name: \"EGRESS_STARTING\" },\n { no: 1, name: \"EGRESS_ACTIVE\" },\n { no: 2, name: \"EGRESS_ENDING\" },\n { no: 3, name: \"EGRESS_COMPLETE\" },\n { no: 4, name: \"EGRESS_FAILED\" },\n { no: 5, name: \"EGRESS_ABORTED\" },\n { no: 6, name: \"EGRESS_LIMIT_REACHED\" },\n]);\n\n/**\n * composite using a web browser\n *\n * @generated from message livekit.RoomCompositeEgressRequest\n */\nexport class RoomCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool audio_only = 3;\n */\n audioOnly = false;\n\n /**\n * (default false)\n *\n * @generated from field: bool video_only = 4;\n */\n videoOnly = false;\n\n /**\n * template base url (default https://recorder.livekit.io)\n *\n * @generated from field: string custom_base_url = 5;\n */\n customBaseUrl = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.RoomCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.RoomCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 8;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 9;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"custom_base_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 10, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 8, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 9, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record any website\n *\n * @generated from message livekit.WebEgressRequest\n */\nexport class WebEgressRequest extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: bool audio_only = 2;\n */\n audioOnly = false;\n\n /**\n * @generated from field: bool video_only = 3;\n */\n videoOnly = false;\n\n /**\n * @generated from field: bool await_start_signal = 12;\n */\n awaitStartSignal = false;\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.WebEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.WebEgressRequest.options\n */\n options: {\n /**\n * @generated from field: livekit.EncodingOptionsPreset preset = 7;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.EncodingOptions advanced = 8;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 13;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"await_start_signal\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 6, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 7, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 8, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 9, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 10, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 11, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 13, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebEgressRequest, a, b);\n }\n}\n\n/**\n * record audio and video from a single participant\n *\n * @generated from message livekit.ParticipantEgressRequest\n */\nexport class ParticipantEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool screen_share = 3;\n */\n screenShare = false;\n\n /**\n * @generated from oneof livekit.ParticipantEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 4;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 5;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 9;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"screen_share\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 5, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 6, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 7, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 8, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 9, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantEgressRequest, a, b);\n }\n}\n\n/**\n * containerize up to one audio and one video track\n *\n * @generated from message livekit.TrackCompositeEgressRequest\n */\nexport class TrackCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string audio_track_id = 2;\n */\n audioTrackId = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string video_track_id = 3;\n */\n videoTrackId = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.TrackCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.TrackCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 6;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 7;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 8, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 6, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 7, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record tracks individually, without transcoding\n *\n * @generated from message livekit.TrackEgressRequest\n */\nexport class TrackEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string track_id = 2;\n */\n trackId = \"\";\n\n /**\n * required\n *\n * @generated from oneof livekit.TrackEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.DirectFileOutput file = 3;\n */\n value: DirectFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: string websocket_url = 4;\n */\n value: string;\n case: \"websocketUrl\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"file\", kind: \"message\", T: DirectFileOutput, oneof: \"output\" },\n { no: 4, name: \"websocket_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodedFileOutput\n */\nexport class EncodedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodedFileType file_type = 1;\n */\n fileType = EncodedFileType.DEFAULT_FILETYPE;\n\n /**\n * see egress docs for templating (default {room_name}-{time})\n *\n * @generated from field: string filepath = 2;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 6;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.EncodedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 3;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 4;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 5;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 7;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_type\", kind: \"enum\", T: proto3.getEnumType(EncodedFileType) },\n { no: 2, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 4, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 5, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 7, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodedFileOutput, a, b);\n }\n}\n\n/**\n * Used to generate HLS segments or other kind of segmented output\n *\n * @generated from message livekit.SegmentedFileOutput\n */\nexport class SegmentedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.SegmentedFileProtocol protocol = 1;\n */\n protocol = SegmentedFileProtocol.DEFAULT_SEGMENTED_FILE_PROTOCOL;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 2;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string playlist_name = 3;\n */\n playlistName = \"\";\n\n /**\n * (optional, disabled if not provided). Path of a live playlist\n *\n * @generated from field: string live_playlist_name = 11;\n */\n livePlaylistName = \"\";\n\n /**\n * in seconds (optional)\n *\n * @generated from field: uint32 segment_duration = 4;\n */\n segmentDuration = 0;\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;\n */\n filenameSuffix = SegmentedFileSuffix.INDEX;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 8;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.SegmentedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 5;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 6;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 7;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 9;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileProtocol) },\n { no: 2, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segment_duration\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileSuffix) },\n { no: 8, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 6, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 7, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 9, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentedFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DirectFileOutput\n */\nexport class DirectFileOutput extends Message {\n /**\n * see egress docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.DirectFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DirectFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(DirectFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImageOutput\n */\nexport class ImageOutput extends Message {\n /**\n * in seconds (required)\n *\n * @generated from field: uint32 capture_interval = 1;\n */\n captureInterval = 0;\n\n /**\n * (optional, defaults to track width)\n *\n * @generated from field: int32 width = 2;\n */\n width = 0;\n\n /**\n * (optional, defaults to track height)\n *\n * @generated from field: int32 height = 3;\n */\n height = 0;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.ImageFileSuffix filename_suffix = 5;\n */\n filenameSuffix = ImageFileSuffix.IMAGE_SUFFIX_INDEX;\n\n /**\n * (optional)\n *\n * @generated from field: livekit.ImageCodec image_codec = 6;\n */\n imageCodec = ImageCodec.IC_DEFAULT;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 7;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.ImageOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 8;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 9;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 10;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 11;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImageOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"capture_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(ImageFileSuffix) },\n { no: 6, name: \"image_codec\", kind: \"enum\", T: proto3.getEnumType(ImageCodec) },\n { no: 7, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 9, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 10, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 11, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput {\n return new ImageOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput {\n return new ImageOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImageOutput {\n return new ImageOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImageOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.S3Upload\n */\nexport class S3Upload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string session_token = 11;\n */\n sessionToken = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n /**\n * @generated from field: bool force_path_style = 6;\n */\n forcePathStyle = false;\n\n /**\n * @generated from field: map metadata = 7;\n */\n metadata: { [key: string]: string } = {};\n\n /**\n * @generated from field: string tagging = 8;\n */\n tagging = \"\";\n\n /**\n * Content-Disposition header\n *\n * @generated from field: string content_disposition = 9;\n */\n contentDisposition = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 10;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.S3Upload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"session_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"force_path_style\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"metadata\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 8, name: \"tagging\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"content_disposition\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload {\n return new S3Upload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload {\n return new S3Upload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): S3Upload {\n return new S3Upload().fromJsonString(jsonString, options);\n }\n\n static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean {\n return proto3.util.equals(S3Upload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GCPUpload\n */\nexport class GCPUpload extends Message {\n /**\n * service account credentials serialized in JSON \"credentials.json\"\n *\n * @generated from field: string credentials = 1;\n */\n credentials = \"\";\n\n /**\n * @generated from field: string bucket = 2;\n */\n bucket = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 3;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GCPUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"credentials\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload {\n return new GCPUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload {\n return new GCPUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GCPUpload {\n return new GCPUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(GCPUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AzureBlobUpload\n */\nexport class AzureBlobUpload extends Message {\n /**\n * @generated from field: string account_name = 1;\n */\n accountName = \"\";\n\n /**\n * @generated from field: string account_key = 2;\n */\n accountKey = \"\";\n\n /**\n * @generated from field: string container_name = 3;\n */\n containerName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AzureBlobUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"account_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"account_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"container_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AzureBlobUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AliOSSUpload\n */\nexport class AliOSSUpload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AliOSSUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AliOSSUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ProxyConfig\n */\nexport class ProxyConfig extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string password = 3;\n */\n password = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ProxyConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ProxyConfig, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamOutput\n */\nexport class StreamOutput extends Message {\n /**\n * required\n *\n * @generated from field: livekit.StreamProtocol protocol = 1;\n */\n protocol = StreamProtocol.DEFAULT_PROTOCOL;\n\n /**\n * required\n *\n * @generated from field: repeated string urls = 2;\n */\n urls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(StreamProtocol) },\n { no: 2, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput {\n return new StreamOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput {\n return new StreamOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamOutput {\n return new StreamOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodingOptions\n */\nexport class EncodingOptions extends Message {\n /**\n * (default 1920)\n *\n * @generated from field: int32 width = 1;\n */\n width = 0;\n\n /**\n * (default 1080)\n *\n * @generated from field: int32 height = 2;\n */\n height = 0;\n\n /**\n * (default 24)\n *\n * @generated from field: int32 depth = 3;\n */\n depth = 0;\n\n /**\n * (default 30)\n *\n * @generated from field: int32 framerate = 4;\n */\n framerate = 0;\n\n /**\n * (default OPUS)\n *\n * @generated from field: livekit.AudioCodec audio_codec = 5;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * (default 128)\n *\n * @generated from field: int32 audio_bitrate = 6;\n */\n audioBitrate = 0;\n\n /**\n * quality setting on audio encoder\n *\n * @generated from field: int32 audio_quality = 11;\n */\n audioQuality = 0;\n\n /**\n * (default 44100)\n *\n * @generated from field: int32 audio_frequency = 7;\n */\n audioFrequency = 0;\n\n /**\n * (default H264_MAIN)\n *\n * @generated from field: livekit.VideoCodec video_codec = 8;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * (default 4500)\n *\n * @generated from field: int32 video_bitrate = 9;\n */\n videoBitrate = 0;\n\n /**\n * quality setting on video encoder\n *\n * @generated from field: int32 video_quality = 12;\n */\n videoQuality = 0;\n\n /**\n * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)\n *\n * @generated from field: double key_frame_interval = 10;\n */\n keyFrameInterval = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"depth\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"framerate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 6, name: \"audio_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"audio_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 7, name: \"audio_frequency\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 8, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 9, name: \"video_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"video_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 10, name: \"key_frame_interval\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLayoutRequest\n */\nexport class UpdateLayoutRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLayoutRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLayoutRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateStreamRequest\n */\nexport class UpdateStreamRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: repeated string add_output_urls = 2;\n */\n addOutputUrls: string[] = [];\n\n /**\n * @generated from field: repeated string remove_output_urls = 3;\n */\n removeOutputUrls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateStreamRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"add_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"remove_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateStreamRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressRequest\n */\nexport class ListEgressRequest extends Message {\n /**\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by egress ID)\n *\n * @generated from field: string egress_id = 2;\n */\n egressId = \"\";\n\n /**\n * (optional, list active egress only)\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressResponse\n */\nexport class ListEgressResponse extends Message {\n /**\n * @generated from field: repeated livekit.EgressInfo items = 1;\n */\n items: EgressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: EgressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StopEgressRequest\n */\nexport class StopEgressRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StopEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(StopEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EgressInfo\n */\nexport class EgressInfo extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string room_id = 2;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 13;\n */\n roomName = \"\";\n\n /**\n * @generated from field: livekit.EgressStatus status = 3;\n */\n status = EgressStatus.EGRESS_STARTING;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 18;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string details = 21;\n */\n details = \"\";\n\n /**\n * @generated from field: string error = 9;\n */\n error = \"\";\n\n /**\n * @generated from field: int32 error_code = 22;\n */\n errorCode = 0;\n\n /**\n * @generated from oneof livekit.EgressInfo.request\n */\n request: {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;\n */\n value: RoomCompositeEgressRequest;\n case: \"roomComposite\";\n } | {\n /**\n * @generated from field: livekit.WebEgressRequest web = 14;\n */\n value: WebEgressRequest;\n case: \"web\";\n } | {\n /**\n * @generated from field: livekit.ParticipantEgressRequest participant = 19;\n */\n value: ParticipantEgressRequest;\n case: \"participant\";\n } | {\n /**\n * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;\n */\n value: TrackCompositeEgressRequest;\n case: \"trackComposite\";\n } | {\n /**\n * @generated from field: livekit.TrackEgressRequest track = 6;\n */\n value: TrackEgressRequest;\n case: \"track\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * deprecated (use _result fields)\n *\n * @generated from oneof livekit.EgressInfo.result\n */\n result: {\n /**\n * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamInfoList;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.FileInfo file = 8 [deprecated = true];\n * @deprecated\n */\n value: FileInfo;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];\n * @deprecated\n */\n value: SegmentsInfo;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.StreamInfo stream_results = 15;\n */\n streamResults: StreamInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.FileInfo file_results = 16;\n */\n fileResults: FileInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentsInfo segment_results = 17;\n */\n segmentResults: SegmentsInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.ImagesInfo image_results = 20;\n */\n imageResults: ImagesInfo[] = [];\n\n /**\n * @generated from field: string manifest_location = 23;\n */\n manifestLocation = \"\";\n\n /**\n * next ID: 26\n *\n * @generated from field: bool backup_storage_used = 25;\n */\n backupStorageUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EgressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"status\", kind: \"enum\", T: proto3.getEnumType(EgressStatus) },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 18, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 21, name: \"details\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 22, name: \"error_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"room_composite\", kind: \"message\", T: RoomCompositeEgressRequest, oneof: \"request\" },\n { no: 14, name: \"web\", kind: \"message\", T: WebEgressRequest, oneof: \"request\" },\n { no: 19, name: \"participant\", kind: \"message\", T: ParticipantEgressRequest, oneof: \"request\" },\n { no: 5, name: \"track_composite\", kind: \"message\", T: TrackCompositeEgressRequest, oneof: \"request\" },\n { no: 6, name: \"track\", kind: \"message\", T: TrackEgressRequest, oneof: \"request\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamInfoList, oneof: \"result\" },\n { no: 8, name: \"file\", kind: \"message\", T: FileInfo, oneof: \"result\" },\n { no: 12, name: \"segments\", kind: \"message\", T: SegmentsInfo, oneof: \"result\" },\n { no: 15, name: \"stream_results\", kind: \"message\", T: StreamInfo, repeated: true },\n { no: 16, name: \"file_results\", kind: \"message\", T: FileInfo, repeated: true },\n { no: 17, name: \"segment_results\", kind: \"message\", T: SegmentsInfo, repeated: true },\n { no: 20, name: \"image_results\", kind: \"message\", T: ImagesInfo, repeated: true },\n { no: 23, name: \"manifest_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 25, name: \"backup_storage_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo {\n return new EgressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo {\n return new EgressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EgressInfo {\n return new EgressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(EgressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfoList\n * @deprecated\n */\nexport class StreamInfoList extends Message {\n /**\n * @generated from field: repeated livekit.StreamInfo info = 1;\n */\n info: StreamInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfoList\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"info\", kind: \"message\", T: StreamInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfoList, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfo\n */\nexport class StreamInfo extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 4;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: livekit.StreamInfo.Status status = 5;\n */\n status = StreamInfo_Status.ACTIVE;\n\n /**\n * @generated from field: string error = 6;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"status\", kind: \"enum\", T: proto3.getEnumType(StreamInfo_Status) },\n { no: 6, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo {\n return new StreamInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo {\n return new StreamInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfo {\n return new StreamInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.StreamInfo.Status\n */\nexport enum StreamInfo_Status {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: FINISHED = 1;\n */\n FINISHED = 1,\n\n /**\n * @generated from enum value: FAILED = 2;\n */\n FAILED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamInfo_Status)\nproto3.util.setEnumType(StreamInfo_Status, \"livekit.StreamInfo.Status\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"FINISHED\" },\n { no: 2, name: \"FAILED\" },\n]);\n\n/**\n * @generated from message livekit.FileInfo\n */\nexport class FileInfo extends Message {\n /**\n * @generated from field: string filename = 1;\n */\n filename = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 6;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 4;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string location = 5;\n */\n location = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.FileInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filename\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo {\n return new FileInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo {\n return new FileInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): FileInfo {\n return new FileInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(FileInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SegmentsInfo\n */\nexport class SegmentsInfo extends Message {\n /**\n * @generated from field: string playlist_name = 1;\n */\n playlistName = \"\";\n\n /**\n * @generated from field: string live_playlist_name = 8;\n */\n livePlaylistName = \"\";\n\n /**\n * @generated from field: int64 duration = 2;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string playlist_location = 4;\n */\n playlistLocation = \"\";\n\n /**\n * @generated from field: string live_playlist_location = 9;\n */\n livePlaylistLocation = \"\";\n\n /**\n * @generated from field: int64 segment_count = 5;\n */\n segmentCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 6;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 7;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentsInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"live_playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"segment_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 7, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentsInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImagesInfo\n */\nexport class ImagesInfo extends Message {\n /**\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * @generated from field: int64 image_count = 1;\n */\n imageCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImagesInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"image_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImagesInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoParticipantEgress\n */\nexport class AutoParticipantEgress extends Message {\n /**\n * @generated from oneof livekit.AutoParticipantEgress.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 1;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 2;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoParticipantEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 2, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 3, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 4, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoParticipantEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoTrackEgress\n */\nexport class AutoTrackEgress extends Message {\n /**\n * see docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disables upload of json manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.AutoTrackEgress.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoTrackEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoTrackEgress, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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I,IAAM,kBAAN;","names":["EncodedFileType","SegmentedFileProtocol","SegmentedFileSuffix","ImageFileSuffix","StreamProtocol","EncodingOptionsPreset","EgressStatus","StreamInfo_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.d.ts b/packages/javascript/dist/gen/livekit_egress_pb.d.ts new file mode 100644 index 00000000..29c1c729 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.d.ts @@ -0,0 +1,1720 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; +/** + * @generated from enum livekit.EncodedFileType + */ +export declare enum EncodedFileType { + /** + * file type chosen based on codecs + * + * @generated from enum value: DEFAULT_FILETYPE = 0; + */ + DEFAULT_FILETYPE = 0, + /** + * @generated from enum value: MP4 = 1; + */ + MP4 = 1, + /** + * @generated from enum value: OGG = 2; + */ + OGG = 2 +} +/** + * @generated from enum livekit.SegmentedFileProtocol + */ +export declare enum SegmentedFileProtocol { + /** + * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; + */ + DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, + /** + * @generated from enum value: HLS_PROTOCOL = 1; + */ + HLS_PROTOCOL = 1 +} +/** + * @generated from enum livekit.SegmentedFileSuffix + */ +export declare enum SegmentedFileSuffix { + /** + * @generated from enum value: INDEX = 0; + */ + INDEX = 0, + /** + * @generated from enum value: TIMESTAMP = 1; + */ + TIMESTAMP = 1 +} +/** + * @generated from enum livekit.ImageFileSuffix + */ +export declare enum ImageFileSuffix { + /** + * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; + */ + IMAGE_SUFFIX_INDEX = 0, + /** + * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; + */ + IMAGE_SUFFIX_TIMESTAMP = 1 +} +/** + * @generated from enum livekit.StreamProtocol + */ +export declare enum StreamProtocol { + /** + * protocol chosen based on urls + * + * @generated from enum value: DEFAULT_PROTOCOL = 0; + */ + DEFAULT_PROTOCOL = 0, + /** + * @generated from enum value: RTMP = 1; + */ + RTMP = 1, + /** + * @generated from enum value: SRT = 2; + */ + SRT = 2 +} +/** + * @generated from enum livekit.EncodingOptionsPreset + */ +export declare enum EncodingOptionsPreset { + /** + * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS + * + * @generated from enum value: H264_720P_30 = 0; + */ + H264_720P_30 = 0, + /** + * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_720P_60 = 1; + */ + H264_720P_60 = 1, + /** + * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_1080P_30 = 2; + */ + H264_1080P_30 = 2, + /** + * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_1080P_60 = 3; + */ + H264_1080P_60 = 3, + /** + * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_720P_30 = 4; + */ + PORTRAIT_H264_720P_30 = 4, + /** + * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_720P_60 = 5; + */ + PORTRAIT_H264_720P_60 = 5, + /** + * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; + */ + PORTRAIT_H264_1080P_30 = 6, + /** + * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; + */ + PORTRAIT_H264_1080P_60 = 7 +} +/** + * @generated from enum livekit.EgressStatus + */ +export declare enum EgressStatus { + /** + * @generated from enum value: EGRESS_STARTING = 0; + */ + EGRESS_STARTING = 0, + /** + * @generated from enum value: EGRESS_ACTIVE = 1; + */ + EGRESS_ACTIVE = 1, + /** + * @generated from enum value: EGRESS_ENDING = 2; + */ + EGRESS_ENDING = 2, + /** + * @generated from enum value: EGRESS_COMPLETE = 3; + */ + EGRESS_COMPLETE = 3, + /** + * @generated from enum value: EGRESS_FAILED = 4; + */ + EGRESS_FAILED = 4, + /** + * @generated from enum value: EGRESS_ABORTED = 5; + */ + EGRESS_ABORTED = 5, + /** + * @generated from enum value: EGRESS_LIMIT_REACHED = 6; + */ + EGRESS_LIMIT_REACHED = 6 +} +/** + * composite using a web browser + * + * @generated from message livekit.RoomCompositeEgressRequest + */ +export declare class RoomCompositeEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * (optional) + * + * @generated from field: string layout = 2; + */ + layout: string; + /** + * (default false) + * + * @generated from field: bool audio_only = 3; + */ + audioOnly: boolean; + /** + * (default false) + * + * @generated from field: bool video_only = 4; + */ + videoOnly: boolean; + /** + * template base url (default https://recorder.livekit.io) + * + * @generated from field: string custom_base_url = 5; + */ + customBaseUrl: string; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.RoomCompositeEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from oneof livekit.RoomCompositeEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 8; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 9; + */ + value: EncodingOptions; + case: "advanced"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + fileOutputs: EncodedFileOutput[]; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + streamOutputs: StreamOutput[]; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + segmentOutputs: SegmentedFileOutput[]; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + imageOutputs: ImageOutput[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomCompositeEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; + static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; +} +/** + * record any website + * + * @generated from message livekit.WebEgressRequest + */ +export declare class WebEgressRequest extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + /** + * @generated from field: bool audio_only = 2; + */ + audioOnly: boolean; + /** + * @generated from field: bool video_only = 3; + */ + videoOnly: boolean; + /** + * @generated from field: bool await_start_signal = 12; + */ + awaitStartSignal: boolean; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.WebEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from oneof livekit.WebEgressRequest.options + */ + options: { + /** + * @generated from field: livekit.EncodingOptionsPreset preset = 7; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.EncodingOptions advanced = 8; + */ + value: EncodingOptions; + case: "advanced"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; + */ + fileOutputs: EncodedFileOutput[]; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; + */ + streamOutputs: StreamOutput[]; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; + */ + segmentOutputs: SegmentedFileOutput[]; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 13; + */ + imageOutputs: ImageOutput[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WebEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; + static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; +} +/** + * record audio and video from a single participant + * + * @generated from message livekit.ParticipantEgressRequest + */ +export declare class ParticipantEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * required + * + * @generated from field: string identity = 2; + */ + identity: string; + /** + * (default false) + * + * @generated from field: bool screen_share = 3; + */ + screenShare: boolean; + /** + * @generated from oneof livekit.ParticipantEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 4; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 5; + */ + value: EncodingOptions; + case: "advanced"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; + */ + fileOutputs: EncodedFileOutput[]; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; + */ + streamOutputs: StreamOutput[]; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; + */ + segmentOutputs: SegmentedFileOutput[]; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 9; + */ + imageOutputs: ImageOutput[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; + static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; +} +/** + * containerize up to one audio and one video track + * + * @generated from message livekit.TrackCompositeEgressRequest + */ +export declare class TrackCompositeEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * (optional) + * + * @generated from field: string audio_track_id = 2; + */ + audioTrackId: string; + /** + * (optional) + * + * @generated from field: string video_track_id = 3; + */ + videoTrackId: string; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.TrackCompositeEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from oneof livekit.TrackCompositeEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 6; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 7; + */ + value: EncodingOptions; + case: "advanced"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + fileOutputs: EncodedFileOutput[]; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + streamOutputs: StreamOutput[]; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + segmentOutputs: SegmentedFileOutput[]; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + imageOutputs: ImageOutput[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackCompositeEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; + static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; +} +/** + * record tracks individually, without transcoding + * + * @generated from message livekit.TrackEgressRequest + */ +export declare class TrackEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * required + * + * @generated from field: string track_id = 2; + */ + trackId: string; + /** + * required + * + * @generated from oneof livekit.TrackEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.DirectFileOutput file = 3; + */ + value: DirectFileOutput; + case: "file"; + } | { + /** + * @generated from field: string websocket_url = 4; + */ + value: string; + case: "websocketUrl"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; + static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.EncodedFileOutput + */ +export declare class EncodedFileOutput extends Message { + /** + * (optional) + * + * @generated from field: livekit.EncodedFileType file_type = 1; + */ + fileType: EncodedFileType; + /** + * see egress docs for templating (default {room_name}-{time}) + * + * @generated from field: string filepath = 2; + */ + filepath: string; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 6; + */ + disableManifest: boolean; + /** + * @generated from oneof livekit.EncodedFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 3; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 4; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 5; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 7; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EncodedFileOutput"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; + static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; + static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; + static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; +} +/** + * Used to generate HLS segments or other kind of segmented output + * + * @generated from message livekit.SegmentedFileOutput + */ +export declare class SegmentedFileOutput extends Message { + /** + * (optional) + * + * @generated from field: livekit.SegmentedFileProtocol protocol = 1; + */ + protocol: SegmentedFileProtocol; + /** + * (optional) + * + * @generated from field: string filename_prefix = 2; + */ + filenamePrefix: string; + /** + * (optional) + * + * @generated from field: string playlist_name = 3; + */ + playlistName: string; + /** + * (optional, disabled if not provided). Path of a live playlist + * + * @generated from field: string live_playlist_name = 11; + */ + livePlaylistName: string; + /** + * in seconds (optional) + * + * @generated from field: uint32 segment_duration = 4; + */ + segmentDuration: number; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; + */ + filenameSuffix: SegmentedFileSuffix; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 8; + */ + disableManifest: boolean; + /** + * required + * + * @generated from oneof livekit.SegmentedFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 5; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 6; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 7; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 9; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SegmentedFileOutput"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; + static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; + static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; + static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DirectFileOutput + */ +export declare class DirectFileOutput extends Message { + /** + * see egress docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + filepath: string; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + disableManifest: boolean; + /** + * @generated from oneof livekit.DirectFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 2; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 3; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 4; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 6; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DirectFileOutput"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; + static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; + static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; + static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ImageOutput + */ +export declare class ImageOutput extends Message { + /** + * in seconds (required) + * + * @generated from field: uint32 capture_interval = 1; + */ + captureInterval: number; + /** + * (optional, defaults to track width) + * + * @generated from field: int32 width = 2; + */ + width: number; + /** + * (optional, defaults to track height) + * + * @generated from field: int32 height = 3; + */ + height: number; + /** + * (optional) + * + * @generated from field: string filename_prefix = 4; + */ + filenamePrefix: string; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; + */ + filenameSuffix: ImageFileSuffix; + /** + * (optional) + * + * @generated from field: livekit.ImageCodec image_codec = 6; + */ + imageCodec: ImageCodec; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 7; + */ + disableManifest: boolean; + /** + * required + * + * @generated from oneof livekit.ImageOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 8; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 9; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 10; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 11; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ImageOutput"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; + static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; + static fromJsonString(jsonString: string, options?: Partial): ImageOutput; + static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.S3Upload + */ +export declare class S3Upload extends Message { + /** + * @generated from field: string access_key = 1; + */ + accessKey: string; + /** + * @generated from field: string secret = 2; + */ + secret: string; + /** + * @generated from field: string session_token = 11; + */ + sessionToken: string; + /** + * @generated from field: string region = 3; + */ + region: string; + /** + * @generated from field: string endpoint = 4; + */ + endpoint: string; + /** + * @generated from field: string bucket = 5; + */ + bucket: string; + /** + * @generated from field: bool force_path_style = 6; + */ + forcePathStyle: boolean; + /** + * @generated from field: map metadata = 7; + */ + metadata: { + [key: string]: string; + }; + /** + * @generated from field: string tagging = 8; + */ + tagging: string; + /** + * Content-Disposition header + * + * @generated from field: string content_disposition = 9; + */ + contentDisposition: string; + /** + * @generated from field: livekit.ProxyConfig proxy = 10; + */ + proxy?: ProxyConfig; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.S3Upload"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; + static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; + static fromJsonString(jsonString: string, options?: Partial): S3Upload; + static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.GCPUpload + */ +export declare class GCPUpload extends Message { + /** + * service account credentials serialized in JSON "credentials.json" + * + * @generated from field: string credentials = 1; + */ + credentials: string; + /** + * @generated from field: string bucket = 2; + */ + bucket: string; + /** + * @generated from field: livekit.ProxyConfig proxy = 3; + */ + proxy?: ProxyConfig; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GCPUpload"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; + static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; + static fromJsonString(jsonString: string, options?: Partial): GCPUpload; + static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AzureBlobUpload + */ +export declare class AzureBlobUpload extends Message { + /** + * @generated from field: string account_name = 1; + */ + accountName: string; + /** + * @generated from field: string account_key = 2; + */ + accountKey: string; + /** + * @generated from field: string container_name = 3; + */ + containerName: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AzureBlobUpload"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; + static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; + static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; + static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AliOSSUpload + */ +export declare class AliOSSUpload extends Message { + /** + * @generated from field: string access_key = 1; + */ + accessKey: string; + /** + * @generated from field: string secret = 2; + */ + secret: string; + /** + * @generated from field: string region = 3; + */ + region: string; + /** + * @generated from field: string endpoint = 4; + */ + endpoint: string; + /** + * @generated from field: string bucket = 5; + */ + bucket: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AliOSSUpload"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; + static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; + static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; + static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ProxyConfig + */ +export declare class ProxyConfig extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + /** + * @generated from field: string username = 2; + */ + username: string; + /** + * @generated from field: string password = 3; + */ + password: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ProxyConfig"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; + static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; + static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; + static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StreamOutput + */ +export declare class StreamOutput extends Message { + /** + * required + * + * @generated from field: livekit.StreamProtocol protocol = 1; + */ + protocol: StreamProtocol; + /** + * required + * + * @generated from field: repeated string urls = 2; + */ + urls: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamOutput"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; + static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; + static fromJsonString(jsonString: string, options?: Partial): StreamOutput; + static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.EncodingOptions + */ +export declare class EncodingOptions extends Message { + /** + * (default 1920) + * + * @generated from field: int32 width = 1; + */ + width: number; + /** + * (default 1080) + * + * @generated from field: int32 height = 2; + */ + height: number; + /** + * (default 24) + * + * @generated from field: int32 depth = 3; + */ + depth: number; + /** + * (default 30) + * + * @generated from field: int32 framerate = 4; + */ + framerate: number; + /** + * (default OPUS) + * + * @generated from field: livekit.AudioCodec audio_codec = 5; + */ + audioCodec: AudioCodec; + /** + * (default 128) + * + * @generated from field: int32 audio_bitrate = 6; + */ + audioBitrate: number; + /** + * quality setting on audio encoder + * + * @generated from field: int32 audio_quality = 11; + */ + audioQuality: number; + /** + * (default 44100) + * + * @generated from field: int32 audio_frequency = 7; + */ + audioFrequency: number; + /** + * (default H264_MAIN) + * + * @generated from field: livekit.VideoCodec video_codec = 8; + */ + videoCodec: VideoCodec; + /** + * (default 4500) + * + * @generated from field: int32 video_bitrate = 9; + */ + videoBitrate: number; + /** + * quality setting on video encoder + * + * @generated from field: int32 video_quality = 12; + */ + videoQuality: number; + /** + * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + * + * @generated from field: double key_frame_interval = 10; + */ + keyFrameInterval: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EncodingOptions"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; + static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; + static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; + static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateLayoutRequest + */ +export declare class UpdateLayoutRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + /** + * @generated from field: string layout = 2; + */ + layout: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLayoutRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; + static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateStreamRequest + */ +export declare class UpdateStreamRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + /** + * @generated from field: repeated string add_output_urls = 2; + */ + addOutputUrls: string[]; + /** + * @generated from field: repeated string remove_output_urls = 3; + */ + removeOutputUrls: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateStreamRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; + static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListEgressRequest + */ +export declare class ListEgressRequest extends Message { + /** + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * (optional, filter by egress ID) + * + * @generated from field: string egress_id = 2; + */ + egressId: string; + /** + * (optional, list active egress only) + * + * @generated from field: bool active = 3; + */ + active: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; + static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListEgressResponse + */ +export declare class ListEgressResponse extends Message { + /** + * @generated from field: repeated livekit.EgressInfo items = 1; + */ + items: EgressInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListEgressResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; + static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; + static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StopEgressRequest + */ +export declare class StopEgressRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StopEgressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; + static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; + static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.EgressInfo + */ +export declare class EgressInfo extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + /** + * @generated from field: string room_id = 2; + */ + roomId: string; + /** + * @generated from field: string room_name = 13; + */ + roomName: string; + /** + * @generated from field: livekit.EgressStatus status = 3; + */ + status: EgressStatus; + /** + * @generated from field: int64 started_at = 10; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 11; + */ + endedAt: bigint; + /** + * @generated from field: int64 updated_at = 18; + */ + updatedAt: bigint; + /** + * @generated from field: string details = 21; + */ + details: string; + /** + * @generated from field: string error = 9; + */ + error: string; + /** + * @generated from field: int32 error_code = 22; + */ + errorCode: number; + /** + * @generated from oneof livekit.EgressInfo.request + */ + request: { + /** + * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; + */ + value: RoomCompositeEgressRequest; + case: "roomComposite"; + } | { + /** + * @generated from field: livekit.WebEgressRequest web = 14; + */ + value: WebEgressRequest; + case: "web"; + } | { + /** + * @generated from field: livekit.ParticipantEgressRequest participant = 19; + */ + value: ParticipantEgressRequest; + case: "participant"; + } | { + /** + * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; + */ + value: TrackCompositeEgressRequest; + case: "trackComposite"; + } | { + /** + * @generated from field: livekit.TrackEgressRequest track = 6; + */ + value: TrackEgressRequest; + case: "track"; + } | { + case: undefined; + value?: undefined; + }; + /** + * deprecated (use _result fields) + * + * @generated from oneof livekit.EgressInfo.result + */ + result: { + /** + * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; + * @deprecated + */ + value: StreamInfoList; + case: "stream"; + } | { + /** + * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; + * @deprecated + */ + value: FileInfo; + case: "file"; + } | { + /** + * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; + * @deprecated + */ + value: SegmentsInfo; + case: "segments"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.StreamInfo stream_results = 15; + */ + streamResults: StreamInfo[]; + /** + * @generated from field: repeated livekit.FileInfo file_results = 16; + */ + fileResults: FileInfo[]; + /** + * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; + */ + segmentResults: SegmentsInfo[]; + /** + * @generated from field: repeated livekit.ImagesInfo image_results = 20; + */ + imageResults: ImagesInfo[]; + /** + * @generated from field: string manifest_location = 23; + */ + manifestLocation: string; + /** + * next ID: 26 + * + * @generated from field: bool backup_storage_used = 25; + */ + backupStorageUsed: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EgressInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; + static fromJsonString(jsonString: string, options?: Partial): EgressInfo; + static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StreamInfoList + * @deprecated + */ +export declare class StreamInfoList extends Message { + /** + * @generated from field: repeated livekit.StreamInfo info = 1; + */ + info: StreamInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamInfoList"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; + static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; + static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; + static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StreamInfo + */ +export declare class StreamInfo extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + /** + * @generated from field: int64 duration = 4; + */ + duration: bigint; + /** + * @generated from field: livekit.StreamInfo.Status status = 5; + */ + status: StreamInfo_Status; + /** + * @generated from field: string error = 6; + */ + error: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; + static fromJsonString(jsonString: string, options?: Partial): StreamInfo; + static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.StreamInfo.Status + */ +export declare enum StreamInfo_Status { + /** + * @generated from enum value: ACTIVE = 0; + */ + ACTIVE = 0, + /** + * @generated from enum value: FINISHED = 1; + */ + FINISHED = 1, + /** + * @generated from enum value: FAILED = 2; + */ + FAILED = 2 +} +/** + * @generated from message livekit.FileInfo + */ +export declare class FileInfo extends Message { + /** + * @generated from field: string filename = 1; + */ + filename: string; + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + /** + * @generated from field: int64 duration = 6; + */ + duration: bigint; + /** + * @generated from field: int64 size = 4; + */ + size: bigint; + /** + * @generated from field: string location = 5; + */ + location: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.FileInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; + static fromJsonString(jsonString: string, options?: Partial): FileInfo; + static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SegmentsInfo + */ +export declare class SegmentsInfo extends Message { + /** + * @generated from field: string playlist_name = 1; + */ + playlistName: string; + /** + * @generated from field: string live_playlist_name = 8; + */ + livePlaylistName: string; + /** + * @generated from field: int64 duration = 2; + */ + duration: bigint; + /** + * @generated from field: int64 size = 3; + */ + size: bigint; + /** + * @generated from field: string playlist_location = 4; + */ + playlistLocation: string; + /** + * @generated from field: string live_playlist_location = 9; + */ + livePlaylistLocation: string; + /** + * @generated from field: int64 segment_count = 5; + */ + segmentCount: bigint; + /** + * @generated from field: int64 started_at = 6; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 7; + */ + endedAt: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SegmentsInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; + static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; + static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ImagesInfo + */ +export declare class ImagesInfo extends Message { + /** + * @generated from field: string filename_prefix = 4; + */ + filenamePrefix: string; + /** + * @generated from field: int64 image_count = 1; + */ + imageCount: bigint; + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ImagesInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; + static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; + static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AutoParticipantEgress + */ +export declare class AutoParticipantEgress extends Message { + /** + * @generated from oneof livekit.AutoParticipantEgress.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 1; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 2; + */ + value: EncodingOptions; + case: "advanced"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; + */ + fileOutputs: EncodedFileOutput[]; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; + */ + segmentOutputs: SegmentedFileOutput[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AutoParticipantEgress"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; + static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; + static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; + static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AutoTrackEgress + */ +export declare class AutoTrackEgress extends Message { + /** + * see docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + filepath: string; + /** + * disables upload of json manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + disableManifest: boolean; + /** + * @generated from oneof livekit.AutoTrackEgress.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 2; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 3; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 4; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 6; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AutoTrackEgress"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; + static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; + static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; + static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_egress_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map b/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map new file mode 100644 index 00000000..d9f85573 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_egress_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_egress_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;GAEG;AACH,oBAAY,eAAe;IACzB;;;;OAIG;IACH,gBAAgB,IAAI;IAEpB;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;CACR;AAQD;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;OAEG;IACH,+BAA+B,IAAI;IAEnC;;OAEG;IACH,YAAY,IAAI;CACjB;AAOD;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,SAAS,IAAI;CACd;AAOD;;GAEG;AACH,oBAAY,eAAe;IACzB;;OAEG;IACH,kBAAkB,IAAI;IAEtB;;OAEG;IACH,sBAAsB,IAAI;CAC3B;AAOD;;GAEG;AACH,oBAAY,cAAc;IACxB;;;;OAIG;IACH,gBAAgB,IAAI;IAEpB;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,GAAG,IAAI;CACR;AAQD;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,YAAY,IAAI;IAEhB;;;;OAIG;IACH,aAAa,IAAI;IAEjB;;;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C,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI1F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI9F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.js b/packages/javascript/dist/gen/livekit_egress_pb.js new file mode 100644 index 00000000..6ae367dc --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.js @@ -0,0 +1,2417 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; +var EncodedFileType = /* @__PURE__ */ ((EncodedFileType2) => { + EncodedFileType2[EncodedFileType2["DEFAULT_FILETYPE"] = 0] = "DEFAULT_FILETYPE"; + EncodedFileType2[EncodedFileType2["MP4"] = 1] = "MP4"; + EncodedFileType2[EncodedFileType2["OGG"] = 2] = "OGG"; + return EncodedFileType2; +})(EncodedFileType || {}); +proto3.util.setEnumType(EncodedFileType, "livekit.EncodedFileType", [ + { no: 0, name: "DEFAULT_FILETYPE" }, + { no: 1, name: "MP4" }, + { no: 2, name: "OGG" } +]); +var SegmentedFileProtocol = /* @__PURE__ */ ((SegmentedFileProtocol2) => { + SegmentedFileProtocol2[SegmentedFileProtocol2["DEFAULT_SEGMENTED_FILE_PROTOCOL"] = 0] = "DEFAULT_SEGMENTED_FILE_PROTOCOL"; + SegmentedFileProtocol2[SegmentedFileProtocol2["HLS_PROTOCOL"] = 1] = "HLS_PROTOCOL"; + return SegmentedFileProtocol2; +})(SegmentedFileProtocol || {}); +proto3.util.setEnumType(SegmentedFileProtocol, "livekit.SegmentedFileProtocol", [ + { no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL" }, + { no: 1, name: "HLS_PROTOCOL" } +]); +var SegmentedFileSuffix = /* @__PURE__ */ ((SegmentedFileSuffix2) => { + SegmentedFileSuffix2[SegmentedFileSuffix2["INDEX"] = 0] = "INDEX"; + SegmentedFileSuffix2[SegmentedFileSuffix2["TIMESTAMP"] = 1] = "TIMESTAMP"; + return SegmentedFileSuffix2; +})(SegmentedFileSuffix || {}); +proto3.util.setEnumType(SegmentedFileSuffix, "livekit.SegmentedFileSuffix", [ + { no: 0, name: "INDEX" }, + { no: 1, name: "TIMESTAMP" } +]); +var ImageFileSuffix = /* @__PURE__ */ ((ImageFileSuffix2) => { + ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_INDEX"] = 0] = "IMAGE_SUFFIX_INDEX"; + ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_TIMESTAMP"] = 1] = "IMAGE_SUFFIX_TIMESTAMP"; + return ImageFileSuffix2; +})(ImageFileSuffix || {}); +proto3.util.setEnumType(ImageFileSuffix, "livekit.ImageFileSuffix", [ + { no: 0, name: "IMAGE_SUFFIX_INDEX" }, + { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" } +]); +var StreamProtocol = /* @__PURE__ */ ((StreamProtocol2) => { + StreamProtocol2[StreamProtocol2["DEFAULT_PROTOCOL"] = 0] = "DEFAULT_PROTOCOL"; + StreamProtocol2[StreamProtocol2["RTMP"] = 1] = "RTMP"; + StreamProtocol2[StreamProtocol2["SRT"] = 2] = "SRT"; + return StreamProtocol2; +})(StreamProtocol || {}); +proto3.util.setEnumType(StreamProtocol, "livekit.StreamProtocol", [ + { no: 0, name: "DEFAULT_PROTOCOL" }, + { no: 1, name: "RTMP" }, + { no: 2, name: "SRT" } +]); +var EncodingOptionsPreset = /* @__PURE__ */ ((EncodingOptionsPreset2) => { + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_30"] = 0] = "H264_720P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_60"] = 1] = "H264_720P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_30"] = 2] = "H264_1080P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_60"] = 3] = "H264_1080P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_30"] = 4] = "PORTRAIT_H264_720P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_60"] = 5] = "PORTRAIT_H264_720P_60"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_30"] = 6] = "PORTRAIT_H264_1080P_30"; + EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_60"] = 7] = "PORTRAIT_H264_1080P_60"; + return EncodingOptionsPreset2; +})(EncodingOptionsPreset || {}); +proto3.util.setEnumType(EncodingOptionsPreset, "livekit.EncodingOptionsPreset", [ + { no: 0, name: "H264_720P_30" }, + { no: 1, name: "H264_720P_60" }, + { no: 2, name: "H264_1080P_30" }, + { no: 3, name: "H264_1080P_60" }, + { no: 4, name: "PORTRAIT_H264_720P_30" }, + { no: 5, name: "PORTRAIT_H264_720P_60" }, + { no: 6, name: "PORTRAIT_H264_1080P_30" }, + { no: 7, name: "PORTRAIT_H264_1080P_60" } +]); +var EgressStatus = /* @__PURE__ */ ((EgressStatus2) => { + EgressStatus2[EgressStatus2["EGRESS_STARTING"] = 0] = "EGRESS_STARTING"; + EgressStatus2[EgressStatus2["EGRESS_ACTIVE"] = 1] = "EGRESS_ACTIVE"; + EgressStatus2[EgressStatus2["EGRESS_ENDING"] = 2] = "EGRESS_ENDING"; + EgressStatus2[EgressStatus2["EGRESS_COMPLETE"] = 3] = "EGRESS_COMPLETE"; + EgressStatus2[EgressStatus2["EGRESS_FAILED"] = 4] = "EGRESS_FAILED"; + EgressStatus2[EgressStatus2["EGRESS_ABORTED"] = 5] = "EGRESS_ABORTED"; + EgressStatus2[EgressStatus2["EGRESS_LIMIT_REACHED"] = 6] = "EGRESS_LIMIT_REACHED"; + return EgressStatus2; +})(EgressStatus || {}); +proto3.util.setEnumType(EgressStatus, "livekit.EgressStatus", [ + { no: 0, name: "EGRESS_STARTING" }, + { no: 1, name: "EGRESS_ACTIVE" }, + { no: 2, name: "EGRESS_ENDING" }, + { no: 3, name: "EGRESS_COMPLETE" }, + { no: 4, name: "EGRESS_FAILED" }, + { no: 5, name: "EGRESS_ABORTED" }, + { no: 6, name: "EGRESS_LIMIT_REACHED" } +]); +const _RoomCompositeEgressRequest = class _RoomCompositeEgressRequest extends Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional) + * + * @generated from field: string layout = 2; + */ + this.layout = ""; + /** + * (default false) + * + * @generated from field: bool audio_only = 3; + */ + this.audioOnly = false; + /** + * (default false) + * + * @generated from field: bool video_only = 4; + */ + this.videoOnly = false; + /** + * template base url (default https://recorder.livekit.io) + * + * @generated from field: string custom_base_url = 5; + */ + this.customBaseUrl = ""; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.RoomCompositeEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.RoomCompositeEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + this.imageOutputs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomCompositeEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomCompositeEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomCompositeEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomCompositeEgressRequest, a, b); + } +}; +_RoomCompositeEgressRequest.runtime = proto3; +_RoomCompositeEgressRequest.typeName = "livekit.RoomCompositeEgressRequest"; +_RoomCompositeEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "layout", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "audio_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "video_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "custom_base_url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let RoomCompositeEgressRequest = _RoomCompositeEgressRequest; +const _WebEgressRequest = class _WebEgressRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: bool audio_only = 2; + */ + this.audioOnly = false; + /** + * @generated from field: bool video_only = 3; + */ + this.videoOnly = false; + /** + * @generated from field: bool await_start_signal = 12; + */ + this.awaitStartSignal = false; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.WebEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.WebEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 13; + */ + this.imageOutputs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WebEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WebEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WebEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_WebEgressRequest, a, b); + } +}; +_WebEgressRequest.runtime = proto3; +_WebEgressRequest.typeName = "livekit.WebEgressRequest"; +_WebEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "audio_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "video_only", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 12, + name: "await_start_signal", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let WebEgressRequest = _WebEgressRequest; +const _ParticipantEgressRequest = class _ParticipantEgressRequest extends Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * required + * + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * (default false) + * + * @generated from field: bool screen_share = 3; + */ + this.screenShare = false; + /** + * @generated from oneof livekit.ParticipantEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 9; + */ + this.imageOutputs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ParticipantEgressRequest, a, b); + } +}; +_ParticipantEgressRequest.runtime = proto3; +_ParticipantEgressRequest.typeName = "livekit.ParticipantEgressRequest"; +_ParticipantEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "screen_share", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let ParticipantEgressRequest = _ParticipantEgressRequest; +const _TrackCompositeEgressRequest = class _TrackCompositeEgressRequest extends Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional) + * + * @generated from field: string audio_track_id = 2; + */ + this.audioTrackId = ""; + /** + * (optional) + * + * @generated from field: string video_track_id = 3; + */ + this.videoTrackId = ""; + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.TrackCompositeEgressRequest.output + */ + this.output = { case: void 0 }; + /** + * @generated from oneof livekit.TrackCompositeEgressRequest.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + this.streamOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + this.segmentOutputs = []; + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + this.imageOutputs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackCompositeEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackCompositeEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackCompositeEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackCompositeEgressRequest, a, b); + } +}; +_TrackCompositeEgressRequest.runtime = proto3; +_TrackCompositeEgressRequest.typeName = "livekit.TrackCompositeEgressRequest"; +_TrackCompositeEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "audio_track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "video_track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } +]); +let TrackCompositeEgressRequest = _TrackCompositeEgressRequest; +const _TrackEgressRequest = class _TrackEgressRequest extends Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * required + * + * @generated from field: string track_id = 2; + */ + this.trackId = ""; + /** + * required + * + * @generated from oneof livekit.TrackEgressRequest.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackEgressRequest, a, b); + } +}; +_TrackEgressRequest.runtime = proto3; +_TrackEgressRequest.typeName = "livekit.TrackEgressRequest"; +_TrackEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, + { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" } +]); +let TrackEgressRequest = _TrackEgressRequest; +const _EncodedFileOutput = class _EncodedFileOutput extends Message { + constructor(data) { + super(); + /** + * (optional) + * + * @generated from field: livekit.EncodedFileType file_type = 1; + */ + this.fileType = 0 /* DEFAULT_FILETYPE */; + /** + * see egress docs for templating (default {room_name}-{time}) + * + * @generated from field: string filepath = 2; + */ + this.filepath = ""; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 6; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.EncodedFileOutput.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EncodedFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EncodedFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EncodedFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_EncodedFileOutput, a, b); + } +}; +_EncodedFileOutput.runtime = proto3; +_EncodedFileOutput.typeName = "livekit.EncodedFileOutput"; +_EncodedFileOutput.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) }, + { + no: 2, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let EncodedFileOutput = _EncodedFileOutput; +const _SegmentedFileOutput = class _SegmentedFileOutput extends Message { + constructor(data) { + super(); + /** + * (optional) + * + * @generated from field: livekit.SegmentedFileProtocol protocol = 1; + */ + this.protocol = 0 /* DEFAULT_SEGMENTED_FILE_PROTOCOL */; + /** + * (optional) + * + * @generated from field: string filename_prefix = 2; + */ + this.filenamePrefix = ""; + /** + * (optional) + * + * @generated from field: string playlist_name = 3; + */ + this.playlistName = ""; + /** + * (optional, disabled if not provided). Path of a live playlist + * + * @generated from field: string live_playlist_name = 11; + */ + this.livePlaylistName = ""; + /** + * in seconds (optional) + * + * @generated from field: uint32 segment_duration = 4; + */ + this.segmentDuration = 0; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; + */ + this.filenameSuffix = 0 /* INDEX */; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 8; + */ + this.disableManifest = false; + /** + * required + * + * @generated from oneof livekit.SegmentedFileOutput.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SegmentedFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SegmentedFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SegmentedFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SegmentedFileOutput, a, b); + } +}; +_SegmentedFileOutput.runtime = proto3; +_SegmentedFileOutput.typeName = "livekit.SegmentedFileOutput"; +_SegmentedFileOutput.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) }, + { + no: 2, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "live_playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "segment_duration", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) }, + { + no: 8, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let SegmentedFileOutput = _SegmentedFileOutput; +const _DirectFileOutput = class _DirectFileOutput extends Message { + constructor(data) { + super(); + /** + * see egress docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + this.filepath = ""; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.DirectFileOutput.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DirectFileOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DirectFileOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DirectFileOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DirectFileOutput, a, b); + } +}; +_DirectFileOutput.runtime = proto3; +_DirectFileOutput.typeName = "livekit.DirectFileOutput"; +_DirectFileOutput.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let DirectFileOutput = _DirectFileOutput; +const _ImageOutput = class _ImageOutput extends Message { + constructor(data) { + super(); + /** + * in seconds (required) + * + * @generated from field: uint32 capture_interval = 1; + */ + this.captureInterval = 0; + /** + * (optional, defaults to track width) + * + * @generated from field: int32 width = 2; + */ + this.width = 0; + /** + * (optional, defaults to track height) + * + * @generated from field: int32 height = 3; + */ + this.height = 0; + /** + * (optional) + * + * @generated from field: string filename_prefix = 4; + */ + this.filenamePrefix = ""; + /** + * (optional, default INDEX) + * + * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; + */ + this.filenameSuffix = 0 /* IMAGE_SUFFIX_INDEX */; + /** + * (optional) + * + * @generated from field: livekit.ImageCodec image_codec = 6; + */ + this.imageCodec = ImageCodec.IC_DEFAULT; + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 7; + */ + this.disableManifest = false; + /** + * required + * + * @generated from oneof livekit.ImageOutput.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ImageOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ImageOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ImageOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ImageOutput, a, b); + } +}; +_ImageOutput.runtime = proto3; +_ImageOutput.typeName = "livekit.ImageOutput"; +_ImageOutput.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "capture_interval", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "width", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) }, + { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) }, + { + no: 7, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let ImageOutput = _ImageOutput; +const _S3Upload = class _S3Upload extends Message { + constructor(data) { + super(); + /** + * @generated from field: string access_key = 1; + */ + this.accessKey = ""; + /** + * @generated from field: string secret = 2; + */ + this.secret = ""; + /** + * @generated from field: string session_token = 11; + */ + this.sessionToken = ""; + /** + * @generated from field: string region = 3; + */ + this.region = ""; + /** + * @generated from field: string endpoint = 4; + */ + this.endpoint = ""; + /** + * @generated from field: string bucket = 5; + */ + this.bucket = ""; + /** + * @generated from field: bool force_path_style = 6; + */ + this.forcePathStyle = false; + /** + * @generated from field: map metadata = 7; + */ + this.metadata = {}; + /** + * @generated from field: string tagging = 8; + */ + this.tagging = ""; + /** + * Content-Disposition header + * + * @generated from field: string content_disposition = 9; + */ + this.contentDisposition = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _S3Upload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _S3Upload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _S3Upload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_S3Upload, a, b); + } +}; +_S3Upload.runtime = proto3; +_S3Upload.typeName = "livekit.S3Upload"; +_S3Upload.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "access_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "secret", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "session_token", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "endpoint", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "force_path_style", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 7, name: "metadata", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 8, + name: "tagging", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "content_disposition", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 10, name: "proxy", kind: "message", T: ProxyConfig } +]); +let S3Upload = _S3Upload; +const _GCPUpload = class _GCPUpload extends Message { + constructor(data) { + super(); + /** + * service account credentials serialized in JSON "credentials.json" + * + * @generated from field: string credentials = 1; + */ + this.credentials = ""; + /** + * @generated from field: string bucket = 2; + */ + this.bucket = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GCPUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GCPUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GCPUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_GCPUpload, a, b); + } +}; +_GCPUpload.runtime = proto3; +_GCPUpload.typeName = "livekit.GCPUpload"; +_GCPUpload.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "credentials", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "proxy", kind: "message", T: ProxyConfig } +]); +let GCPUpload = _GCPUpload; +const _AzureBlobUpload = class _AzureBlobUpload extends Message { + constructor(data) { + super(); + /** + * @generated from field: string account_name = 1; + */ + this.accountName = ""; + /** + * @generated from field: string account_key = 2; + */ + this.accountKey = ""; + /** + * @generated from field: string container_name = 3; + */ + this.containerName = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AzureBlobUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AzureBlobUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AzureBlobUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AzureBlobUpload, a, b); + } +}; +_AzureBlobUpload.runtime = proto3; +_AzureBlobUpload.typeName = "livekit.AzureBlobUpload"; +_AzureBlobUpload.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "account_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "account_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "container_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AzureBlobUpload = _AzureBlobUpload; +const _AliOSSUpload = class _AliOSSUpload extends Message { + constructor(data) { + super(); + /** + * @generated from field: string access_key = 1; + */ + this.accessKey = ""; + /** + * @generated from field: string secret = 2; + */ + this.secret = ""; + /** + * @generated from field: string region = 3; + */ + this.region = ""; + /** + * @generated from field: string endpoint = 4; + */ + this.endpoint = ""; + /** + * @generated from field: string bucket = 5; + */ + this.bucket = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AliOSSUpload().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AliOSSUpload().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AliOSSUpload().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AliOSSUpload, a, b); + } +}; +_AliOSSUpload.runtime = proto3; +_AliOSSUpload.typeName = "livekit.AliOSSUpload"; +_AliOSSUpload.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "access_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "secret", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "endpoint", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "bucket", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AliOSSUpload = _AliOSSUpload; +const _ProxyConfig = class _ProxyConfig extends Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: string username = 2; + */ + this.username = ""; + /** + * @generated from field: string password = 3; + */ + this.password = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ProxyConfig().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ProxyConfig().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ProxyConfig().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ProxyConfig, a, b); + } +}; +_ProxyConfig.runtime = proto3; +_ProxyConfig.typeName = "livekit.ProxyConfig"; +_ProxyConfig.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ProxyConfig = _ProxyConfig; +const _StreamOutput = class _StreamOutput extends Message { + constructor(data) { + super(); + /** + * required + * + * @generated from field: livekit.StreamProtocol protocol = 1; + */ + this.protocol = 0 /* DEFAULT_PROTOCOL */; + /** + * required + * + * @generated from field: repeated string urls = 2; + */ + this.urls = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamOutput().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamOutput().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamOutput().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StreamOutput, a, b); + } +}; +_StreamOutput.runtime = proto3; +_StreamOutput.typeName = "livekit.StreamOutput"; +_StreamOutput.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) }, + { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true } +]); +let StreamOutput = _StreamOutput; +const _EncodingOptions = class _EncodingOptions extends Message { + constructor(data) { + super(); + /** + * (default 1920) + * + * @generated from field: int32 width = 1; + */ + this.width = 0; + /** + * (default 1080) + * + * @generated from field: int32 height = 2; + */ + this.height = 0; + /** + * (default 24) + * + * @generated from field: int32 depth = 3; + */ + this.depth = 0; + /** + * (default 30) + * + * @generated from field: int32 framerate = 4; + */ + this.framerate = 0; + /** + * (default OPUS) + * + * @generated from field: livekit.AudioCodec audio_codec = 5; + */ + this.audioCodec = AudioCodec.DEFAULT_AC; + /** + * (default 128) + * + * @generated from field: int32 audio_bitrate = 6; + */ + this.audioBitrate = 0; + /** + * quality setting on audio encoder + * + * @generated from field: int32 audio_quality = 11; + */ + this.audioQuality = 0; + /** + * (default 44100) + * + * @generated from field: int32 audio_frequency = 7; + */ + this.audioFrequency = 0; + /** + * (default H264_MAIN) + * + * @generated from field: livekit.VideoCodec video_codec = 8; + */ + this.videoCodec = VideoCodec.DEFAULT_VC; + /** + * (default 4500) + * + * @generated from field: int32 video_bitrate = 9; + */ + this.videoBitrate = 0; + /** + * quality setting on video encoder + * + * @generated from field: int32 video_quality = 12; + */ + this.videoQuality = 0; + /** + * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + * + * @generated from field: double key_frame_interval = 10; + */ + this.keyFrameInterval = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_EncodingOptions, a, b); + } +}; +_EncodingOptions.runtime = proto3; +_EncodingOptions.typeName = "livekit.EncodingOptions"; +_EncodingOptions.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "width", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "height", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "depth", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "framerate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, + { + no: 6, + name: "audio_bitrate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 11, + name: "audio_quality", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 7, + name: "audio_frequency", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, + { + no: 9, + name: "video_bitrate", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 12, + name: "video_quality", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 10, + name: "key_frame_interval", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let EncodingOptions = _EncodingOptions; +const _UpdateLayoutRequest = class _UpdateLayoutRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: string layout = 2; + */ + this.layout = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLayoutRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLayoutRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLayoutRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateLayoutRequest, a, b); + } +}; +_UpdateLayoutRequest.runtime = proto3; +_UpdateLayoutRequest.typeName = "livekit.UpdateLayoutRequest"; +_UpdateLayoutRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "layout", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateLayoutRequest = _UpdateLayoutRequest; +const _UpdateStreamRequest = class _UpdateStreamRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: repeated string add_output_urls = 2; + */ + this.addOutputUrls = []; + /** + * @generated from field: repeated string remove_output_urls = 3; + */ + this.removeOutputUrls = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateStreamRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateStreamRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateStreamRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateStreamRequest, a, b); + } +}; +_UpdateStreamRequest.runtime = proto3; +_UpdateStreamRequest.typeName = "livekit.UpdateStreamRequest"; +_UpdateStreamRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true }, + { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true } +]); +let UpdateStreamRequest = _UpdateStreamRequest; +const _ListEgressRequest = class _ListEgressRequest extends Message { + constructor(data) { + super(); + /** + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional, filter by egress ID) + * + * @generated from field: string egress_id = 2; + */ + this.egressId = ""; + /** + * (optional, list active egress only) + * + * @generated from field: bool active = 3; + */ + this.active = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListEgressRequest, a, b); + } +}; +_ListEgressRequest.runtime = proto3; +_ListEgressRequest.typeName = "livekit.ListEgressRequest"; +_ListEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "active", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ListEgressRequest = _ListEgressRequest; +const _ListEgressResponse = class _ListEgressResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.EgressInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListEgressResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListEgressResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListEgressResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListEgressResponse, a, b); + } +}; +_ListEgressResponse.runtime = proto3; +_ListEgressResponse.typeName = "livekit.ListEgressResponse"; +_ListEgressResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true } +]); +let ListEgressResponse = _ListEgressResponse; +const _StopEgressRequest = class _StopEgressRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StopEgressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StopEgressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StopEgressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StopEgressRequest, a, b); + } +}; +_StopEgressRequest.runtime = proto3; +_StopEgressRequest.typeName = "livekit.StopEgressRequest"; +_StopEgressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let StopEgressRequest = _StopEgressRequest; +const _EgressInfo = class _EgressInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string egress_id = 1; + */ + this.egressId = ""; + /** + * @generated from field: string room_id = 2; + */ + this.roomId = ""; + /** + * @generated from field: string room_name = 13; + */ + this.roomName = ""; + /** + * @generated from field: livekit.EgressStatus status = 3; + */ + this.status = 0 /* EGRESS_STARTING */; + /** + * @generated from field: int64 started_at = 10; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 11; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: int64 updated_at = 18; + */ + this.updatedAt = protoInt64.zero; + /** + * @generated from field: string details = 21; + */ + this.details = ""; + /** + * @generated from field: string error = 9; + */ + this.error = ""; + /** + * @generated from field: int32 error_code = 22; + */ + this.errorCode = 0; + /** + * @generated from oneof livekit.EgressInfo.request + */ + this.request = { case: void 0 }; + /** + * deprecated (use _result fields) + * + * @generated from oneof livekit.EgressInfo.result + */ + this.result = { case: void 0 }; + /** + * @generated from field: repeated livekit.StreamInfo stream_results = 15; + */ + this.streamResults = []; + /** + * @generated from field: repeated livekit.FileInfo file_results = 16; + */ + this.fileResults = []; + /** + * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; + */ + this.segmentResults = []; + /** + * @generated from field: repeated livekit.ImagesInfo image_results = 20; + */ + this.imageResults = []; + /** + * @generated from field: string manifest_location = 23; + */ + this.manifestLocation = ""; + /** + * next ID: 26 + * + * @generated from field: bool backup_storage_used = 25; + */ + this.backupStorageUsed = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EgressInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EgressInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EgressInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_EgressInfo, a, b); + } +}; +_EgressInfo.runtime = proto3; +_EgressInfo.typeName = "livekit.EgressInfo"; +_EgressInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "egress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 13, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) }, + { + no: 10, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 18, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 21, + name: "details", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 22, + name: "error_code", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, + { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, + { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, + { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, + { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, + { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, + { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, + { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, + { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, + { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, + { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, + { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, + { + no: 23, + name: "manifest_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 25, + name: "backup_storage_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let EgressInfo = _EgressInfo; +const _StreamInfoList = class _StreamInfoList extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.StreamInfo info = 1; + */ + this.info = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamInfoList().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamInfoList().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamInfoList().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StreamInfoList, a, b); + } +}; +_StreamInfoList.runtime = proto3; +_StreamInfoList.typeName = "livekit.StreamInfoList"; +_StreamInfoList.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true } +]); +let StreamInfoList = _StreamInfoList; +const _StreamInfo = class _StreamInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string url = 1; + */ + this.url = ""; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: int64 duration = 4; + */ + this.duration = protoInt64.zero; + /** + * @generated from field: livekit.StreamInfo.Status status = 5; + */ + this.status = 0 /* ACTIVE */; + /** + * @generated from field: string error = 6; + */ + this.error = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StreamInfo, a, b); + } +}; +_StreamInfo.runtime = proto3; +_StreamInfo.typeName = "livekit.StreamInfo"; +_StreamInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) }, + { + no: 6, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let StreamInfo = _StreamInfo; +var StreamInfo_Status = /* @__PURE__ */ ((StreamInfo_Status2) => { + StreamInfo_Status2[StreamInfo_Status2["ACTIVE"] = 0] = "ACTIVE"; + StreamInfo_Status2[StreamInfo_Status2["FINISHED"] = 1] = "FINISHED"; + StreamInfo_Status2[StreamInfo_Status2["FAILED"] = 2] = "FAILED"; + return StreamInfo_Status2; +})(StreamInfo_Status || {}); +proto3.util.setEnumType(StreamInfo_Status, "livekit.StreamInfo.Status", [ + { no: 0, name: "ACTIVE" }, + { no: 1, name: "FINISHED" }, + { no: 2, name: "FAILED" } +]); +const _FileInfo = class _FileInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string filename = 1; + */ + this.filename = ""; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: int64 duration = 6; + */ + this.duration = protoInt64.zero; + /** + * @generated from field: int64 size = 4; + */ + this.size = protoInt64.zero; + /** + * @generated from field: string location = 5; + */ + this.location = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _FileInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _FileInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _FileInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_FileInfo, a, b); + } +}; +_FileInfo.runtime = proto3; +_FileInfo.typeName = "livekit.FileInfo"; +_FileInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "filename", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "size", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let FileInfo = _FileInfo; +const _SegmentsInfo = class _SegmentsInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string playlist_name = 1; + */ + this.playlistName = ""; + /** + * @generated from field: string live_playlist_name = 8; + */ + this.livePlaylistName = ""; + /** + * @generated from field: int64 duration = 2; + */ + this.duration = protoInt64.zero; + /** + * @generated from field: int64 size = 3; + */ + this.size = protoInt64.zero; + /** + * @generated from field: string playlist_location = 4; + */ + this.playlistLocation = ""; + /** + * @generated from field: string live_playlist_location = 9; + */ + this.livePlaylistLocation = ""; + /** + * @generated from field: int64 segment_count = 5; + */ + this.segmentCount = protoInt64.zero; + /** + * @generated from field: int64 started_at = 6; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 7; + */ + this.endedAt = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SegmentsInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SegmentsInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SegmentsInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SegmentsInfo, a, b); + } +}; +_SegmentsInfo.runtime = proto3; +_SegmentsInfo.typeName = "livekit.SegmentsInfo"; +_SegmentsInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "live_playlist_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "duration", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "size", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "playlist_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "live_playlist_location", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "segment_count", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 7, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let SegmentsInfo = _SegmentsInfo; +const _ImagesInfo = class _ImagesInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string filename_prefix = 4; + */ + this.filenamePrefix = ""; + /** + * @generated from field: int64 image_count = 1; + */ + this.imageCount = protoInt64.zero; + /** + * @generated from field: int64 started_at = 2; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 3; + */ + this.endedAt = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ImagesInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ImagesInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ImagesInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ImagesInfo, a, b); + } +}; +_ImagesInfo.runtime = proto3; +_ImagesInfo.typeName = "livekit.ImagesInfo"; +_ImagesInfo.fields = proto3.util.newFieldList(() => [ + { + no: 4, + name: "filename_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 1, + name: "image_count", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let ImagesInfo = _ImagesInfo; +const _AutoParticipantEgress = class _AutoParticipantEgress extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.AutoParticipantEgress.options + */ + this.options = { case: void 0 }; + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; + */ + this.fileOutputs = []; + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; + */ + this.segmentOutputs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AutoParticipantEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AutoParticipantEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AutoParticipantEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AutoParticipantEgress, a, b); + } +}; +_AutoParticipantEgress.runtime = proto3; +_AutoParticipantEgress.typeName = "livekit.AutoParticipantEgress"; +_AutoParticipantEgress.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true } +]); +let AutoParticipantEgress = _AutoParticipantEgress; +const _AutoTrackEgress = class _AutoTrackEgress extends Message { + constructor(data) { + super(); + /** + * see docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + this.filepath = ""; + /** + * disables upload of json manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + this.disableManifest = false; + /** + * @generated from oneof livekit.AutoTrackEgress.output + */ + this.output = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AutoTrackEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AutoTrackEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AutoTrackEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AutoTrackEgress, a, b); + } +}; +_AutoTrackEgress.runtime = proto3; +_AutoTrackEgress.typeName = "livekit.AutoTrackEgress"; +_AutoTrackEgress.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "filepath", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "disable_manifest", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } +]); +let AutoTrackEgress = _AutoTrackEgress; +export { + AliOSSUpload, + AutoParticipantEgress, + AutoTrackEgress, + AzureBlobUpload, + DirectFileOutput, + EgressInfo, + EgressStatus, + EncodedFileOutput, + EncodedFileType, + EncodingOptions, + EncodingOptionsPreset, + FileInfo, + GCPUpload, + ImageFileSuffix, + ImageOutput, + ImagesInfo, + ListEgressRequest, + ListEgressResponse, + ParticipantEgressRequest, + ProxyConfig, + RoomCompositeEgressRequest, + S3Upload, + SegmentedFileOutput, + SegmentedFileProtocol, + SegmentedFileSuffix, + SegmentsInfo, + StopEgressRequest, + StreamInfo, + StreamInfoList, + StreamInfo_Status, + StreamOutput, + StreamProtocol, + TrackCompositeEgressRequest, + TrackEgressRequest, + UpdateLayoutRequest, + UpdateStreamRequest, + WebEgressRequest +}; +//# sourceMappingURL=livekit_egress_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.js.map b/packages/javascript/dist/gen/livekit_egress_pb.js.map new file mode 100644 index 00000000..77f768da --- /dev/null +++ b/packages/javascript/dist/gen/livekit_egress_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_egress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_egress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, ImageCodec, VideoCodec } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.EncodedFileType\n */\nexport enum EncodedFileType {\n /**\n * file type chosen based on codecs\n *\n * @generated from enum value: DEFAULT_FILETYPE = 0;\n */\n DEFAULT_FILETYPE = 0,\n\n /**\n * @generated from enum value: MP4 = 1;\n */\n MP4 = 1,\n\n /**\n * @generated from enum value: OGG = 2;\n */\n OGG = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodedFileType)\nproto3.util.setEnumType(EncodedFileType, \"livekit.EncodedFileType\", [\n { no: 0, name: \"DEFAULT_FILETYPE\" },\n { no: 1, name: \"MP4\" },\n { no: 2, name: \"OGG\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileProtocol\n */\nexport enum SegmentedFileProtocol {\n /**\n * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;\n */\n DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,\n\n /**\n * @generated from enum value: HLS_PROTOCOL = 1;\n */\n HLS_PROTOCOL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileProtocol)\nproto3.util.setEnumType(SegmentedFileProtocol, \"livekit.SegmentedFileProtocol\", [\n { no: 0, name: \"DEFAULT_SEGMENTED_FILE_PROTOCOL\" },\n { no: 1, name: \"HLS_PROTOCOL\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileSuffix\n */\nexport enum SegmentedFileSuffix {\n /**\n * @generated from enum value: INDEX = 0;\n */\n INDEX = 0,\n\n /**\n * @generated from enum value: TIMESTAMP = 1;\n */\n TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileSuffix)\nproto3.util.setEnumType(SegmentedFileSuffix, \"livekit.SegmentedFileSuffix\", [\n { no: 0, name: \"INDEX\" },\n { no: 1, name: \"TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.ImageFileSuffix\n */\nexport enum ImageFileSuffix {\n /**\n * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;\n */\n IMAGE_SUFFIX_INDEX = 0,\n\n /**\n * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;\n */\n IMAGE_SUFFIX_TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageFileSuffix)\nproto3.util.setEnumType(ImageFileSuffix, \"livekit.ImageFileSuffix\", [\n { no: 0, name: \"IMAGE_SUFFIX_INDEX\" },\n { no: 1, name: \"IMAGE_SUFFIX_TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.StreamProtocol\n */\nexport enum StreamProtocol {\n /**\n * protocol chosen based on urls\n *\n * @generated from enum value: DEFAULT_PROTOCOL = 0;\n */\n DEFAULT_PROTOCOL = 0,\n\n /**\n * @generated from enum value: RTMP = 1;\n */\n RTMP = 1,\n\n /**\n * @generated from enum value: SRT = 2;\n */\n SRT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamProtocol)\nproto3.util.setEnumType(StreamProtocol, \"livekit.StreamProtocol\", [\n { no: 0, name: \"DEFAULT_PROTOCOL\" },\n { no: 1, name: \"RTMP\" },\n { no: 2, name: \"SRT\" },\n]);\n\n/**\n * @generated from enum livekit.EncodingOptionsPreset\n */\nexport enum EncodingOptionsPreset {\n /**\n * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_30 = 0;\n */\n H264_720P_30 = 0,\n\n /**\n * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_60 = 1;\n */\n H264_720P_60 = 1,\n\n /**\n * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_30 = 2;\n */\n H264_1080P_30 = 2,\n\n /**\n * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_60 = 3;\n */\n H264_1080P_60 = 3,\n\n /**\n * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_30 = 4;\n */\n PORTRAIT_H264_720P_30 = 4,\n\n /**\n * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_60 = 5;\n */\n PORTRAIT_H264_720P_60 = 5,\n\n /**\n * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;\n */\n PORTRAIT_H264_1080P_30 = 6,\n\n /**\n * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;\n */\n PORTRAIT_H264_1080P_60 = 7,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodingOptionsPreset)\nproto3.util.setEnumType(EncodingOptionsPreset, \"livekit.EncodingOptionsPreset\", [\n { no: 0, name: \"H264_720P_30\" },\n { no: 1, name: \"H264_720P_60\" },\n { no: 2, name: \"H264_1080P_30\" },\n { no: 3, name: \"H264_1080P_60\" },\n { no: 4, name: \"PORTRAIT_H264_720P_30\" },\n { no: 5, name: \"PORTRAIT_H264_720P_60\" },\n { no: 6, name: \"PORTRAIT_H264_1080P_30\" },\n { no: 7, name: \"PORTRAIT_H264_1080P_60\" },\n]);\n\n/**\n * @generated from enum livekit.EgressStatus\n */\nexport enum EgressStatus {\n /**\n * @generated from enum value: EGRESS_STARTING = 0;\n */\n EGRESS_STARTING = 0,\n\n /**\n * @generated from enum value: EGRESS_ACTIVE = 1;\n */\n EGRESS_ACTIVE = 1,\n\n /**\n * @generated from enum value: EGRESS_ENDING = 2;\n */\n EGRESS_ENDING = 2,\n\n /**\n * @generated from enum value: EGRESS_COMPLETE = 3;\n */\n EGRESS_COMPLETE = 3,\n\n /**\n * @generated from enum value: EGRESS_FAILED = 4;\n */\n EGRESS_FAILED = 4,\n\n /**\n * @generated from enum value: EGRESS_ABORTED = 5;\n */\n EGRESS_ABORTED = 5,\n\n /**\n * @generated from enum value: EGRESS_LIMIT_REACHED = 6;\n */\n EGRESS_LIMIT_REACHED = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EgressStatus)\nproto3.util.setEnumType(EgressStatus, \"livekit.EgressStatus\", [\n { no: 0, name: \"EGRESS_STARTING\" },\n { no: 1, name: \"EGRESS_ACTIVE\" },\n { no: 2, name: \"EGRESS_ENDING\" },\n { no: 3, name: \"EGRESS_COMPLETE\" },\n { no: 4, name: \"EGRESS_FAILED\" },\n { no: 5, name: \"EGRESS_ABORTED\" },\n { no: 6, name: \"EGRESS_LIMIT_REACHED\" },\n]);\n\n/**\n * composite using a web browser\n *\n * @generated from message livekit.RoomCompositeEgressRequest\n */\nexport class RoomCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool audio_only = 3;\n */\n audioOnly = false;\n\n /**\n * (default false)\n *\n * @generated from field: bool video_only = 4;\n */\n videoOnly = false;\n\n /**\n * template base url (default https://recorder.livekit.io)\n *\n * @generated from field: string custom_base_url = 5;\n */\n customBaseUrl = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.RoomCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.RoomCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 8;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 9;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"custom_base_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 10, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 8, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 9, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record any website\n *\n * @generated from message livekit.WebEgressRequest\n */\nexport class WebEgressRequest extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: bool audio_only = 2;\n */\n audioOnly = false;\n\n /**\n * @generated from field: bool video_only = 3;\n */\n videoOnly = false;\n\n /**\n * @generated from field: bool await_start_signal = 12;\n */\n awaitStartSignal = false;\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.WebEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.WebEgressRequest.options\n */\n options: {\n /**\n * @generated from field: livekit.EncodingOptionsPreset preset = 7;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.EncodingOptions advanced = 8;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 13;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"await_start_signal\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 6, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 7, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 8, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 9, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 10, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 11, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 13, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebEgressRequest, a, b);\n }\n}\n\n/**\n * record audio and video from a single participant\n *\n * @generated from message livekit.ParticipantEgressRequest\n */\nexport class ParticipantEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool screen_share = 3;\n */\n screenShare = false;\n\n /**\n * @generated from oneof livekit.ParticipantEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 4;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 5;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 9;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"screen_share\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 5, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 6, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 7, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 8, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 9, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantEgressRequest, a, b);\n }\n}\n\n/**\n * containerize up to one audio and one video track\n *\n * @generated from message livekit.TrackCompositeEgressRequest\n */\nexport class TrackCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string audio_track_id = 2;\n */\n audioTrackId = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string video_track_id = 3;\n */\n videoTrackId = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.TrackCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.TrackCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 6;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 7;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 8, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 6, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 7, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record tracks individually, without transcoding\n *\n * @generated from message livekit.TrackEgressRequest\n */\nexport class TrackEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string track_id = 2;\n */\n trackId = \"\";\n\n /**\n * required\n *\n * @generated from oneof livekit.TrackEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.DirectFileOutput file = 3;\n */\n value: DirectFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: string websocket_url = 4;\n */\n value: string;\n case: \"websocketUrl\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"file\", kind: \"message\", T: DirectFileOutput, oneof: \"output\" },\n { no: 4, name: \"websocket_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodedFileOutput\n */\nexport class EncodedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodedFileType file_type = 1;\n */\n fileType = EncodedFileType.DEFAULT_FILETYPE;\n\n /**\n * see egress docs for templating (default {room_name}-{time})\n *\n * @generated from field: string filepath = 2;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 6;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.EncodedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 3;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 4;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 5;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 7;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_type\", kind: \"enum\", T: proto3.getEnumType(EncodedFileType) },\n { no: 2, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 4, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 5, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 7, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodedFileOutput, a, b);\n }\n}\n\n/**\n * Used to generate HLS segments or other kind of segmented output\n *\n * @generated from message livekit.SegmentedFileOutput\n */\nexport class SegmentedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.SegmentedFileProtocol protocol = 1;\n */\n protocol = SegmentedFileProtocol.DEFAULT_SEGMENTED_FILE_PROTOCOL;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 2;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string playlist_name = 3;\n */\n playlistName = \"\";\n\n /**\n * (optional, disabled if not provided). Path of a live playlist\n *\n * @generated from field: string live_playlist_name = 11;\n */\n livePlaylistName = \"\";\n\n /**\n * in seconds (optional)\n *\n * @generated from field: uint32 segment_duration = 4;\n */\n segmentDuration = 0;\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;\n */\n filenameSuffix = SegmentedFileSuffix.INDEX;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 8;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.SegmentedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 5;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 6;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 7;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 9;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileProtocol) },\n { no: 2, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segment_duration\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileSuffix) },\n { no: 8, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 6, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 7, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 9, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentedFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DirectFileOutput\n */\nexport class DirectFileOutput extends Message {\n /**\n * see egress docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.DirectFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DirectFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(DirectFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImageOutput\n */\nexport class ImageOutput extends Message {\n /**\n * in seconds (required)\n *\n * @generated from field: uint32 capture_interval = 1;\n */\n captureInterval = 0;\n\n /**\n * (optional, defaults to track width)\n *\n * @generated from field: int32 width = 2;\n */\n width = 0;\n\n /**\n * (optional, defaults to track height)\n *\n * @generated from field: int32 height = 3;\n */\n height = 0;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.ImageFileSuffix filename_suffix = 5;\n */\n filenameSuffix = ImageFileSuffix.IMAGE_SUFFIX_INDEX;\n\n /**\n * (optional)\n *\n * @generated from field: livekit.ImageCodec image_codec = 6;\n */\n imageCodec = ImageCodec.IC_DEFAULT;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 7;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.ImageOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 8;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 9;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 10;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 11;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImageOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"capture_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(ImageFileSuffix) },\n { no: 6, name: \"image_codec\", kind: \"enum\", T: proto3.getEnumType(ImageCodec) },\n { no: 7, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 9, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 10, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 11, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput {\n return new ImageOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput {\n return new ImageOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImageOutput {\n return new ImageOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImageOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.S3Upload\n */\nexport class S3Upload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string session_token = 11;\n */\n sessionToken = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n /**\n * @generated from field: bool force_path_style = 6;\n */\n forcePathStyle = false;\n\n /**\n * @generated from field: map metadata = 7;\n */\n metadata: { [key: string]: string } = {};\n\n /**\n * @generated from field: string tagging = 8;\n */\n tagging = \"\";\n\n /**\n * Content-Disposition header\n *\n * @generated from field: string content_disposition = 9;\n */\n contentDisposition = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 10;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.S3Upload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"session_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"force_path_style\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"metadata\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 8, name: \"tagging\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"content_disposition\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload {\n return new S3Upload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload {\n return new S3Upload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): S3Upload {\n return new S3Upload().fromJsonString(jsonString, options);\n }\n\n static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean {\n return proto3.util.equals(S3Upload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GCPUpload\n */\nexport class GCPUpload extends Message {\n /**\n * service account credentials serialized in JSON \"credentials.json\"\n *\n * @generated from field: string credentials = 1;\n */\n credentials = \"\";\n\n /**\n * @generated from field: string bucket = 2;\n */\n bucket = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 3;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GCPUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"credentials\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload {\n return new GCPUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload {\n return new GCPUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GCPUpload {\n return new GCPUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(GCPUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AzureBlobUpload\n */\nexport class AzureBlobUpload extends Message {\n /**\n * @generated from field: string account_name = 1;\n */\n accountName = \"\";\n\n /**\n * @generated from field: string account_key = 2;\n */\n accountKey = \"\";\n\n /**\n * @generated from field: string container_name = 3;\n */\n containerName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AzureBlobUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"account_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"account_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"container_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AzureBlobUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AliOSSUpload\n */\nexport class AliOSSUpload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AliOSSUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AliOSSUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ProxyConfig\n */\nexport class ProxyConfig extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string password = 3;\n */\n password = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ProxyConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ProxyConfig, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamOutput\n */\nexport class StreamOutput extends Message {\n /**\n * required\n *\n * @generated from field: livekit.StreamProtocol protocol = 1;\n */\n protocol = StreamProtocol.DEFAULT_PROTOCOL;\n\n /**\n * required\n *\n * @generated from field: repeated string urls = 2;\n */\n urls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(StreamProtocol) },\n { no: 2, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput {\n return new StreamOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput {\n return new StreamOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamOutput {\n return new StreamOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodingOptions\n */\nexport class EncodingOptions extends Message {\n /**\n * (default 1920)\n *\n * @generated from field: int32 width = 1;\n */\n width = 0;\n\n /**\n * (default 1080)\n *\n * @generated from field: int32 height = 2;\n */\n height = 0;\n\n /**\n * (default 24)\n *\n * @generated from field: int32 depth = 3;\n */\n depth = 0;\n\n /**\n * (default 30)\n *\n * @generated from field: int32 framerate = 4;\n */\n framerate = 0;\n\n /**\n * (default OPUS)\n *\n * @generated from field: livekit.AudioCodec audio_codec = 5;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * (default 128)\n *\n * @generated from field: int32 audio_bitrate = 6;\n */\n audioBitrate = 0;\n\n /**\n * quality setting on audio encoder\n *\n * @generated from field: int32 audio_quality = 11;\n */\n audioQuality = 0;\n\n /**\n * (default 44100)\n *\n * @generated from field: int32 audio_frequency = 7;\n */\n audioFrequency = 0;\n\n /**\n * (default H264_MAIN)\n *\n * @generated from field: livekit.VideoCodec video_codec = 8;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * (default 4500)\n *\n * @generated from field: int32 video_bitrate = 9;\n */\n videoBitrate = 0;\n\n /**\n * quality setting on video encoder\n *\n * @generated from field: int32 video_quality = 12;\n */\n videoQuality = 0;\n\n /**\n * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)\n *\n * @generated from field: double key_frame_interval = 10;\n */\n keyFrameInterval = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"depth\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"framerate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 6, name: \"audio_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"audio_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 7, name: \"audio_frequency\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 8, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 9, name: \"video_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"video_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 10, name: \"key_frame_interval\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLayoutRequest\n */\nexport class UpdateLayoutRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLayoutRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLayoutRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateStreamRequest\n */\nexport class UpdateStreamRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: repeated string add_output_urls = 2;\n */\n addOutputUrls: string[] = [];\n\n /**\n * @generated from field: repeated string remove_output_urls = 3;\n */\n removeOutputUrls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateStreamRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"add_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"remove_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateStreamRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressRequest\n */\nexport class ListEgressRequest extends Message {\n /**\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by egress ID)\n *\n * @generated from field: string egress_id = 2;\n */\n egressId = \"\";\n\n /**\n * (optional, list active egress only)\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressResponse\n */\nexport class ListEgressResponse extends Message {\n /**\n * @generated from field: repeated livekit.EgressInfo items = 1;\n */\n items: EgressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: EgressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StopEgressRequest\n */\nexport class StopEgressRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StopEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(StopEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EgressInfo\n */\nexport class EgressInfo extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string room_id = 2;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 13;\n */\n roomName = \"\";\n\n /**\n * @generated from field: livekit.EgressStatus status = 3;\n */\n status = EgressStatus.EGRESS_STARTING;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 18;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string details = 21;\n */\n details = \"\";\n\n /**\n * @generated from field: string error = 9;\n */\n error = \"\";\n\n /**\n * @generated from field: int32 error_code = 22;\n */\n errorCode = 0;\n\n /**\n * @generated from oneof livekit.EgressInfo.request\n */\n request: {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;\n */\n value: RoomCompositeEgressRequest;\n case: \"roomComposite\";\n } | {\n /**\n * @generated from field: livekit.WebEgressRequest web = 14;\n */\n value: WebEgressRequest;\n case: \"web\";\n } | {\n /**\n * @generated from field: livekit.ParticipantEgressRequest participant = 19;\n */\n value: ParticipantEgressRequest;\n case: \"participant\";\n } | {\n /**\n * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;\n */\n value: TrackCompositeEgressRequest;\n case: \"trackComposite\";\n } | {\n /**\n * @generated from field: livekit.TrackEgressRequest track = 6;\n */\n value: TrackEgressRequest;\n case: \"track\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * deprecated (use _result fields)\n *\n * @generated from oneof livekit.EgressInfo.result\n */\n result: {\n /**\n * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamInfoList;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.FileInfo file = 8 [deprecated = true];\n * @deprecated\n */\n value: FileInfo;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];\n * @deprecated\n */\n value: SegmentsInfo;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.StreamInfo stream_results = 15;\n */\n streamResults: StreamInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.FileInfo file_results = 16;\n */\n fileResults: FileInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentsInfo segment_results = 17;\n */\n segmentResults: SegmentsInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.ImagesInfo image_results = 20;\n */\n imageResults: ImagesInfo[] = [];\n\n /**\n * @generated from field: string manifest_location = 23;\n */\n manifestLocation = \"\";\n\n /**\n * next ID: 26\n *\n * @generated from field: bool backup_storage_used = 25;\n */\n backupStorageUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EgressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"status\", kind: \"enum\", T: proto3.getEnumType(EgressStatus) },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 18, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 21, name: \"details\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 22, name: \"error_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"room_composite\", kind: \"message\", T: RoomCompositeEgressRequest, oneof: \"request\" },\n { no: 14, name: \"web\", kind: \"message\", T: WebEgressRequest, oneof: \"request\" },\n { no: 19, name: \"participant\", kind: \"message\", T: ParticipantEgressRequest, oneof: \"request\" },\n { no: 5, name: \"track_composite\", kind: \"message\", T: TrackCompositeEgressRequest, oneof: \"request\" },\n { no: 6, name: \"track\", kind: \"message\", T: TrackEgressRequest, oneof: \"request\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamInfoList, oneof: \"result\" },\n { no: 8, name: \"file\", kind: \"message\", T: FileInfo, oneof: \"result\" },\n { no: 12, name: \"segments\", kind: \"message\", T: SegmentsInfo, oneof: \"result\" },\n { no: 15, name: \"stream_results\", kind: \"message\", T: StreamInfo, repeated: true },\n { no: 16, name: \"file_results\", kind: \"message\", T: FileInfo, repeated: true },\n { no: 17, name: \"segment_results\", kind: \"message\", T: SegmentsInfo, repeated: true },\n { no: 20, name: \"image_results\", kind: \"message\", T: ImagesInfo, repeated: true },\n { no: 23, name: \"manifest_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 25, name: \"backup_storage_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo {\n return new EgressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo {\n return new EgressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EgressInfo {\n return new EgressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(EgressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfoList\n * @deprecated\n */\nexport class StreamInfoList extends Message {\n /**\n * @generated from field: repeated livekit.StreamInfo info = 1;\n */\n info: StreamInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfoList\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"info\", kind: \"message\", T: StreamInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfoList, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfo\n */\nexport class StreamInfo extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 4;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: livekit.StreamInfo.Status status = 5;\n */\n status = StreamInfo_Status.ACTIVE;\n\n /**\n * @generated from field: string error = 6;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"status\", kind: \"enum\", T: proto3.getEnumType(StreamInfo_Status) },\n { no: 6, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo {\n return new StreamInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo {\n return new StreamInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfo {\n return new StreamInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.StreamInfo.Status\n */\nexport enum StreamInfo_Status {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: FINISHED = 1;\n */\n FINISHED = 1,\n\n /**\n * @generated from enum value: FAILED = 2;\n */\n FAILED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamInfo_Status)\nproto3.util.setEnumType(StreamInfo_Status, \"livekit.StreamInfo.Status\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"FINISHED\" },\n { no: 2, name: \"FAILED\" },\n]);\n\n/**\n * @generated from message livekit.FileInfo\n */\nexport class FileInfo extends Message {\n /**\n * @generated from field: string filename = 1;\n */\n filename = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 6;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 4;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string location = 5;\n */\n location = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.FileInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filename\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo {\n return new FileInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo {\n return new FileInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): FileInfo {\n return new FileInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(FileInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SegmentsInfo\n */\nexport class SegmentsInfo extends Message {\n /**\n * @generated from field: string playlist_name = 1;\n */\n playlistName = \"\";\n\n /**\n * @generated from field: string live_playlist_name = 8;\n */\n livePlaylistName = \"\";\n\n /**\n * @generated from field: int64 duration = 2;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string playlist_location = 4;\n */\n playlistLocation = \"\";\n\n /**\n * @generated from field: string live_playlist_location = 9;\n */\n livePlaylistLocation = \"\";\n\n /**\n * @generated from field: int64 segment_count = 5;\n */\n segmentCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 6;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 7;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentsInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"live_playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"segment_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 7, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentsInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImagesInfo\n */\nexport class ImagesInfo extends Message {\n /**\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * @generated from field: int64 image_count = 1;\n */\n imageCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImagesInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"image_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImagesInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoParticipantEgress\n */\nexport class AutoParticipantEgress extends Message {\n /**\n * @generated from oneof livekit.AutoParticipantEgress.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 1;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 2;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoParticipantEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 2, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 3, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 4, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoParticipantEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoTrackEgress\n */\nexport class AutoTrackEgress extends Message {\n /**\n * see docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disables upload of json manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.AutoTrackEgress.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoTrackEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoTrackEgress, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,YAAY,YAAY,kBAAkB;AAK5C,IAAK,kBAAL,kBAAKA,qBAAL;AAML,EAAAA,kCA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AA,EACjE;AAAA,EAEA,OAAO,OAAO,GAAgE,GAAyE;AACrJ,WAAO,OAAO,KAAK,OAAO,kBAAiB,GAAG,CAAC;AAAA,EACjD;AACF;AA3Ea,iBAiDK,UAAyB;AAjD9B,iBAkDK,WAAW;AAlDhB,iBAmDK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAoB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,WAAW,GAAG,UAAU,OAAO,SAAS;AAAA,EACnE,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,WAAW,OAAO,SAAS;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,iBAAiB,OAAO,SAAS;AAAA,EAC7E,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,cAAc,OAAO,SAAS;AAC7E,CAAC;AA1DI,IAAM,kBAAN;","names":["EncodedFileType","SegmentedFileProtocol","SegmentedFileSuffix","ImageFileSuffix","StreamProtocol","EncodingOptionsPreset","EgressStatus","StreamInfo_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.cjs b/packages/javascript/dist/gen/livekit_ingress_pb.cjs new file mode 100644 index 00000000..1bf86ca5 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.cjs @@ -0,0 +1,1050 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_ingress_pb_exports = {}; +__export(livekit_ingress_pb_exports, { + CreateIngressRequest: () => CreateIngressRequest, + DeleteIngressRequest: () => DeleteIngressRequest, + IngressAudioEncodingOptions: () => IngressAudioEncodingOptions, + IngressAudioEncodingPreset: () => IngressAudioEncodingPreset, + IngressAudioOptions: () => IngressAudioOptions, + IngressInfo: () => IngressInfo, + IngressInput: () => IngressInput, + IngressState: () => IngressState, + IngressState_Status: () => IngressState_Status, + IngressVideoEncodingOptions: () => IngressVideoEncodingOptions, + IngressVideoEncodingPreset: () => IngressVideoEncodingPreset, + IngressVideoOptions: () => IngressVideoOptions, + InputAudioState: () => InputAudioState, + InputVideoState: () => InputVideoState, + ListIngressRequest: () => ListIngressRequest, + ListIngressResponse: () => ListIngressResponse, + UpdateIngressRequest: () => UpdateIngressRequest +}); +module.exports = __toCommonJS(livekit_ingress_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var IngressInput = /* @__PURE__ */ ((IngressInput2) => { + IngressInput2[IngressInput2["RTMP_INPUT"] = 0] = "RTMP_INPUT"; + IngressInput2[IngressInput2["WHIP_INPUT"] = 1] = "WHIP_INPUT"; + IngressInput2[IngressInput2["URL_INPUT"] = 2] = "URL_INPUT"; + return IngressInput2; +})(IngressInput || {}); +import_protobuf.proto3.util.setEnumType(IngressInput, "livekit.IngressInput", [ + { no: 0, name: "RTMP_INPUT" }, + { no: 1, name: "WHIP_INPUT" }, + { no: 2, name: "URL_INPUT" } +]); +var IngressAudioEncodingPreset = /* @__PURE__ */ ((IngressAudioEncodingPreset2) => { + IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_STEREO_96KBPS"] = 0] = "OPUS_STEREO_96KBPS"; + IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_MONO_64KBS"] = 1] = "OPUS_MONO_64KBS"; + return IngressAudioEncodingPreset2; +})(IngressAudioEncodingPreset || {}); +import_protobuf.proto3.util.setEnumType(IngressAudioEncodingPreset, "livekit.IngressAudioEncodingPreset", [ + { no: 0, name: "OPUS_STEREO_96KBPS" }, + { no: 1, name: "OPUS_MONO_64KBS" } +]); +var IngressVideoEncodingPreset = /* @__PURE__ */ ((IngressVideoEncodingPreset2) => { + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS"] = 0] = "H264_720P_30FPS_3_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS"] = 1] = "H264_1080P_30FPS_3_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS"] = 2] = "H264_540P_25FPS_2_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER"] = 3] = "H264_720P_30FPS_1_LAYER"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER"] = 4] = "H264_1080P_30FPS_1_LAYER"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS_HIGH_MOTION"] = 5] = "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"] = 6] = "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS_HIGH_MOTION"] = 7] = "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER_HIGH_MOTION"] = 8] = "H264_720P_30FPS_1_LAYER_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER_HIGH_MOTION"] = 9] = "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"; + return IngressVideoEncodingPreset2; +})(IngressVideoEncodingPreset || {}); +import_protobuf.proto3.util.setEnumType(IngressVideoEncodingPreset, "livekit.IngressVideoEncodingPreset", [ + { no: 0, name: "H264_720P_30FPS_3_LAYERS" }, + { no: 1, name: "H264_1080P_30FPS_3_LAYERS" }, + { no: 2, name: "H264_540P_25FPS_2_LAYERS" }, + { no: 3, name: "H264_720P_30FPS_1_LAYER" }, + { no: 4, name: "H264_1080P_30FPS_1_LAYER" }, + { no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION" }, + { no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION" }, + { no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION" }, + { no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION" }, + { no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION" } +]); +const _CreateIngressRequest = class _CreateIngressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.IngressInput input_type = 1; + */ + this.inputType = 0 /* RTMP_INPUT */; + /** + * Where to pull media from, only for URL input type + * + * @generated from field: string url = 9; + */ + this.url = ""; + /** + * User provided identifier for the ingress + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * room to publish to + * + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * publish as participant + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * name of publishing participant (used for display only) + * + * @generated from field: string participant_name = 5; + */ + this.participantName = ""; + /** + * metadata associated with the publishing participant + * + * @generated from field: string participant_metadata = 10; + */ + this.participantMetadata = ""; + /** + * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. + * + * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + this.bypassTranscoding = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateIngressRequest, a, b); + } +}; +_CreateIngressRequest.runtime = import_protobuf.proto3; +_CreateIngressRequest.typeName = "livekit.CreateIngressRequest"; +_CreateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) }, + { + no: 9, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "bypass_transcoding", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions } +]); +let CreateIngressRequest = _CreateIngressRequest; +const _IngressAudioOptions = class _IngressAudioOptions extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + this.source = import_livekit_models_pb.TrackSource.UNKNOWN; + /** + * @generated from oneof livekit.IngressAudioOptions.encoding_options + */ + this.encodingOptions = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressAudioOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressAudioOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressAudioOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressAudioOptions, a, b); + } +}; +_IngressAudioOptions.runtime = import_protobuf.proto3; +_IngressAudioOptions.typeName = "livekit.IngressAudioOptions"; +_IngressAudioOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" } +]); +let IngressAudioOptions = _IngressAudioOptions; +const _IngressVideoOptions = class _IngressVideoOptions extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + this.source = import_livekit_models_pb.TrackSource.UNKNOWN; + /** + * @generated from oneof livekit.IngressVideoOptions.encoding_options + */ + this.encodingOptions = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressVideoOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressVideoOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressVideoOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressVideoOptions, a, b); + } +}; +_IngressVideoOptions.runtime = import_protobuf.proto3; +_IngressVideoOptions.typeName = "livekit.IngressVideoOptions"; +_IngressVideoOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" } +]); +let IngressVideoOptions = _IngressVideoOptions; +const _IngressAudioEncodingOptions = class _IngressAudioEncodingOptions extends import_protobuf.Message { + constructor(data) { + super(); + /** + * desired audio codec to publish to room + * + * @generated from field: livekit.AudioCodec audio_codec = 1; + */ + this.audioCodec = import_livekit_models_pb.AudioCodec.DEFAULT_AC; + /** + * @generated from field: uint32 bitrate = 2; + */ + this.bitrate = 0; + /** + * @generated from field: bool disable_dtx = 3; + */ + this.disableDtx = false; + /** + * @generated from field: uint32 channels = 4; + */ + this.channels = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressAudioEncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressAudioEncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressAudioEncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressAudioEncodingOptions, a, b); + } +}; +_IngressAudioEncodingOptions.runtime = import_protobuf.proto3; +_IngressAudioEncodingOptions.typeName = "livekit.IngressAudioEncodingOptions"; +_IngressAudioEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "audio_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioCodec) }, + { + no: 2, + name: "bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "channels", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let IngressAudioEncodingOptions = _IngressAudioEncodingOptions; +const _IngressVideoEncodingOptions = class _IngressVideoEncodingOptions extends import_protobuf.Message { + constructor(data) { + super(); + /** + * desired codec to publish to room + * + * @generated from field: livekit.VideoCodec video_codec = 1; + */ + this.videoCodec = import_livekit_models_pb.VideoCodec.DEFAULT_VC; + /** + * @generated from field: double frame_rate = 2; + */ + this.frameRate = 0; + /** + * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions + * + * @generated from field: repeated livekit.VideoLayer layers = 3; + */ + this.layers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressVideoEncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressVideoEncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressVideoEncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressVideoEncodingOptions, a, b); + } +}; +_IngressVideoEncodingOptions.runtime = import_protobuf.proto3; +_IngressVideoEncodingOptions.typeName = "livekit.IngressVideoEncodingOptions"; +_IngressVideoEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "video_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoCodec) }, + { + no: 2, + name: "frame_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { no: 3, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true } +]); +let IngressVideoEncodingOptions = _IngressVideoEncodingOptions; +const _IngressInfo = class _IngressInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string stream_key = 3; + */ + this.streamKey = ""; + /** + * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + * + * @generated from field: string url = 4; + */ + this.url = ""; + /** + * for RTMP input, it'll be a rtmp:// URL + * for FILE input, it'll be a http:// URL + * for SRT input, it'll be a srt:// URL + * + * @generated from field: livekit.IngressInput input_type = 5; + */ + this.inputType = 0 /* RTMP_INPUT */; + /** + * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; + * @deprecated + */ + this.bypassTranscoding = false; + /** + * @generated from field: string room_name = 8; + */ + this.roomName = ""; + /** + * @generated from field: string participant_identity = 9; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_name = 10; + */ + this.participantName = ""; + /** + * @generated from field: string participant_metadata = 14; + */ + this.participantMetadata = ""; + /** + * @generated from field: bool reusable = 11; + */ + this.reusable = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressInfo, a, b); + } +}; +_IngressInfo.runtime = import_protobuf.proto3; +_IngressInfo.typeName = "livekit.IngressInfo"; +_IngressInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "stream_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) }, + { + no: 13, + name: "bypass_transcoding", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 15, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, + { + no: 8, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 14, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "reusable", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 12, name: "state", kind: "message", T: IngressState } +]); +let IngressInfo = _IngressInfo; +const _IngressState = class _IngressState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.IngressState.Status status = 1; + */ + this.status = 0 /* ENDPOINT_INACTIVE */; + /** + * Error/non compliance description if any + * + * @generated from field: string error = 2; + */ + this.error = ""; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 5; + */ + this.roomId = ""; + /** + * @generated from field: int64 started_at = 7; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 8; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 updated_at = 10; + */ + this.updatedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: string resource_id = 9; + */ + this.resourceId = ""; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 6; + */ + this.tracks = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_IngressState, a, b); + } +}; +_IngressState.runtime = import_protobuf.proto3; +_IngressState.typeName = "livekit.IngressState"; +_IngressState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressState_Status) }, + { + no: 2, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "video", kind: "message", T: InputVideoState }, + { no: 4, name: "audio", kind: "message", T: InputAudioState }, + { + no: 5, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 8, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 10, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 9, + name: "resource_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "tracks", kind: "message", T: import_livekit_models_pb.TrackInfo, repeated: true } +]); +let IngressState = _IngressState; +var IngressState_Status = /* @__PURE__ */ ((IngressState_Status2) => { + IngressState_Status2[IngressState_Status2["ENDPOINT_INACTIVE"] = 0] = "ENDPOINT_INACTIVE"; + IngressState_Status2[IngressState_Status2["ENDPOINT_BUFFERING"] = 1] = "ENDPOINT_BUFFERING"; + IngressState_Status2[IngressState_Status2["ENDPOINT_PUBLISHING"] = 2] = "ENDPOINT_PUBLISHING"; + IngressState_Status2[IngressState_Status2["ENDPOINT_ERROR"] = 3] = "ENDPOINT_ERROR"; + IngressState_Status2[IngressState_Status2["ENDPOINT_COMPLETE"] = 4] = "ENDPOINT_COMPLETE"; + return IngressState_Status2; +})(IngressState_Status || {}); +import_protobuf.proto3.util.setEnumType(IngressState_Status, "livekit.IngressState.Status", [ + { no: 0, name: "ENDPOINT_INACTIVE" }, + { no: 1, name: "ENDPOINT_BUFFERING" }, + { no: 2, name: "ENDPOINT_PUBLISHING" }, + { no: 3, name: "ENDPOINT_ERROR" }, + { no: 4, name: "ENDPOINT_COMPLETE" } +]); +const _InputVideoState = class _InputVideoState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + this.averageBitrate = 0; + /** + * @generated from field: uint32 width = 3; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 4; + */ + this.height = 0; + /** + * @generated from field: double framerate = 5; + */ + this.framerate = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _InputVideoState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _InputVideoState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _InputVideoState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_InputVideoState, a, b); + } +}; +_InputVideoState.runtime = import_protobuf.proto3; +_InputVideoState.typeName = "livekit.InputVideoState"; +_InputVideoState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "average_bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "framerate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let InputVideoState = _InputVideoState; +const _InputAudioState = class _InputAudioState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + this.averageBitrate = 0; + /** + * @generated from field: uint32 channels = 3; + */ + this.channels = 0; + /** + * @generated from field: uint32 sample_rate = 4; + */ + this.sampleRate = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _InputAudioState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _InputAudioState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _InputAudioState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_InputAudioState, a, b); + } +}; +_InputAudioState.runtime = import_protobuf.proto3; +_InputAudioState.typeName = "livekit.InputAudioState"; +_InputAudioState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "average_bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "channels", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "sample_rate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let InputAudioState = _InputAudioState; +const _UpdateIngressRequest = class _UpdateIngressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_name = 5; + */ + this.participantName = ""; + /** + * @generated from field: string participant_metadata = 9; + */ + this.participantMetadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateIngressRequest, a, b); + } +}; +_UpdateIngressRequest.runtime = import_protobuf.proto3; +_UpdateIngressRequest.typeName = "livekit.UpdateIngressRequest"; +_UpdateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions } +]); +let UpdateIngressRequest = _UpdateIngressRequest; +const _ListIngressRequest = class _ListIngressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * when blank, lists all ingress endpoints + * + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional, filter by ingress ID) + * + * @generated from field: string ingress_id = 2; + */ + this.ingressId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListIngressRequest, a, b); + } +}; +_ListIngressRequest.runtime = import_protobuf.proto3; +_ListIngressRequest.typeName = "livekit.ListIngressRequest"; +_ListIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListIngressRequest = _ListIngressRequest; +const _ListIngressResponse = class _ListIngressResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.IngressInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListIngressResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListIngressResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListIngressResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListIngressResponse, a, b); + } +}; +_ListIngressResponse.runtime = import_protobuf.proto3; +_ListIngressResponse.typeName = "livekit.ListIngressResponse"; +_ListIngressResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true } +]); +let ListIngressResponse = _ListIngressResponse; +const _DeleteIngressRequest = class _DeleteIngressRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteIngressRequest, a, b); + } +}; +_DeleteIngressRequest.runtime = import_protobuf.proto3; +_DeleteIngressRequest.typeName = "livekit.DeleteIngressRequest"; +_DeleteIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteIngressRequest = _DeleteIngressRequest; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + CreateIngressRequest, + DeleteIngressRequest, + IngressAudioEncodingOptions, + IngressAudioEncodingPreset, + IngressAudioOptions, + IngressInfo, + IngressInput, + IngressState, + IngressState_Status, + IngressVideoEncodingOptions, + IngressVideoEncodingPreset, + IngressVideoOptions, + InputAudioState, + InputVideoState, + ListIngressRequest, + ListIngressResponse, + UpdateIngressRequest +}); +//# sourceMappingURL=livekit_ingress_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map b/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map new file mode 100644 index 00000000..32f66209 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_ingress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_ingress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.IngressInput\n */\nexport enum IngressInput {\n /**\n * @generated from enum value: RTMP_INPUT = 0;\n */\n RTMP_INPUT = 0,\n\n /**\n * @generated from enum value: WHIP_INPUT = 1;\n */\n WHIP_INPUT = 1,\n\n /**\n * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream\n *\n * @generated from enum value: URL_INPUT = 2;\n */\n URL_INPUT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressInput)\nproto3.util.setEnumType(IngressInput, \"livekit.IngressInput\", [\n { no: 0, name: \"RTMP_INPUT\" },\n { no: 1, name: \"WHIP_INPUT\" },\n { no: 2, name: \"URL_INPUT\" },\n]);\n\n/**\n * @generated from enum livekit.IngressAudioEncodingPreset\n */\nexport enum IngressAudioEncodingPreset {\n /**\n * OPUS, 2 channels, 96kbps\n *\n * @generated from enum value: OPUS_STEREO_96KBPS = 0;\n */\n OPUS_STEREO_96KBPS = 0,\n\n /**\n * OPUS, 1 channel, 64kbps\n *\n * @generated from enum value: OPUS_MONO_64KBS = 1;\n */\n OPUS_MONO_64KBS = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressAudioEncodingPreset)\nproto3.util.setEnumType(IngressAudioEncodingPreset, \"livekit.IngressAudioEncodingPreset\", [\n { no: 0, name: \"OPUS_STEREO_96KBPS\" },\n { no: 1, name: \"OPUS_MONO_64KBS\" },\n]);\n\n/**\n * @generated from enum livekit.IngressVideoEncodingPreset\n */\nexport enum IngressVideoEncodingPreset {\n /**\n * 1280x720, 30fps, 1900kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;\n */\n H264_720P_30FPS_3_LAYERS = 0,\n\n /**\n * 1980x1080, 30fps, 3500kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;\n */\n H264_1080P_30FPS_3_LAYERS = 1,\n\n /**\n * 960x540, 25fps, 1000kbps main layer, 2 layers total\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;\n */\n H264_540P_25FPS_2_LAYERS = 2,\n\n /**\n * 1280x720, 30fps, 1900kbps, no simulcast\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;\n */\n H264_720P_30FPS_1_LAYER = 3,\n\n /**\n * 1980x1080, 30fps, 3500kbps, no simulcast\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;\n */\n H264_1080P_30FPS_1_LAYER = 4,\n\n /**\n * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;\n */\n H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,\n\n /**\n * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;\n */\n H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,\n\n /**\n * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;\n */\n H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,\n\n /**\n * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;\n */\n H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,\n\n /**\n * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;\n */\n H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressVideoEncodingPreset)\nproto3.util.setEnumType(IngressVideoEncodingPreset, \"livekit.IngressVideoEncodingPreset\", [\n { no: 0, name: \"H264_720P_30FPS_3_LAYERS\" },\n { no: 1, name: \"H264_1080P_30FPS_3_LAYERS\" },\n { no: 2, name: \"H264_540P_25FPS_2_LAYERS\" },\n { no: 3, name: \"H264_720P_30FPS_1_LAYER\" },\n { no: 4, name: \"H264_1080P_30FPS_1_LAYER\" },\n { no: 5, name: \"H264_720P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 6, name: \"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 7, name: \"H264_540P_25FPS_2_LAYERS_HIGH_MOTION\" },\n { no: 8, name: \"H264_720P_30FPS_1_LAYER_HIGH_MOTION\" },\n { no: 9, name: \"H264_1080P_30FPS_1_LAYER_HIGH_MOTION\" },\n]);\n\n/**\n * @generated from message livekit.CreateIngressRequest\n */\nexport class CreateIngressRequest extends Message {\n /**\n * @generated from field: livekit.IngressInput input_type = 1;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * Where to pull media from, only for URL input type\n *\n * @generated from field: string url = 9;\n */\n url = \"\";\n\n /**\n * User provided identifier for the ingress\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * room to publish to\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * publish as participant\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * name of publishing participant (used for display only)\n *\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * metadata associated with the publishing participant\n *\n * @generated from field: string participant_metadata = 10;\n */\n participantMetadata = \"\";\n\n /**\n * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.\n *\n * @generated from field: bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. \n *\n * @generated from field: optional bool enable_transcoding = 11;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 9, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioOptions\n */\nexport class IngressAudioOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressAudioOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;\n */\n value: IngressAudioEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressAudioEncodingOptions options = 4;\n */\n value: IngressAudioEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressAudioEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoOptions\n */\nexport class IngressVideoOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressVideoOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;\n */\n value: IngressVideoEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressVideoEncodingOptions options = 4;\n */\n value: IngressVideoEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressVideoEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioEncodingOptions\n */\nexport class IngressAudioEncodingOptions extends Message {\n /**\n * desired audio codec to publish to room\n *\n * @generated from field: livekit.AudioCodec audio_codec = 1;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * @generated from field: uint32 bitrate = 2;\n */\n bitrate = 0;\n\n /**\n * @generated from field: bool disable_dtx = 3;\n */\n disableDtx = false;\n\n /**\n * @generated from field: uint32 channels = 4;\n */\n channels = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 2, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoEncodingOptions\n */\nexport class IngressVideoEncodingOptions extends Message {\n /**\n * desired codec to publish to room\n *\n * @generated from field: livekit.VideoCodec video_codec = 1;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * @generated from field: double frame_rate = 2;\n */\n frameRate = 0;\n\n /**\n * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions\n *\n * @generated from field: repeated livekit.VideoLayer layers = 3;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 2, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 3, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressInfo\n */\nexport class IngressInfo extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string stream_key = 3;\n */\n streamKey = \"\";\n\n /**\n * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)\n *\n * @generated from field: string url = 4;\n */\n url = \"\";\n\n /**\n * for RTMP input, it'll be a rtmp:// URL\n * for FILE input, it'll be a http:// URL\n * for SRT input, it'll be a srt:// URL\n *\n * @generated from field: livekit.IngressInput input_type = 5;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * @generated from field: bool bypass_transcoding = 13 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * @generated from field: optional bool enable_transcoding = 15;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n /**\n * @generated from field: string room_name = 8;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 9;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 10;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 14;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: bool reusable = 11;\n */\n reusable = false;\n\n /**\n * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)\n *\n * @generated from field: livekit.IngressState state = 12;\n */\n state?: IngressState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"stream_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 13, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n { no: 8, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"reusable\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"state\", kind: \"message\", T: IngressState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo {\n return new IngressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo {\n return new IngressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressInfo {\n return new IngressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressState\n */\nexport class IngressState extends Message {\n /**\n * @generated from field: livekit.IngressState.Status status = 1;\n */\n status = IngressState_Status.ENDPOINT_INACTIVE;\n\n /**\n * Error/non compliance description if any\n *\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.InputVideoState video = 3;\n */\n video?: InputVideoState;\n\n /**\n * @generated from field: livekit.InputAudioState audio = 4;\n */\n audio?: InputAudioState;\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: int64 started_at = 7;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 8;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 10;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string resource_id = 9;\n */\n resourceId = \"\";\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 6;\n */\n tracks: TrackInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(IngressState_Status) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video\", kind: \"message\", T: InputVideoState },\n { no: 4, name: \"audio\", kind: \"message\", T: InputAudioState },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"resource_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressState {\n return new IngressState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressState {\n return new IngressState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressState {\n return new IngressState().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressState, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.IngressState.Status\n */\nexport enum IngressState_Status {\n /**\n * @generated from enum value: ENDPOINT_INACTIVE = 0;\n */\n ENDPOINT_INACTIVE = 0,\n\n /**\n * @generated from enum value: ENDPOINT_BUFFERING = 1;\n */\n ENDPOINT_BUFFERING = 1,\n\n /**\n * @generated from enum value: ENDPOINT_PUBLISHING = 2;\n */\n ENDPOINT_PUBLISHING = 2,\n\n /**\n * @generated from enum value: ENDPOINT_ERROR = 3;\n */\n ENDPOINT_ERROR = 3,\n\n /**\n * @generated from enum value: ENDPOINT_COMPLETE = 4;\n */\n ENDPOINT_COMPLETE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressState_Status)\nproto3.util.setEnumType(IngressState_Status, \"livekit.IngressState.Status\", [\n { no: 0, name: \"ENDPOINT_INACTIVE\" },\n { no: 1, name: \"ENDPOINT_BUFFERING\" },\n { no: 2, name: \"ENDPOINT_PUBLISHING\" },\n { no: 3, name: \"ENDPOINT_ERROR\" },\n { no: 4, name: \"ENDPOINT_COMPLETE\" },\n]);\n\n/**\n * @generated from message livekit.InputVideoState\n */\nexport class InputVideoState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 width = 3;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 4;\n */\n height = 0;\n\n /**\n * @generated from field: double framerate = 5;\n */\n framerate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputVideoState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"framerate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState {\n return new InputVideoState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState {\n return new InputVideoState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputVideoState {\n return new InputVideoState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputVideoState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.InputAudioState\n */\nexport class InputAudioState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 channels = 3;\n */\n channels = 0;\n\n /**\n * @generated from field: uint32 sample_rate = 4;\n */\n sampleRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputAudioState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"sample_rate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState {\n return new InputAudioState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState {\n return new InputAudioState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputAudioState {\n return new InputAudioState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputAudioState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateIngressRequest\n */\nexport class UpdateIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 9;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding?: boolean;\n\n /**\n * @generated from field: optional bool enable_transcoding = 10;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 10, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressRequest\n */\nexport class ListIngressRequest extends Message {\n /**\n * when blank, lists all ingress endpoints\n *\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by ingress ID)\n *\n * @generated from field: string ingress_id = 2;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressResponse\n */\nexport class ListIngressResponse extends Message {\n /**\n * @generated from field: repeated livekit.IngressInfo items = 1;\n */\n items: IngressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: IngressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteIngressRequest\n */\nexport class DeleteIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteIngressRequest, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAA2E;AAKpE,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA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YAAY,OAAO;AAAA,EACtE;AAAA,EAEA,OAAO,OAAO,GAA0E,GAAmF;AACzK,WAAO,uBAAO,KAAK,OAAO,uBAAsB,GAAG,CAAC;AAAA,EACtD;AACF;AAhCa,sBAWK,UAAyB;AAX9B,sBAYK,WAAW;AAZhB,sBAaK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC5E,CAAC;AAfI,IAAM,uBAAN;","names":["IngressInput","IngressAudioEncodingPreset","IngressVideoEncodingPreset","IngressState_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts new file mode 100644 index 00000000..52478b97 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts @@ -0,0 +1,660 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; +/** + * @generated from enum livekit.IngressInput + */ +export declare enum IngressInput { + /** + * @generated from enum value: RTMP_INPUT = 0; + */ + RTMP_INPUT = 0, + /** + * @generated from enum value: WHIP_INPUT = 1; + */ + WHIP_INPUT = 1, + /** + * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream + * + * @generated from enum value: URL_INPUT = 2; + */ + URL_INPUT = 2 +} +/** + * @generated from enum livekit.IngressAudioEncodingPreset + */ +export declare enum IngressAudioEncodingPreset { + /** + * OPUS, 2 channels, 96kbps + * + * @generated from enum value: OPUS_STEREO_96KBPS = 0; + */ + OPUS_STEREO_96KBPS = 0, + /** + * OPUS, 1 channel, 64kbps + * + * @generated from enum value: OPUS_MONO_64KBS = 1; + */ + OPUS_MONO_64KBS = 1 +} +/** + * @generated from enum livekit.IngressVideoEncodingPreset + */ +export declare enum IngressVideoEncodingPreset { + /** + * 1280x720, 30fps, 1900kbps main layer, 3 layers total + * + * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0; + */ + H264_720P_30FPS_3_LAYERS = 0, + /** + * 1980x1080, 30fps, 3500kbps main layer, 3 layers total + * + * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1; + */ + H264_1080P_30FPS_3_LAYERS = 1, + /** + * 960x540, 25fps, 1000kbps main layer, 2 layers total + * + * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2; + */ + H264_540P_25FPS_2_LAYERS = 2, + /** + * 1280x720, 30fps, 1900kbps, no simulcast + * + * @generated from enum value: H264_720P_30FPS_1_LAYER = 3; + */ + H264_720P_30FPS_1_LAYER = 3, + /** + * 1980x1080, 30fps, 3500kbps, no simulcast + * + * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4; + */ + H264_1080P_30FPS_1_LAYER = 4, + /** + * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5; + */ + H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5, + /** + * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6; + */ + H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6, + /** + * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7; + */ + H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7, + /** + * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8; + */ + H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8, + /** + * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9; + */ + H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9 +} +/** + * @generated from message livekit.CreateIngressRequest + */ +export declare class CreateIngressRequest extends Message { + /** + * @generated from field: livekit.IngressInput input_type = 1; + */ + inputType: IngressInput; + /** + * Where to pull media from, only for URL input type + * + * @generated from field: string url = 9; + */ + url: string; + /** + * User provided identifier for the ingress + * + * @generated from field: string name = 2; + */ + name: string; + /** + * room to publish to + * + * @generated from field: string room_name = 3; + */ + roomName: string; + /** + * publish as participant + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + /** + * name of publishing participant (used for display only) + * + * @generated from field: string participant_name = 5; + */ + participantName: string; + /** + * metadata associated with the publishing participant + * + * @generated from field: string participant_metadata = 10; + */ + participantMetadata: string; + /** + * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. + * + * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + bypassTranscoding: boolean; + /** + * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. + * + * @generated from field: optional bool enable_transcoding = 11; + */ + enableTranscoding?: boolean; + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateIngressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest; + static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressAudioOptions + */ +export declare class IngressAudioOptions extends Message { + /** + * @generated from field: string name = 1; + */ + name: string; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + source: TrackSource; + /** + * @generated from oneof livekit.IngressAudioOptions.encoding_options + */ + encodingOptions: { + /** + * @generated from field: livekit.IngressAudioEncodingPreset preset = 3; + */ + value: IngressAudioEncodingPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.IngressAudioEncodingOptions options = 4; + */ + value: IngressAudioEncodingOptions; + case: "options"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressAudioOptions"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions; + static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions; + static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressVideoOptions + */ +export declare class IngressVideoOptions extends Message { + /** + * @generated from field: string name = 1; + */ + name: string; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + source: TrackSource; + /** + * @generated from oneof livekit.IngressVideoOptions.encoding_options + */ + encodingOptions: { + /** + * @generated from field: livekit.IngressVideoEncodingPreset preset = 3; + */ + value: IngressVideoEncodingPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.IngressVideoEncodingOptions options = 4; + */ + value: IngressVideoEncodingOptions; + case: "options"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressVideoOptions"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions; + static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions; + static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressAudioEncodingOptions + */ +export declare class IngressAudioEncodingOptions extends Message { + /** + * desired audio codec to publish to room + * + * @generated from field: livekit.AudioCodec audio_codec = 1; + */ + audioCodec: AudioCodec; + /** + * @generated from field: uint32 bitrate = 2; + */ + bitrate: number; + /** + * @generated from field: bool disable_dtx = 3; + */ + disableDtx: boolean; + /** + * @generated from field: uint32 channels = 4; + */ + channels: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressAudioEncodingOptions"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions; + static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions; + static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressVideoEncodingOptions + */ +export declare class IngressVideoEncodingOptions extends Message { + /** + * desired codec to publish to room + * + * @generated from field: livekit.VideoCodec video_codec = 1; + */ + videoCodec: VideoCodec; + /** + * @generated from field: double frame_rate = 2; + */ + frameRate: number; + /** + * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions + * + * @generated from field: repeated livekit.VideoLayer layers = 3; + */ + layers: VideoLayer[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressVideoEncodingOptions"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions; + static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions; + static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressInfo + */ +export declare class IngressInfo extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * @generated from field: string stream_key = 3; + */ + streamKey: string; + /** + * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + * + * @generated from field: string url = 4; + */ + url: string; + /** + * for RTMP input, it'll be a rtmp:// URL + * for FILE input, it'll be a http:// URL + * for SRT input, it'll be a srt:// URL + * + * @generated from field: livekit.IngressInput input_type = 5; + */ + inputType: IngressInput; + /** + * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; + * @deprecated + */ + bypassTranscoding: boolean; + /** + * @generated from field: optional bool enable_transcoding = 15; + */ + enableTranscoding?: boolean; + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + /** + * @generated from field: string room_name = 8; + */ + roomName: string; + /** + * @generated from field: string participant_identity = 9; + */ + participantIdentity: string; + /** + * @generated from field: string participant_name = 10; + */ + participantName: string; + /** + * @generated from field: string participant_metadata = 14; + */ + participantMetadata: string; + /** + * @generated from field: bool reusable = 11; + */ + reusable: boolean; + /** + * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) + * + * @generated from field: livekit.IngressState state = 12; + */ + state?: IngressState; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo; + static fromJsonString(jsonString: string, options?: Partial): IngressInfo; + static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.IngressState + */ +export declare class IngressState extends Message { + /** + * @generated from field: livekit.IngressState.Status status = 1; + */ + status: IngressState_Status; + /** + * Error/non compliance description if any + * + * @generated from field: string error = 2; + */ + error: string; + /** + * @generated from field: livekit.InputVideoState video = 3; + */ + video?: InputVideoState; + /** + * @generated from field: livekit.InputAudioState audio = 4; + */ + audio?: InputAudioState; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 5; + */ + roomId: string; + /** + * @generated from field: int64 started_at = 7; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 8; + */ + endedAt: bigint; + /** + * @generated from field: int64 updated_at = 10; + */ + updatedAt: bigint; + /** + * @generated from field: string resource_id = 9; + */ + resourceId: string; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 6; + */ + tracks: TrackInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): IngressState; + static fromJson(jsonValue: JsonValue, options?: Partial): IngressState; + static fromJsonString(jsonString: string, options?: Partial): IngressState; + static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.IngressState.Status + */ +export declare enum IngressState_Status { + /** + * @generated from enum value: ENDPOINT_INACTIVE = 0; + */ + ENDPOINT_INACTIVE = 0, + /** + * @generated from enum value: ENDPOINT_BUFFERING = 1; + */ + ENDPOINT_BUFFERING = 1, + /** + * @generated from enum value: ENDPOINT_PUBLISHING = 2; + */ + ENDPOINT_PUBLISHING = 2, + /** + * @generated from enum value: ENDPOINT_ERROR = 3; + */ + ENDPOINT_ERROR = 3, + /** + * @generated from enum value: ENDPOINT_COMPLETE = 4; + */ + ENDPOINT_COMPLETE = 4 +} +/** + * @generated from message livekit.InputVideoState + */ +export declare class InputVideoState extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + averageBitrate: number; + /** + * @generated from field: uint32 width = 3; + */ + width: number; + /** + * @generated from field: uint32 height = 4; + */ + height: number; + /** + * @generated from field: double framerate = 5; + */ + framerate: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.InputVideoState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState; + static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState; + static fromJsonString(jsonString: string, options?: Partial): InputVideoState; + static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.InputAudioState + */ +export declare class InputAudioState extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + averageBitrate: number; + /** + * @generated from field: uint32 channels = 3; + */ + channels: number; + /** + * @generated from field: uint32 sample_rate = 4; + */ + sampleRate: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.InputAudioState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState; + static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState; + static fromJsonString(jsonString: string, options?: Partial): InputAudioState; + static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateIngressRequest + */ +export declare class UpdateIngressRequest extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + /** + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + /** + * @generated from field: string participant_name = 5; + */ + participantName: string; + /** + * @generated from field: string participant_metadata = 9; + */ + participantMetadata: string; + /** + * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + bypassTranscoding?: boolean; + /** + * @generated from field: optional bool enable_transcoding = 10; + */ + enableTranscoding?: boolean; + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateIngressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest; + static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListIngressRequest + */ +export declare class ListIngressRequest extends Message { + /** + * when blank, lists all ingress endpoints + * + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * (optional, filter by ingress ID) + * + * @generated from field: string ingress_id = 2; + */ + ingressId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListIngressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest; + static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest; + static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListIngressResponse + */ +export declare class ListIngressResponse extends Message { + /** + * @generated from field: repeated livekit.IngressInfo items = 1; + */ + items: IngressInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListIngressResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse; + static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse; + static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteIngressRequest + */ +export declare class DeleteIngressRequest extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteIngressRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest; + static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest; + static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_ingress_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map new file mode 100644 index 00000000..404d6ad9 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_ingress_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_ingress_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpG;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,UAAU,IAAI;IAEd;;;;OAIG;IACH,SAAS,IAAI;CACd;AAQD;;GAEG;AACH,oBAAY,0BAA0B;IACpC;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,eAAe,IAAI;CACpB;AAOD;;GAEG;AACH,oBAAY,0BAA0B;IACpC;;;;OAIG;IACH,wBAAwB,IAAI;IAE5B;;;;OAIG;IACH,yBAAyB,IAAI;IAE7B;;;;OAIG;IACH,wBAAwB,IAAI;IAE5B;;;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,CAAC,GAAG,oBAAoB;IAIhG,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,oBAAoB;IAI/F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,oBAAoB;IAInG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3K"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.js b/packages/javascript/dist/gen/livekit_ingress_pb.js new file mode 100644 index 00000000..e1216ac1 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.js @@ -0,0 +1,1011 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; +var IngressInput = /* @__PURE__ */ ((IngressInput2) => { + IngressInput2[IngressInput2["RTMP_INPUT"] = 0] = "RTMP_INPUT"; + IngressInput2[IngressInput2["WHIP_INPUT"] = 1] = "WHIP_INPUT"; + IngressInput2[IngressInput2["URL_INPUT"] = 2] = "URL_INPUT"; + return IngressInput2; +})(IngressInput || {}); +proto3.util.setEnumType(IngressInput, "livekit.IngressInput", [ + { no: 0, name: "RTMP_INPUT" }, + { no: 1, name: "WHIP_INPUT" }, + { no: 2, name: "URL_INPUT" } +]); +var IngressAudioEncodingPreset = /* @__PURE__ */ ((IngressAudioEncodingPreset2) => { + IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_STEREO_96KBPS"] = 0] = "OPUS_STEREO_96KBPS"; + IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_MONO_64KBS"] = 1] = "OPUS_MONO_64KBS"; + return IngressAudioEncodingPreset2; +})(IngressAudioEncodingPreset || {}); +proto3.util.setEnumType(IngressAudioEncodingPreset, "livekit.IngressAudioEncodingPreset", [ + { no: 0, name: "OPUS_STEREO_96KBPS" }, + { no: 1, name: "OPUS_MONO_64KBS" } +]); +var IngressVideoEncodingPreset = /* @__PURE__ */ ((IngressVideoEncodingPreset2) => { + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS"] = 0] = "H264_720P_30FPS_3_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS"] = 1] = "H264_1080P_30FPS_3_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS"] = 2] = "H264_540P_25FPS_2_LAYERS"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER"] = 3] = "H264_720P_30FPS_1_LAYER"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER"] = 4] = "H264_1080P_30FPS_1_LAYER"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS_HIGH_MOTION"] = 5] = "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"] = 6] = "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS_HIGH_MOTION"] = 7] = "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER_HIGH_MOTION"] = 8] = "H264_720P_30FPS_1_LAYER_HIGH_MOTION"; + IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER_HIGH_MOTION"] = 9] = "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"; + return IngressVideoEncodingPreset2; +})(IngressVideoEncodingPreset || {}); +proto3.util.setEnumType(IngressVideoEncodingPreset, "livekit.IngressVideoEncodingPreset", [ + { no: 0, name: "H264_720P_30FPS_3_LAYERS" }, + { no: 1, name: "H264_1080P_30FPS_3_LAYERS" }, + { no: 2, name: "H264_540P_25FPS_2_LAYERS" }, + { no: 3, name: "H264_720P_30FPS_1_LAYER" }, + { no: 4, name: "H264_1080P_30FPS_1_LAYER" }, + { no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION" }, + { no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION" }, + { no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION" }, + { no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION" }, + { no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION" } +]); +const _CreateIngressRequest = class _CreateIngressRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.IngressInput input_type = 1; + */ + this.inputType = 0 /* RTMP_INPUT */; + /** + * Where to pull media from, only for URL input type + * + * @generated from field: string url = 9; + */ + this.url = ""; + /** + * User provided identifier for the ingress + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * room to publish to + * + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * publish as participant + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * name of publishing participant (used for display only) + * + * @generated from field: string participant_name = 5; + */ + this.participantName = ""; + /** + * metadata associated with the publishing participant + * + * @generated from field: string participant_metadata = 10; + */ + this.participantMetadata = ""; + /** + * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. + * + * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + this.bypassTranscoding = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateIngressRequest, a, b); + } +}; +_CreateIngressRequest.runtime = proto3; +_CreateIngressRequest.typeName = "livekit.CreateIngressRequest"; +_CreateIngressRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, + { + no: 9, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "bypass_transcoding", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions } +]); +let CreateIngressRequest = _CreateIngressRequest; +const _IngressAudioOptions = class _IngressAudioOptions extends Message { + constructor(data) { + super(); + /** + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + this.source = TrackSource.UNKNOWN; + /** + * @generated from oneof livekit.IngressAudioOptions.encoding_options + */ + this.encodingOptions = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressAudioOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressAudioOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressAudioOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressAudioOptions, a, b); + } +}; +_IngressAudioOptions.runtime = proto3; +_IngressAudioOptions.typeName = "livekit.IngressAudioOptions"; +_IngressAudioOptions.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" } +]); +let IngressAudioOptions = _IngressAudioOptions; +const _IngressVideoOptions = class _IngressVideoOptions extends Message { + constructor(data) { + super(); + /** + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackSource source = 2; + */ + this.source = TrackSource.UNKNOWN; + /** + * @generated from oneof livekit.IngressVideoOptions.encoding_options + */ + this.encodingOptions = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressVideoOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressVideoOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressVideoOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressVideoOptions, a, b); + } +}; +_IngressVideoOptions.runtime = proto3; +_IngressVideoOptions.typeName = "livekit.IngressVideoOptions"; +_IngressVideoOptions.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" } +]); +let IngressVideoOptions = _IngressVideoOptions; +const _IngressAudioEncodingOptions = class _IngressAudioEncodingOptions extends Message { + constructor(data) { + super(); + /** + * desired audio codec to publish to room + * + * @generated from field: livekit.AudioCodec audio_codec = 1; + */ + this.audioCodec = AudioCodec.DEFAULT_AC; + /** + * @generated from field: uint32 bitrate = 2; + */ + this.bitrate = 0; + /** + * @generated from field: bool disable_dtx = 3; + */ + this.disableDtx = false; + /** + * @generated from field: uint32 channels = 4; + */ + this.channels = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressAudioEncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressAudioEncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressAudioEncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressAudioEncodingOptions, a, b); + } +}; +_IngressAudioEncodingOptions.runtime = proto3; +_IngressAudioEncodingOptions.typeName = "livekit.IngressAudioEncodingOptions"; +_IngressAudioEncodingOptions.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, + { + no: 2, + name: "bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 4, + name: "channels", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let IngressAudioEncodingOptions = _IngressAudioEncodingOptions; +const _IngressVideoEncodingOptions = class _IngressVideoEncodingOptions extends Message { + constructor(data) { + super(); + /** + * desired codec to publish to room + * + * @generated from field: livekit.VideoCodec video_codec = 1; + */ + this.videoCodec = VideoCodec.DEFAULT_VC; + /** + * @generated from field: double frame_rate = 2; + */ + this.frameRate = 0; + /** + * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions + * + * @generated from field: repeated livekit.VideoLayer layers = 3; + */ + this.layers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressVideoEncodingOptions().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressVideoEncodingOptions().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressVideoEncodingOptions().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressVideoEncodingOptions, a, b); + } +}; +_IngressVideoEncodingOptions.runtime = proto3; +_IngressVideoEncodingOptions.typeName = "livekit.IngressVideoEncodingOptions"; +_IngressVideoEncodingOptions.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, + { + no: 2, + name: "frame_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { no: 3, name: "layers", kind: "message", T: VideoLayer, repeated: true } +]); +let IngressVideoEncodingOptions = _IngressVideoEncodingOptions; +const _IngressInfo = class _IngressInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string stream_key = 3; + */ + this.streamKey = ""; + /** + * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + * + * @generated from field: string url = 4; + */ + this.url = ""; + /** + * for RTMP input, it'll be a rtmp:// URL + * for FILE input, it'll be a http:// URL + * for SRT input, it'll be a srt:// URL + * + * @generated from field: livekit.IngressInput input_type = 5; + */ + this.inputType = 0 /* RTMP_INPUT */; + /** + * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; + * @deprecated + */ + this.bypassTranscoding = false; + /** + * @generated from field: string room_name = 8; + */ + this.roomName = ""; + /** + * @generated from field: string participant_identity = 9; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_name = 10; + */ + this.participantName = ""; + /** + * @generated from field: string participant_metadata = 14; + */ + this.participantMetadata = ""; + /** + * @generated from field: bool reusable = 11; + */ + this.reusable = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressInfo, a, b); + } +}; +_IngressInfo.runtime = proto3; +_IngressInfo.typeName = "livekit.IngressInfo"; +_IngressInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "stream_key", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, + { + no: 13, + name: "bypass_transcoding", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 15, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, + { + no: 8, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 14, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "reusable", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 12, name: "state", kind: "message", T: IngressState } +]); +let IngressInfo = _IngressInfo; +const _IngressState = class _IngressState extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.IngressState.Status status = 1; + */ + this.status = 0 /* ENDPOINT_INACTIVE */; + /** + * Error/non compliance description if any + * + * @generated from field: string error = 2; + */ + this.error = ""; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 5; + */ + this.roomId = ""; + /** + * @generated from field: int64 started_at = 7; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 8; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: int64 updated_at = 10; + */ + this.updatedAt = protoInt64.zero; + /** + * @generated from field: string resource_id = 9; + */ + this.resourceId = ""; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 6; + */ + this.tracks = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _IngressState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _IngressState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _IngressState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_IngressState, a, b); + } +}; +_IngressState.runtime = proto3; +_IngressState.typeName = "livekit.IngressState"; +_IngressState.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(IngressState_Status) }, + { + no: 2, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "video", kind: "message", T: InputVideoState }, + { no: 4, name: "audio", kind: "message", T: InputAudioState }, + { + no: 5, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 8, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 10, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 9, + name: "resource_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true } +]); +let IngressState = _IngressState; +var IngressState_Status = /* @__PURE__ */ ((IngressState_Status2) => { + IngressState_Status2[IngressState_Status2["ENDPOINT_INACTIVE"] = 0] = "ENDPOINT_INACTIVE"; + IngressState_Status2[IngressState_Status2["ENDPOINT_BUFFERING"] = 1] = "ENDPOINT_BUFFERING"; + IngressState_Status2[IngressState_Status2["ENDPOINT_PUBLISHING"] = 2] = "ENDPOINT_PUBLISHING"; + IngressState_Status2[IngressState_Status2["ENDPOINT_ERROR"] = 3] = "ENDPOINT_ERROR"; + IngressState_Status2[IngressState_Status2["ENDPOINT_COMPLETE"] = 4] = "ENDPOINT_COMPLETE"; + return IngressState_Status2; +})(IngressState_Status || {}); +proto3.util.setEnumType(IngressState_Status, "livekit.IngressState.Status", [ + { no: 0, name: "ENDPOINT_INACTIVE" }, + { no: 1, name: "ENDPOINT_BUFFERING" }, + { no: 2, name: "ENDPOINT_PUBLISHING" }, + { no: 3, name: "ENDPOINT_ERROR" }, + { no: 4, name: "ENDPOINT_COMPLETE" } +]); +const _InputVideoState = class _InputVideoState extends Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + this.averageBitrate = 0; + /** + * @generated from field: uint32 width = 3; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 4; + */ + this.height = 0; + /** + * @generated from field: double framerate = 5; + */ + this.framerate = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _InputVideoState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _InputVideoState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _InputVideoState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_InputVideoState, a, b); + } +}; +_InputVideoState.runtime = proto3; +_InputVideoState.typeName = "livekit.InputVideoState"; +_InputVideoState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "average_bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "framerate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let InputVideoState = _InputVideoState; +const _InputAudioState = class _InputAudioState extends Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: uint32 average_bitrate = 2; + */ + this.averageBitrate = 0; + /** + * @generated from field: uint32 channels = 3; + */ + this.channels = 0; + /** + * @generated from field: uint32 sample_rate = 4; + */ + this.sampleRate = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _InputAudioState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _InputAudioState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _InputAudioState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_InputAudioState, a, b); + } +}; +_InputAudioState.runtime = proto3; +_InputAudioState.typeName = "livekit.InputAudioState"; +_InputAudioState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "average_bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "channels", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "sample_rate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let InputAudioState = _InputAudioState; +const _UpdateIngressRequest = class _UpdateIngressRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * @generated from field: string participant_name = 5; + */ + this.participantName = ""; + /** + * @generated from field: string participant_metadata = 9; + */ + this.participantMetadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateIngressRequest, a, b); + } +}; +_UpdateIngressRequest.runtime = proto3; +_UpdateIngressRequest.typeName = "livekit.UpdateIngressRequest"; +_UpdateIngressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions } +]); +let UpdateIngressRequest = _UpdateIngressRequest; +const _ListIngressRequest = class _ListIngressRequest extends Message { + constructor(data) { + super(); + /** + * when blank, lists all ingress endpoints + * + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * (optional, filter by ingress ID) + * + * @generated from field: string ingress_id = 2; + */ + this.ingressId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListIngressRequest, a, b); + } +}; +_ListIngressRequest.runtime = proto3; +_ListIngressRequest.typeName = "livekit.ListIngressRequest"; +_ListIngressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListIngressRequest = _ListIngressRequest; +const _ListIngressResponse = class _ListIngressResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.IngressInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListIngressResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListIngressResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListIngressResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListIngressResponse, a, b); + } +}; +_ListIngressResponse.runtime = proto3; +_ListIngressResponse.typeName = "livekit.ListIngressResponse"; +_ListIngressResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true } +]); +let ListIngressResponse = _ListIngressResponse; +const _DeleteIngressRequest = class _DeleteIngressRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string ingress_id = 1; + */ + this.ingressId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteIngressRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteIngressRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteIngressRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteIngressRequest, a, b); + } +}; +_DeleteIngressRequest.runtime = proto3; +_DeleteIngressRequest.typeName = "livekit.DeleteIngressRequest"; +_DeleteIngressRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ingress_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteIngressRequest = _DeleteIngressRequest; +export { + CreateIngressRequest, + DeleteIngressRequest, + IngressAudioEncodingOptions, + IngressAudioEncodingPreset, + IngressAudioOptions, + IngressInfo, + IngressInput, + IngressState, + IngressState_Status, + IngressVideoEncodingOptions, + IngressVideoEncodingPreset, + IngressVideoOptions, + InputAudioState, + InputVideoState, + ListIngressRequest, + ListIngressResponse, + UpdateIngressRequest +}; +//# sourceMappingURL=livekit_ingress_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.js.map b/packages/javascript/dist/gen/livekit_ingress_pb.js.map new file mode 100644 index 00000000..80c814b0 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_ingress_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_ingress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_ingress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.IngressInput\n */\nexport enum IngressInput {\n /**\n * @generated from enum value: RTMP_INPUT = 0;\n */\n RTMP_INPUT = 0,\n\n /**\n * @generated from enum value: WHIP_INPUT = 1;\n */\n WHIP_INPUT = 1,\n\n /**\n * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream\n *\n * @generated from enum value: URL_INPUT = 2;\n */\n URL_INPUT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressInput)\nproto3.util.setEnumType(IngressInput, \"livekit.IngressInput\", [\n { no: 0, name: \"RTMP_INPUT\" },\n { no: 1, name: \"WHIP_INPUT\" },\n { no: 2, name: \"URL_INPUT\" },\n]);\n\n/**\n * @generated from enum livekit.IngressAudioEncodingPreset\n */\nexport enum IngressAudioEncodingPreset {\n /**\n * OPUS, 2 channels, 96kbps\n *\n * @generated from enum value: OPUS_STEREO_96KBPS = 0;\n */\n OPUS_STEREO_96KBPS = 0,\n\n /**\n * OPUS, 1 channel, 64kbps\n *\n * @generated from enum value: OPUS_MONO_64KBS = 1;\n */\n OPUS_MONO_64KBS = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressAudioEncodingPreset)\nproto3.util.setEnumType(IngressAudioEncodingPreset, \"livekit.IngressAudioEncodingPreset\", [\n { no: 0, name: \"OPUS_STEREO_96KBPS\" },\n { no: 1, name: \"OPUS_MONO_64KBS\" },\n]);\n\n/**\n * @generated from enum livekit.IngressVideoEncodingPreset\n */\nexport enum IngressVideoEncodingPreset {\n /**\n * 1280x720, 30fps, 1900kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;\n */\n H264_720P_30FPS_3_LAYERS = 0,\n\n /**\n * 1980x1080, 30fps, 3500kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;\n */\n H264_1080P_30FPS_3_LAYERS = 1,\n\n /**\n * 960x540, 25fps, 1000kbps main layer, 2 layers total\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;\n */\n H264_540P_25FPS_2_LAYERS = 2,\n\n /**\n * 1280x720, 30fps, 1900kbps, no simulcast\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;\n */\n H264_720P_30FPS_1_LAYER = 3,\n\n /**\n * 1980x1080, 30fps, 3500kbps, no simulcast\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;\n */\n H264_1080P_30FPS_1_LAYER = 4,\n\n /**\n * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;\n */\n H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,\n\n /**\n * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;\n */\n H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,\n\n /**\n * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;\n */\n H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,\n\n /**\n * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;\n */\n H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,\n\n /**\n * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;\n */\n H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressVideoEncodingPreset)\nproto3.util.setEnumType(IngressVideoEncodingPreset, \"livekit.IngressVideoEncodingPreset\", [\n { no: 0, name: \"H264_720P_30FPS_3_LAYERS\" },\n { no: 1, name: \"H264_1080P_30FPS_3_LAYERS\" },\n { no: 2, name: \"H264_540P_25FPS_2_LAYERS\" },\n { no: 3, name: \"H264_720P_30FPS_1_LAYER\" },\n { no: 4, name: \"H264_1080P_30FPS_1_LAYER\" },\n { no: 5, name: \"H264_720P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 6, name: \"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 7, name: \"H264_540P_25FPS_2_LAYERS_HIGH_MOTION\" },\n { no: 8, name: \"H264_720P_30FPS_1_LAYER_HIGH_MOTION\" },\n { no: 9, name: \"H264_1080P_30FPS_1_LAYER_HIGH_MOTION\" },\n]);\n\n/**\n * @generated from message livekit.CreateIngressRequest\n */\nexport class CreateIngressRequest extends Message {\n /**\n * @generated from field: livekit.IngressInput input_type = 1;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * Where to pull media from, only for URL input type\n *\n * @generated from field: string url = 9;\n */\n url = \"\";\n\n /**\n * User provided identifier for the ingress\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * room to publish to\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * publish as participant\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * name of publishing participant (used for display only)\n *\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * metadata associated with the publishing participant\n *\n * @generated from field: string participant_metadata = 10;\n */\n participantMetadata = \"\";\n\n /**\n * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.\n *\n * @generated from field: bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. \n *\n * @generated from field: optional bool enable_transcoding = 11;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 9, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioOptions\n */\nexport class IngressAudioOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressAudioOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;\n */\n value: IngressAudioEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressAudioEncodingOptions options = 4;\n */\n value: IngressAudioEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressAudioEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoOptions\n */\nexport class IngressVideoOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressVideoOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;\n */\n value: IngressVideoEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressVideoEncodingOptions options = 4;\n */\n value: IngressVideoEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressVideoEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioEncodingOptions\n */\nexport class IngressAudioEncodingOptions extends Message {\n /**\n * desired audio codec to publish to room\n *\n * @generated from field: livekit.AudioCodec audio_codec = 1;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * @generated from field: uint32 bitrate = 2;\n */\n bitrate = 0;\n\n /**\n * @generated from field: bool disable_dtx = 3;\n */\n disableDtx = false;\n\n /**\n * @generated from field: uint32 channels = 4;\n */\n channels = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 2, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoEncodingOptions\n */\nexport class IngressVideoEncodingOptions extends Message {\n /**\n * desired codec to publish to room\n *\n * @generated from field: livekit.VideoCodec video_codec = 1;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * @generated from field: double frame_rate = 2;\n */\n frameRate = 0;\n\n /**\n * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions\n *\n * @generated from field: repeated livekit.VideoLayer layers = 3;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 2, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 3, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressInfo\n */\nexport class IngressInfo extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string stream_key = 3;\n */\n streamKey = \"\";\n\n /**\n * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)\n *\n * @generated from field: string url = 4;\n */\n url = \"\";\n\n /**\n * for RTMP input, it'll be a rtmp:// URL\n * for FILE input, it'll be a http:// URL\n * for SRT input, it'll be a srt:// URL\n *\n * @generated from field: livekit.IngressInput input_type = 5;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * @generated from field: bool bypass_transcoding = 13 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * @generated from field: optional bool enable_transcoding = 15;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n /**\n * @generated from field: string room_name = 8;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 9;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 10;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 14;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: bool reusable = 11;\n */\n reusable = false;\n\n /**\n * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)\n *\n * @generated from field: livekit.IngressState state = 12;\n */\n state?: IngressState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"stream_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 13, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n { no: 8, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"reusable\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"state\", kind: \"message\", T: IngressState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo {\n return new IngressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo {\n return new IngressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressInfo {\n return new IngressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressState\n */\nexport class IngressState extends Message {\n /**\n * @generated from field: livekit.IngressState.Status status = 1;\n */\n status = IngressState_Status.ENDPOINT_INACTIVE;\n\n /**\n * Error/non compliance description if any\n *\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.InputVideoState video = 3;\n */\n video?: InputVideoState;\n\n /**\n * @generated from field: livekit.InputAudioState audio = 4;\n */\n audio?: InputAudioState;\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: int64 started_at = 7;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 8;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 10;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string resource_id = 9;\n */\n resourceId = \"\";\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 6;\n */\n tracks: TrackInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(IngressState_Status) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video\", kind: \"message\", T: InputVideoState },\n { no: 4, name: \"audio\", kind: \"message\", T: InputAudioState },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"resource_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressState {\n return new IngressState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressState {\n return new IngressState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressState {\n return new IngressState().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressState, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.IngressState.Status\n */\nexport enum IngressState_Status {\n /**\n * @generated from enum value: ENDPOINT_INACTIVE = 0;\n */\n ENDPOINT_INACTIVE = 0,\n\n /**\n * @generated from enum value: ENDPOINT_BUFFERING = 1;\n */\n ENDPOINT_BUFFERING = 1,\n\n /**\n * @generated from enum value: ENDPOINT_PUBLISHING = 2;\n */\n ENDPOINT_PUBLISHING = 2,\n\n /**\n * @generated from enum value: ENDPOINT_ERROR = 3;\n */\n ENDPOINT_ERROR = 3,\n\n /**\n * @generated from enum value: ENDPOINT_COMPLETE = 4;\n */\n ENDPOINT_COMPLETE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressState_Status)\nproto3.util.setEnumType(IngressState_Status, \"livekit.IngressState.Status\", [\n { no: 0, name: \"ENDPOINT_INACTIVE\" },\n { no: 1, name: \"ENDPOINT_BUFFERING\" },\n { no: 2, name: \"ENDPOINT_PUBLISHING\" },\n { no: 3, name: \"ENDPOINT_ERROR\" },\n { no: 4, name: \"ENDPOINT_COMPLETE\" },\n]);\n\n/**\n * @generated from message livekit.InputVideoState\n */\nexport class InputVideoState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 width = 3;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 4;\n */\n height = 0;\n\n /**\n * @generated from field: double framerate = 5;\n */\n framerate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputVideoState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"framerate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState {\n return new InputVideoState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState {\n return new InputVideoState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputVideoState {\n return new InputVideoState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputVideoState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.InputAudioState\n */\nexport class InputAudioState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 channels = 3;\n */\n channels = 0;\n\n /**\n * @generated from field: uint32 sample_rate = 4;\n */\n sampleRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputAudioState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"sample_rate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState {\n return new InputAudioState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState {\n return new InputAudioState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputAudioState {\n return new InputAudioState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputAudioState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateIngressRequest\n */\nexport class UpdateIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 9;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding?: boolean;\n\n /**\n * @generated from field: optional bool enable_transcoding = 10;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 10, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressRequest\n */\nexport class ListIngressRequest extends Message {\n /**\n * when blank, lists all ingress endpoints\n *\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by ingress ID)\n *\n * @generated from field: string ingress_id = 2;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressResponse\n */\nexport class ListIngressResponse extends Message {\n /**\n * @generated from field: repeated livekit.IngressInfo items = 1;\n */\n items: IngressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: IngressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteIngressRequest\n */\nexport class DeleteIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteIngressRequest, a, b);\n }\n}\n\n"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AAoB,SAA0D;AAClG,WAAO,IAAI,sBAAqB,EAAE,eAAe,YAAY,OAAO;AAAA,EACtE;AAAA,EAEA,OAAO,OAAO,GAA0E,GAAmF;AACzK,WAAO,OAAO,KAAK,OAAO,uBAAsB,GAAG,CAAC;AAAA,EACtD;AACF;AAhCa,sBAWK,UAAyB;AAX9B,sBAYK,WAAW;AAZhB,sBAaK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC5E,CAAC;AAfI,IAAM,uBAAN;","names":["IngressInput","IngressAudioEncodingPreset","IngressVideoEncodingPreset","IngressState_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.cjs b/packages/javascript/dist/gen/livekit_internal_pb.cjs new file mode 100644 index 00000000..9deaeba6 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.cjs @@ -0,0 +1,998 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_internal_pb_exports = {}; +__export(livekit_internal_pb_exports, { + ICECandidateType: () => ICECandidateType, + ICEConfig: () => ICEConfig, + Node: () => Node, + NodeState: () => NodeState, + NodeStats: () => NodeStats, + NodeType: () => NodeType, + RoomInternal: () => RoomInternal, + StartSession: () => StartSession +}); +module.exports = __toCommonJS(livekit_internal_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var import_livekit_room_pb = require("./livekit_room_pb.cjs"); +var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); +var import_livekit_agent_dispatch_pb = require("./livekit_agent_dispatch_pb.cjs"); +var NodeType = /* @__PURE__ */ ((NodeType2) => { + NodeType2[NodeType2["SERVER"] = 0] = "SERVER"; + NodeType2[NodeType2["CONTROLLER"] = 1] = "CONTROLLER"; + NodeType2[NodeType2["MEDIA"] = 2] = "MEDIA"; + NodeType2[NodeType2["TURN"] = 4] = "TURN"; + NodeType2[NodeType2["SWEEPER"] = 5] = "SWEEPER"; + NodeType2[NodeType2["DIRECTOR"] = 6] = "DIRECTOR"; + return NodeType2; +})(NodeType || {}); +import_protobuf.proto3.util.setEnumType(NodeType, "livekit.NodeType", [ + { no: 0, name: "SERVER" }, + { no: 1, name: "CONTROLLER" }, + { no: 2, name: "MEDIA" }, + { no: 4, name: "TURN" }, + { no: 5, name: "SWEEPER" }, + { no: 6, name: "DIRECTOR" } +]); +var NodeState = /* @__PURE__ */ ((NodeState2) => { + NodeState2[NodeState2["STARTING_UP"] = 0] = "STARTING_UP"; + NodeState2[NodeState2["SERVING"] = 1] = "SERVING"; + NodeState2[NodeState2["SHUTTING_DOWN"] = 2] = "SHUTTING_DOWN"; + return NodeState2; +})(NodeState || {}); +import_protobuf.proto3.util.setEnumType(NodeState, "livekit.NodeState", [ + { no: 0, name: "STARTING_UP" }, + { no: 1, name: "SERVING" }, + { no: 2, name: "SHUTTING_DOWN" } +]); +var ICECandidateType = /* @__PURE__ */ ((ICECandidateType2) => { + ICECandidateType2[ICECandidateType2["ICT_NONE"] = 0] = "ICT_NONE"; + ICECandidateType2[ICECandidateType2["ICT_TCP"] = 1] = "ICT_TCP"; + ICECandidateType2[ICECandidateType2["ICT_TLS"] = 2] = "ICT_TLS"; + return ICECandidateType2; +})(ICECandidateType || {}); +import_protobuf.proto3.util.setEnumType(ICECandidateType, "livekit.ICECandidateType", [ + { no: 0, name: "ICT_NONE" }, + { no: 1, name: "ICT_TCP" }, + { no: 2, name: "ICT_TLS" } +]); +const _Node = class _Node extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string ip = 2; + */ + this.ip = ""; + /** + * @generated from field: uint32 num_cpus = 3; + */ + this.numCpus = 0; + /** + * @generated from field: livekit.NodeType type = 5; + */ + this.type = 0 /* SERVER */; + /** + * @generated from field: livekit.NodeState state = 6; + */ + this.state = 0 /* STARTING_UP */; + /** + * @generated from field: string region = 7; + */ + this.region = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Node().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Node().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Node().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Node, a, b); + } +}; +_Node.runtime = import_protobuf.proto3; +_Node.typeName = "livekit.Node"; +_Node.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "ip", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "num_cpus", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 4, name: "stats", kind: "message", T: NodeStats }, + { no: 5, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(NodeType) }, + { no: 6, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(NodeState) }, + { + no: 7, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let Node = _Node; +const _NodeStats = class _NodeStats extends import_protobuf.Message { + constructor(data) { + super(); + /** + * when server was started + * + * @generated from field: int64 started_at = 1; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * when server last reported its status + * + * @generated from field: int64 updated_at = 2; + */ + this.updatedAt = import_protobuf.protoInt64.zero; + /** + * room + * + * @generated from field: int32 num_rooms = 3; + */ + this.numRooms = 0; + /** + * @generated from field: int32 num_clients = 4; + */ + this.numClients = 0; + /** + * @generated from field: int32 num_tracks_in = 5; + */ + this.numTracksIn = 0; + /** + * @generated from field: int32 num_tracks_out = 6; + */ + this.numTracksOut = 0; + /** + * @generated from field: int32 num_track_publish_attempts = 36; + */ + this.numTrackPublishAttempts = 0; + /** + * @generated from field: float track_publish_attempts_per_sec = 37; + */ + this.trackPublishAttemptsPerSec = 0; + /** + * @generated from field: int32 num_track_publish_success = 38; + */ + this.numTrackPublishSuccess = 0; + /** + * @generated from field: float track_publish_success_per_sec = 39; + */ + this.trackPublishSuccessPerSec = 0; + /** + * @generated from field: int32 num_track_subscribe_attempts = 40; + */ + this.numTrackSubscribeAttempts = 0; + /** + * @generated from field: float track_subscribe_attempts_per_sec = 41; + */ + this.trackSubscribeAttemptsPerSec = 0; + /** + * @generated from field: int32 num_track_subscribe_success = 42; + */ + this.numTrackSubscribeSuccess = 0; + /** + * @generated from field: float track_subscribe_success_per_sec = 43; + */ + this.trackSubscribeSuccessPerSec = 0; + /** + * packet + * + * @generated from field: uint64 bytes_in = 7; + */ + this.bytesIn = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 bytes_out = 8; + */ + this.bytesOut = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 packets_in = 9; + */ + this.packetsIn = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 packets_out = 10; + */ + this.packetsOut = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 nack_total = 11; + */ + this.nackTotal = import_protobuf.protoInt64.zero; + /** + * @generated from field: float bytes_in_per_sec = 12; + */ + this.bytesInPerSec = 0; + /** + * @generated from field: float bytes_out_per_sec = 13; + */ + this.bytesOutPerSec = 0; + /** + * @generated from field: float packets_in_per_sec = 14; + */ + this.packetsInPerSec = 0; + /** + * @generated from field: float packets_out_per_sec = 15; + */ + this.packetsOutPerSec = 0; + /** + * @generated from field: float nack_per_sec = 16; + */ + this.nackPerSec = 0; + /** + * system + * + * @generated from field: uint32 num_cpus = 17; + */ + this.numCpus = 0; + /** + * @generated from field: float load_avg_last1min = 18; + */ + this.loadAvgLast1min = 0; + /** + * @generated from field: float load_avg_last5min = 19; + */ + this.loadAvgLast5min = 0; + /** + * @generated from field: float load_avg_last15min = 20; + */ + this.loadAvgLast15min = 0; + /** + * @generated from field: float cpu_load = 21; + */ + this.cpuLoad = 0; + /** + * deprecated + * + * @generated from field: float memory_load = 33; + */ + this.memoryLoad = 0; + /** + * @generated from field: uint64 memory_total = 34; + */ + this.memoryTotal = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 memory_used = 35; + */ + this.memoryUsed = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 sys_packets_out = 28; + */ + this.sysPacketsOut = 0; + /** + * @generated from field: uint32 sys_packets_dropped = 29; + */ + this.sysPacketsDropped = 0; + /** + * @generated from field: float sys_packets_out_per_sec = 30; + */ + this.sysPacketsOutPerSec = 0; + /** + * @generated from field: float sys_packets_dropped_per_sec = 31; + */ + this.sysPacketsDroppedPerSec = 0; + /** + * @generated from field: float sys_packets_dropped_pct_per_sec = 32; + */ + this.sysPacketsDroppedPctPerSec = 0; + /** + * retransmissions + * + * @generated from field: uint64 retransmit_bytes_out = 22; + */ + this.retransmitBytesOut = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 retransmit_packets_out = 23; + */ + this.retransmitPacketsOut = import_protobuf.protoInt64.zero; + /** + * @generated from field: float retransmit_bytes_out_per_sec = 24; + */ + this.retransmitBytesOutPerSec = 0; + /** + * @generated from field: float retransmit_packets_out_per_sec = 25; + */ + this.retransmitPacketsOutPerSec = 0; + /** + * participant joins + * + * @generated from field: uint64 participant_signal_connected = 26; + */ + this.participantSignalConnected = import_protobuf.protoInt64.zero; + /** + * @generated from field: float participant_signal_connected_per_sec = 27; + */ + this.participantSignalConnectedPerSec = 0; + /** + * @generated from field: uint64 participant_rtc_connected = 44; + */ + this.participantRtcConnected = import_protobuf.protoInt64.zero; + /** + * @generated from field: float participant_rtc_connected_per_sec = 45; + */ + this.participantRtcConnectedPerSec = 0; + /** + * @generated from field: uint64 participant_rtc_init = 46; + */ + this.participantRtcInit = import_protobuf.protoInt64.zero; + /** + * @generated from field: float participant_rtc_init_per_sec = 47; + */ + this.participantRtcInitPerSec = 0; + /** + * forward metrics + * + * @generated from field: uint32 forward_latency = 48; + */ + this.forwardLatency = 0; + /** + * @generated from field: uint32 forward_jitter = 49; + */ + this.forwardJitter = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _NodeStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _NodeStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _NodeStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_NodeStats, a, b); + } +}; +_NodeStats.runtime = import_protobuf.proto3; +_NodeStats.typeName = "livekit.NodeStats"; +_NodeStats.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "num_rooms", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "num_clients", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 5, + name: "num_tracks_in", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 6, + name: "num_tracks_out", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 36, + name: "num_track_publish_attempts", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 37, + name: "track_publish_attempts_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 38, + name: "num_track_publish_success", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 39, + name: "track_publish_success_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 40, + name: "num_track_subscribe_attempts", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 41, + name: "track_subscribe_attempts_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 42, + name: "num_track_subscribe_success", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 43, + name: "track_subscribe_success_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 7, + name: "bytes_in", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 8, + name: "bytes_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 9, + name: "packets_in", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 10, + name: "packets_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 11, + name: "nack_total", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 12, + name: "bytes_in_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 13, + name: "bytes_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 14, + name: "packets_in_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 15, + name: "packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 16, + name: "nack_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 17, + name: "num_cpus", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 18, + name: "load_avg_last1min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 19, + name: "load_avg_last5min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 20, + name: "load_avg_last15min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 21, + name: "cpu_load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 33, + name: "memory_load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 34, + name: "memory_total", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 35, + name: "memory_used", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 28, + name: "sys_packets_out", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 29, + name: "sys_packets_dropped", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 30, + name: "sys_packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 31, + name: "sys_packets_dropped_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 32, + name: "sys_packets_dropped_pct_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 22, + name: "retransmit_bytes_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 23, + name: "retransmit_packets_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 24, + name: "retransmit_bytes_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 25, + name: "retransmit_packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 26, + name: "participant_signal_connected", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 27, + name: "participant_signal_connected_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 44, + name: "participant_rtc_connected", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 45, + name: "participant_rtc_connected_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 46, + name: "participant_rtc_init", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 47, + name: "participant_rtc_init_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 48, + name: "forward_latency", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 49, + name: "forward_jitter", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let NodeStats = _NodeStats; +const _StartSession = class _StartSession extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: string connection_id = 3; + */ + this.connectionId = ""; + /** + * if a client is reconnecting (i.e. resume instead of restart) + * + * @generated from field: bool reconnect = 4; + */ + this.reconnect = false; + /** + * @generated from field: bool auto_subscribe = 9; + */ + this.autoSubscribe = false; + /** + * @generated from field: bool hidden = 10; + */ + this.hidden = false; + /** + * @generated from field: bool recorder = 12; + */ + this.recorder = false; + /** + * @generated from field: string name = 13; + */ + this.name = ""; + /** + * A user's ClaimGrants serialized in JSON + * + * @generated from field: string grants_json = 14; + */ + this.grantsJson = ""; + /** + * @generated from field: bool adaptive_stream = 15; + */ + this.adaptiveStream = false; + /** + * if reconnect, client will set current sid + * + * @generated from field: string participant_id = 16; + */ + this.participantId = ""; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 17; + */ + this.reconnectReason = import_livekit_models_pb.ReconnectReason.RR_UNKNOWN; + /** + * @generated from field: bool disable_ice_lite = 19; + */ + this.disableIceLite = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StartSession().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StartSession().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StartSession().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StartSession, a, b); + } +}; +_StartSession.runtime = import_protobuf.proto3; +_StartSession.typeName = "livekit.StartSession"; +_StartSession.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "connection_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "reconnect", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 9, + name: "auto_subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "hidden", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "client", kind: "message", T: import_livekit_models_pb.ClientInfo }, + { + no: 12, + name: "recorder", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 14, + name: "grants_json", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 15, + name: "adaptive_stream", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 16, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 17, name: "reconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ReconnectReason) }, + { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true }, + { + no: 19, + name: "disable_ice_lite", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 20, name: "create_room", kind: "message", T: import_livekit_room_pb.CreateRoomRequest } +]); +let StartSession = _StartSession; +const _RoomInternal = class _RoomInternal extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; + */ + this.agentDispatches = []; + /** + * @generated from field: bool sync_streams = 4; + */ + this.syncStreams = false; + /** + * @generated from field: bool replay_enabled = 6; + */ + this.replayEnabled = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomInternal().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomInternal().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomInternal().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomInternal, a, b); + } +}; +_RoomInternal.runtime = import_protobuf.proto3; +_RoomInternal.typeName = "livekit.RoomInternal"; +_RoomInternal.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "track_egress", kind: "message", T: import_livekit_egress_pb.AutoTrackEgress }, + { no: 2, name: "participant_egress", kind: "message", T: import_livekit_egress_pb.AutoParticipantEgress }, + { no: 3, name: "playout_delay", kind: "message", T: import_livekit_models_pb.PlayoutDelay }, + { no: 5, name: "agent_dispatches", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true }, + { + no: 4, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "replay_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let RoomInternal = _RoomInternal; +const _ICEConfig = class _ICEConfig extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ICECandidateType preference_subscriber = 1; + */ + this.preferenceSubscriber = 0 /* ICT_NONE */; + /** + * @generated from field: livekit.ICECandidateType preference_publisher = 2; + */ + this.preferencePublisher = 0 /* ICT_NONE */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ICEConfig().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ICEConfig().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ICEConfig().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ICEConfig, a, b); + } +}; +_ICEConfig.runtime = import_protobuf.proto3; +_ICEConfig.typeName = "livekit.ICEConfig"; +_ICEConfig.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "preference_subscriber", kind: "enum", T: import_protobuf.proto3.getEnumType(ICECandidateType) }, + { no: 2, name: "preference_publisher", kind: "enum", T: import_protobuf.proto3.getEnumType(ICECandidateType) } +]); +let ICEConfig = _ICEConfig; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + ICECandidateType, + ICEConfig, + Node, + NodeState, + NodeStats, + NodeType, + RoomInternal, + StartSession +}); +//# sourceMappingURL=livekit_internal_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.cjs.map b/packages/javascript/dist/gen/livekit_internal_pb.cjs.map new file mode 100644 index 00000000..1a52ed39 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_internal_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_internal.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ClientInfo, PlayoutDelay, ReconnectReason } from \"./livekit_models_pb.js\";\nimport { CreateRoomRequest } from \"./livekit_room_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress } from \"./livekit_egress_pb.js\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\n\n/**\n * @generated from enum livekit.NodeType\n */\nexport enum NodeType {\n /**\n * @generated from enum value: SERVER = 0;\n */\n SERVER = 0,\n\n /**\n * @generated from enum value: CONTROLLER = 1;\n */\n CONTROLLER = 1,\n\n /**\n * @generated from enum value: MEDIA = 2;\n */\n MEDIA = 2,\n\n /**\n * @generated from enum value: TURN = 4;\n */\n TURN = 4,\n\n /**\n * @generated from enum value: SWEEPER = 5;\n */\n SWEEPER = 5,\n\n /**\n * @generated from enum value: DIRECTOR = 6;\n */\n DIRECTOR = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeType)\nproto3.util.setEnumType(NodeType, \"livekit.NodeType\", [\n { no: 0, name: \"SERVER\" },\n { no: 1, name: \"CONTROLLER\" },\n { no: 2, name: \"MEDIA\" },\n { no: 4, name: \"TURN\" },\n { no: 5, name: \"SWEEPER\" },\n { no: 6, name: \"DIRECTOR\" },\n]);\n\n/**\n * @generated from enum livekit.NodeState\n */\nexport enum NodeState {\n /**\n * @generated from enum value: STARTING_UP = 0;\n */\n STARTING_UP = 0,\n\n /**\n * @generated from enum value: SERVING = 1;\n */\n SERVING = 1,\n\n /**\n * @generated from enum value: SHUTTING_DOWN = 2;\n */\n SHUTTING_DOWN = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeState)\nproto3.util.setEnumType(NodeState, \"livekit.NodeState\", [\n { no: 0, name: \"STARTING_UP\" },\n { no: 1, name: \"SERVING\" },\n { no: 2, name: \"SHUTTING_DOWN\" },\n]);\n\n/**\n * @generated from enum livekit.ICECandidateType\n */\nexport enum ICECandidateType {\n /**\n * @generated from enum value: ICT_NONE = 0;\n */\n ICT_NONE = 0,\n\n /**\n * @generated from enum value: ICT_TCP = 1;\n */\n ICT_TCP = 1,\n\n /**\n * @generated from enum value: ICT_TLS = 2;\n */\n ICT_TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ICECandidateType)\nproto3.util.setEnumType(ICECandidateType, \"livekit.ICECandidateType\", [\n { no: 0, name: \"ICT_NONE\" },\n { no: 1, name: \"ICT_TCP\" },\n { no: 2, name: \"ICT_TLS\" },\n]);\n\n/**\n * @generated from message livekit.Node\n */\nexport class Node extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string ip = 2;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 num_cpus = 3;\n */\n numCpus = 0;\n\n /**\n * @generated from field: livekit.NodeStats stats = 4;\n */\n stats?: NodeStats;\n\n /**\n * @generated from field: livekit.NodeType type = 5;\n */\n type = NodeType.SERVER;\n\n /**\n * @generated from field: livekit.NodeState state = 6;\n */\n state = NodeState.STARTING_UP;\n\n /**\n * @generated from field: string region = 7;\n */\n region = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Node\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"stats\", kind: \"message\", T: NodeStats },\n { no: 5, name: \"type\", kind: \"enum\", T: proto3.getEnumType(NodeType) },\n { no: 6, name: \"state\", kind: \"enum\", T: proto3.getEnumType(NodeState) },\n { no: 7, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Node {\n return new Node().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Node {\n return new Node().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Node {\n return new Node().fromJsonString(jsonString, options);\n }\n\n static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean {\n return proto3.util.equals(Node, a, b);\n }\n}\n\n/**\n * @generated from message livekit.NodeStats\n */\nexport class NodeStats extends Message {\n /**\n * when server was started\n *\n * @generated from field: int64 started_at = 1;\n */\n startedAt = protoInt64.zero;\n\n /**\n * when server last reported its status\n *\n * @generated from field: int64 updated_at = 2;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * room\n *\n * @generated from field: int32 num_rooms = 3;\n */\n numRooms = 0;\n\n /**\n * @generated from field: int32 num_clients = 4;\n */\n numClients = 0;\n\n /**\n * @generated from field: int32 num_tracks_in = 5;\n */\n numTracksIn = 0;\n\n /**\n * @generated from field: int32 num_tracks_out = 6;\n */\n numTracksOut = 0;\n\n /**\n * @generated from field: int32 num_track_publish_attempts = 36;\n */\n numTrackPublishAttempts = 0;\n\n /**\n * @generated from field: float track_publish_attempts_per_sec = 37;\n */\n trackPublishAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_publish_success = 38;\n */\n numTrackPublishSuccess = 0;\n\n /**\n * @generated from field: float track_publish_success_per_sec = 39;\n */\n trackPublishSuccessPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_attempts = 40;\n */\n numTrackSubscribeAttempts = 0;\n\n /**\n * @generated from field: float track_subscribe_attempts_per_sec = 41;\n */\n trackSubscribeAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_success = 42;\n */\n numTrackSubscribeSuccess = 0;\n\n /**\n * @generated from field: float track_subscribe_success_per_sec = 43;\n */\n trackSubscribeSuccessPerSec = 0;\n\n /**\n * packet\n *\n * @generated from field: uint64 bytes_in = 7;\n */\n bytesIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 bytes_out = 8;\n */\n bytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_in = 9;\n */\n packetsIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_out = 10;\n */\n packetsOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 nack_total = 11;\n */\n nackTotal = protoInt64.zero;\n\n /**\n * @generated from field: float bytes_in_per_sec = 12;\n */\n bytesInPerSec = 0;\n\n /**\n * @generated from field: float bytes_out_per_sec = 13;\n */\n bytesOutPerSec = 0;\n\n /**\n * @generated from field: float packets_in_per_sec = 14;\n */\n packetsInPerSec = 0;\n\n /**\n * @generated from field: float packets_out_per_sec = 15;\n */\n packetsOutPerSec = 0;\n\n /**\n * @generated from field: float nack_per_sec = 16;\n */\n nackPerSec = 0;\n\n /**\n * system\n *\n * @generated from field: uint32 num_cpus = 17;\n */\n numCpus = 0;\n\n /**\n * @generated from field: float load_avg_last1min = 18;\n */\n loadAvgLast1min = 0;\n\n /**\n * @generated from field: float load_avg_last5min = 19;\n */\n loadAvgLast5min = 0;\n\n /**\n * @generated from field: float load_avg_last15min = 20;\n */\n loadAvgLast15min = 0;\n\n /**\n * @generated from field: float cpu_load = 21;\n */\n cpuLoad = 0;\n\n /**\n * deprecated\n *\n * @generated from field: float memory_load = 33;\n */\n memoryLoad = 0;\n\n /**\n * @generated from field: uint64 memory_total = 34;\n */\n memoryTotal = protoInt64.zero;\n\n /**\n * @generated from field: uint64 memory_used = 35;\n */\n memoryUsed = protoInt64.zero;\n\n /**\n * @generated from field: uint32 sys_packets_out = 28;\n */\n sysPacketsOut = 0;\n\n /**\n * @generated from field: uint32 sys_packets_dropped = 29;\n */\n sysPacketsDropped = 0;\n\n /**\n * @generated from field: float sys_packets_out_per_sec = 30;\n */\n sysPacketsOutPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_per_sec = 31;\n */\n sysPacketsDroppedPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_pct_per_sec = 32;\n */\n sysPacketsDroppedPctPerSec = 0;\n\n /**\n * retransmissions\n *\n * @generated from field: uint64 retransmit_bytes_out = 22;\n */\n retransmitBytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 retransmit_packets_out = 23;\n */\n retransmitPacketsOut = protoInt64.zero;\n\n /**\n * @generated from field: float retransmit_bytes_out_per_sec = 24;\n */\n retransmitBytesOutPerSec = 0;\n\n /**\n * @generated from field: float retransmit_packets_out_per_sec = 25;\n */\n retransmitPacketsOutPerSec = 0;\n\n /**\n * participant joins\n *\n * @generated from field: uint64 participant_signal_connected = 26;\n */\n participantSignalConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_signal_connected_per_sec = 27;\n */\n participantSignalConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_connected = 44;\n */\n participantRtcConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_connected_per_sec = 45;\n */\n participantRtcConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_init = 46;\n */\n participantRtcInit = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_init_per_sec = 47;\n */\n participantRtcInitPerSec = 0;\n\n /**\n * forward metrics\n *\n * @generated from field: uint32 forward_latency = 48;\n */\n forwardLatency = 0;\n\n /**\n * @generated from field: uint32 forward_jitter = 49;\n */\n forwardJitter = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.NodeStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"num_rooms\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"num_clients\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"num_tracks_in\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"num_tracks_out\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 36, name: \"num_track_publish_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 37, name: \"track_publish_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 38, name: \"num_track_publish_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 39, name: \"track_publish_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 40, name: \"num_track_subscribe_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 41, name: \"track_subscribe_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 42, name: \"num_track_subscribe_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 43, name: \"track_subscribe_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 7, name: \"bytes_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 9, name: \"packets_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 10, name: \"packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 11, name: \"nack_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 12, name: \"bytes_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 14, name: \"packets_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 15, name: \"packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 16, name: \"nack_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 17, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 18, name: \"load_avg_last1min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 19, name: \"load_avg_last5min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 20, name: \"load_avg_last15min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 21, name: \"cpu_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 33, name: \"memory_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 34, name: \"memory_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 35, name: \"memory_used\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 28, name: \"sys_packets_out\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 29, name: \"sys_packets_dropped\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"sys_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 31, name: \"sys_packets_dropped_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 32, name: \"sys_packets_dropped_pct_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 22, name: \"retransmit_bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 23, name: \"retransmit_packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 24, name: \"retransmit_bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 25, name: \"retransmit_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 26, name: \"participant_signal_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 27, name: \"participant_signal_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 44, name: \"participant_rtc_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 45, name: \"participant_rtc_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 46, name: \"participant_rtc_init\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 47, name: \"participant_rtc_init_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 48, name: \"forward_latency\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 49, name: \"forward_jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats {\n return new NodeStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats {\n return new NodeStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): NodeStats {\n return new NodeStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(NodeStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StartSession\n */\nexport class StartSession extends Message {\n /**\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string connection_id = 3;\n */\n connectionId = \"\";\n\n /**\n * if a client is reconnecting (i.e. resume instead of restart)\n *\n * @generated from field: bool reconnect = 4;\n */\n reconnect = false;\n\n /**\n * @generated from field: bool auto_subscribe = 9;\n */\n autoSubscribe = false;\n\n /**\n * @generated from field: bool hidden = 10;\n */\n hidden = false;\n\n /**\n * @generated from field: livekit.ClientInfo client = 11;\n */\n client?: ClientInfo;\n\n /**\n * @generated from field: bool recorder = 12;\n */\n recorder = false;\n\n /**\n * @generated from field: string name = 13;\n */\n name = \"\";\n\n /**\n * A user's ClaimGrants serialized in JSON\n *\n * @generated from field: string grants_json = 14;\n */\n grantsJson = \"\";\n\n /**\n * @generated from field: bool adaptive_stream = 15;\n */\n adaptiveStream = false;\n\n /**\n * if reconnect, client will set current sid\n *\n * @generated from field: string participant_id = 16;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 17;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional bool subscriber_allow_pause = 18;\n */\n subscriberAllowPause?: boolean;\n\n /**\n * @generated from field: bool disable_ice_lite = 19;\n */\n disableIceLite = false;\n\n /**\n * @generated from field: livekit.CreateRoomRequest create_room = 20;\n */\n createRoom?: CreateRoomRequest;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StartSession\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"connection_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"auto_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"client\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"grants_json\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"adaptive_stream\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 18, name: \"subscriber_allow_pause\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 19, name: \"disable_ice_lite\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 20, name: \"create_room\", kind: \"message\", T: CreateRoomRequest },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StartSession {\n return new StartSession().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StartSession {\n return new StartSession().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StartSession {\n return new StartSession().fromJsonString(jsonString, options);\n }\n\n static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean {\n return proto3.util.equals(StartSession, a, b);\n }\n}\n\n/**\n * room info that should not be returned to clients\n *\n * @generated from message livekit.RoomInternal\n */\nexport class RoomInternal extends Message {\n /**\n * @generated from field: livekit.AutoTrackEgress track_egress = 1;\n */\n trackEgress?: AutoTrackEgress;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant_egress = 2;\n */\n participantEgress?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.PlayoutDelay playout_delay = 3;\n */\n playoutDelay?: PlayoutDelay;\n\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5;\n */\n agentDispatches: RoomAgentDispatch[] = [];\n\n /**\n * @generated from field: bool sync_streams = 4;\n */\n syncStreams = false;\n\n /**\n * @generated from field: bool replay_enabled = 6;\n */\n replayEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomInternal\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_egress\", kind: \"message\", T: AutoTrackEgress },\n { no: 2, name: \"participant_egress\", kind: \"message\", T: AutoParticipantEgress },\n { no: 3, name: \"playout_delay\", kind: \"message\", T: PlayoutDelay },\n { no: 5, name: \"agent_dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n { no: 4, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal {\n return new RoomInternal().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal {\n return new RoomInternal().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomInternal {\n return new RoomInternal().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomInternal, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEConfig\n */\nexport class ICEConfig extends Message {\n /**\n * @generated from field: livekit.ICECandidateType preference_subscriber = 1;\n */\n preferenceSubscriber = ICECandidateType.ICT_NONE;\n\n /**\n * @generated from field: livekit.ICECandidateType preference_publisher = 2;\n */\n preferencePublisher = ICECandidateType.ICT_NONE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preference_subscriber\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n { no: 2, name: \"preference_publisher\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig {\n return new ICEConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig {\n return new ICEConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEConfig {\n return new ICEConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEConfig, a, b);\n }\n}\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WAAW,OAAO,OAAO;AAAA,EAClD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA+C;AACnF,WAAO,IAAI,WAAU,EAAE,SAAS,WAAW,OAAO;AAAA,EACpD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA+C;AACvF,WAAO,IAAI,WAAU,EAAE,eAAe,YAAY,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,OAAO,GAAoD,GAA6D;AAC7H,WAAO,uBAAO,KAAK,OAAO,YAAW,GAAG,CAAC;AAAA,EAC3C;AACF;AAtCa,WAgBK,UAAyB;AAhB9B,WAiBK,WAAW;AAjBhB,WAkBK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,yBAAyB,MAAM,QAAQ,GAAG,uBAAO,YAAY,gBAAgB,EAAE;AAAA,EAC9F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,QAAQ,GAAG,uBAAO,YAAY,gBAAgB,EAAE;AAC/F,CAAC;AArBI,IAAM,YAAN;","names":["NodeType","NodeState","ICECandidateType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.d.ts b/packages/javascript/dist/gen/livekit_internal_pb.d.ts new file mode 100644 index 00000000..cb4ed07f --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.d.ts @@ -0,0 +1,481 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; +import { CreateRoomRequest } from "./livekit_room_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +/** + * @generated from enum livekit.NodeType + */ +export declare enum NodeType { + /** + * @generated from enum value: SERVER = 0; + */ + SERVER = 0, + /** + * @generated from enum value: CONTROLLER = 1; + */ + CONTROLLER = 1, + /** + * @generated from enum value: MEDIA = 2; + */ + MEDIA = 2, + /** + * @generated from enum value: TURN = 4; + */ + TURN = 4, + /** + * @generated from enum value: SWEEPER = 5; + */ + SWEEPER = 5, + /** + * @generated from enum value: DIRECTOR = 6; + */ + DIRECTOR = 6 +} +/** + * @generated from enum livekit.NodeState + */ +export declare enum NodeState { + /** + * @generated from enum value: STARTING_UP = 0; + */ + STARTING_UP = 0, + /** + * @generated from enum value: SERVING = 1; + */ + SERVING = 1, + /** + * @generated from enum value: SHUTTING_DOWN = 2; + */ + SHUTTING_DOWN = 2 +} +/** + * @generated from enum livekit.ICECandidateType + */ +export declare enum ICECandidateType { + /** + * @generated from enum value: ICT_NONE = 0; + */ + ICT_NONE = 0, + /** + * @generated from enum value: ICT_TCP = 1; + */ + ICT_TCP = 1, + /** + * @generated from enum value: ICT_TLS = 2; + */ + ICT_TLS = 2 +} +/** + * @generated from message livekit.Node + */ +export declare class Node extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string ip = 2; + */ + ip: string; + /** + * @generated from field: uint32 num_cpus = 3; + */ + numCpus: number; + /** + * @generated from field: livekit.NodeStats stats = 4; + */ + stats?: NodeStats; + /** + * @generated from field: livekit.NodeType type = 5; + */ + type: NodeType; + /** + * @generated from field: livekit.NodeState state = 6; + */ + state: NodeState; + /** + * @generated from field: string region = 7; + */ + region: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Node"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Node; + static fromJson(jsonValue: JsonValue, options?: Partial): Node; + static fromJsonString(jsonString: string, options?: Partial): Node; + static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.NodeStats + */ +export declare class NodeStats extends Message { + /** + * when server was started + * + * @generated from field: int64 started_at = 1; + */ + startedAt: bigint; + /** + * when server last reported its status + * + * @generated from field: int64 updated_at = 2; + */ + updatedAt: bigint; + /** + * room + * + * @generated from field: int32 num_rooms = 3; + */ + numRooms: number; + /** + * @generated from field: int32 num_clients = 4; + */ + numClients: number; + /** + * @generated from field: int32 num_tracks_in = 5; + */ + numTracksIn: number; + /** + * @generated from field: int32 num_tracks_out = 6; + */ + numTracksOut: number; + /** + * @generated from field: int32 num_track_publish_attempts = 36; + */ + numTrackPublishAttempts: number; + /** + * @generated from field: float track_publish_attempts_per_sec = 37; + */ + trackPublishAttemptsPerSec: number; + /** + * @generated from field: int32 num_track_publish_success = 38; + */ + numTrackPublishSuccess: number; + /** + * @generated from field: float track_publish_success_per_sec = 39; + */ + trackPublishSuccessPerSec: number; + /** + * @generated from field: int32 num_track_subscribe_attempts = 40; + */ + numTrackSubscribeAttempts: number; + /** + * @generated from field: float track_subscribe_attempts_per_sec = 41; + */ + trackSubscribeAttemptsPerSec: number; + /** + * @generated from field: int32 num_track_subscribe_success = 42; + */ + numTrackSubscribeSuccess: number; + /** + * @generated from field: float track_subscribe_success_per_sec = 43; + */ + trackSubscribeSuccessPerSec: number; + /** + * packet + * + * @generated from field: uint64 bytes_in = 7; + */ + bytesIn: bigint; + /** + * @generated from field: uint64 bytes_out = 8; + */ + bytesOut: bigint; + /** + * @generated from field: uint64 packets_in = 9; + */ + packetsIn: bigint; + /** + * @generated from field: uint64 packets_out = 10; + */ + packetsOut: bigint; + /** + * @generated from field: uint64 nack_total = 11; + */ + nackTotal: bigint; + /** + * @generated from field: float bytes_in_per_sec = 12; + */ + bytesInPerSec: number; + /** + * @generated from field: float bytes_out_per_sec = 13; + */ + bytesOutPerSec: number; + /** + * @generated from field: float packets_in_per_sec = 14; + */ + packetsInPerSec: number; + /** + * @generated from field: float packets_out_per_sec = 15; + */ + packetsOutPerSec: number; + /** + * @generated from field: float nack_per_sec = 16; + */ + nackPerSec: number; + /** + * system + * + * @generated from field: uint32 num_cpus = 17; + */ + numCpus: number; + /** + * @generated from field: float load_avg_last1min = 18; + */ + loadAvgLast1min: number; + /** + * @generated from field: float load_avg_last5min = 19; + */ + loadAvgLast5min: number; + /** + * @generated from field: float load_avg_last15min = 20; + */ + loadAvgLast15min: number; + /** + * @generated from field: float cpu_load = 21; + */ + cpuLoad: number; + /** + * deprecated + * + * @generated from field: float memory_load = 33; + */ + memoryLoad: number; + /** + * @generated from field: uint64 memory_total = 34; + */ + memoryTotal: bigint; + /** + * @generated from field: uint64 memory_used = 35; + */ + memoryUsed: bigint; + /** + * @generated from field: uint32 sys_packets_out = 28; + */ + sysPacketsOut: number; + /** + * @generated from field: uint32 sys_packets_dropped = 29; + */ + sysPacketsDropped: number; + /** + * @generated from field: float sys_packets_out_per_sec = 30; + */ + sysPacketsOutPerSec: number; + /** + * @generated from field: float sys_packets_dropped_per_sec = 31; + */ + sysPacketsDroppedPerSec: number; + /** + * @generated from field: float sys_packets_dropped_pct_per_sec = 32; + */ + sysPacketsDroppedPctPerSec: number; + /** + * retransmissions + * + * @generated from field: uint64 retransmit_bytes_out = 22; + */ + retransmitBytesOut: bigint; + /** + * @generated from field: uint64 retransmit_packets_out = 23; + */ + retransmitPacketsOut: bigint; + /** + * @generated from field: float retransmit_bytes_out_per_sec = 24; + */ + retransmitBytesOutPerSec: number; + /** + * @generated from field: float retransmit_packets_out_per_sec = 25; + */ + retransmitPacketsOutPerSec: number; + /** + * participant joins + * + * @generated from field: uint64 participant_signal_connected = 26; + */ + participantSignalConnected: bigint; + /** + * @generated from field: float participant_signal_connected_per_sec = 27; + */ + participantSignalConnectedPerSec: number; + /** + * @generated from field: uint64 participant_rtc_connected = 44; + */ + participantRtcConnected: bigint; + /** + * @generated from field: float participant_rtc_connected_per_sec = 45; + */ + participantRtcConnectedPerSec: number; + /** + * @generated from field: uint64 participant_rtc_init = 46; + */ + participantRtcInit: bigint; + /** + * @generated from field: float participant_rtc_init_per_sec = 47; + */ + participantRtcInitPerSec: number; + /** + * forward metrics + * + * @generated from field: uint32 forward_latency = 48; + */ + forwardLatency: number; + /** + * @generated from field: uint32 forward_jitter = 49; + */ + forwardJitter: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.NodeStats"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats; + static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats; + static fromJsonString(jsonString: string, options?: Partial): NodeStats; + static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StartSession + */ +export declare class StartSession extends Message { + /** + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * @generated from field: string connection_id = 3; + */ + connectionId: string; + /** + * if a client is reconnecting (i.e. resume instead of restart) + * + * @generated from field: bool reconnect = 4; + */ + reconnect: boolean; + /** + * @generated from field: bool auto_subscribe = 9; + */ + autoSubscribe: boolean; + /** + * @generated from field: bool hidden = 10; + */ + hidden: boolean; + /** + * @generated from field: livekit.ClientInfo client = 11; + */ + client?: ClientInfo; + /** + * @generated from field: bool recorder = 12; + */ + recorder: boolean; + /** + * @generated from field: string name = 13; + */ + name: string; + /** + * A user's ClaimGrants serialized in JSON + * + * @generated from field: string grants_json = 14; + */ + grantsJson: string; + /** + * @generated from field: bool adaptive_stream = 15; + */ + adaptiveStream: boolean; + /** + * if reconnect, client will set current sid + * + * @generated from field: string participant_id = 16; + */ + participantId: string; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 17; + */ + reconnectReason: ReconnectReason; + /** + * @generated from field: optional bool subscriber_allow_pause = 18; + */ + subscriberAllowPause?: boolean; + /** + * @generated from field: bool disable_ice_lite = 19; + */ + disableIceLite: boolean; + /** + * @generated from field: livekit.CreateRoomRequest create_room = 20; + */ + createRoom?: CreateRoomRequest; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StartSession"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StartSession; + static fromJson(jsonValue: JsonValue, options?: Partial): StartSession; + static fromJsonString(jsonString: string, options?: Partial): StartSession; + static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean; +} +/** + * room info that should not be returned to clients + * + * @generated from message livekit.RoomInternal + */ +export declare class RoomInternal extends Message { + /** + * @generated from field: livekit.AutoTrackEgress track_egress = 1; + */ + trackEgress?: AutoTrackEgress; + /** + * @generated from field: livekit.AutoParticipantEgress participant_egress = 2; + */ + participantEgress?: AutoParticipantEgress; + /** + * @generated from field: livekit.PlayoutDelay playout_delay = 3; + */ + playoutDelay?: PlayoutDelay; + /** + * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; + */ + agentDispatches: RoomAgentDispatch[]; + /** + * @generated from field: bool sync_streams = 4; + */ + syncStreams: boolean; + /** + * @generated from field: bool replay_enabled = 6; + */ + replayEnabled: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomInternal"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal; + static fromJsonString(jsonString: string, options?: Partial): RoomInternal; + static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ICEConfig + */ +export declare class ICEConfig extends Message { + /** + * @generated from field: livekit.ICECandidateType preference_subscriber = 1; + */ + preferenceSubscriber: ICECandidateType; + /** + * @generated from field: livekit.ICECandidateType preference_publisher = 2; + */ + preferencePublisher: ICECandidateType; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ICEConfig"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig; + static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig; + static fromJsonString(jsonString: string, options?: Partial): ICEConfig; + static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_internal_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map b/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map new file mode 100644 index 00000000..3d350642 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_internal_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_internal_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE;;GAEG;AACH,oBAAY,QAAQ;IAClB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,QAAQ,IAAI;CACb;AAWD;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,aAAa,IAAI;CAClB;AAQD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,OAAO,IAAI;CACZ;AAQD;;GAEG;AACH,qBAAa,IAAK,SAA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UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAS;IAIrF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS;IAIpF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/H"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.js b/packages/javascript/dist/gen/livekit_internal_pb.js new file mode 100644 index 00000000..3d75154e --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.js @@ -0,0 +1,968 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; +import { CreateRoomRequest } from "./livekit_room_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +var NodeType = /* @__PURE__ */ ((NodeType2) => { + NodeType2[NodeType2["SERVER"] = 0] = "SERVER"; + NodeType2[NodeType2["CONTROLLER"] = 1] = "CONTROLLER"; + NodeType2[NodeType2["MEDIA"] = 2] = "MEDIA"; + NodeType2[NodeType2["TURN"] = 4] = "TURN"; + NodeType2[NodeType2["SWEEPER"] = 5] = "SWEEPER"; + NodeType2[NodeType2["DIRECTOR"] = 6] = "DIRECTOR"; + return NodeType2; +})(NodeType || {}); +proto3.util.setEnumType(NodeType, "livekit.NodeType", [ + { no: 0, name: "SERVER" }, + { no: 1, name: "CONTROLLER" }, + { no: 2, name: "MEDIA" }, + { no: 4, name: "TURN" }, + { no: 5, name: "SWEEPER" }, + { no: 6, name: "DIRECTOR" } +]); +var NodeState = /* @__PURE__ */ ((NodeState2) => { + NodeState2[NodeState2["STARTING_UP"] = 0] = "STARTING_UP"; + NodeState2[NodeState2["SERVING"] = 1] = "SERVING"; + NodeState2[NodeState2["SHUTTING_DOWN"] = 2] = "SHUTTING_DOWN"; + return NodeState2; +})(NodeState || {}); +proto3.util.setEnumType(NodeState, "livekit.NodeState", [ + { no: 0, name: "STARTING_UP" }, + { no: 1, name: "SERVING" }, + { no: 2, name: "SHUTTING_DOWN" } +]); +var ICECandidateType = /* @__PURE__ */ ((ICECandidateType2) => { + ICECandidateType2[ICECandidateType2["ICT_NONE"] = 0] = "ICT_NONE"; + ICECandidateType2[ICECandidateType2["ICT_TCP"] = 1] = "ICT_TCP"; + ICECandidateType2[ICECandidateType2["ICT_TLS"] = 2] = "ICT_TLS"; + return ICECandidateType2; +})(ICECandidateType || {}); +proto3.util.setEnumType(ICECandidateType, "livekit.ICECandidateType", [ + { no: 0, name: "ICT_NONE" }, + { no: 1, name: "ICT_TCP" }, + { no: 2, name: "ICT_TLS" } +]); +const _Node = class _Node extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string ip = 2; + */ + this.ip = ""; + /** + * @generated from field: uint32 num_cpus = 3; + */ + this.numCpus = 0; + /** + * @generated from field: livekit.NodeType type = 5; + */ + this.type = 0 /* SERVER */; + /** + * @generated from field: livekit.NodeState state = 6; + */ + this.state = 0 /* STARTING_UP */; + /** + * @generated from field: string region = 7; + */ + this.region = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Node().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Node().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Node().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Node, a, b); + } +}; +_Node.runtime = proto3; +_Node.typeName = "livekit.Node"; +_Node.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "ip", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "num_cpus", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 4, name: "stats", kind: "message", T: NodeStats }, + { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) }, + { no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) }, + { + no: 7, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let Node = _Node; +const _NodeStats = class _NodeStats extends Message { + constructor(data) { + super(); + /** + * when server was started + * + * @generated from field: int64 started_at = 1; + */ + this.startedAt = protoInt64.zero; + /** + * when server last reported its status + * + * @generated from field: int64 updated_at = 2; + */ + this.updatedAt = protoInt64.zero; + /** + * room + * + * @generated from field: int32 num_rooms = 3; + */ + this.numRooms = 0; + /** + * @generated from field: int32 num_clients = 4; + */ + this.numClients = 0; + /** + * @generated from field: int32 num_tracks_in = 5; + */ + this.numTracksIn = 0; + /** + * @generated from field: int32 num_tracks_out = 6; + */ + this.numTracksOut = 0; + /** + * @generated from field: int32 num_track_publish_attempts = 36; + */ + this.numTrackPublishAttempts = 0; + /** + * @generated from field: float track_publish_attempts_per_sec = 37; + */ + this.trackPublishAttemptsPerSec = 0; + /** + * @generated from field: int32 num_track_publish_success = 38; + */ + this.numTrackPublishSuccess = 0; + /** + * @generated from field: float track_publish_success_per_sec = 39; + */ + this.trackPublishSuccessPerSec = 0; + /** + * @generated from field: int32 num_track_subscribe_attempts = 40; + */ + this.numTrackSubscribeAttempts = 0; + /** + * @generated from field: float track_subscribe_attempts_per_sec = 41; + */ + this.trackSubscribeAttemptsPerSec = 0; + /** + * @generated from field: int32 num_track_subscribe_success = 42; + */ + this.numTrackSubscribeSuccess = 0; + /** + * @generated from field: float track_subscribe_success_per_sec = 43; + */ + this.trackSubscribeSuccessPerSec = 0; + /** + * packet + * + * @generated from field: uint64 bytes_in = 7; + */ + this.bytesIn = protoInt64.zero; + /** + * @generated from field: uint64 bytes_out = 8; + */ + this.bytesOut = protoInt64.zero; + /** + * @generated from field: uint64 packets_in = 9; + */ + this.packetsIn = protoInt64.zero; + /** + * @generated from field: uint64 packets_out = 10; + */ + this.packetsOut = protoInt64.zero; + /** + * @generated from field: uint64 nack_total = 11; + */ + this.nackTotal = protoInt64.zero; + /** + * @generated from field: float bytes_in_per_sec = 12; + */ + this.bytesInPerSec = 0; + /** + * @generated from field: float bytes_out_per_sec = 13; + */ + this.bytesOutPerSec = 0; + /** + * @generated from field: float packets_in_per_sec = 14; + */ + this.packetsInPerSec = 0; + /** + * @generated from field: float packets_out_per_sec = 15; + */ + this.packetsOutPerSec = 0; + /** + * @generated from field: float nack_per_sec = 16; + */ + this.nackPerSec = 0; + /** + * system + * + * @generated from field: uint32 num_cpus = 17; + */ + this.numCpus = 0; + /** + * @generated from field: float load_avg_last1min = 18; + */ + this.loadAvgLast1min = 0; + /** + * @generated from field: float load_avg_last5min = 19; + */ + this.loadAvgLast5min = 0; + /** + * @generated from field: float load_avg_last15min = 20; + */ + this.loadAvgLast15min = 0; + /** + * @generated from field: float cpu_load = 21; + */ + this.cpuLoad = 0; + /** + * deprecated + * + * @generated from field: float memory_load = 33; + */ + this.memoryLoad = 0; + /** + * @generated from field: uint64 memory_total = 34; + */ + this.memoryTotal = protoInt64.zero; + /** + * @generated from field: uint64 memory_used = 35; + */ + this.memoryUsed = protoInt64.zero; + /** + * @generated from field: uint32 sys_packets_out = 28; + */ + this.sysPacketsOut = 0; + /** + * @generated from field: uint32 sys_packets_dropped = 29; + */ + this.sysPacketsDropped = 0; + /** + * @generated from field: float sys_packets_out_per_sec = 30; + */ + this.sysPacketsOutPerSec = 0; + /** + * @generated from field: float sys_packets_dropped_per_sec = 31; + */ + this.sysPacketsDroppedPerSec = 0; + /** + * @generated from field: float sys_packets_dropped_pct_per_sec = 32; + */ + this.sysPacketsDroppedPctPerSec = 0; + /** + * retransmissions + * + * @generated from field: uint64 retransmit_bytes_out = 22; + */ + this.retransmitBytesOut = protoInt64.zero; + /** + * @generated from field: uint64 retransmit_packets_out = 23; + */ + this.retransmitPacketsOut = protoInt64.zero; + /** + * @generated from field: float retransmit_bytes_out_per_sec = 24; + */ + this.retransmitBytesOutPerSec = 0; + /** + * @generated from field: float retransmit_packets_out_per_sec = 25; + */ + this.retransmitPacketsOutPerSec = 0; + /** + * participant joins + * + * @generated from field: uint64 participant_signal_connected = 26; + */ + this.participantSignalConnected = protoInt64.zero; + /** + * @generated from field: float participant_signal_connected_per_sec = 27; + */ + this.participantSignalConnectedPerSec = 0; + /** + * @generated from field: uint64 participant_rtc_connected = 44; + */ + this.participantRtcConnected = protoInt64.zero; + /** + * @generated from field: float participant_rtc_connected_per_sec = 45; + */ + this.participantRtcConnectedPerSec = 0; + /** + * @generated from field: uint64 participant_rtc_init = 46; + */ + this.participantRtcInit = protoInt64.zero; + /** + * @generated from field: float participant_rtc_init_per_sec = 47; + */ + this.participantRtcInitPerSec = 0; + /** + * forward metrics + * + * @generated from field: uint32 forward_latency = 48; + */ + this.forwardLatency = 0; + /** + * @generated from field: uint32 forward_jitter = 49; + */ + this.forwardJitter = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _NodeStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _NodeStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _NodeStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_NodeStats, a, b); + } +}; +_NodeStats.runtime = proto3; +_NodeStats.typeName = "livekit.NodeStats"; +_NodeStats.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "updated_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "num_rooms", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "num_clients", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 5, + name: "num_tracks_in", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 6, + name: "num_tracks_out", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 36, + name: "num_track_publish_attempts", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 37, + name: "track_publish_attempts_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 38, + name: "num_track_publish_success", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 39, + name: "track_publish_success_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 40, + name: "num_track_subscribe_attempts", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 41, + name: "track_subscribe_attempts_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 42, + name: "num_track_subscribe_success", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 43, + name: "track_subscribe_success_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 7, + name: "bytes_in", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 8, + name: "bytes_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 9, + name: "packets_in", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 10, + name: "packets_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 11, + name: "nack_total", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 12, + name: "bytes_in_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 13, + name: "bytes_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 14, + name: "packets_in_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 15, + name: "packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 16, + name: "nack_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 17, + name: "num_cpus", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 18, + name: "load_avg_last1min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 19, + name: "load_avg_last5min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 20, + name: "load_avg_last15min", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 21, + name: "cpu_load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 33, + name: "memory_load", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 34, + name: "memory_total", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 35, + name: "memory_used", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 28, + name: "sys_packets_out", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 29, + name: "sys_packets_dropped", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 30, + name: "sys_packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 31, + name: "sys_packets_dropped_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 32, + name: "sys_packets_dropped_pct_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 22, + name: "retransmit_bytes_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 23, + name: "retransmit_packets_out", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 24, + name: "retransmit_bytes_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 25, + name: "retransmit_packets_out_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 26, + name: "participant_signal_connected", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 27, + name: "participant_signal_connected_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 44, + name: "participant_rtc_connected", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 45, + name: "participant_rtc_connected_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 46, + name: "participant_rtc_init", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 47, + name: "participant_rtc_init_per_sec", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 48, + name: "forward_latency", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 49, + name: "forward_jitter", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let NodeStats = _NodeStats; +const _StartSession = class _StartSession extends Message { + constructor(data) { + super(); + /** + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: string connection_id = 3; + */ + this.connectionId = ""; + /** + * if a client is reconnecting (i.e. resume instead of restart) + * + * @generated from field: bool reconnect = 4; + */ + this.reconnect = false; + /** + * @generated from field: bool auto_subscribe = 9; + */ + this.autoSubscribe = false; + /** + * @generated from field: bool hidden = 10; + */ + this.hidden = false; + /** + * @generated from field: bool recorder = 12; + */ + this.recorder = false; + /** + * @generated from field: string name = 13; + */ + this.name = ""; + /** + * A user's ClaimGrants serialized in JSON + * + * @generated from field: string grants_json = 14; + */ + this.grantsJson = ""; + /** + * @generated from field: bool adaptive_stream = 15; + */ + this.adaptiveStream = false; + /** + * if reconnect, client will set current sid + * + * @generated from field: string participant_id = 16; + */ + this.participantId = ""; + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 17; + */ + this.reconnectReason = ReconnectReason.RR_UNKNOWN; + /** + * @generated from field: bool disable_ice_lite = 19; + */ + this.disableIceLite = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StartSession().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StartSession().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StartSession().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StartSession, a, b); + } +}; +_StartSession.runtime = proto3; +_StartSession.typeName = "livekit.StartSession"; +_StartSession.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "connection_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "reconnect", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 9, + name: "auto_subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "hidden", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "client", kind: "message", T: ClientInfo }, + { + no: 12, + name: "recorder", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 14, + name: "grants_json", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 15, + name: "adaptive_stream", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 16, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, + { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true }, + { + no: 19, + name: "disable_ice_lite", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest } +]); +let StartSession = _StartSession; +const _RoomInternal = class _RoomInternal extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; + */ + this.agentDispatches = []; + /** + * @generated from field: bool sync_streams = 4; + */ + this.syncStreams = false; + /** + * @generated from field: bool replay_enabled = 6; + */ + this.replayEnabled = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomInternal().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomInternal().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomInternal().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomInternal, a, b); + } +}; +_RoomInternal.runtime = proto3; +_RoomInternal.typeName = "livekit.RoomInternal"; +_RoomInternal.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress }, + { no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress }, + { no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay }, + { no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, + { + no: 4, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "replay_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let RoomInternal = _RoomInternal; +const _ICEConfig = class _ICEConfig extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ICECandidateType preference_subscriber = 1; + */ + this.preferenceSubscriber = 0 /* ICT_NONE */; + /** + * @generated from field: livekit.ICECandidateType preference_publisher = 2; + */ + this.preferencePublisher = 0 /* ICT_NONE */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ICEConfig().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ICEConfig().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ICEConfig().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ICEConfig, a, b); + } +}; +_ICEConfig.runtime = proto3; +_ICEConfig.typeName = "livekit.ICEConfig"; +_ICEConfig.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, + { no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) } +]); +let ICEConfig = _ICEConfig; +export { + ICECandidateType, + ICEConfig, + Node, + NodeState, + NodeStats, + NodeType, + RoomInternal, + StartSession +}; +//# sourceMappingURL=livekit_internal_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.js.map b/packages/javascript/dist/gen/livekit_internal_pb.js.map new file mode 100644 index 00000000..41ec1df2 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_internal_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_internal_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_internal.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ClientInfo, PlayoutDelay, ReconnectReason } from \"./livekit_models_pb.js\";\nimport { CreateRoomRequest } from \"./livekit_room_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress } from \"./livekit_egress_pb.js\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\n\n/**\n * @generated from enum livekit.NodeType\n */\nexport enum NodeType {\n /**\n * @generated from enum value: SERVER = 0;\n */\n SERVER = 0,\n\n /**\n * @generated from enum value: CONTROLLER = 1;\n */\n CONTROLLER = 1,\n\n /**\n * @generated from enum value: MEDIA = 2;\n */\n MEDIA = 2,\n\n /**\n * @generated from enum value: TURN = 4;\n */\n TURN = 4,\n\n /**\n * @generated from enum value: SWEEPER = 5;\n */\n SWEEPER = 5,\n\n /**\n * @generated from enum value: DIRECTOR = 6;\n */\n DIRECTOR = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeType)\nproto3.util.setEnumType(NodeType, \"livekit.NodeType\", [\n { no: 0, name: \"SERVER\" },\n { no: 1, name: \"CONTROLLER\" },\n { no: 2, name: \"MEDIA\" },\n { no: 4, name: \"TURN\" },\n { no: 5, name: \"SWEEPER\" },\n { no: 6, name: \"DIRECTOR\" },\n]);\n\n/**\n * @generated from enum livekit.NodeState\n */\nexport enum NodeState {\n /**\n * @generated from enum value: STARTING_UP = 0;\n */\n STARTING_UP = 0,\n\n /**\n * @generated from enum value: SERVING = 1;\n */\n SERVING = 1,\n\n /**\n * @generated from enum value: SHUTTING_DOWN = 2;\n */\n SHUTTING_DOWN = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeState)\nproto3.util.setEnumType(NodeState, \"livekit.NodeState\", [\n { no: 0, name: \"STARTING_UP\" },\n { no: 1, name: \"SERVING\" },\n { no: 2, name: \"SHUTTING_DOWN\" },\n]);\n\n/**\n * @generated from enum livekit.ICECandidateType\n */\nexport enum ICECandidateType {\n /**\n * @generated from enum value: ICT_NONE = 0;\n */\n ICT_NONE = 0,\n\n /**\n * @generated from enum value: ICT_TCP = 1;\n */\n ICT_TCP = 1,\n\n /**\n * @generated from enum value: ICT_TLS = 2;\n */\n ICT_TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ICECandidateType)\nproto3.util.setEnumType(ICECandidateType, \"livekit.ICECandidateType\", [\n { no: 0, name: \"ICT_NONE\" },\n { no: 1, name: \"ICT_TCP\" },\n { no: 2, name: \"ICT_TLS\" },\n]);\n\n/**\n * @generated from message livekit.Node\n */\nexport class Node extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string ip = 2;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 num_cpus = 3;\n */\n numCpus = 0;\n\n /**\n * @generated from field: livekit.NodeStats stats = 4;\n */\n stats?: NodeStats;\n\n /**\n * @generated from field: livekit.NodeType type = 5;\n */\n type = NodeType.SERVER;\n\n /**\n * @generated from field: livekit.NodeState state = 6;\n */\n state = NodeState.STARTING_UP;\n\n /**\n * @generated from field: string region = 7;\n */\n region = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Node\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"stats\", kind: \"message\", T: NodeStats },\n { no: 5, name: \"type\", kind: \"enum\", T: proto3.getEnumType(NodeType) },\n { no: 6, name: \"state\", kind: \"enum\", T: proto3.getEnumType(NodeState) },\n { no: 7, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Node {\n return new Node().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Node {\n return new Node().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Node {\n return new Node().fromJsonString(jsonString, options);\n }\n\n static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean {\n return proto3.util.equals(Node, a, b);\n }\n}\n\n/**\n * @generated from message livekit.NodeStats\n */\nexport class NodeStats extends Message {\n /**\n * when server was started\n *\n * @generated from field: int64 started_at = 1;\n */\n startedAt = protoInt64.zero;\n\n /**\n * when server last reported its status\n *\n * @generated from field: int64 updated_at = 2;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * room\n *\n * @generated from field: int32 num_rooms = 3;\n */\n numRooms = 0;\n\n /**\n * @generated from field: int32 num_clients = 4;\n */\n numClients = 0;\n\n /**\n * @generated from field: int32 num_tracks_in = 5;\n */\n numTracksIn = 0;\n\n /**\n * @generated from field: int32 num_tracks_out = 6;\n */\n numTracksOut = 0;\n\n /**\n * @generated from field: int32 num_track_publish_attempts = 36;\n */\n numTrackPublishAttempts = 0;\n\n /**\n * @generated from field: float track_publish_attempts_per_sec = 37;\n */\n trackPublishAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_publish_success = 38;\n */\n numTrackPublishSuccess = 0;\n\n /**\n * @generated from field: float track_publish_success_per_sec = 39;\n */\n trackPublishSuccessPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_attempts = 40;\n */\n numTrackSubscribeAttempts = 0;\n\n /**\n * @generated from field: float track_subscribe_attempts_per_sec = 41;\n */\n trackSubscribeAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_success = 42;\n */\n numTrackSubscribeSuccess = 0;\n\n /**\n * @generated from field: float track_subscribe_success_per_sec = 43;\n */\n trackSubscribeSuccessPerSec = 0;\n\n /**\n * packet\n *\n * @generated from field: uint64 bytes_in = 7;\n */\n bytesIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 bytes_out = 8;\n */\n bytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_in = 9;\n */\n packetsIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_out = 10;\n */\n packetsOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 nack_total = 11;\n */\n nackTotal = protoInt64.zero;\n\n /**\n * @generated from field: float bytes_in_per_sec = 12;\n */\n bytesInPerSec = 0;\n\n /**\n * @generated from field: float bytes_out_per_sec = 13;\n */\n bytesOutPerSec = 0;\n\n /**\n * @generated from field: float packets_in_per_sec = 14;\n */\n packetsInPerSec = 0;\n\n /**\n * @generated from field: float packets_out_per_sec = 15;\n */\n packetsOutPerSec = 0;\n\n /**\n * @generated from field: float nack_per_sec = 16;\n */\n nackPerSec = 0;\n\n /**\n * system\n *\n * @generated from field: uint32 num_cpus = 17;\n */\n numCpus = 0;\n\n /**\n * @generated from field: float load_avg_last1min = 18;\n */\n loadAvgLast1min = 0;\n\n /**\n * @generated from field: float load_avg_last5min = 19;\n */\n loadAvgLast5min = 0;\n\n /**\n * @generated from field: float load_avg_last15min = 20;\n */\n loadAvgLast15min = 0;\n\n /**\n * @generated from field: float cpu_load = 21;\n */\n cpuLoad = 0;\n\n /**\n * deprecated\n *\n * @generated from field: float memory_load = 33;\n */\n memoryLoad = 0;\n\n /**\n * @generated from field: uint64 memory_total = 34;\n */\n memoryTotal = protoInt64.zero;\n\n /**\n * @generated from field: uint64 memory_used = 35;\n */\n memoryUsed = protoInt64.zero;\n\n /**\n * @generated from field: uint32 sys_packets_out = 28;\n */\n sysPacketsOut = 0;\n\n /**\n * @generated from field: uint32 sys_packets_dropped = 29;\n */\n sysPacketsDropped = 0;\n\n /**\n * @generated from field: float sys_packets_out_per_sec = 30;\n */\n sysPacketsOutPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_per_sec = 31;\n */\n sysPacketsDroppedPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_pct_per_sec = 32;\n */\n sysPacketsDroppedPctPerSec = 0;\n\n /**\n * retransmissions\n *\n * @generated from field: uint64 retransmit_bytes_out = 22;\n */\n retransmitBytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 retransmit_packets_out = 23;\n */\n retransmitPacketsOut = protoInt64.zero;\n\n /**\n * @generated from field: float retransmit_bytes_out_per_sec = 24;\n */\n retransmitBytesOutPerSec = 0;\n\n /**\n * @generated from field: float retransmit_packets_out_per_sec = 25;\n */\n retransmitPacketsOutPerSec = 0;\n\n /**\n * participant joins\n *\n * @generated from field: uint64 participant_signal_connected = 26;\n */\n participantSignalConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_signal_connected_per_sec = 27;\n */\n participantSignalConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_connected = 44;\n */\n participantRtcConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_connected_per_sec = 45;\n */\n participantRtcConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_init = 46;\n */\n participantRtcInit = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_init_per_sec = 47;\n */\n participantRtcInitPerSec = 0;\n\n /**\n * forward metrics\n *\n * @generated from field: uint32 forward_latency = 48;\n */\n forwardLatency = 0;\n\n /**\n * @generated from field: uint32 forward_jitter = 49;\n */\n forwardJitter = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.NodeStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"num_rooms\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"num_clients\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"num_tracks_in\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"num_tracks_out\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 36, name: \"num_track_publish_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 37, name: \"track_publish_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 38, name: \"num_track_publish_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 39, name: \"track_publish_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 40, name: \"num_track_subscribe_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 41, name: \"track_subscribe_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 42, name: \"num_track_subscribe_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 43, name: \"track_subscribe_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 7, name: \"bytes_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 9, name: \"packets_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 10, name: \"packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 11, name: \"nack_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 12, name: \"bytes_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 14, name: \"packets_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 15, name: \"packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 16, name: \"nack_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 17, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 18, name: \"load_avg_last1min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 19, name: \"load_avg_last5min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 20, name: \"load_avg_last15min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 21, name: \"cpu_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 33, name: \"memory_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 34, name: \"memory_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 35, name: \"memory_used\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 28, name: \"sys_packets_out\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 29, name: \"sys_packets_dropped\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"sys_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 31, name: \"sys_packets_dropped_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 32, name: \"sys_packets_dropped_pct_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 22, name: \"retransmit_bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 23, name: \"retransmit_packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 24, name: \"retransmit_bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 25, name: \"retransmit_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 26, name: \"participant_signal_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 27, name: \"participant_signal_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 44, name: \"participant_rtc_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 45, name: \"participant_rtc_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 46, name: \"participant_rtc_init\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 47, name: \"participant_rtc_init_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 48, name: \"forward_latency\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 49, name: \"forward_jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats {\n return new NodeStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats {\n return new NodeStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): NodeStats {\n return new NodeStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(NodeStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StartSession\n */\nexport class StartSession extends Message {\n /**\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string connection_id = 3;\n */\n connectionId = \"\";\n\n /**\n * if a client is reconnecting (i.e. resume instead of restart)\n *\n * @generated from field: bool reconnect = 4;\n */\n reconnect = false;\n\n /**\n * @generated from field: bool auto_subscribe = 9;\n */\n autoSubscribe = false;\n\n /**\n * @generated from field: bool hidden = 10;\n */\n hidden = false;\n\n /**\n * @generated from field: livekit.ClientInfo client = 11;\n */\n client?: ClientInfo;\n\n /**\n * @generated from field: bool recorder = 12;\n */\n recorder = false;\n\n /**\n * @generated from field: string name = 13;\n */\n name = \"\";\n\n /**\n * A user's ClaimGrants serialized in JSON\n *\n * @generated from field: string grants_json = 14;\n */\n grantsJson = \"\";\n\n /**\n * @generated from field: bool adaptive_stream = 15;\n */\n adaptiveStream = false;\n\n /**\n * if reconnect, client will set current sid\n *\n * @generated from field: string participant_id = 16;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 17;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional bool subscriber_allow_pause = 18;\n */\n subscriberAllowPause?: boolean;\n\n /**\n * @generated from field: bool disable_ice_lite = 19;\n */\n disableIceLite = false;\n\n /**\n * @generated from field: livekit.CreateRoomRequest create_room = 20;\n */\n createRoom?: CreateRoomRequest;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StartSession\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"connection_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"auto_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"client\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"grants_json\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"adaptive_stream\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 18, name: \"subscriber_allow_pause\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 19, name: \"disable_ice_lite\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 20, name: \"create_room\", kind: \"message\", T: CreateRoomRequest },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StartSession {\n return new StartSession().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StartSession {\n return new StartSession().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StartSession {\n return new StartSession().fromJsonString(jsonString, options);\n }\n\n static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean {\n return proto3.util.equals(StartSession, a, b);\n }\n}\n\n/**\n * room info that should not be returned to clients\n *\n * @generated from message livekit.RoomInternal\n */\nexport class RoomInternal extends Message {\n /**\n * @generated from field: livekit.AutoTrackEgress track_egress = 1;\n */\n trackEgress?: AutoTrackEgress;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant_egress = 2;\n */\n participantEgress?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.PlayoutDelay playout_delay = 3;\n */\n playoutDelay?: PlayoutDelay;\n\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5;\n */\n agentDispatches: RoomAgentDispatch[] = [];\n\n /**\n * @generated from field: bool sync_streams = 4;\n */\n syncStreams = false;\n\n /**\n * @generated from field: bool replay_enabled = 6;\n */\n replayEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomInternal\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_egress\", kind: \"message\", T: AutoTrackEgress },\n { no: 2, name: \"participant_egress\", kind: \"message\", T: AutoParticipantEgress },\n { no: 3, name: \"playout_delay\", kind: \"message\", T: PlayoutDelay },\n { no: 5, name: \"agent_dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n { no: 4, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal {\n return new RoomInternal().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal {\n return new RoomInternal().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomInternal {\n return new RoomInternal().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomInternal, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEConfig\n */\nexport class ICEConfig extends Message {\n /**\n * @generated from field: livekit.ICECandidateType preference_subscriber = 1;\n */\n preferenceSubscriber = ICECandidateType.ICT_NONE;\n\n /**\n * @generated from field: livekit.ICECandidateType preference_publisher = 2;\n */\n preferencePublisher = ICECandidateType.ICT_NONE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preference_subscriber\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n { no: 2, name: \"preference_publisher\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig {\n return new ICEConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig {\n return new ICEConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEConfig {\n return new ICEConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a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AAU,EAAE,WAAW,OAAO,OAAO;AAAA,EAClD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA+C;AACnF,WAAO,IAAI,WAAU,EAAE,SAAS,WAAW,OAAO;AAAA,EACpD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA+C;AACvF,WAAO,IAAI,WAAU,EAAE,eAAe,YAAY,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,OAAO,GAAoD,GAA6D;AAC7H,WAAO,OAAO,KAAK,OAAO,YAAW,GAAG,CAAC;AAAA,EAC3C;AACF;AAtCa,WAgBK,UAAyB;AAhB9B,WAiBK,WAAW;AAjBhB,WAkBK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,yBAAyB,MAAM,QAAQ,GAAG,OAAO,YAAY,gBAAgB,EAAE;AAAA,EAC9F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,QAAQ,GAAG,OAAO,YAAY,gBAAgB,EAAE;AAC/F,CAAC;AArBI,IAAM,YAAN;","names":["NodeType","NodeState","ICECandidateType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.cjs b/packages/javascript/dist/gen/livekit_metrics_pb.cjs new file mode 100644 index 00000000..d242dfaf --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.cjs @@ -0,0 +1,371 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_metrics_pb_exports = {}; +__export(livekit_metrics_pb_exports, { + EventMetric: () => EventMetric, + MetricLabel: () => MetricLabel, + MetricSample: () => MetricSample, + MetricsBatch: () => MetricsBatch, + TimeSeriesMetric: () => TimeSeriesMetric +}); +module.exports = __toCommonJS(livekit_metrics_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var MetricLabel = /* @__PURE__ */ ((MetricLabel2) => { + MetricLabel2[MetricLabel2["AGENTS_LLM_TTFT"] = 0] = "AGENTS_LLM_TTFT"; + MetricLabel2[MetricLabel2["AGENTS_STT_TTFT"] = 1] = "AGENTS_STT_TTFT"; + MetricLabel2[MetricLabel2["AGENTS_TTS_TTFB"] = 2] = "AGENTS_TTS_TTFB"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"] = 3] = "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"] = 4] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"] = 5] = "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"] = 6] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"] = 7] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"] = 8] = "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"] = 9] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"] = 10] = "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"] = 11] = "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"] = 12] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"; + MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"] = 13] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"] = 14] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"] = 15] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"] = 16] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"; + MetricLabel2[MetricLabel2["PUBLISHER_RTT"] = 17] = "PUBLISHER_RTT"; + MetricLabel2[MetricLabel2["SERVER_MESH_RTT"] = 18] = "SERVER_MESH_RTT"; + MetricLabel2[MetricLabel2["SUBSCRIBER_RTT"] = 19] = "SUBSCRIBER_RTT"; + MetricLabel2[MetricLabel2["METRIC_LABEL_PREDEFINED_MAX_VALUE"] = 4096] = "METRIC_LABEL_PREDEFINED_MAX_VALUE"; + return MetricLabel2; +})(MetricLabel || {}); +import_protobuf.proto3.util.setEnumType(MetricLabel, "livekit.MetricLabel", [ + { no: 0, name: "AGENTS_LLM_TTFT" }, + { no: 1, name: "AGENTS_STT_TTFT" }, + { no: 2, name: "AGENTS_TTS_TTFB" }, + { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" }, + { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" }, + { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" }, + { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" }, + { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" }, + { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" }, + { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" }, + { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" }, + { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" }, + { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" }, + { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" }, + { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" }, + { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" }, + { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" }, + { no: 17, name: "PUBLISHER_RTT" }, + { no: 18, name: "SERVER_MESH_RTT" }, + { no: 19, name: "SUBSCRIBER_RTT" }, + { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" } +]); +const _MetricsBatch = class _MetricsBatch extends import_protobuf.Message { + constructor(data) { + super(); + /** + * time at which this batch is sent based on a monotonic clock (millisecond resolution) + * + * @generated from field: int64 timestamp_ms = 1; + */ + this.timestampMs = import_protobuf.protoInt64.zero; + /** + * To avoid repeating string values, we store them in a separate list and reference them by index + * This is useful for storing participant identities, track names, etc. + * There is also a predefined list of labels that can be used to reference common metrics. + * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). + * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, + * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. + * + * @generated from field: repeated string str_data = 3; + */ + this.strData = []; + /** + * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; + */ + this.timeSeries = []; + /** + * @generated from field: repeated livekit.EventMetric events = 5; + */ + this.events = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MetricsBatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MetricsBatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MetricsBatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MetricsBatch, a, b); + } +}; +_MetricsBatch.runtime = import_protobuf.proto3; +_MetricsBatch.typeName = "livekit.MetricsBatch"; +_MetricsBatch.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 2, name: "normalized_timestamp", kind: "message", T: import_protobuf.Timestamp }, + { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true }, + { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, + { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true } +]); +let MetricsBatch = _MetricsBatch; +const _TimeSeriesMetric = class _TimeSeriesMetric extends import_protobuf.Message { + constructor(data) { + super(); + /** + * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index + * in the `str_data` field of `MetricsBatch` + * + * @generated from field: uint32 label = 1; + */ + this.label = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + this.participantIdentity = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + this.trackSid = 0; + /** + * @generated from field: repeated livekit.MetricSample samples = 4; + */ + this.samples = []; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 5; + */ + this.rid = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TimeSeriesMetric().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TimeSeriesMetric().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TimeSeriesMetric().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TimeSeriesMetric, a, b); + } +}; +_TimeSeriesMetric.runtime = import_protobuf.proto3; +_TimeSeriesMetric.typeName = "livekit.TimeSeriesMetric"; +_TimeSeriesMetric.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, + { + no: 5, + name: "rid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let TimeSeriesMetric = _TimeSeriesMetric; +const _MetricSample = class _MetricSample extends import_protobuf.Message { + constructor(data) { + super(); + /** + * time of metric based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 timestamp_ms = 1; + */ + this.timestampMs = import_protobuf.protoInt64.zero; + /** + * @generated from field: float value = 3; + */ + this.value = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MetricSample().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MetricSample().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MetricSample().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MetricSample, a, b); + } +}; +_MetricSample.runtime = import_protobuf.proto3; +_MetricSample.typeName = "livekit.MetricSample"; +_MetricSample.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 2, name: "normalized_timestamp", kind: "message", T: import_protobuf.Timestamp }, + { + no: 3, + name: "value", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let MetricSample = _MetricSample; +const _EventMetric = class _EventMetric extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 label = 1; + */ + this.label = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + this.participantIdentity = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + this.trackSid = 0; + /** + * start time of event based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 start_timestamp_ms = 4; + */ + this.startTimestampMs = import_protobuf.protoInt64.zero; + /** + * @generated from field: string metadata = 8; + */ + this.metadata = ""; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 9; + */ + this.rid = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EventMetric().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EventMetric().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EventMetric().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_EventMetric, a, b); + } +}; +_EventMetric.runtime = import_protobuf.proto3; +_EventMetric.typeName = "livekit.EventMetric"; +_EventMetric.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "start_timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true }, + { no: 6, name: "normalized_start_timestamp", kind: "message", T: import_protobuf.Timestamp }, + { no: 7, name: "normalized_end_timestamp", kind: "message", T: import_protobuf.Timestamp, opt: true }, + { + no: 8, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "rid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let EventMetric = _EventMetric; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + EventMetric, + MetricLabel, + MetricSample, + MetricsBatch, + TimeSeriesMetric +}); +//# sourceMappingURL=livekit_metrics_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map b/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map new file mode 100644 index 00000000..2a9addc4 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_metrics_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_metrics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\n\n/**\n * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)\n *\n * @generated from enum livekit.MetricLabel\n */\nexport enum MetricLabel {\n /**\n * time to first token from LLM\n *\n * @generated from enum value: AGENTS_LLM_TTFT = 0;\n */\n AGENTS_LLM_TTFT = 0,\n\n /**\n * time to final transcription\n *\n * @generated from enum value: AGENTS_STT_TTFT = 1;\n */\n AGENTS_STT_TTFT = 1,\n\n /**\n * time to first byte\n *\n * @generated from enum value: AGENTS_TTS_TTFB = 2;\n */\n AGENTS_TTS_TTFB = 2,\n\n /**\n * Number of video freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;\n */\n CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,\n\n /**\n * total duration of freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,\n\n /**\n * number of video pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;\n */\n CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,\n\n /**\n * total duration of pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,\n\n /**\n * number of concealed (synthesized) audio samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,\n\n /**\n * number of silent concealed samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;\n */\n CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,\n\n /**\n * number of concealment events\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,\n\n /**\n * number of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;\n */\n CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,\n\n /**\n * total duration of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;\n */\n CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,\n\n /**\n * total duration spent in bandwidth quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,\n\n /**\n * total duration spent in cpu quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,\n\n /**\n * total duration spent in other quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,\n\n /**\n * Publisher RTT (participant -> server)\n *\n * @generated from enum value: PUBLISHER_RTT = 17;\n */\n PUBLISHER_RTT = 17,\n\n /**\n * RTT between publisher node and subscriber node (could involve intermedia node(s))\n *\n * @generated from enum value: SERVER_MESH_RTT = 18;\n */\n SERVER_MESH_RTT = 18,\n\n /**\n * Subscribe RTT (server -> participant)\n *\n * @generated from enum value: SUBSCRIBER_RTT = 19;\n */\n SUBSCRIBER_RTT = 19,\n\n /**\n * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;\n */\n METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096,\n}\n// Retrieve enum metadata with: proto3.getEnumType(MetricLabel)\nproto3.util.setEnumType(MetricLabel, \"livekit.MetricLabel\", [\n { no: 0, name: \"AGENTS_LLM_TTFT\" },\n { no: 1, name: \"AGENTS_STT_TTFT\" },\n { no: 2, name: \"AGENTS_TTS_TTFB\" },\n { no: 3, name: \"CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT\" },\n { no: 4, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION\" },\n { no: 5, name: \"CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT\" },\n { no: 6, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION\" },\n { no: 7, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES\" },\n { no: 8, name: \"CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES\" },\n { no: 9, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS\" },\n { no: 10, name: \"CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT\" },\n { no: 11, name: \"CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION\" },\n { no: 12, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY\" },\n { no: 13, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT\" },\n { no: 14, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH\" },\n { no: 15, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU\" },\n { no: 16, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER\" },\n { no: 17, name: \"PUBLISHER_RTT\" },\n { no: 18, name: \"SERVER_MESH_RTT\" },\n { no: 19, name: \"SUBSCRIBER_RTT\" },\n { no: 4096, name: \"METRIC_LABEL_PREDEFINED_MAX_VALUE\" },\n]);\n\n/**\n * @generated from message livekit.MetricsBatch\n */\nexport class MetricsBatch extends Message {\n /**\n * time at which this batch is sent based on a monotonic clock (millisecond resolution)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * To avoid repeating string values, we store them in a separate list and reference them by index\n * This is useful for storing participant identities, track names, etc.\n * There is also a predefined list of labels that can be used to reference common metrics.\n * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).\n * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, \n * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.\n *\n * @generated from field: repeated string str_data = 3;\n */\n strData: string[] = [];\n\n /**\n * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;\n */\n timeSeries: TimeSeriesMetric[] = [];\n\n /**\n * @generated from field: repeated livekit.EventMetric events = 5;\n */\n events: EventMetric[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricsBatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"str_data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"time_series\", kind: \"message\", T: TimeSeriesMetric, repeated: true },\n { no: 5, name: \"events\", kind: \"message\", T: EventMetric, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricsBatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimeSeriesMetric\n */\nexport class TimeSeriesMetric extends Message {\n /**\n * Metric name e.g \"speech_probablity\". The string value is not directly stored in the message, but referenced by index\n * in the `str_data` field of `MetricsBatch`\n *\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * @generated from field: repeated livekit.MetricSample samples = 4;\n */\n samples: MetricSample[] = [];\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 5;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimeSeriesMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"samples\", kind: \"message\", T: MetricSample, repeated: true },\n { no: 5, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimeSeriesMetric, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MetricSample\n */\nexport class MetricSample extends Message {\n /**\n * time of metric based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * @generated from field: float value = 3;\n */\n value = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricSample\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"value\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample {\n return new MetricSample().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample {\n return new MetricSample().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricSample {\n return new MetricSample().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricSample, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EventMetric\n */\nexport class EventMetric extends Message {\n /**\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * start time of event based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 start_timestamp_ms = 4;\n */\n startTimestampMs = protoInt64.zero;\n\n /**\n * end time of event based on a monotonic clock (in milliseconds), if needed\n *\n * @generated from field: optional int64 end_timestamp_ms = 5;\n */\n endTimestampMs?: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;\n */\n normalizedStartTimestamp?: Timestamp;\n\n /**\n * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;\n */\n normalizedEndTimestamp?: Timestamp;\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 9;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EventMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"start_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"end_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 6, name: \"normalized_start_timestamp\", kind: \"message\", T: Timestamp },\n { no: 7, name: \"normalized_end_timestamp\", kind: \"message\", T: Timestamp, opt: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric {\n return new EventMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric {\n return new EventMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EventMetric {\n return new EventMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(EventMetric, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,sBAAuD;AAOhD,IAAK,cAAL,kBAAKA,iBAAL;AAML,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,0CAAuC,KAAvC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,yCAAsC,KAAtC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,+CAA4C,KAA5C;AAOA,EAAAA,0BAAA,sDAAmD,KAAnD;AAOA,EAAAA,0BAAA,gDAA6C,KAA7C;AAOA,EAAAA,0BAAA,gDAA6C,MAA7C;AAOA,EAAAA,0BAAA,yDAAsD,MAAtD;AAOA,EAAAA,0BAAA,2CAAwC,MAAxC;AAOA,EAAAA,0BAAA,mDAAgD,MAAhD;AAOA,EAAAA,0BAAA,kEAA+D,MAA/D;AAOA,EAAAA,0BAAA,4DAAyD,MAAzD;AAOA,EAAAA,0BAAA,8DAA2D,MAA3D;AAOA,EAAAA,0BAAA,mBAAgB,MAAhB;AAOA,EAAAA,0BAAA,qBAAkB,MAAlB;AAOA,EAAAA,0BAAA,oBAAiB,MAAjB;AAKA,EAAAA,0BAAA,uCAAo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AA8B,MAAM,WAAW,GAAG,0BAAU;AAAA,EAC3E,EAAE,IAAI,GAAG,MAAM,4BAA4B,MAAM,WAAW,GAAG,2BAAW,KAAK,KAAK;AAAA,EACpF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAO,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AACtE,CAAC;AAzEI,IAAM,cAAN;","names":["MetricLabel"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts new file mode 100644 index 00000000..cf913fe8 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts @@ -0,0 +1,304 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; +/** + * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) + * + * @generated from enum livekit.MetricLabel + */ +export declare enum MetricLabel { + /** + * time to first token from LLM + * + * @generated from enum value: AGENTS_LLM_TTFT = 0; + */ + AGENTS_LLM_TTFT = 0, + /** + * time to final transcription + * + * @generated from enum value: AGENTS_STT_TTFT = 1; + */ + AGENTS_STT_TTFT = 1, + /** + * time to first byte + * + * @generated from enum value: AGENTS_TTS_TTFB = 2; + */ + AGENTS_TTS_TTFB = 2, + /** + * Number of video freezes + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; + */ + CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3, + /** + * total duration of freezes + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; + */ + CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4, + /** + * number of video pauses + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; + */ + CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5, + /** + * total duration of pauses + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6; + */ + CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6, + /** + * number of concealed (synthesized) audio samples + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7; + */ + CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7, + /** + * number of silent concealed samples + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8; + */ + CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8, + /** + * number of concealment events + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9; + */ + CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9, + /** + * number of interruptions + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10; + */ + CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10, + /** + * total duration of interruptions + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11; + */ + CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11, + /** + * total time spent in jitter buffer + * + * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12; + */ + CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12, + /** + * total time spent in jitter buffer + * + * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13; + */ + CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13, + /** + * total duration spent in bandwidth quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14, + /** + * total duration spent in cpu quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15, + /** + * total duration spent in other quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16, + /** + * Publisher RTT (participant -> server) + * + * @generated from enum value: PUBLISHER_RTT = 17; + */ + PUBLISHER_RTT = 17, + /** + * RTT between publisher node and subscriber node (could involve intermedia node(s)) + * + * @generated from enum value: SERVER_MESH_RTT = 18; + */ + SERVER_MESH_RTT = 18, + /** + * Subscribe RTT (server -> participant) + * + * @generated from enum value: SUBSCRIBER_RTT = 19; + */ + SUBSCRIBER_RTT = 19, + /** + * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; + */ + METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096 +} +/** + * @generated from message livekit.MetricsBatch + */ +export declare class MetricsBatch extends Message { + /** + * time at which this batch is sent based on a monotonic clock (millisecond resolution) + * + * @generated from field: int64 timestamp_ms = 1; + */ + timestampMs: bigint; + /** + * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; + */ + normalizedTimestamp?: Timestamp; + /** + * To avoid repeating string values, we store them in a separate list and reference them by index + * This is useful for storing participant identities, track names, etc. + * There is also a predefined list of labels that can be used to reference common metrics. + * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). + * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, + * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. + * + * @generated from field: repeated string str_data = 3; + */ + strData: string[]; + /** + * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; + */ + timeSeries: TimeSeriesMetric[]; + /** + * @generated from field: repeated livekit.EventMetric events = 5; + */ + events: EventMetric[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MetricsBatch"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch; + static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch; + static fromJsonString(jsonString: string, options?: Partial): MetricsBatch; + static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TimeSeriesMetric + */ +export declare class TimeSeriesMetric extends Message { + /** + * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index + * in the `str_data` field of `MetricsBatch` + * + * @generated from field: uint32 label = 1; + */ + label: number; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + participantIdentity: number; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + trackSid: number; + /** + * @generated from field: repeated livekit.MetricSample samples = 4; + */ + samples: MetricSample[]; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 5; + */ + rid: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TimeSeriesMetric"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric; + static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric; + static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric; + static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.MetricSample + */ +export declare class MetricSample extends Message { + /** + * time of metric based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 timestamp_ms = 1; + */ + timestampMs: bigint; + /** + * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; + */ + normalizedTimestamp?: Timestamp; + /** + * @generated from field: float value = 3; + */ + value: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MetricSample"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample; + static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample; + static fromJsonString(jsonString: string, options?: Partial): MetricSample; + static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.EventMetric + */ +export declare class EventMetric extends Message { + /** + * @generated from field: uint32 label = 1; + */ + label: number; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + participantIdentity: number; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + trackSid: number; + /** + * start time of event based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 start_timestamp_ms = 4; + */ + startTimestampMs: bigint; + /** + * end time of event based on a monotonic clock (in milliseconds), if needed + * + * @generated from field: optional int64 end_timestamp_ms = 5; + */ + endTimestampMs?: bigint; + /** + * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6; + */ + normalizedStartTimestamp?: Timestamp; + /** + * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7; + */ + normalizedEndTimestamp?: Timestamp; + /** + * @generated from field: string metadata = 8; + */ + metadata: string; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 9; + */ + rid: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EventMetric"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric; + static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric; + static fromJsonString(jsonString: string, options?: Partial): EventMetric; + static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_metrics_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map new file mode 100644 index 00000000..43611763 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_metrics_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_metrics_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE5E;;;;GAIG;AACH,oBAAY,WAAW;IACrB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,oCAAoC,IAAI;IAExC;;;;OAIG;IACH,6CAA6C,IAAI;IAEjD;;;;OAIG;IACH,mCAAmC,IAAI;IAEvC;;;;OAIG;IACH,6CAA6C,IAAI;IAEjD;;;;OAIG;IACH,yCAAyC,IAAI;IAE7C;;;;OAIG;IACH,gDAAgD,IAAI;IAEpD;;;;OAIG;IACH,0CAA0C,IAAI;IAE9C;;;;OAIG;IACH,0CAA0C,KAAK;IAE/C;;;;OAIG;IACH,mDAAmD,KAAK;IAExD;;;;OAIG;IACH,qCAAqC,KAAK;IAE1C;;;;OAIG;IACH,6CAA6C,KAAK;IAElD;;;;OAIG;IACH,4DAA4D,KAAK;IAEjE;;;;OAIG;IACH,sDAAsD,KAAK;IAE3D;;;;OAIG;IACH,wDAAwD,KAAK;IAE7D;;;;OAIG;IACH,aAAa,KAAK;IAElB;;;;OAIG;IACH,eAAe,KAAK;IAEpB;;;;OAIG;IACH,cAAc,KAAK;IAEnB;;OAEG;IACH,iCAAiC,OAAO;CACzC;AA0BD;;GAEG;AACH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,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW;IAItF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW;IAI1F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvI"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.js b/packages/javascript/dist/gen/livekit_metrics_pb.js new file mode 100644 index 00000000..2c27359b --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.js @@ -0,0 +1,344 @@ +import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; +var MetricLabel = /* @__PURE__ */ ((MetricLabel2) => { + MetricLabel2[MetricLabel2["AGENTS_LLM_TTFT"] = 0] = "AGENTS_LLM_TTFT"; + MetricLabel2[MetricLabel2["AGENTS_STT_TTFT"] = 1] = "AGENTS_STT_TTFT"; + MetricLabel2[MetricLabel2["AGENTS_TTS_TTFB"] = 2] = "AGENTS_TTS_TTFB"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"] = 3] = "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"] = 4] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"] = 5] = "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"] = 6] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"] = 7] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"] = 8] = "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"] = 9] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"] = 10] = "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"] = 11] = "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"; + MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"] = 12] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"; + MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"] = 13] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"] = 14] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"] = 15] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"; + MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"] = 16] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"; + MetricLabel2[MetricLabel2["PUBLISHER_RTT"] = 17] = "PUBLISHER_RTT"; + MetricLabel2[MetricLabel2["SERVER_MESH_RTT"] = 18] = "SERVER_MESH_RTT"; + MetricLabel2[MetricLabel2["SUBSCRIBER_RTT"] = 19] = "SUBSCRIBER_RTT"; + MetricLabel2[MetricLabel2["METRIC_LABEL_PREDEFINED_MAX_VALUE"] = 4096] = "METRIC_LABEL_PREDEFINED_MAX_VALUE"; + return MetricLabel2; +})(MetricLabel || {}); +proto3.util.setEnumType(MetricLabel, "livekit.MetricLabel", [ + { no: 0, name: "AGENTS_LLM_TTFT" }, + { no: 1, name: "AGENTS_STT_TTFT" }, + { no: 2, name: "AGENTS_TTS_TTFB" }, + { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" }, + { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" }, + { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" }, + { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" }, + { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" }, + { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" }, + { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" }, + { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" }, + { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" }, + { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" }, + { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" }, + { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" }, + { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" }, + { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" }, + { no: 17, name: "PUBLISHER_RTT" }, + { no: 18, name: "SERVER_MESH_RTT" }, + { no: 19, name: "SUBSCRIBER_RTT" }, + { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" } +]); +const _MetricsBatch = class _MetricsBatch extends Message { + constructor(data) { + super(); + /** + * time at which this batch is sent based on a monotonic clock (millisecond resolution) + * + * @generated from field: int64 timestamp_ms = 1; + */ + this.timestampMs = protoInt64.zero; + /** + * To avoid repeating string values, we store them in a separate list and reference them by index + * This is useful for storing participant identities, track names, etc. + * There is also a predefined list of labels that can be used to reference common metrics. + * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). + * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, + * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. + * + * @generated from field: repeated string str_data = 3; + */ + this.strData = []; + /** + * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; + */ + this.timeSeries = []; + /** + * @generated from field: repeated livekit.EventMetric events = 5; + */ + this.events = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MetricsBatch().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MetricsBatch().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MetricsBatch().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MetricsBatch, a, b); + } +}; +_MetricsBatch.runtime = proto3; +_MetricsBatch.typeName = "livekit.MetricsBatch"; +_MetricsBatch.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, + { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true }, + { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, + { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true } +]); +let MetricsBatch = _MetricsBatch; +const _TimeSeriesMetric = class _TimeSeriesMetric extends Message { + constructor(data) { + super(); + /** + * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index + * in the `str_data` field of `MetricsBatch` + * + * @generated from field: uint32 label = 1; + */ + this.label = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + this.participantIdentity = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + this.trackSid = 0; + /** + * @generated from field: repeated livekit.MetricSample samples = 4; + */ + this.samples = []; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 5; + */ + this.rid = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TimeSeriesMetric().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TimeSeriesMetric().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TimeSeriesMetric().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TimeSeriesMetric, a, b); + } +}; +_TimeSeriesMetric.runtime = proto3; +_TimeSeriesMetric.typeName = "livekit.TimeSeriesMetric"; +_TimeSeriesMetric.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, + { + no: 5, + name: "rid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let TimeSeriesMetric = _TimeSeriesMetric; +const _MetricSample = class _MetricSample extends Message { + constructor(data) { + super(); + /** + * time of metric based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 timestamp_ms = 1; + */ + this.timestampMs = protoInt64.zero; + /** + * @generated from field: float value = 3; + */ + this.value = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MetricSample().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MetricSample().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MetricSample().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MetricSample, a, b); + } +}; +_MetricSample.runtime = proto3; +_MetricSample.typeName = "livekit.MetricSample"; +_MetricSample.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, + { + no: 3, + name: "value", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let MetricSample = _MetricSample; +const _EventMetric = class _EventMetric extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 label = 1; + */ + this.label = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + this.participantIdentity = 0; + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + this.trackSid = 0; + /** + * start time of event based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 start_timestamp_ms = 4; + */ + this.startTimestampMs = protoInt64.zero; + /** + * @generated from field: string metadata = 8; + */ + this.metadata = ""; + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 9; + */ + this.rid = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _EventMetric().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _EventMetric().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _EventMetric().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_EventMetric, a, b); + } +}; +_EventMetric.runtime = proto3; +_EventMetric.typeName = "livekit.EventMetric"; +_EventMetric.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "start_timestamp_ms", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true }, + { no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp }, + { no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true }, + { + no: 8, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "rid", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let EventMetric = _EventMetric; +export { + EventMetric, + MetricLabel, + MetricSample, + MetricsBatch, + TimeSeriesMetric +}; +//# sourceMappingURL=livekit_metrics_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.js.map b/packages/javascript/dist/gen/livekit_metrics_pb.js.map new file mode 100644 index 00000000..4f94cf78 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_metrics_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_metrics_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_metrics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\n\n/**\n * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)\n *\n * @generated from enum livekit.MetricLabel\n */\nexport enum MetricLabel {\n /**\n * time to first token from LLM\n *\n * @generated from enum value: AGENTS_LLM_TTFT = 0;\n */\n AGENTS_LLM_TTFT = 0,\n\n /**\n * time to final transcription\n *\n * @generated from enum value: AGENTS_STT_TTFT = 1;\n */\n AGENTS_STT_TTFT = 1,\n\n /**\n * time to first byte\n *\n * @generated from enum value: AGENTS_TTS_TTFB = 2;\n */\n AGENTS_TTS_TTFB = 2,\n\n /**\n * Number of video freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;\n */\n CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,\n\n /**\n * total duration of freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,\n\n /**\n * number of video pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;\n */\n CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,\n\n /**\n * total duration of pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,\n\n /**\n * number of concealed (synthesized) audio samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,\n\n /**\n * number of silent concealed samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;\n */\n CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,\n\n /**\n * number of concealment events\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,\n\n /**\n * number of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;\n */\n CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,\n\n /**\n * total duration of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;\n */\n CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,\n\n /**\n * total duration spent in bandwidth quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,\n\n /**\n * total duration spent in cpu quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,\n\n /**\n * total duration spent in other quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,\n\n /**\n * Publisher RTT (participant -> server)\n *\n * @generated from enum value: PUBLISHER_RTT = 17;\n */\n PUBLISHER_RTT = 17,\n\n /**\n * RTT between publisher node and subscriber node (could involve intermedia node(s))\n *\n * @generated from enum value: SERVER_MESH_RTT = 18;\n */\n SERVER_MESH_RTT = 18,\n\n /**\n * Subscribe RTT (server -> participant)\n *\n * @generated from enum value: SUBSCRIBER_RTT = 19;\n */\n SUBSCRIBER_RTT = 19,\n\n /**\n * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;\n */\n METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096,\n}\n// Retrieve enum metadata with: proto3.getEnumType(MetricLabel)\nproto3.util.setEnumType(MetricLabel, \"livekit.MetricLabel\", [\n { no: 0, name: \"AGENTS_LLM_TTFT\" },\n { no: 1, name: \"AGENTS_STT_TTFT\" },\n { no: 2, name: \"AGENTS_TTS_TTFB\" },\n { no: 3, name: \"CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT\" },\n { no: 4, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION\" },\n { no: 5, name: \"CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT\" },\n { no: 6, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION\" },\n { no: 7, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES\" },\n { no: 8, name: \"CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES\" },\n { no: 9, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS\" },\n { no: 10, name: \"CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT\" },\n { no: 11, name: \"CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION\" },\n { no: 12, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY\" },\n { no: 13, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT\" },\n { no: 14, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH\" },\n { no: 15, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU\" },\n { no: 16, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER\" },\n { no: 17, name: \"PUBLISHER_RTT\" },\n { no: 18, name: \"SERVER_MESH_RTT\" },\n { no: 19, name: \"SUBSCRIBER_RTT\" },\n { no: 4096, name: \"METRIC_LABEL_PREDEFINED_MAX_VALUE\" },\n]);\n\n/**\n * @generated from message livekit.MetricsBatch\n */\nexport class MetricsBatch extends Message {\n /**\n * time at which this batch is sent based on a monotonic clock (millisecond resolution)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * To avoid repeating string values, we store them in a separate list and reference them by index\n * This is useful for storing participant identities, track names, etc.\n * There is also a predefined list of labels that can be used to reference common metrics.\n * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).\n * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, \n * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.\n *\n * @generated from field: repeated string str_data = 3;\n */\n strData: string[] = [];\n\n /**\n * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;\n */\n timeSeries: TimeSeriesMetric[] = [];\n\n /**\n * @generated from field: repeated livekit.EventMetric events = 5;\n */\n events: EventMetric[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricsBatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"str_data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"time_series\", kind: \"message\", T: TimeSeriesMetric, repeated: true },\n { no: 5, name: \"events\", kind: \"message\", T: EventMetric, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricsBatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimeSeriesMetric\n */\nexport class TimeSeriesMetric extends Message {\n /**\n * Metric name e.g \"speech_probablity\". The string value is not directly stored in the message, but referenced by index\n * in the `str_data` field of `MetricsBatch`\n *\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * @generated from field: repeated livekit.MetricSample samples = 4;\n */\n samples: MetricSample[] = [];\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 5;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimeSeriesMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"samples\", kind: \"message\", T: MetricSample, repeated: true },\n { no: 5, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimeSeriesMetric, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MetricSample\n */\nexport class MetricSample extends Message {\n /**\n * time of metric based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * @generated from field: float value = 3;\n */\n value = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricSample\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"value\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample {\n return new MetricSample().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample {\n return new MetricSample().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricSample {\n return new MetricSample().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricSample, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EventMetric\n */\nexport class EventMetric extends Message {\n /**\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * start time of event based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 start_timestamp_ms = 4;\n */\n startTimestampMs = protoInt64.zero;\n\n /**\n * end time of event based on a monotonic clock (in milliseconds), if needed\n *\n * @generated from field: optional int64 end_timestamp_ms = 5;\n */\n endTimestampMs?: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;\n */\n normalizedStartTimestamp?: Timestamp;\n\n /**\n * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;\n */\n normalizedEndTimestamp?: Timestamp;\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 9;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EventMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"start_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"end_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 6, name: \"normalized_start_timestamp\", kind: \"message\", T: Timestamp },\n { no: 7, name: \"normalized_end_timestamp\", kind: \"message\", T: Timestamp, opt: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric {\n return new EventMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric {\n return new EventMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EventMetric {\n return new EventMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(EventMetric, a, b);\n }\n}\n\n"],"mappings":"AAMA,SAAS,SAAS,QAAQ,YAAY,iBAAiB;AAOhD,IAAK,cAAL,kBAAKA,iBAAL;AAML,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,0CAAuC,KAAvC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,yCAAsC,KAAtC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,+CAA4C,KAA5C;AAOA,EAAAA,0BAAA,sDAAmD,KAAnD;AAOA,EAAAA,0BAAA,gDAA6C,KAA7C;AAOA,EAAAA,0BAAA,gDAA6C,MAA7C;AAOA,EAAAA,0BAAA,yDAAsD,MAAtD;AAOA,EAAAA,0BAAA,2CAAwC,MAAxC;AAOA,EAAAA,0BAAA,mDAAgD,MAAhD;AAOA,EAAAA,0BAAA,kEAA+D,MAA/D;AAOA,EAAAA,0BAAA,4DAAyD,MAAzD;AAOA,EAAAA,0BAAA,8DAA2D,MAA3D;AAOA,EAAAA,0BAAA,mBAAgB,MAAhB;AAOA,EAAAA,0BAAA,qBAAkB,MAAlB;AAOA,EAAAA,0BAAA,oBAAiB,MAAjB;AAKA,EAAAA,0BAAA,uCAAoC,QAApC;AAhJU,SAAAA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,IAAI,GAAG,MAAM,4BAA4B,MAAM,WAAW,GAAG,WAAW,KAAK,KAAK;AAAA,EACpF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAO,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AACtE,CAAC;AAzEI,IAAM,cAAN;","names":["MetricLabel"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.cjs b/packages/javascript/dist/gen/livekit_models_pb.cjs new file mode 100644 index 00000000..64fd804f --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.cjs @@ -0,0 +1,3668 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_models_pb_exports = {}; +__export(livekit_models_pb_exports, { + ActiveSpeakerUpdate: () => ActiveSpeakerUpdate, + AudioCodec: () => AudioCodec, + AudioTrackFeature: () => AudioTrackFeature, + ChatMessage: () => ChatMessage, + ClientConfigSetting: () => ClientConfigSetting, + ClientConfiguration: () => ClientConfiguration, + ClientInfo: () => ClientInfo, + ClientInfo_SDK: () => ClientInfo_SDK, + Codec: () => Codec, + ConnectionQuality: () => ConnectionQuality, + DataPacket: () => DataPacket, + DataPacket_Kind: () => DataPacket_Kind, + DataStream: () => DataStream, + DataStream_Chunk: () => DataStream_Chunk, + DataStream_FileHeader: () => DataStream_FileHeader, + DataStream_Header: () => DataStream_Header, + DataStream_OperationType: () => DataStream_OperationType, + DataStream_TextHeader: () => DataStream_TextHeader, + DisabledCodecs: () => DisabledCodecs, + DisconnectReason: () => DisconnectReason, + Encryption: () => Encryption, + Encryption_Type: () => Encryption_Type, + ImageCodec: () => ImageCodec, + ParticipantInfo: () => ParticipantInfo, + ParticipantInfo_Kind: () => ParticipantInfo_Kind, + ParticipantInfo_State: () => ParticipantInfo_State, + ParticipantPermission: () => ParticipantPermission, + ParticipantTracks: () => ParticipantTracks, + PlayoutDelay: () => PlayoutDelay, + RTCPSenderReportState: () => RTCPSenderReportState, + RTPDrift: () => RTPDrift, + RTPForwarderState: () => RTPForwarderState, + RTPMungerState: () => RTPMungerState, + RTPStats: () => RTPStats, + ReconnectReason: () => ReconnectReason, + Room: () => Room, + RpcAck: () => RpcAck, + RpcError: () => RpcError, + RpcRequest: () => RpcRequest, + RpcResponse: () => RpcResponse, + ServerInfo: () => ServerInfo, + ServerInfo_Edition: () => ServerInfo_Edition, + SimulcastCodecInfo: () => SimulcastCodecInfo, + SipDTMF: () => SipDTMF, + SpeakerInfo: () => SpeakerInfo, + SubscriptionError: () => SubscriptionError, + TimedVersion: () => TimedVersion, + TrackInfo: () => TrackInfo, + TrackSource: () => TrackSource, + TrackType: () => TrackType, + Transcription: () => Transcription, + TranscriptionSegment: () => TranscriptionSegment, + UserPacket: () => UserPacket, + VP8MungerState: () => VP8MungerState, + VideoCodec: () => VideoCodec, + VideoConfiguration: () => VideoConfiguration, + VideoLayer: () => VideoLayer, + VideoQuality: () => VideoQuality +}); +module.exports = __toCommonJS(livekit_models_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_metrics_pb = require("./livekit_metrics_pb.cjs"); +var AudioCodec = /* @__PURE__ */ ((AudioCodec2) => { + AudioCodec2[AudioCodec2["DEFAULT_AC"] = 0] = "DEFAULT_AC"; + AudioCodec2[AudioCodec2["OPUS"] = 1] = "OPUS"; + AudioCodec2[AudioCodec2["AAC"] = 2] = "AAC"; + return AudioCodec2; +})(AudioCodec || {}); +import_protobuf.proto3.util.setEnumType(AudioCodec, "livekit.AudioCodec", [ + { no: 0, name: "DEFAULT_AC" }, + { no: 1, name: "OPUS" }, + { no: 2, name: "AAC" } +]); +var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => { + VideoCodec2[VideoCodec2["DEFAULT_VC"] = 0] = "DEFAULT_VC"; + VideoCodec2[VideoCodec2["H264_BASELINE"] = 1] = "H264_BASELINE"; + VideoCodec2[VideoCodec2["H264_MAIN"] = 2] = "H264_MAIN"; + VideoCodec2[VideoCodec2["H264_HIGH"] = 3] = "H264_HIGH"; + VideoCodec2[VideoCodec2["VP8"] = 4] = "VP8"; + return VideoCodec2; +})(VideoCodec || {}); +import_protobuf.proto3.util.setEnumType(VideoCodec, "livekit.VideoCodec", [ + { no: 0, name: "DEFAULT_VC" }, + { no: 1, name: "H264_BASELINE" }, + { no: 2, name: "H264_MAIN" }, + { no: 3, name: "H264_HIGH" }, + { no: 4, name: "VP8" } +]); +var ImageCodec = /* @__PURE__ */ ((ImageCodec2) => { + ImageCodec2[ImageCodec2["IC_DEFAULT"] = 0] = "IC_DEFAULT"; + ImageCodec2[ImageCodec2["IC_JPEG"] = 1] = "IC_JPEG"; + return ImageCodec2; +})(ImageCodec || {}); +import_protobuf.proto3.util.setEnumType(ImageCodec, "livekit.ImageCodec", [ + { no: 0, name: "IC_DEFAULT" }, + { no: 1, name: "IC_JPEG" } +]); +var TrackType = /* @__PURE__ */ ((TrackType2) => { + TrackType2[TrackType2["AUDIO"] = 0] = "AUDIO"; + TrackType2[TrackType2["VIDEO"] = 1] = "VIDEO"; + TrackType2[TrackType2["DATA"] = 2] = "DATA"; + return TrackType2; +})(TrackType || {}); +import_protobuf.proto3.util.setEnumType(TrackType, "livekit.TrackType", [ + { no: 0, name: "AUDIO" }, + { no: 1, name: "VIDEO" }, + { no: 2, name: "DATA" } +]); +var TrackSource = /* @__PURE__ */ ((TrackSource2) => { + TrackSource2[TrackSource2["UNKNOWN"] = 0] = "UNKNOWN"; + TrackSource2[TrackSource2["CAMERA"] = 1] = "CAMERA"; + TrackSource2[TrackSource2["MICROPHONE"] = 2] = "MICROPHONE"; + TrackSource2[TrackSource2["SCREEN_SHARE"] = 3] = "SCREEN_SHARE"; + TrackSource2[TrackSource2["SCREEN_SHARE_AUDIO"] = 4] = "SCREEN_SHARE_AUDIO"; + return TrackSource2; +})(TrackSource || {}); +import_protobuf.proto3.util.setEnumType(TrackSource, "livekit.TrackSource", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "CAMERA" }, + { no: 2, name: "MICROPHONE" }, + { no: 3, name: "SCREEN_SHARE" }, + { no: 4, name: "SCREEN_SHARE_AUDIO" } +]); +var VideoQuality = /* @__PURE__ */ ((VideoQuality2) => { + VideoQuality2[VideoQuality2["LOW"] = 0] = "LOW"; + VideoQuality2[VideoQuality2["MEDIUM"] = 1] = "MEDIUM"; + VideoQuality2[VideoQuality2["HIGH"] = 2] = "HIGH"; + VideoQuality2[VideoQuality2["OFF"] = 3] = "OFF"; + return VideoQuality2; +})(VideoQuality || {}); +import_protobuf.proto3.util.setEnumType(VideoQuality, "livekit.VideoQuality", [ + { no: 0, name: "LOW" }, + { no: 1, name: "MEDIUM" }, + { no: 2, name: "HIGH" }, + { no: 3, name: "OFF" } +]); +var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => { + ConnectionQuality2[ConnectionQuality2["POOR"] = 0] = "POOR"; + ConnectionQuality2[ConnectionQuality2["GOOD"] = 1] = "GOOD"; + ConnectionQuality2[ConnectionQuality2["EXCELLENT"] = 2] = "EXCELLENT"; + ConnectionQuality2[ConnectionQuality2["LOST"] = 3] = "LOST"; + return ConnectionQuality2; +})(ConnectionQuality || {}); +import_protobuf.proto3.util.setEnumType(ConnectionQuality, "livekit.ConnectionQuality", [ + { no: 0, name: "POOR" }, + { no: 1, name: "GOOD" }, + { no: 2, name: "EXCELLENT" }, + { no: 3, name: "LOST" } +]); +var ClientConfigSetting = /* @__PURE__ */ ((ClientConfigSetting2) => { + ClientConfigSetting2[ClientConfigSetting2["UNSET"] = 0] = "UNSET"; + ClientConfigSetting2[ClientConfigSetting2["DISABLED"] = 1] = "DISABLED"; + ClientConfigSetting2[ClientConfigSetting2["ENABLED"] = 2] = "ENABLED"; + return ClientConfigSetting2; +})(ClientConfigSetting || {}); +import_protobuf.proto3.util.setEnumType(ClientConfigSetting, "livekit.ClientConfigSetting", [ + { no: 0, name: "UNSET" }, + { no: 1, name: "DISABLED" }, + { no: 2, name: "ENABLED" } +]); +var DisconnectReason = /* @__PURE__ */ ((DisconnectReason2) => { + DisconnectReason2[DisconnectReason2["UNKNOWN_REASON"] = 0] = "UNKNOWN_REASON"; + DisconnectReason2[DisconnectReason2["CLIENT_INITIATED"] = 1] = "CLIENT_INITIATED"; + DisconnectReason2[DisconnectReason2["DUPLICATE_IDENTITY"] = 2] = "DUPLICATE_IDENTITY"; + DisconnectReason2[DisconnectReason2["SERVER_SHUTDOWN"] = 3] = "SERVER_SHUTDOWN"; + DisconnectReason2[DisconnectReason2["PARTICIPANT_REMOVED"] = 4] = "PARTICIPANT_REMOVED"; + DisconnectReason2[DisconnectReason2["ROOM_DELETED"] = 5] = "ROOM_DELETED"; + DisconnectReason2[DisconnectReason2["STATE_MISMATCH"] = 6] = "STATE_MISMATCH"; + DisconnectReason2[DisconnectReason2["JOIN_FAILURE"] = 7] = "JOIN_FAILURE"; + DisconnectReason2[DisconnectReason2["MIGRATION"] = 8] = "MIGRATION"; + DisconnectReason2[DisconnectReason2["SIGNAL_CLOSE"] = 9] = "SIGNAL_CLOSE"; + DisconnectReason2[DisconnectReason2["ROOM_CLOSED"] = 10] = "ROOM_CLOSED"; + DisconnectReason2[DisconnectReason2["USER_UNAVAILABLE"] = 11] = "USER_UNAVAILABLE"; + DisconnectReason2[DisconnectReason2["USER_REJECTED"] = 12] = "USER_REJECTED"; + DisconnectReason2[DisconnectReason2["SIP_TRUNK_FAILURE"] = 13] = "SIP_TRUNK_FAILURE"; + return DisconnectReason2; +})(DisconnectReason || {}); +import_protobuf.proto3.util.setEnumType(DisconnectReason, "livekit.DisconnectReason", [ + { no: 0, name: "UNKNOWN_REASON" }, + { no: 1, name: "CLIENT_INITIATED" }, + { no: 2, name: "DUPLICATE_IDENTITY" }, + { no: 3, name: "SERVER_SHUTDOWN" }, + { no: 4, name: "PARTICIPANT_REMOVED" }, + { no: 5, name: "ROOM_DELETED" }, + { no: 6, name: "STATE_MISMATCH" }, + { no: 7, name: "JOIN_FAILURE" }, + { no: 8, name: "MIGRATION" }, + { no: 9, name: "SIGNAL_CLOSE" }, + { no: 10, name: "ROOM_CLOSED" }, + { no: 11, name: "USER_UNAVAILABLE" }, + { no: 12, name: "USER_REJECTED" }, + { no: 13, name: "SIP_TRUNK_FAILURE" } +]); +var ReconnectReason = /* @__PURE__ */ ((ReconnectReason2) => { + ReconnectReason2[ReconnectReason2["RR_UNKNOWN"] = 0] = "RR_UNKNOWN"; + ReconnectReason2[ReconnectReason2["RR_SIGNAL_DISCONNECTED"] = 1] = "RR_SIGNAL_DISCONNECTED"; + ReconnectReason2[ReconnectReason2["RR_PUBLISHER_FAILED"] = 2] = "RR_PUBLISHER_FAILED"; + ReconnectReason2[ReconnectReason2["RR_SUBSCRIBER_FAILED"] = 3] = "RR_SUBSCRIBER_FAILED"; + ReconnectReason2[ReconnectReason2["RR_SWITCH_CANDIDATE"] = 4] = "RR_SWITCH_CANDIDATE"; + return ReconnectReason2; +})(ReconnectReason || {}); +import_protobuf.proto3.util.setEnumType(ReconnectReason, "livekit.ReconnectReason", [ + { no: 0, name: "RR_UNKNOWN" }, + { no: 1, name: "RR_SIGNAL_DISCONNECTED" }, + { no: 2, name: "RR_PUBLISHER_FAILED" }, + { no: 3, name: "RR_SUBSCRIBER_FAILED" }, + { no: 4, name: "RR_SWITCH_CANDIDATE" } +]); +var SubscriptionError = /* @__PURE__ */ ((SubscriptionError2) => { + SubscriptionError2[SubscriptionError2["SE_UNKNOWN"] = 0] = "SE_UNKNOWN"; + SubscriptionError2[SubscriptionError2["SE_CODEC_UNSUPPORTED"] = 1] = "SE_CODEC_UNSUPPORTED"; + SubscriptionError2[SubscriptionError2["SE_TRACK_NOTFOUND"] = 2] = "SE_TRACK_NOTFOUND"; + return SubscriptionError2; +})(SubscriptionError || {}); +import_protobuf.proto3.util.setEnumType(SubscriptionError, "livekit.SubscriptionError", [ + { no: 0, name: "SE_UNKNOWN" }, + { no: 1, name: "SE_CODEC_UNSUPPORTED" }, + { no: 2, name: "SE_TRACK_NOTFOUND" } +]); +var AudioTrackFeature = /* @__PURE__ */ ((AudioTrackFeature2) => { + AudioTrackFeature2[AudioTrackFeature2["TF_STEREO"] = 0] = "TF_STEREO"; + AudioTrackFeature2[AudioTrackFeature2["TF_NO_DTX"] = 1] = "TF_NO_DTX"; + AudioTrackFeature2[AudioTrackFeature2["TF_AUTO_GAIN_CONTROL"] = 2] = "TF_AUTO_GAIN_CONTROL"; + AudioTrackFeature2[AudioTrackFeature2["TF_ECHO_CANCELLATION"] = 3] = "TF_ECHO_CANCELLATION"; + AudioTrackFeature2[AudioTrackFeature2["TF_NOISE_SUPPRESSION"] = 4] = "TF_NOISE_SUPPRESSION"; + AudioTrackFeature2[AudioTrackFeature2["TF_ENHANCED_NOISE_CANCELLATION"] = 5] = "TF_ENHANCED_NOISE_CANCELLATION"; + return AudioTrackFeature2; +})(AudioTrackFeature || {}); +import_protobuf.proto3.util.setEnumType(AudioTrackFeature, "livekit.AudioTrackFeature", [ + { no: 0, name: "TF_STEREO" }, + { no: 1, name: "TF_NO_DTX" }, + { no: 2, name: "TF_AUTO_GAIN_CONTROL" }, + { no: 3, name: "TF_ECHO_CANCELLATION" }, + { no: 4, name: "TF_NOISE_SUPPRESSION" }, + { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" } +]); +const _Room = class _Room extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: uint32 empty_timeout = 3; + */ + this.emptyTimeout = 0; + /** + * @generated from field: uint32 departure_timeout = 14; + */ + this.departureTimeout = 0; + /** + * @generated from field: uint32 max_participants = 4; + */ + this.maxParticipants = 0; + /** + * @generated from field: int64 creation_time = 5; + */ + this.creationTime = import_protobuf.protoInt64.zero; + /** + * @generated from field: string turn_password = 6; + */ + this.turnPassword = ""; + /** + * @generated from field: repeated livekit.Codec enabled_codecs = 7; + */ + this.enabledCodecs = []; + /** + * @generated from field: string metadata = 8; + */ + this.metadata = ""; + /** + * @generated from field: uint32 num_participants = 9; + */ + this.numParticipants = 0; + /** + * @generated from field: uint32 num_publishers = 11; + */ + this.numPublishers = 0; + /** + * @generated from field: bool active_recording = 10; + */ + this.activeRecording = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Room().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Room().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Room().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Room, a, b); + } +}; +_Room.runtime = import_protobuf.proto3; +_Room.typeName = "livekit.Room"; +_Room.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 14, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "creation_time", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "turn_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, + { + no: 8, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "num_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 11, + name: "num_publishers", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "active_recording", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 13, name: "version", kind: "message", T: TimedVersion } +]); +let Room = _Room; +const _Codec = class _Codec extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string mime = 1; + */ + this.mime = ""; + /** + * @generated from field: string fmtp_line = 2; + */ + this.fmtpLine = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Codec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Codec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Codec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Codec, a, b); + } +}; +_Codec.runtime = import_protobuf.proto3; +_Codec.typeName = "livekit.Codec"; +_Codec.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "fmtp_line", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let Codec = _Codec; +const _PlayoutDelay = class _PlayoutDelay extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: bool enabled = 1; + */ + this.enabled = false; + /** + * @generated from field: uint32 min = 2; + */ + this.min = 0; + /** + * @generated from field: uint32 max = 3; + */ + this.max = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _PlayoutDelay().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _PlayoutDelay().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _PlayoutDelay().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_PlayoutDelay, a, b); + } +}; +_PlayoutDelay.runtime = import_protobuf.proto3; +_PlayoutDelay.typeName = "livekit.PlayoutDelay"; +_PlayoutDelay.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "min", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "max", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let PlayoutDelay = _PlayoutDelay; +const _ParticipantPermission = class _ParticipantPermission extends import_protobuf.Message { + constructor(data) { + super(); + /** + * allow participant to subscribe to other tracks in the room + * + * @generated from field: bool can_subscribe = 1; + */ + this.canSubscribe = false; + /** + * allow participant to publish new tracks to room + * + * @generated from field: bool can_publish = 2; + */ + this.canPublish = false; + /** + * allow participant to publish data + * + * @generated from field: bool can_publish_data = 3; + */ + this.canPublishData = false; + /** + * sources that are allowed to be published + * + * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; + */ + this.canPublishSources = []; + /** + * indicates that it's hidden to others + * + * @generated from field: bool hidden = 7; + */ + this.hidden = false; + /** + * indicates it's a recorder instance + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool recorder = 8 [deprecated = true]; + * @deprecated + */ + this.recorder = false; + /** + * indicates that participant can update own metadata and attributes + * + * @generated from field: bool can_update_metadata = 10; + */ + this.canUpdateMetadata = false; + /** + * indicates that participant is an agent + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool agent = 11 [deprecated = true]; + * @deprecated + */ + this.agent = false; + /** + * if a participant can subscribe to metrics + * + * @generated from field: bool can_subscribe_metrics = 12; + */ + this.canSubscribeMetrics = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ParticipantPermission, a, b); + } +}; +_ParticipantPermission.runtime = import_protobuf.proto3; +_ParticipantPermission.typeName = "livekit.ParticipantPermission"; +_ParticipantPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "can_subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "can_publish", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "can_publish_data", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 9, name: "can_publish_sources", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource), repeated: true }, + { + no: 7, + name: "hidden", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 8, + name: "recorder", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "can_update_metadata", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 11, + name: "agent", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 12, + name: "can_subscribe_metrics", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ParticipantPermission = _ParticipantPermission; +const _ParticipantInfo = class _ParticipantInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: livekit.ParticipantInfo.State state = 3; + */ + this.state = 0 /* JOINING */; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 4; + */ + this.tracks = []; + /** + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * timestamp when participant joined room, in seconds + * + * @generated from field: int64 joined_at = 6; + */ + this.joinedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: string name = 9; + */ + this.name = ""; + /** + * @generated from field: uint32 version = 10; + */ + this.version = 0; + /** + * @generated from field: string region = 12; + */ + this.region = ""; + /** + * indicates the participant has an active publisher connection + * and can publish to the server + * + * @generated from field: bool is_publisher = 13; + */ + this.isPublisher = false; + /** + * @generated from field: livekit.ParticipantInfo.Kind kind = 14; + */ + this.kind = 0 /* STANDARD */; + /** + * @generated from field: map attributes = 15; + */ + this.attributes = {}; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 16; + */ + this.disconnectReason = 0 /* UNKNOWN_REASON */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ParticipantInfo, a, b); + } +}; +_ParticipantInfo.runtime = import_protobuf.proto3; +_ParticipantInfo.typeName = "livekit.ParticipantInfo"; +_ParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_State) }, + { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "joined_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 9, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "version", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, + { + no: 12, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 13, + name: "is_publisher", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_Kind) }, + { no: 15, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 16, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(DisconnectReason) } +]); +let ParticipantInfo = _ParticipantInfo; +var ParticipantInfo_State = /* @__PURE__ */ ((ParticipantInfo_State2) => { + ParticipantInfo_State2[ParticipantInfo_State2["JOINING"] = 0] = "JOINING"; + ParticipantInfo_State2[ParticipantInfo_State2["JOINED"] = 1] = "JOINED"; + ParticipantInfo_State2[ParticipantInfo_State2["ACTIVE"] = 2] = "ACTIVE"; + ParticipantInfo_State2[ParticipantInfo_State2["DISCONNECTED"] = 3] = "DISCONNECTED"; + return ParticipantInfo_State2; +})(ParticipantInfo_State || {}); +import_protobuf.proto3.util.setEnumType(ParticipantInfo_State, "livekit.ParticipantInfo.State", [ + { no: 0, name: "JOINING" }, + { no: 1, name: "JOINED" }, + { no: 2, name: "ACTIVE" }, + { no: 3, name: "DISCONNECTED" } +]); +var ParticipantInfo_Kind = /* @__PURE__ */ ((ParticipantInfo_Kind2) => { + ParticipantInfo_Kind2[ParticipantInfo_Kind2["STANDARD"] = 0] = "STANDARD"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["INGRESS"] = 1] = "INGRESS"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["EGRESS"] = 2] = "EGRESS"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["SIP"] = 3] = "SIP"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["AGENT"] = 4] = "AGENT"; + return ParticipantInfo_Kind2; +})(ParticipantInfo_Kind || {}); +import_protobuf.proto3.util.setEnumType(ParticipantInfo_Kind, "livekit.ParticipantInfo.Kind", [ + { no: 0, name: "STANDARD" }, + { no: 1, name: "INGRESS" }, + { no: 2, name: "EGRESS" }, + { no: 3, name: "SIP" }, + { no: 4, name: "AGENT" } +]); +const _Encryption = class _Encryption extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Encryption().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Encryption().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Encryption().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Encryption, a, b); + } +}; +_Encryption.runtime = import_protobuf.proto3; +_Encryption.typeName = "livekit.Encryption"; +_Encryption.fields = import_protobuf.proto3.util.newFieldList(() => []); +let Encryption = _Encryption; +var Encryption_Type = /* @__PURE__ */ ((Encryption_Type2) => { + Encryption_Type2[Encryption_Type2["NONE"] = 0] = "NONE"; + Encryption_Type2[Encryption_Type2["GCM"] = 1] = "GCM"; + Encryption_Type2[Encryption_Type2["CUSTOM"] = 2] = "CUSTOM"; + return Encryption_Type2; +})(Encryption_Type || {}); +import_protobuf.proto3.util.setEnumType(Encryption_Type, "livekit.Encryption.Type", [ + { no: 0, name: "NONE" }, + { no: 1, name: "GCM" }, + { no: 2, name: "CUSTOM" } +]); +const _SimulcastCodecInfo = class _SimulcastCodecInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: string mid = 2; + */ + this.mid = ""; + /** + * @generated from field: string cid = 3; + */ + this.cid = ""; + /** + * @generated from field: repeated livekit.VideoLayer layers = 4; + */ + this.layers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulcastCodecInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulcastCodecInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulcastCodecInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SimulcastCodecInfo, a, b); + } +}; +_SimulcastCodecInfo.runtime = import_protobuf.proto3; +_SimulcastCodecInfo.typeName = "livekit.SimulcastCodecInfo"; +_SimulcastCodecInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "mid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true } +]); +let SimulcastCodecInfo = _SimulcastCodecInfo; +const _TrackInfo = class _TrackInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: livekit.TrackType type = 2; + */ + this.type = 0 /* AUDIO */; + /** + * @generated from field: string name = 3; + */ + this.name = ""; + /** + * @generated from field: bool muted = 4; + */ + this.muted = false; + /** + * original width of video (unset for audio) + * clients may receive a lower resolution version with simulcast + * + * @generated from field: uint32 width = 5; + */ + this.width = 0; + /** + * original height of video (unset for audio) + * + * @generated from field: uint32 height = 6; + */ + this.height = 0; + /** + * true if track is simulcasted + * + * @generated from field: bool simulcast = 7; + */ + this.simulcast = false; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 8; + */ + this.disableDtx = false; + /** + * source of media + * + * @generated from field: livekit.TrackSource source = 9; + */ + this.source = 0 /* UNKNOWN */; + /** + * @generated from field: repeated livekit.VideoLayer layers = 10; + */ + this.layers = []; + /** + * mime type of codec + * + * @generated from field: string mime_type = 11; + */ + this.mimeType = ""; + /** + * @generated from field: string mid = 12; + */ + this.mid = ""; + /** + * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; + */ + this.codecs = []; + /** + * @generated from field: bool stereo = 14; + */ + this.stereo = false; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 15; + */ + this.disableRed = false; + /** + * @generated from field: livekit.Encryption.Type encryption = 16; + */ + this.encryption = 0 /* NONE */; + /** + * @generated from field: string stream = 17; + */ + this.stream = ""; + /** + * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; + */ + this.audioFeatures = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackInfo, a, b); + } +}; +_TrackInfo.runtime = import_protobuf.proto3; +_TrackInfo.typeName = "livekit.TrackInfo"; +_TrackInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackType) }, + { + no: 3, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "simulcast", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 8, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 9, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource) }, + { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + { + no: 11, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "mid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, + { + no: 14, + name: "stereo", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 15, + name: "disable_red", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 16, name: "encryption", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) }, + { + no: 17, + name: "stream", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 18, name: "version", kind: "message", T: TimedVersion }, + { no: 19, name: "audio_features", kind: "enum", T: import_protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true } +]); +let TrackInfo = _TrackInfo; +const _VideoLayer = class _VideoLayer extends import_protobuf.Message { + constructor(data) { + super(); + /** + * for tracks with a single layer, this should be HIGH + * + * @generated from field: livekit.VideoQuality quality = 1; + */ + this.quality = 0 /* LOW */; + /** + * @generated from field: uint32 width = 2; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 3; + */ + this.height = 0; + /** + * target bitrate in bit per second (bps), server will measure actual + * + * @generated from field: uint32 bitrate = 4; + */ + this.bitrate = 0; + /** + * @generated from field: uint32 ssrc = 5; + */ + this.ssrc = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VideoLayer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VideoLayer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VideoLayer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_VideoLayer, a, b); + } +}; +_VideoLayer.runtime = import_protobuf.proto3; +_VideoLayer.typeName = "livekit.VideoLayer"; +_VideoLayer.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(VideoQuality) }, + { + no: 2, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "ssrc", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let VideoLayer = _VideoLayer; +const _DataPacket = class _DataPacket extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; + * @deprecated + */ + this.kind = 0 /* RELIABLE */; + /** + * participant identity of user that sent the message + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 5; + */ + this.destinationIdentities = []; + /** + * @generated from oneof livekit.DataPacket.value + */ + this.value = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataPacket().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataPacket().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataPacket().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataPacket, a, b); + } +}; +_DataPacket.runtime = import_protobuf.proto3; +_DataPacket.typeName = "livekit.DataPacket"; +_DataPacket.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(DataPacket_Kind) }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, + { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, + { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, + { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, + { no: 8, name: "metrics", kind: "message", T: import_livekit_metrics_pb.MetricsBatch, oneof: "value" }, + { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, + { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, + { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, + { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, + { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, + { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" } +]); +let DataPacket = _DataPacket; +var DataPacket_Kind = /* @__PURE__ */ ((DataPacket_Kind2) => { + DataPacket_Kind2[DataPacket_Kind2["RELIABLE"] = 0] = "RELIABLE"; + DataPacket_Kind2[DataPacket_Kind2["LOSSY"] = 1] = "LOSSY"; + return DataPacket_Kind2; +})(DataPacket_Kind || {}); +import_protobuf.proto3.util.setEnumType(DataPacket_Kind, "livekit.DataPacket.Kind", [ + { no: 0, name: "RELIABLE" }, + { no: 1, name: "LOSSY" } +]); +const _ActiveSpeakerUpdate = class _ActiveSpeakerUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + this.speakers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ActiveSpeakerUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ActiveSpeakerUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ActiveSpeakerUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ActiveSpeakerUpdate, a, b); + } +}; +_ActiveSpeakerUpdate.runtime = import_protobuf.proto3; +_ActiveSpeakerUpdate.typeName = "livekit.ActiveSpeakerUpdate"; +_ActiveSpeakerUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } +]); +let ActiveSpeakerUpdate = _ActiveSpeakerUpdate; +const _SpeakerInfo = class _SpeakerInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * audio level, 0-1.0, 1 is loudest + * + * @generated from field: float level = 2; + */ + this.level = 0; + /** + * true if speaker is currently active + * + * @generated from field: bool active = 3; + */ + this.active = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SpeakerInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SpeakerInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SpeakerInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SpeakerInfo, a, b); + } +}; +_SpeakerInfo.runtime = import_protobuf.proto3; +_SpeakerInfo.typeName = "livekit.SpeakerInfo"; +_SpeakerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "level", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 3, + name: "active", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SpeakerInfo = _SpeakerInfo; +const _UserPacket = class _UserPacket extends import_protobuf.Message { + constructor(data) { + super(); + /** + * participant ID of user that sent the message + * + * @generated from field: string participant_sid = 1 [deprecated = true]; + * @deprecated + */ + this.participantSid = ""; + /** + * @generated from field: string participant_identity = 5 [deprecated = true]; + * @deprecated + */ + this.participantIdentity = ""; + /** + * user defined payload + * + * @generated from field: bytes payload = 2; + */ + this.payload = new Uint8Array(0); + /** + * the ID of the participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_sids = 3 [deprecated = true]; + * @deprecated + */ + this.destinationSids = []; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 6 [deprecated = true]; + * @deprecated + */ + this.destinationIdentities = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UserPacket().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UserPacket().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UserPacket().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UserPacket, a, b); + } +}; +_UserPacket.runtime = import_protobuf.proto3; +_UserPacket.typeName = "livekit.UserPacket"; +_UserPacket.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "payload", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 3, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 4, name: "topic", kind: "scalar", T: 9, opt: true }, + { no: 8, name: "id", kind: "scalar", T: 9, opt: true }, + { no: 9, name: "start_time", kind: "scalar", T: 4, opt: true }, + { no: 10, name: "end_time", kind: "scalar", T: 4, opt: true } +]); +let UserPacket = _UserPacket; +const _SipDTMF = class _SipDTMF extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 code = 3; + */ + this.code = 0; + /** + * @generated from field: string digit = 4; + */ + this.digit = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SipDTMF().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SipDTMF().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SipDTMF().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SipDTMF, a, b); + } +}; +_SipDTMF.runtime = import_protobuf.proto3; +_SipDTMF.typeName = "livekit.SipDTMF"; +_SipDTMF.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 3, + name: "code", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "digit", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SipDTMF = _SipDTMF; +const _Transcription = class _Transcription extends import_protobuf.Message { + constructor(data) { + super(); + /** + * Participant that got its speech transcribed + * + * @generated from field: string transcribed_participant_identity = 2; + */ + this.transcribedParticipantIdentity = ""; + /** + * @generated from field: string track_id = 3; + */ + this.trackId = ""; + /** + * @generated from field: repeated livekit.TranscriptionSegment segments = 4; + */ + this.segments = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Transcription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Transcription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Transcription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Transcription, a, b); + } +}; +_Transcription.runtime = import_protobuf.proto3; +_Transcription.typeName = "livekit.Transcription"; +_Transcription.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 2, + name: "transcribed_participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true } +]); +let Transcription = _Transcription; +const _TranscriptionSegment = class _TranscriptionSegment extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string text = 2; + */ + this.text = ""; + /** + * @generated from field: uint64 start_time = 3; + */ + this.startTime = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 end_time = 4; + */ + this.endTime = import_protobuf.protoInt64.zero; + /** + * @generated from field: bool final = 5; + */ + this.final = false; + /** + * @generated from field: string language = 6; + */ + this.language = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TranscriptionSegment().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TranscriptionSegment().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TranscriptionSegment().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TranscriptionSegment, a, b); + } +}; +_TranscriptionSegment.runtime = import_protobuf.proto3; +_TranscriptionSegment.typeName = "livekit.TranscriptionSegment"; +_TranscriptionSegment.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "text", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "start_time", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "end_time", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "final", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "language", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TranscriptionSegment = _TranscriptionSegment; +const _ChatMessage = class _ChatMessage extends import_protobuf.Message { + constructor(data) { + super(); + /** + * uuid + * + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: string message = 4; + */ + this.message = ""; + /** + * true to remove message + * + * @generated from field: bool deleted = 5; + */ + this.deleted = false; + /** + * true if the chat message has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 6; + */ + this.generated = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ChatMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ChatMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ChatMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ChatMessage, a, b); + } +}; +_ChatMessage.runtime = import_protobuf.proto3; +_ChatMessage.typeName = "livekit.ChatMessage"; +_ChatMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 3, name: "edit_timestamp", kind: "scalar", T: 3, opt: true }, + { + no: 4, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "deleted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "generated", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ChatMessage = _ChatMessage; +const _RpcRequest = class _RpcRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string method = 2; + */ + this.method = ""; + /** + * @generated from field: string payload = 3; + */ + this.payload = ""; + /** + * @generated from field: uint32 response_timeout_ms = 4; + */ + this.responseTimeoutMs = 0; + /** + * @generated from field: uint32 version = 5; + */ + this.version = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RpcRequest, a, b); + } +}; +_RpcRequest.runtime = import_protobuf.proto3; +_RpcRequest.typeName = "livekit.RpcRequest"; +_RpcRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "method", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "payload", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "response_timeout_ms", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "version", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let RpcRequest = _RpcRequest; +const _RpcAck = class _RpcAck extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string request_id = 1; + */ + this.requestId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcAck().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcAck().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcAck().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RpcAck, a, b); + } +}; +_RpcAck.runtime = import_protobuf.proto3; +_RpcAck.typeName = "livekit.RpcAck"; +_RpcAck.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RpcAck = _RpcAck; +const _RpcResponse = class _RpcResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string request_id = 1; + */ + this.requestId = ""; + /** + * @generated from oneof livekit.RpcResponse.value + */ + this.value = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RpcResponse, a, b); + } +}; +_RpcResponse.runtime = import_protobuf.proto3; +_RpcResponse.typeName = "livekit.RpcResponse"; +_RpcResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" }, + { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" } +]); +let RpcResponse = _RpcResponse; +const _RpcError = class _RpcError extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 code = 1; + */ + this.code = 0; + /** + * @generated from field: string message = 2; + */ + this.message = ""; + /** + * @generated from field: string data = 3; + */ + this.data = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcError().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcError().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcError().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RpcError, a, b); + } +}; +_RpcError.runtime = import_protobuf.proto3; +_RpcError.typeName = "livekit.RpcError"; +_RpcError.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "code", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "data", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RpcError = _RpcError; +const _ParticipantTracks = class _ParticipantTracks extends import_protobuf.Message { + constructor(data) { + super(); + /** + * participant ID of participant to whom the tracks belong + * + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: repeated string track_sids = 2; + */ + this.trackSids = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantTracks().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantTracks().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantTracks().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ParticipantTracks, a, b); + } +}; +_ParticipantTracks.runtime = import_protobuf.proto3; +_ParticipantTracks.typeName = "livekit.ParticipantTracks"; +_ParticipantTracks.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "track_sids", kind: "scalar", T: 9, repeated: true } +]); +let ParticipantTracks = _ParticipantTracks; +const _ServerInfo = class _ServerInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ServerInfo.Edition edition = 1; + */ + this.edition = 0 /* Standard */; + /** + * @generated from field: string version = 2; + */ + this.version = ""; + /** + * @generated from field: int32 protocol = 3; + */ + this.protocol = 0; + /** + * @generated from field: string region = 4; + */ + this.region = ""; + /** + * @generated from field: string node_id = 5; + */ + this.nodeId = ""; + /** + * additional debugging information. sent only if server is in development mode + * + * @generated from field: string debug_info = 6; + */ + this.debugInfo = ""; + /** + * @generated from field: int32 agent_protocol = 7; + */ + this.agentProtocol = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ServerInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ServerInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ServerInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ServerInfo, a, b); + } +}; +_ServerInfo.runtime = import_protobuf.proto3; +_ServerInfo.typeName = "livekit.ServerInfo"; +_ServerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "edition", kind: "enum", T: import_protobuf.proto3.getEnumType(ServerInfo_Edition) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "debug_info", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "agent_protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let ServerInfo = _ServerInfo; +var ServerInfo_Edition = /* @__PURE__ */ ((ServerInfo_Edition2) => { + ServerInfo_Edition2[ServerInfo_Edition2["Standard"] = 0] = "Standard"; + ServerInfo_Edition2[ServerInfo_Edition2["Cloud"] = 1] = "Cloud"; + return ServerInfo_Edition2; +})(ServerInfo_Edition || {}); +import_protobuf.proto3.util.setEnumType(ServerInfo_Edition, "livekit.ServerInfo.Edition", [ + { no: 0, name: "Standard" }, + { no: 1, name: "Cloud" } +]); +const _ClientInfo = class _ClientInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientInfo.SDK sdk = 1; + */ + this.sdk = 0 /* UNKNOWN */; + /** + * @generated from field: string version = 2; + */ + this.version = ""; + /** + * @generated from field: int32 protocol = 3; + */ + this.protocol = 0; + /** + * @generated from field: string os = 4; + */ + this.os = ""; + /** + * @generated from field: string os_version = 5; + */ + this.osVersion = ""; + /** + * @generated from field: string device_model = 6; + */ + this.deviceModel = ""; + /** + * @generated from field: string browser = 7; + */ + this.browser = ""; + /** + * @generated from field: string browser_version = 8; + */ + this.browserVersion = ""; + /** + * @generated from field: string address = 9; + */ + this.address = ""; + /** + * wifi, wired, cellular, vpn, empty if not known + * + * @generated from field: string network = 10; + */ + this.network = ""; + /** + * comma separated list of additional LiveKit SDKs in use of this client, with versions + * e.g. "components-js:1.2.3,track-processors-js:1.2.3" + * + * @generated from field: string other_sdks = 11; + */ + this.otherSdks = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ClientInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ClientInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ClientInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ClientInfo, a, b); + } +}; +_ClientInfo.runtime = import_protobuf.proto3; +_ClientInfo.typeName = "livekit.ClientInfo"; +_ClientInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "sdk", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientInfo_SDK) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "os", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "os_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "device_model", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "browser", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "browser_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "network", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "other_sdks", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ClientInfo = _ClientInfo; +var ClientInfo_SDK = /* @__PURE__ */ ((ClientInfo_SDK2) => { + ClientInfo_SDK2[ClientInfo_SDK2["UNKNOWN"] = 0] = "UNKNOWN"; + ClientInfo_SDK2[ClientInfo_SDK2["JS"] = 1] = "JS"; + ClientInfo_SDK2[ClientInfo_SDK2["SWIFT"] = 2] = "SWIFT"; + ClientInfo_SDK2[ClientInfo_SDK2["ANDROID"] = 3] = "ANDROID"; + ClientInfo_SDK2[ClientInfo_SDK2["FLUTTER"] = 4] = "FLUTTER"; + ClientInfo_SDK2[ClientInfo_SDK2["GO"] = 5] = "GO"; + ClientInfo_SDK2[ClientInfo_SDK2["UNITY"] = 6] = "UNITY"; + ClientInfo_SDK2[ClientInfo_SDK2["REACT_NATIVE"] = 7] = "REACT_NATIVE"; + ClientInfo_SDK2[ClientInfo_SDK2["RUST"] = 8] = "RUST"; + ClientInfo_SDK2[ClientInfo_SDK2["PYTHON"] = 9] = "PYTHON"; + ClientInfo_SDK2[ClientInfo_SDK2["CPP"] = 10] = "CPP"; + ClientInfo_SDK2[ClientInfo_SDK2["UNITY_WEB"] = 11] = "UNITY_WEB"; + ClientInfo_SDK2[ClientInfo_SDK2["NODE"] = 12] = "NODE"; + return ClientInfo_SDK2; +})(ClientInfo_SDK || {}); +import_protobuf.proto3.util.setEnumType(ClientInfo_SDK, "livekit.ClientInfo.SDK", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "JS" }, + { no: 2, name: "SWIFT" }, + { no: 3, name: "ANDROID" }, + { no: 4, name: "FLUTTER" }, + { no: 5, name: "GO" }, + { no: 6, name: "UNITY" }, + { no: 7, name: "REACT_NATIVE" }, + { no: 8, name: "RUST" }, + { no: 9, name: "PYTHON" }, + { no: 10, name: "CPP" }, + { no: 11, name: "UNITY_WEB" }, + { no: 12, name: "NODE" } +]); +const _ClientConfiguration = class _ClientConfiguration extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientConfigSetting resume_connection = 3; + */ + this.resumeConnection = 0 /* UNSET */; + /** + * @generated from field: livekit.ClientConfigSetting force_relay = 5; + */ + this.forceRelay = 0 /* UNSET */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ClientConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ClientConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ClientConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ClientConfiguration, a, b); + } +}; +_ClientConfiguration.runtime = import_protobuf.proto3; +_ClientConfiguration.typeName = "livekit.ClientConfiguration"; +_ClientConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "video", kind: "message", T: VideoConfiguration }, + { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, + { no: 3, name: "resume_connection", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) }, + { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, + { no: 5, name: "force_relay", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) } +]); +let ClientConfiguration = _ClientConfiguration; +const _VideoConfiguration = class _VideoConfiguration extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; + */ + this.hardwareEncoder = 0 /* UNSET */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VideoConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VideoConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VideoConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_VideoConfiguration, a, b); + } +}; +_VideoConfiguration.runtime = import_protobuf.proto3; +_VideoConfiguration.typeName = "livekit.VideoConfiguration"; +_VideoConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "hardware_encoder", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) } +]); +let VideoConfiguration = _VideoConfiguration; +const _DisabledCodecs = class _DisabledCodecs extends import_protobuf.Message { + constructor(data) { + super(); + /** + * disabled for both publish and subscribe + * + * @generated from field: repeated livekit.Codec codecs = 1; + */ + this.codecs = []; + /** + * only disable for publish + * + * @generated from field: repeated livekit.Codec publish = 2; + */ + this.publish = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DisabledCodecs().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DisabledCodecs().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DisabledCodecs().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DisabledCodecs, a, b); + } +}; +_DisabledCodecs.runtime = import_protobuf.proto3; +_DisabledCodecs.typeName = "livekit.DisabledCodecs"; +_DisabledCodecs.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, + { no: 2, name: "publish", kind: "message", T: Codec, repeated: true } +]); +let DisabledCodecs = _DisabledCodecs; +const _RTPDrift = class _RTPDrift extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: double duration = 3; + */ + this.duration = 0; + /** + * @generated from field: uint64 start_timestamp = 4; + */ + this.startTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 end_timestamp = 5; + */ + this.endTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 rtp_clock_ticks = 6; + */ + this.rtpClockTicks = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 drift_samples = 7; + */ + this.driftSamples = import_protobuf.protoInt64.zero; + /** + * @generated from field: double drift_ms = 8; + */ + this.driftMs = 0; + /** + * @generated from field: double clock_rate = 9; + */ + this.clockRate = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPDrift().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPDrift().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPDrift().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RTPDrift, a, b); + } +}; +_RTPDrift.runtime = import_protobuf.proto3; +_RTPDrift.typeName = "livekit.RTPDrift"; +_RTPDrift.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, + { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, + { + no: 3, + name: "duration", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 4, + name: "start_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "end_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 6, + name: "rtp_clock_ticks", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 7, + name: "drift_samples", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 8, + name: "drift_ms", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 9, + name: "clock_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let RTPDrift = _RTPDrift; +const _RTPStats = class _RTPStats extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: double duration = 3; + */ + this.duration = 0; + /** + * @generated from field: uint32 packets = 4; + */ + this.packets = 0; + /** + * @generated from field: double packet_rate = 5; + */ + this.packetRate = 0; + /** + * @generated from field: uint64 bytes = 6; + */ + this.bytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 header_bytes = 39; + */ + this.headerBytes = import_protobuf.protoInt64.zero; + /** + * @generated from field: double bitrate = 7; + */ + this.bitrate = 0; + /** + * @generated from field: uint32 packets_lost = 8; + */ + this.packetsLost = 0; + /** + * @generated from field: double packet_loss_rate = 9; + */ + this.packetLossRate = 0; + /** + * @generated from field: float packet_loss_percentage = 10; + */ + this.packetLossPercentage = 0; + /** + * @generated from field: uint32 packets_duplicate = 11; + */ + this.packetsDuplicate = 0; + /** + * @generated from field: double packet_duplicate_rate = 12; + */ + this.packetDuplicateRate = 0; + /** + * @generated from field: uint64 bytes_duplicate = 13; + */ + this.bytesDuplicate = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 header_bytes_duplicate = 40; + */ + this.headerBytesDuplicate = import_protobuf.protoInt64.zero; + /** + * @generated from field: double bitrate_duplicate = 14; + */ + this.bitrateDuplicate = 0; + /** + * @generated from field: uint32 packets_padding = 15; + */ + this.packetsPadding = 0; + /** + * @generated from field: double packet_padding_rate = 16; + */ + this.packetPaddingRate = 0; + /** + * @generated from field: uint64 bytes_padding = 17; + */ + this.bytesPadding = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 header_bytes_padding = 41; + */ + this.headerBytesPadding = import_protobuf.protoInt64.zero; + /** + * @generated from field: double bitrate_padding = 18; + */ + this.bitratePadding = 0; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + this.packetsOutOfOrder = 0; + /** + * @generated from field: uint32 frames = 20; + */ + this.frames = 0; + /** + * @generated from field: double frame_rate = 21; + */ + this.frameRate = 0; + /** + * @generated from field: double jitter_current = 22; + */ + this.jitterCurrent = 0; + /** + * @generated from field: double jitter_max = 23; + */ + this.jitterMax = 0; + /** + * @generated from field: map gap_histogram = 24; + */ + this.gapHistogram = {}; + /** + * @generated from field: uint32 nacks = 25; + */ + this.nacks = 0; + /** + * @generated from field: uint32 nack_acks = 37; + */ + this.nackAcks = 0; + /** + * @generated from field: uint32 nack_misses = 26; + */ + this.nackMisses = 0; + /** + * @generated from field: uint32 nack_repeated = 38; + */ + this.nackRepeated = 0; + /** + * @generated from field: uint32 plis = 27; + */ + this.plis = 0; + /** + * @generated from field: uint32 firs = 29; + */ + this.firs = 0; + /** + * @generated from field: uint32 rtt_current = 31; + */ + this.rttCurrent = 0; + /** + * @generated from field: uint32 rtt_max = 32; + */ + this.rttMax = 0; + /** + * @generated from field: uint32 key_frames = 33; + */ + this.keyFrames = 0; + /** + * @generated from field: uint32 layer_lock_plis = 35; + */ + this.layerLockPlis = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RTPStats, a, b); + } +}; +_RTPStats.runtime = import_protobuf.proto3; +_RTPStats.typeName = "livekit.RTPStats"; +_RTPStats.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, + { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, + { + no: 3, + name: "duration", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 4, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "packet_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 6, + name: "bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 39, + name: "header_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 7, + name: "bitrate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 8, + name: "packets_lost", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "packet_loss_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 10, + name: "packet_loss_percentage", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 11, + name: "packets_duplicate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 12, + name: "packet_duplicate_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 13, + name: "bytes_duplicate", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 40, + name: "header_bytes_duplicate", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 14, + name: "bitrate_duplicate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 15, + name: "packets_padding", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 16, + name: "packet_padding_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 17, + name: "bytes_padding", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 41, + name: "header_bytes_padding", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 18, + name: "bitrate_padding", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 19, + name: "packets_out_of_order", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 20, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 21, + name: "frame_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 22, + name: "jitter_current", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 23, + name: "jitter_max", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { no: 24, name: "gap_histogram", kind: "map", K: 5, V: { + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } }, + { + no: 25, + name: "nacks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 37, + name: "nack_acks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 26, + name: "nack_misses", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 38, + name: "nack_repeated", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 27, + name: "plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 28, name: "last_pli", kind: "message", T: import_protobuf.Timestamp }, + { + no: 29, + name: "firs", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 30, name: "last_fir", kind: "message", T: import_protobuf.Timestamp }, + { + no: 31, + name: "rtt_current", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 32, + name: "rtt_max", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 33, + name: "key_frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 34, name: "last_key_frame", kind: "message", T: import_protobuf.Timestamp }, + { + no: 35, + name: "layer_lock_plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 36, name: "last_layer_lock_pli", kind: "message", T: import_protobuf.Timestamp }, + { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, + { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, + { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, + { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift } +]); +let RTPStats = _RTPStats; +const _RTCPSenderReportState = class _RTCPSenderReportState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 rtp_timestamp = 1; + */ + this.rtpTimestamp = 0; + /** + * @generated from field: uint64 rtp_timestamp_ext = 2; + */ + this.rtpTimestampExt = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 ntp_timestamp = 3; + */ + this.ntpTimestamp = import_protobuf.protoInt64.zero; + /** + * time at which this happened + * + * @generated from field: int64 at = 4; + */ + this.at = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 at_adjusted = 5; + */ + this.atAdjusted = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint32 packets = 6; + */ + this.packets = 0; + /** + * @generated from field: uint64 octets = 7; + */ + this.octets = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTCPSenderReportState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTCPSenderReportState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTCPSenderReportState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RTCPSenderReportState, a, b); + } +}; +_RTCPSenderReportState.runtime = import_protobuf.proto3; +_RTCPSenderReportState.typeName = "livekit.RTCPSenderReportState"; +_RTCPSenderReportState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "rtp_timestamp", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "rtp_timestamp_ext", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "ntp_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "at_adjusted", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "octets", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + } +]); +let RTCPSenderReportState = _RTCPSenderReportState; +const _RTPForwarderState = class _RTPForwarderState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: bool started = 1; + */ + this.started = false; + /** + * @generated from field: int32 reference_layer_spatial = 2; + */ + this.referenceLayerSpatial = 0; + /** + * @generated from field: int64 pre_start_time = 3; + */ + this.preStartTime = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 ext_first_timestamp = 4; + */ + this.extFirstTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 dummy_start_timestamp_offset = 5; + */ + this.dummyStartTimestampOffset = import_protobuf.protoInt64.zero; + /** + * @generated from oneof livekit.RTPForwarderState.codec_munger + */ + this.codecMunger = { case: void 0 }; + /** + * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; + */ + this.senderReportState = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPForwarderState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPForwarderState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPForwarderState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RTPForwarderState, a, b); + } +}; +_RTPForwarderState.runtime = import_protobuf.proto3; +_RTPForwarderState.typeName = "livekit.RTPForwarderState"; +_RTPForwarderState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "started", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "reference_layer_spatial", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "pre_start_time", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "ext_first_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "dummy_start_timestamp_offset", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, + { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, + { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true } +]); +let RTPForwarderState = _RTPForwarderState; +const _RTPMungerState = class _RTPMungerState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint64 ext_last_sequence_number = 1; + */ + this.extLastSequenceNumber = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 ext_second_last_sequence_number = 2; + */ + this.extSecondLastSequenceNumber = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 ext_last_timestamp = 3; + */ + this.extLastTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: uint64 ext_second_last_timestamp = 4; + */ + this.extSecondLastTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: bool last_marker = 5; + */ + this.lastMarker = false; + /** + * @generated from field: bool second_last_marker = 6; + */ + this.secondLastMarker = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPMungerState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPMungerState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPMungerState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RTPMungerState, a, b); + } +}; +_RTPMungerState.runtime = import_protobuf.proto3; +_RTPMungerState.typeName = "livekit.RTPMungerState"; +_RTPMungerState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ext_last_sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 2, + name: "ext_second_last_sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "ext_last_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "ext_second_last_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "last_marker", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "second_last_marker", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let RTPMungerState = _RTPMungerState; +const _VP8MungerState = class _VP8MungerState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int32 ext_last_picture_id = 1; + */ + this.extLastPictureId = 0; + /** + * @generated from field: bool picture_id_used = 2; + */ + this.pictureIdUsed = false; + /** + * @generated from field: uint32 last_tl0_pic_idx = 3; + */ + this.lastTl0PicIdx = 0; + /** + * @generated from field: bool tl0_pic_idx_used = 4; + */ + this.tl0PicIdxUsed = false; + /** + * @generated from field: bool tid_used = 5; + */ + this.tidUsed = false; + /** + * @generated from field: uint32 last_key_idx = 6; + */ + this.lastKeyIdx = 0; + /** + * @generated from field: bool key_idx_used = 7; + */ + this.keyIdxUsed = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VP8MungerState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VP8MungerState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VP8MungerState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_VP8MungerState, a, b); + } +}; +_VP8MungerState.runtime = import_protobuf.proto3; +_VP8MungerState.typeName = "livekit.VP8MungerState"; +_VP8MungerState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "ext_last_picture_id", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "picture_id_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "last_tl0_pic_idx", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "tl0_pic_idx_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "tid_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "last_key_idx", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "key_idx_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let VP8MungerState = _VP8MungerState; +const _TimedVersion = class _TimedVersion extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int64 unix_micro = 1; + */ + this.unixMicro = import_protobuf.protoInt64.zero; + /** + * @generated from field: int32 ticks = 2; + */ + this.ticks = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TimedVersion().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TimedVersion().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TimedVersion().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TimedVersion, a, b); + } +}; +_TimedVersion.runtime = import_protobuf.proto3; +_TimedVersion.typeName = "livekit.TimedVersion"; +_TimedVersion.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "unix_micro", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "ticks", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let TimedVersion = _TimedVersion; +const _DataStream = class _DataStream extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataStream, a, b); + } +}; +_DataStream.runtime = import_protobuf.proto3; +_DataStream.typeName = "livekit.DataStream"; +_DataStream.fields = import_protobuf.proto3.util.newFieldList(() => []); +let DataStream = _DataStream; +var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => { + DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE"; + DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE"; + DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE"; + DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION"; + return DataStream_OperationType2; +})(DataStream_OperationType || {}); +import_protobuf.proto3.util.setEnumType(DataStream_OperationType, "livekit.DataStream.OperationType", [ + { no: 0, name: "CREATE" }, + { no: 1, name: "UPDATE" }, + { no: 2, name: "DELETE" }, + { no: 3, name: "REACTION" } +]); +const _DataStream_TextHeader = class _DataStream_TextHeader extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.DataStream.OperationType operation_type = 1; + */ + this.operationType = 0 /* CREATE */; + /** + * Optional: Version for updates/edits + * + * @generated from field: int32 version = 2; + */ + this.version = 0; + /** + * Optional: Reply to specific message + * + * @generated from field: string reply_to_stream_id = 3; + */ + this.replyToStreamId = ""; + /** + * file attachments for text streams + * + * @generated from field: repeated string attached_stream_ids = 4; + */ + this.attachedStreamIds = []; + /** + * true if the text has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 5; + */ + this.generated = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_TextHeader().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_TextHeader().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_TextHeader().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataStream_TextHeader, a, b); + } +}; +_DataStream_TextHeader.runtime = import_protobuf.proto3; +_DataStream_TextHeader.typeName = "livekit.DataStream.TextHeader"; +_DataStream_TextHeader.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "operation_type", kind: "enum", T: import_protobuf.proto3.getEnumType(DataStream_OperationType) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "reply_to_stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "generated", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let DataStream_TextHeader = _DataStream_TextHeader; +const _DataStream_FileHeader = class _DataStream_FileHeader extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the file + * + * @generated from field: string file_name = 1; + */ + this.fileName = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_FileHeader().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_FileHeader().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_FileHeader().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataStream_FileHeader, a, b); + } +}; +_DataStream_FileHeader.runtime = import_protobuf.proto3; +_DataStream_FileHeader.typeName = "livekit.DataStream.FileHeader"; +_DataStream_FileHeader.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "file_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DataStream_FileHeader = _DataStream_FileHeader; +const _DataStream_Header = class _DataStream_Header extends import_protobuf.Message { + constructor(data) { + super(); + /** + * unique identifier for this data stream + * + * @generated from field: string stream_id = 1; + */ + this.streamId = ""; + /** + * using int64 for Unix timestamp + * + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: string topic = 3; + */ + this.topic = ""; + /** + * @generated from field: string mime_type = 4; + */ + this.mimeType = ""; + /** + * defaults to NONE + * + * @generated from field: livekit.Encryption.Type encryption_type = 7; + */ + this.encryptionType = 0 /* NONE */; + /** + * user defined extensions map that can carry additional info + * + * @generated from field: map extensions = 8; + */ + this.extensions = {}; + /** + * oneof to choose between specific header types + * + * @generated from oneof livekit.DataStream.Header.content_header + */ + this.contentHeader = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_Header().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_Header().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_Header().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataStream_Header, a, b); + } +}; +_DataStream_Header.runtime = import_protobuf.proto3; +_DataStream_Header.typeName = "livekit.DataStream.Header"; +_DataStream_Header.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "topic", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "total_length", kind: "scalar", T: 4, opt: true }, + { no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true }, + { no: 7, name: "encryption_type", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) }, + { no: 8, name: "extensions", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, + { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" } +]); +let DataStream_Header = _DataStream_Header; +const _DataStream_Chunk = class _DataStream_Chunk extends import_protobuf.Message { + constructor(data) { + super(); + /** + * unique identifier for this data stream to map it to the correct header + * + * @generated from field: string stream_id = 1; + */ + this.streamId = ""; + /** + * @generated from field: uint64 chunk_index = 2; + */ + this.chunkIndex = import_protobuf.protoInt64.zero; + /** + * content as binary (bytes) + * + * @generated from field: bytes content = 3; + */ + this.content = new Uint8Array(0); + /** + * true only if this is the last chunk of this stream - can also be sent with empty content + * + * @generated from field: bool complete = 4; + */ + this.complete = false; + /** + * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + * + * @generated from field: int32 version = 5; + */ + this.version = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_Chunk().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_Chunk().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_Chunk().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataStream_Chunk, a, b); + } +}; +_DataStream_Chunk.runtime = import_protobuf.proto3; +_DataStream_Chunk.typeName = "livekit.DataStream.Chunk"; +_DataStream_Chunk.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "chunk_index", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "content", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { + no: 4, + name: "complete", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "version", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 6, name: "iv", kind: "scalar", T: 12, opt: true } +]); +let DataStream_Chunk = _DataStream_Chunk; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + ActiveSpeakerUpdate, + AudioCodec, + AudioTrackFeature, + ChatMessage, + ClientConfigSetting, + ClientConfiguration, + ClientInfo, + ClientInfo_SDK, + Codec, + ConnectionQuality, + DataPacket, + DataPacket_Kind, + DataStream, + DataStream_Chunk, + DataStream_FileHeader, + DataStream_Header, + DataStream_OperationType, + DataStream_TextHeader, + DisabledCodecs, + DisconnectReason, + Encryption, + Encryption_Type, + ImageCodec, + ParticipantInfo, + ParticipantInfo_Kind, + ParticipantInfo_State, + ParticipantPermission, + ParticipantTracks, + PlayoutDelay, + RTCPSenderReportState, + RTPDrift, + RTPForwarderState, + RTPMungerState, + RTPStats, + ReconnectReason, + Room, + RpcAck, + RpcError, + RpcRequest, + RpcResponse, + ServerInfo, + ServerInfo_Edition, + SimulcastCodecInfo, + SipDTMF, + SpeakerInfo, + SubscriptionError, + TimedVersion, + TrackInfo, + TrackSource, + TrackType, + Transcription, + TranscriptionSegment, + UserPacket, + VP8MungerState, + VideoCodec, + VideoConfiguration, + VideoLayer, + VideoQuality +}); +//# sourceMappingURL=livekit_models_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.cjs.map b/packages/javascript/dist/gen/livekit_models_pb.cjs.map new file mode 100644 index 00000000..0374e232 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_models_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_models.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { MetricsBatch } from \"./livekit_metrics_pb.js\";\n\n/**\n * @generated from enum livekit.AudioCodec\n */\nexport enum AudioCodec {\n /**\n * @generated from enum value: DEFAULT_AC = 0;\n */\n DEFAULT_AC = 0,\n\n /**\n * @generated from enum value: OPUS = 1;\n */\n OPUS = 1,\n\n /**\n * @generated from enum value: AAC = 2;\n */\n AAC = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)\nproto3.util.setEnumType(AudioCodec, \"livekit.AudioCodec\", [\n { no: 0, name: \"DEFAULT_AC\" },\n { no: 1, name: \"OPUS\" },\n { no: 2, name: \"AAC\" },\n]);\n\n/**\n * @generated from enum livekit.VideoCodec\n */\nexport enum VideoCodec {\n /**\n * @generated from enum value: DEFAULT_VC = 0;\n */\n DEFAULT_VC = 0,\n\n /**\n * @generated from enum value: H264_BASELINE = 1;\n */\n H264_BASELINE = 1,\n\n /**\n * @generated from enum value: H264_MAIN = 2;\n */\n H264_MAIN = 2,\n\n /**\n * @generated from enum value: H264_HIGH = 3;\n */\n H264_HIGH = 3,\n\n /**\n * @generated from enum value: VP8 = 4;\n */\n VP8 = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)\nproto3.util.setEnumType(VideoCodec, \"livekit.VideoCodec\", [\n { no: 0, name: \"DEFAULT_VC\" },\n { no: 1, name: \"H264_BASELINE\" },\n { no: 2, name: \"H264_MAIN\" },\n { no: 3, name: \"H264_HIGH\" },\n { no: 4, name: \"VP8\" },\n]);\n\n/**\n * @generated from enum livekit.ImageCodec\n */\nexport enum ImageCodec {\n /**\n * @generated from enum value: IC_DEFAULT = 0;\n */\n IC_DEFAULT = 0,\n\n /**\n * @generated from enum value: IC_JPEG = 1;\n */\n IC_JPEG = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageCodec)\nproto3.util.setEnumType(ImageCodec, \"livekit.ImageCodec\", [\n { no: 0, name: \"IC_DEFAULT\" },\n { no: 1, name: \"IC_JPEG\" },\n]);\n\n/**\n * @generated from enum livekit.TrackType\n */\nexport enum TrackType {\n /**\n * @generated from enum value: AUDIO = 0;\n */\n AUDIO = 0,\n\n /**\n * @generated from enum value: VIDEO = 1;\n */\n VIDEO = 1,\n\n /**\n * @generated from enum value: DATA = 2;\n */\n DATA = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackType)\nproto3.util.setEnumType(TrackType, \"livekit.TrackType\", [\n { no: 0, name: \"AUDIO\" },\n { no: 1, name: \"VIDEO\" },\n { no: 2, name: \"DATA\" },\n]);\n\n/**\n * @generated from enum livekit.TrackSource\n */\nexport enum TrackSource {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: CAMERA = 1;\n */\n CAMERA = 1,\n\n /**\n * @generated from enum value: MICROPHONE = 2;\n */\n MICROPHONE = 2,\n\n /**\n * @generated from enum value: SCREEN_SHARE = 3;\n */\n SCREEN_SHARE = 3,\n\n /**\n * @generated from enum value: SCREEN_SHARE_AUDIO = 4;\n */\n SCREEN_SHARE_AUDIO = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackSource)\nproto3.util.setEnumType(TrackSource, \"livekit.TrackSource\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"CAMERA\" },\n { no: 2, name: \"MICROPHONE\" },\n { no: 3, name: \"SCREEN_SHARE\" },\n { no: 4, name: \"SCREEN_SHARE_AUDIO\" },\n]);\n\n/**\n * @generated from enum livekit.VideoQuality\n */\nexport enum VideoQuality {\n /**\n * @generated from enum value: LOW = 0;\n */\n LOW = 0,\n\n /**\n * @generated from enum value: MEDIUM = 1;\n */\n MEDIUM = 1,\n\n /**\n * @generated from enum value: HIGH = 2;\n */\n HIGH = 2,\n\n /**\n * @generated from enum value: OFF = 3;\n */\n OFF = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoQuality)\nproto3.util.setEnumType(VideoQuality, \"livekit.VideoQuality\", [\n { no: 0, name: \"LOW\" },\n { no: 1, name: \"MEDIUM\" },\n { no: 2, name: \"HIGH\" },\n { no: 3, name: \"OFF\" },\n]);\n\n/**\n * @generated from enum livekit.ConnectionQuality\n */\nexport enum ConnectionQuality {\n /**\n * @generated from enum value: POOR = 0;\n */\n POOR = 0,\n\n /**\n * @generated from enum value: GOOD = 1;\n */\n GOOD = 1,\n\n /**\n * @generated from enum value: EXCELLENT = 2;\n */\n EXCELLENT = 2,\n\n /**\n * @generated from enum value: LOST = 3;\n */\n LOST = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ConnectionQuality)\nproto3.util.setEnumType(ConnectionQuality, \"livekit.ConnectionQuality\", [\n { no: 0, name: \"POOR\" },\n { no: 1, name: \"GOOD\" },\n { no: 2, name: \"EXCELLENT\" },\n { no: 3, name: \"LOST\" },\n]);\n\n/**\n * @generated from enum livekit.ClientConfigSetting\n */\nexport enum ClientConfigSetting {\n /**\n * @generated from enum value: UNSET = 0;\n */\n UNSET = 0,\n\n /**\n * @generated from enum value: DISABLED = 1;\n */\n DISABLED = 1,\n\n /**\n * @generated from enum value: ENABLED = 2;\n */\n ENABLED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientConfigSetting)\nproto3.util.setEnumType(ClientConfigSetting, \"livekit.ClientConfigSetting\", [\n { no: 0, name: \"UNSET\" },\n { no: 1, name: \"DISABLED\" },\n { no: 2, name: \"ENABLED\" },\n]);\n\n/**\n * @generated from enum livekit.DisconnectReason\n */\nexport enum DisconnectReason {\n /**\n * @generated from enum value: UNKNOWN_REASON = 0;\n */\n UNKNOWN_REASON = 0,\n\n /**\n * the client initiated the disconnect\n *\n * @generated from enum value: CLIENT_INITIATED = 1;\n */\n CLIENT_INITIATED = 1,\n\n /**\n * another participant with the same identity has joined the room\n *\n * @generated from enum value: DUPLICATE_IDENTITY = 2;\n */\n DUPLICATE_IDENTITY = 2,\n\n /**\n * the server instance is shutting down\n *\n * @generated from enum value: SERVER_SHUTDOWN = 3;\n */\n SERVER_SHUTDOWN = 3,\n\n /**\n * RoomService.RemoveParticipant was called\n *\n * @generated from enum value: PARTICIPANT_REMOVED = 4;\n */\n PARTICIPANT_REMOVED = 4,\n\n /**\n * RoomService.DeleteRoom was called\n *\n * @generated from enum value: ROOM_DELETED = 5;\n */\n ROOM_DELETED = 5,\n\n /**\n * the client is attempting to resume a session, but server is not aware of it\n *\n * @generated from enum value: STATE_MISMATCH = 6;\n */\n STATE_MISMATCH = 6,\n\n /**\n * client was unable to connect fully\n *\n * @generated from enum value: JOIN_FAILURE = 7;\n */\n JOIN_FAILURE = 7,\n\n /**\n * Cloud-only, the server requested Participant to migrate the connection elsewhere\n *\n * @generated from enum value: MIGRATION = 8;\n */\n MIGRATION = 8,\n\n /**\n * the signal websocket was closed unexpectedly\n *\n * @generated from enum value: SIGNAL_CLOSE = 9;\n */\n SIGNAL_CLOSE = 9,\n\n /**\n * the room was closed, due to all Standard and Ingress participants having left\n *\n * @generated from enum value: ROOM_CLOSED = 10;\n */\n ROOM_CLOSED = 10,\n\n /**\n * SIP callee did not respond in time\n *\n * @generated from enum value: USER_UNAVAILABLE = 11;\n */\n USER_UNAVAILABLE = 11,\n\n /**\n * SIP callee rejected the call (busy)\n *\n * @generated from enum value: USER_REJECTED = 12;\n */\n USER_REJECTED = 12,\n\n /**\n * SIP protocol failure or unexpected response\n *\n * @generated from enum value: SIP_TRUNK_FAILURE = 13;\n */\n SIP_TRUNK_FAILURE = 13,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DisconnectReason)\nproto3.util.setEnumType(DisconnectReason, \"livekit.DisconnectReason\", [\n { no: 0, name: \"UNKNOWN_REASON\" },\n { no: 1, name: \"CLIENT_INITIATED\" },\n { no: 2, name: \"DUPLICATE_IDENTITY\" },\n { no: 3, name: \"SERVER_SHUTDOWN\" },\n { no: 4, name: \"PARTICIPANT_REMOVED\" },\n { no: 5, name: \"ROOM_DELETED\" },\n { no: 6, name: \"STATE_MISMATCH\" },\n { no: 7, name: \"JOIN_FAILURE\" },\n { no: 8, name: \"MIGRATION\" },\n { no: 9, name: \"SIGNAL_CLOSE\" },\n { no: 10, name: \"ROOM_CLOSED\" },\n { no: 11, name: \"USER_UNAVAILABLE\" },\n { no: 12, name: \"USER_REJECTED\" },\n { no: 13, name: \"SIP_TRUNK_FAILURE\" },\n]);\n\n/**\n * @generated from enum livekit.ReconnectReason\n */\nexport enum ReconnectReason {\n /**\n * @generated from enum value: RR_UNKNOWN = 0;\n */\n RR_UNKNOWN = 0,\n\n /**\n * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;\n */\n RR_SIGNAL_DISCONNECTED = 1,\n\n /**\n * @generated from enum value: RR_PUBLISHER_FAILED = 2;\n */\n RR_PUBLISHER_FAILED = 2,\n\n /**\n * @generated from enum value: RR_SUBSCRIBER_FAILED = 3;\n */\n RR_SUBSCRIBER_FAILED = 3,\n\n /**\n * @generated from enum value: RR_SWITCH_CANDIDATE = 4;\n */\n RR_SWITCH_CANDIDATE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ReconnectReason)\nproto3.util.setEnumType(ReconnectReason, \"livekit.ReconnectReason\", [\n { no: 0, name: \"RR_UNKNOWN\" },\n { no: 1, name: \"RR_SIGNAL_DISCONNECTED\" },\n { no: 2, name: \"RR_PUBLISHER_FAILED\" },\n { no: 3, name: \"RR_SUBSCRIBER_FAILED\" },\n { no: 4, name: \"RR_SWITCH_CANDIDATE\" },\n]);\n\n/**\n * @generated from enum livekit.SubscriptionError\n */\nexport enum SubscriptionError {\n /**\n * @generated from enum value: SE_UNKNOWN = 0;\n */\n SE_UNKNOWN = 0,\n\n /**\n * @generated from enum value: SE_CODEC_UNSUPPORTED = 1;\n */\n SE_CODEC_UNSUPPORTED = 1,\n\n /**\n * @generated from enum value: SE_TRACK_NOTFOUND = 2;\n */\n SE_TRACK_NOTFOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SubscriptionError)\nproto3.util.setEnumType(SubscriptionError, \"livekit.SubscriptionError\", [\n { no: 0, name: \"SE_UNKNOWN\" },\n { no: 1, name: \"SE_CODEC_UNSUPPORTED\" },\n { no: 2, name: \"SE_TRACK_NOTFOUND\" },\n]);\n\n/**\n * @generated from enum livekit.AudioTrackFeature\n */\nexport enum AudioTrackFeature {\n /**\n * @generated from enum value: TF_STEREO = 0;\n */\n TF_STEREO = 0,\n\n /**\n * @generated from enum value: TF_NO_DTX = 1;\n */\n TF_NO_DTX = 1,\n\n /**\n * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;\n */\n TF_AUTO_GAIN_CONTROL = 2,\n\n /**\n * @generated from enum value: TF_ECHO_CANCELLATION = 3;\n */\n TF_ECHO_CANCELLATION = 3,\n\n /**\n * @generated from enum value: TF_NOISE_SUPPRESSION = 4;\n */\n TF_NOISE_SUPPRESSION = 4,\n\n /**\n * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;\n */\n TF_ENHANCED_NOISE_CANCELLATION = 5,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioTrackFeature)\nproto3.util.setEnumType(AudioTrackFeature, \"livekit.AudioTrackFeature\", [\n { no: 0, name: \"TF_STEREO\" },\n { no: 1, name: \"TF_NO_DTX\" },\n { no: 2, name: \"TF_AUTO_GAIN_CONTROL\" },\n { no: 3, name: \"TF_ECHO_CANCELLATION\" },\n { no: 4, name: \"TF_NOISE_SUPPRESSION\" },\n { no: 5, name: \"TF_ENHANCED_NOISE_CANCELLATION\" },\n]);\n\n/**\n * @generated from message livekit.Room\n */\nexport class Room extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 empty_timeout = 3;\n */\n emptyTimeout = 0;\n\n /**\n * @generated from field: uint32 departure_timeout = 14;\n */\n departureTimeout = 0;\n\n /**\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * @generated from field: int64 creation_time = 5;\n */\n creationTime = protoInt64.zero;\n\n /**\n * @generated from field: string turn_password = 6;\n */\n turnPassword = \"\";\n\n /**\n * @generated from field: repeated livekit.Codec enabled_codecs = 7;\n */\n enabledCodecs: Codec[] = [];\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * @generated from field: uint32 num_participants = 9;\n */\n numParticipants = 0;\n\n /**\n * @generated from field: uint32 num_publishers = 11;\n */\n numPublishers = 0;\n\n /**\n * @generated from field: bool active_recording = 10;\n */\n activeRecording = false;\n\n /**\n * @generated from field: livekit.TimedVersion version = 13;\n */\n version?: TimedVersion;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Room\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"creation_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"turn_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"enabled_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"num_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"num_publishers\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"active_recording\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"version\", kind: \"message\", T: TimedVersion },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Room {\n return new Room().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Room {\n return new Room().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Room {\n return new Room().fromJsonString(jsonString, options);\n }\n\n static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean {\n return proto3.util.equals(Room, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Codec\n */\nexport class Codec extends Message {\n /**\n * @generated from field: string mime = 1;\n */\n mime = \"\";\n\n /**\n * @generated from field: string fmtp_line = 2;\n */\n fmtpLine = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Codec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"fmtp_line\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Codec {\n return new Codec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Codec {\n return new Codec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Codec {\n return new Codec().fromJsonString(jsonString, options);\n }\n\n static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean {\n return proto3.util.equals(Codec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.PlayoutDelay\n */\nexport class PlayoutDelay extends Message {\n /**\n * @generated from field: bool enabled = 1;\n */\n enabled = false;\n\n /**\n * @generated from field: uint32 min = 2;\n */\n min = 0;\n\n /**\n * @generated from field: uint32 max = 3;\n */\n max = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.PlayoutDelay\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"min\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJsonString(jsonString, options);\n }\n\n static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean {\n return proto3.util.equals(PlayoutDelay, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantPermission\n */\nexport class ParticipantPermission extends Message {\n /**\n * allow participant to subscribe to other tracks in the room\n *\n * @generated from field: bool can_subscribe = 1;\n */\n canSubscribe = false;\n\n /**\n * allow participant to publish new tracks to room\n *\n * @generated from field: bool can_publish = 2;\n */\n canPublish = false;\n\n /**\n * allow participant to publish data\n *\n * @generated from field: bool can_publish_data = 3;\n */\n canPublishData = false;\n\n /**\n * sources that are allowed to be published\n *\n * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;\n */\n canPublishSources: TrackSource[] = [];\n\n /**\n * indicates that it's hidden to others\n *\n * @generated from field: bool hidden = 7;\n */\n hidden = false;\n\n /**\n * indicates it's a recorder instance\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool recorder = 8 [deprecated = true];\n * @deprecated\n */\n recorder = false;\n\n /**\n * indicates that participant can update own metadata and attributes\n *\n * @generated from field: bool can_update_metadata = 10;\n */\n canUpdateMetadata = false;\n\n /**\n * indicates that participant is an agent\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool agent = 11 [deprecated = true];\n * @deprecated\n */\n agent = false;\n\n /**\n * if a participant can subscribe to metrics\n *\n * @generated from field: bool can_subscribe_metrics = 12;\n */\n canSubscribeMetrics = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"can_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"can_publish_data\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"can_publish_sources\", kind: \"enum\", T: proto3.getEnumType(TrackSource), repeated: true },\n { no: 7, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"can_update_metadata\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"agent\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"can_subscribe_metrics\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantInfo\n */\nexport class ParticipantInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 3;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 4;\n */\n tracks: TrackInfo[] = [];\n\n /**\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * timestamp when participant joined room, in seconds\n *\n * @generated from field: int64 joined_at = 6;\n */\n joinedAt = protoInt64.zero;\n\n /**\n * @generated from field: string name = 9;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 version = 10;\n */\n version = 0;\n\n /**\n * @generated from field: livekit.ParticipantPermission permission = 11;\n */\n permission?: ParticipantPermission;\n\n /**\n * @generated from field: string region = 12;\n */\n region = \"\";\n\n /**\n * indicates the participant has an active publisher connection\n * and can publish to the server\n *\n * @generated from field: bool is_publisher = 13;\n */\n isPublisher = false;\n\n /**\n * @generated from field: livekit.ParticipantInfo.Kind kind = 14;\n */\n kind = ParticipantInfo_Kind.STANDARD;\n\n /**\n * @generated from field: map attributes = 15;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 16;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 4, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"joined_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 12, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"is_publisher\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_Kind) },\n { no: 15, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 16, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ParticipantInfo.State\n */\nexport enum ParticipantInfo_State {\n /**\n * websocket' connected, but not offered yet\n *\n * @generated from enum value: JOINING = 0;\n */\n JOINING = 0,\n\n /**\n * server received client offer\n *\n * @generated from enum value: JOINED = 1;\n */\n JOINED = 1,\n\n /**\n * ICE connectivity established\n *\n * @generated from enum value: ACTIVE = 2;\n */\n ACTIVE = 2,\n\n /**\n * WS disconnected\n *\n * @generated from enum value: DISCONNECTED = 3;\n */\n DISCONNECTED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_State)\nproto3.util.setEnumType(ParticipantInfo_State, \"livekit.ParticipantInfo.State\", [\n { no: 0, name: \"JOINING\" },\n { no: 1, name: \"JOINED\" },\n { no: 2, name: \"ACTIVE\" },\n { no: 3, name: \"DISCONNECTED\" },\n]);\n\n/**\n * @generated from enum livekit.ParticipantInfo.Kind\n */\nexport enum ParticipantInfo_Kind {\n /**\n * standard participants, e.g. web clients\n *\n * @generated from enum value: STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * only ingests streams\n *\n * @generated from enum value: INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * only consumes streams\n *\n * @generated from enum value: EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * SIP participants\n *\n * @generated from enum value: SIP = 3;\n */\n SIP = 3,\n\n /**\n * LiveKit agents\n *\n * @generated from enum value: AGENT = 4;\n */\n AGENT = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_Kind)\nproto3.util.setEnumType(ParticipantInfo_Kind, \"livekit.ParticipantInfo.Kind\", [\n { no: 0, name: \"STANDARD\" },\n { no: 1, name: \"INGRESS\" },\n { no: 2, name: \"EGRESS\" },\n { no: 3, name: \"SIP\" },\n { no: 4, name: \"AGENT\" },\n]);\n\n/**\n * @generated from message livekit.Encryption\n */\nexport class Encryption extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Encryption\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Encryption {\n return new Encryption().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Encryption {\n return new Encryption().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Encryption {\n return new Encryption().fromJsonString(jsonString, options);\n }\n\n static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean {\n return proto3.util.equals(Encryption, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.Encryption.Type\n */\nexport enum Encryption_Type {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: GCM = 1;\n */\n GCM = 1,\n\n /**\n * @generated from enum value: CUSTOM = 2;\n */\n CUSTOM = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(Encryption_Type)\nproto3.util.setEnumType(Encryption_Type, \"livekit.Encryption.Type\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"GCM\" },\n { no: 2, name: \"CUSTOM\" },\n]);\n\n/**\n * @generated from message livekit.SimulcastCodecInfo\n */\nexport class SimulcastCodecInfo extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 2;\n */\n mid = \"\";\n\n /**\n * @generated from field: string cid = 3;\n */\n cid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 4;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodecInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodecInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackInfo\n */\nexport class TrackInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 2;\n */\n type = TrackType.AUDIO;\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n /**\n * original width of video (unset for audio)\n * clients may receive a lower resolution version with simulcast\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * original height of video (unset for audio)\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * true if track is simulcasted\n *\n * @generated from field: bool simulcast = 7;\n */\n simulcast = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 8;\n */\n disableDtx = false;\n\n /**\n * source of media\n *\n * @generated from field: livekit.TrackSource source = 9;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 10;\n */\n layers: VideoLayer[] = [];\n\n /**\n * mime type of codec\n *\n * @generated from field: string mime_type = 11;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 12;\n */\n mid = \"\";\n\n /**\n * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;\n */\n codecs: SimulcastCodecInfo[] = [];\n\n /**\n * @generated from field: bool stereo = 14;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 15;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 16;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * @generated from field: string stream = 17;\n */\n stream = \"\";\n\n /**\n * @generated from field: livekit.TimedVersion version = 18;\n */\n version?: TimedVersion;\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;\n */\n audioFeatures: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"simulcast\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 10, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 11, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"codecs\", kind: \"message\", T: SimulcastCodecInfo, repeated: true },\n { no: 14, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 17, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 18, name: \"version\", kind: \"message\", T: TimedVersion },\n { no: 19, name: \"audio_features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo {\n return new TrackInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo {\n return new TrackInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackInfo {\n return new TrackInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackInfo, a, b);\n }\n}\n\n/**\n * provide information about available spatial layers\n *\n * @generated from message livekit.VideoLayer\n */\nexport class VideoLayer extends Message {\n /**\n * for tracks with a single layer, this should be HIGH\n *\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n /**\n * target bitrate in bit per second (bps), server will measure actual\n *\n * @generated from field: uint32 bitrate = 4;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 ssrc = 5;\n */\n ssrc = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer {\n return new VideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer {\n return new VideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoLayer {\n return new VideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoLayer, a, b);\n }\n}\n\n/**\n * new DataPacket API\n *\n * @generated from message livekit.DataPacket\n */\nexport class DataPacket extends Message {\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];\n * @deprecated\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * participant identity of user that sent the message\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 5;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from oneof livekit.DataPacket.value\n */\n value: {\n /**\n * @generated from field: livekit.UserPacket user = 2;\n */\n value: UserPacket;\n case: \"user\";\n } | {\n /**\n * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true];\n * @deprecated\n */\n value: ActiveSpeakerUpdate;\n case: \"speaker\";\n } | {\n /**\n * @generated from field: livekit.SipDTMF sip_dtmf = 6;\n */\n value: SipDTMF;\n case: \"sipDtmf\";\n } | {\n /**\n * @generated from field: livekit.Transcription transcription = 7;\n */\n value: Transcription;\n case: \"transcription\";\n } | {\n /**\n * @generated from field: livekit.MetricsBatch metrics = 8;\n */\n value: MetricsBatch;\n case: \"metrics\";\n } | {\n /**\n * @generated from field: livekit.ChatMessage chat_message = 9;\n */\n value: ChatMessage;\n case: \"chatMessage\";\n } | {\n /**\n * @generated from field: livekit.RpcRequest rpc_request = 10;\n */\n value: RpcRequest;\n case: \"rpcRequest\";\n } | {\n /**\n * @generated from field: livekit.RpcAck rpc_ack = 11;\n */\n value: RpcAck;\n case: \"rpcAck\";\n } | {\n /**\n * @generated from field: livekit.RpcResponse rpc_response = 12;\n */\n value: RpcResponse;\n case: \"rpcResponse\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Header stream_header = 13;\n */\n value: DataStream_Header;\n case: \"streamHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Chunk stream_chunk = 14;\n */\n value: DataStream_Chunk;\n case: \"streamChunk\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"user\", kind: \"message\", T: UserPacket, oneof: \"value\" },\n { no: 3, name: \"speaker\", kind: \"message\", T: ActiveSpeakerUpdate, oneof: \"value\" },\n { no: 6, name: \"sip_dtmf\", kind: \"message\", T: SipDTMF, oneof: \"value\" },\n { no: 7, name: \"transcription\", kind: \"message\", T: Transcription, oneof: \"value\" },\n { no: 8, name: \"metrics\", kind: \"message\", T: MetricsBatch, oneof: \"value\" },\n { no: 9, name: \"chat_message\", kind: \"message\", T: ChatMessage, oneof: \"value\" },\n { no: 10, name: \"rpc_request\", kind: \"message\", T: RpcRequest, oneof: \"value\" },\n { no: 11, name: \"rpc_ack\", kind: \"message\", T: RpcAck, oneof: \"value\" },\n { no: 12, name: \"rpc_response\", kind: \"message\", T: RpcResponse, oneof: \"value\" },\n { no: 13, name: \"stream_header\", kind: \"message\", T: DataStream_Header, oneof: \"value\" },\n { no: 14, name: \"stream_chunk\", kind: \"message\", T: DataStream_Chunk, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket {\n return new DataPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket {\n return new DataPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataPacket {\n return new DataPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataPacket, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.DataPacket.Kind\n */\nexport enum DataPacket_Kind {\n /**\n * @generated from enum value: RELIABLE = 0;\n */\n RELIABLE = 0,\n\n /**\n * @generated from enum value: LOSSY = 1;\n */\n LOSSY = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataPacket_Kind)\nproto3.util.setEnumType(DataPacket_Kind, \"livekit.DataPacket.Kind\", [\n { no: 0, name: \"RELIABLE\" },\n { no: 1, name: \"LOSSY\" },\n]);\n\n/**\n * @generated from message livekit.ActiveSpeakerUpdate\n */\nexport class ActiveSpeakerUpdate extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ActiveSpeakerUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ActiveSpeakerUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakerInfo\n */\nexport class SpeakerInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * audio level, 0-1.0, 1 is loudest\n *\n * @generated from field: float level = 2;\n */\n level = 0;\n\n /**\n * true if speaker is currently active\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"level\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakerInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UserPacket\n */\nexport class UserPacket extends Message {\n /**\n * participant ID of user that sent the message\n *\n * @generated from field: string participant_sid = 1 [deprecated = true];\n * @deprecated\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string participant_identity = 5 [deprecated = true];\n * @deprecated\n */\n participantIdentity = \"\";\n\n /**\n * user defined payload\n *\n * @generated from field: bytes payload = 2;\n */\n payload = new Uint8Array(0);\n\n /**\n * the ID of the participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_sids = 3 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 6 [deprecated = true];\n * @deprecated\n */\n destinationIdentities: string[] = [];\n\n /**\n * topic under which the message was published\n *\n * @generated from field: optional string topic = 4;\n */\n topic?: string;\n\n /**\n * Unique ID to indentify the message\n *\n * @generated from field: optional string id = 8;\n */\n id?: string;\n\n /**\n * start and end time allow relating the message to specific media time\n *\n * @generated from field: optional uint64 start_time = 9;\n */\n startTime?: bigint;\n\n /**\n * @generated from field: optional uint64 end_time = 10;\n */\n endTime?: bigint;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UserPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 10, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket {\n return new UserPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket {\n return new UserPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UserPacket {\n return new UserPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(UserPacket, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SipDTMF\n */\nexport class SipDTMF extends Message {\n /**\n * @generated from field: uint32 code = 3;\n */\n code = 0;\n\n /**\n * @generated from field: string digit = 4;\n */\n digit = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SipDTMF\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 3, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"digit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF {\n return new SipDTMF().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF {\n return new SipDTMF().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SipDTMF {\n return new SipDTMF().fromJsonString(jsonString, options);\n }\n\n static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean {\n return proto3.util.equals(SipDTMF, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Transcription\n */\nexport class Transcription extends Message {\n /**\n * Participant that got its speech transcribed\n *\n * @generated from field: string transcribed_participant_identity = 2;\n */\n transcribedParticipantIdentity = \"\";\n\n /**\n * @generated from field: string track_id = 3;\n */\n trackId = \"\";\n\n /**\n * @generated from field: repeated livekit.TranscriptionSegment segments = 4;\n */\n segments: TranscriptionSegment[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Transcription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"transcribed_participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segments\", kind: \"message\", T: TranscriptionSegment, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Transcription {\n return new Transcription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Transcription {\n return new Transcription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Transcription {\n return new Transcription().fromJsonString(jsonString, options);\n }\n\n static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean {\n return proto3.util.equals(Transcription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TranscriptionSegment\n */\nexport class TranscriptionSegment extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string text = 2;\n */\n text = \"\";\n\n /**\n * @generated from field: uint64 start_time = 3;\n */\n startTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_time = 4;\n */\n endTime = protoInt64.zero;\n\n /**\n * @generated from field: bool final = 5;\n */\n final = false;\n\n /**\n * @generated from field: string language = 6;\n */\n language = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TranscriptionSegment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"text\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"language\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJsonString(jsonString, options);\n }\n\n static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean {\n return proto3.util.equals(TranscriptionSegment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ChatMessage\n */\nexport class ChatMessage extends Message {\n /**\n * uuid\n *\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * populated only if the intent is to edit/update an existing message\n *\n * @generated from field: optional int64 edit_timestamp = 3;\n */\n editTimestamp?: bigint;\n\n /**\n * @generated from field: string message = 4;\n */\n message = \"\";\n\n /**\n * true to remove message\n *\n * @generated from field: bool deleted = 5;\n */\n deleted = false;\n\n /**\n * true if the chat message has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 6;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ChatMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"edit_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 4, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"deleted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage {\n return new ChatMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage {\n return new ChatMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ChatMessage {\n return new ChatMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ChatMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcRequest\n */\nexport class RpcRequest extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string method = 2;\n */\n method = \"\";\n\n /**\n * @generated from field: string payload = 3;\n */\n payload = \"\";\n\n /**\n * @generated from field: uint32 response_timeout_ms = 4;\n */\n responseTimeoutMs = 0;\n\n /**\n * @generated from field: uint32 version = 5;\n */\n version = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest {\n return new RpcRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest {\n return new RpcRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcRequest {\n return new RpcRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcAck\n */\nexport class RpcAck extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcAck\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck {\n return new RpcAck().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck {\n return new RpcAck().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcAck {\n return new RpcAck().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcAck, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcResponse\n */\nexport class RpcResponse extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n /**\n * @generated from oneof livekit.RpcResponse.value\n */\n value: {\n /**\n * @generated from field: string payload = 2;\n */\n value: string;\n case: \"payload\";\n } | {\n /**\n * @generated from field: livekit.RpcError error = 3;\n */\n value: RpcError;\n case: \"error\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"value\" },\n { no: 3, name: \"error\", kind: \"message\", T: RpcError, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse {\n return new RpcResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse {\n return new RpcResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcResponse {\n return new RpcResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcError\n */\nexport class RpcError extends Message {\n /**\n * @generated from field: uint32 code = 1;\n */\n code = 0;\n\n /**\n * @generated from field: string message = 2;\n */\n message = \"\";\n\n /**\n * @generated from field: string data = 3;\n */\n data = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcError\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcError {\n return new RpcError().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcError {\n return new RpcError().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcError {\n return new RpcError().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcError, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantTracks\n */\nexport class ParticipantTracks extends Message {\n /**\n * participant ID of participant to whom the tracks belong\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: repeated string track_sids = 2;\n */\n trackSids: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantTracks\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantTracks, a, b);\n }\n}\n\n/**\n * details about the server\n *\n * @generated from message livekit.ServerInfo\n */\nexport class ServerInfo extends Message {\n /**\n * @generated from field: livekit.ServerInfo.Edition edition = 1;\n */\n edition = ServerInfo_Edition.Standard;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string region = 4;\n */\n region = \"\";\n\n /**\n * @generated from field: string node_id = 5;\n */\n nodeId = \"\";\n\n /**\n * additional debugging information. sent only if server is in development mode\n *\n * @generated from field: string debug_info = 6;\n */\n debugInfo = \"\";\n\n /**\n * @generated from field: int32 agent_protocol = 7;\n */\n agentProtocol = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"edition\", kind: \"enum\", T: proto3.getEnumType(ServerInfo_Edition) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"debug_info\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo {\n return new ServerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo {\n return new ServerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerInfo {\n return new ServerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ServerInfo.Edition\n */\nexport enum ServerInfo_Edition {\n /**\n * @generated from enum value: Standard = 0;\n */\n Standard = 0,\n\n /**\n * @generated from enum value: Cloud = 1;\n */\n Cloud = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ServerInfo_Edition)\nproto3.util.setEnumType(ServerInfo_Edition, \"livekit.ServerInfo.Edition\", [\n { no: 0, name: \"Standard\" },\n { no: 1, name: \"Cloud\" },\n]);\n\n/**\n * details about the client\n *\n * @generated from message livekit.ClientInfo\n */\nexport class ClientInfo extends Message {\n /**\n * @generated from field: livekit.ClientInfo.SDK sdk = 1;\n */\n sdk = ClientInfo_SDK.UNKNOWN;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string os = 4;\n */\n os = \"\";\n\n /**\n * @generated from field: string os_version = 5;\n */\n osVersion = \"\";\n\n /**\n * @generated from field: string device_model = 6;\n */\n deviceModel = \"\";\n\n /**\n * @generated from field: string browser = 7;\n */\n browser = \"\";\n\n /**\n * @generated from field: string browser_version = 8;\n */\n browserVersion = \"\";\n\n /**\n * @generated from field: string address = 9;\n */\n address = \"\";\n\n /**\n * wifi, wired, cellular, vpn, empty if not known\n *\n * @generated from field: string network = 10;\n */\n network = \"\";\n\n /**\n * comma separated list of additional LiveKit SDKs in use of this client, with versions\n * e.g. \"components-js:1.2.3,track-processors-js:1.2.3\"\n *\n * @generated from field: string other_sdks = 11;\n */\n otherSdks = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sdk\", kind: \"enum\", T: proto3.getEnumType(ClientInfo_SDK) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"os\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"os_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"device_model\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"browser\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"browser_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"network\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"other_sdks\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo {\n return new ClientInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo {\n return new ClientInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientInfo {\n return new ClientInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ClientInfo.SDK\n */\nexport enum ClientInfo_SDK {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: JS = 1;\n */\n JS = 1,\n\n /**\n * @generated from enum value: SWIFT = 2;\n */\n SWIFT = 2,\n\n /**\n * @generated from enum value: ANDROID = 3;\n */\n ANDROID = 3,\n\n /**\n * @generated from enum value: FLUTTER = 4;\n */\n FLUTTER = 4,\n\n /**\n * @generated from enum value: GO = 5;\n */\n GO = 5,\n\n /**\n * @generated from enum value: UNITY = 6;\n */\n UNITY = 6,\n\n /**\n * @generated from enum value: REACT_NATIVE = 7;\n */\n REACT_NATIVE = 7,\n\n /**\n * @generated from enum value: RUST = 8;\n */\n RUST = 8,\n\n /**\n * @generated from enum value: PYTHON = 9;\n */\n PYTHON = 9,\n\n /**\n * @generated from enum value: CPP = 10;\n */\n CPP = 10,\n\n /**\n * @generated from enum value: UNITY_WEB = 11;\n */\n UNITY_WEB = 11,\n\n /**\n * @generated from enum value: NODE = 12;\n */\n NODE = 12,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientInfo_SDK)\nproto3.util.setEnumType(ClientInfo_SDK, \"livekit.ClientInfo.SDK\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"JS\" },\n { no: 2, name: \"SWIFT\" },\n { no: 3, name: \"ANDROID\" },\n { no: 4, name: \"FLUTTER\" },\n { no: 5, name: \"GO\" },\n { no: 6, name: \"UNITY\" },\n { no: 7, name: \"REACT_NATIVE\" },\n { no: 8, name: \"RUST\" },\n { no: 9, name: \"PYTHON\" },\n { no: 10, name: \"CPP\" },\n { no: 11, name: \"UNITY_WEB\" },\n { no: 12, name: \"NODE\" },\n]);\n\n/**\n * server provided client configuration\n *\n * @generated from message livekit.ClientConfiguration\n */\nexport class ClientConfiguration extends Message {\n /**\n * @generated from field: livekit.VideoConfiguration video = 1;\n */\n video?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.VideoConfiguration screen = 2;\n */\n screen?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.ClientConfigSetting resume_connection = 3;\n */\n resumeConnection = ClientConfigSetting.UNSET;\n\n /**\n * @generated from field: livekit.DisabledCodecs disabled_codecs = 4;\n */\n disabledCodecs?: DisabledCodecs;\n\n /**\n * @generated from field: livekit.ClientConfigSetting force_relay = 5;\n */\n forceRelay = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video\", kind: \"message\", T: VideoConfiguration },\n { no: 2, name: \"screen\", kind: \"message\", T: VideoConfiguration },\n { no: 3, name: \"resume_connection\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n { no: 4, name: \"disabled_codecs\", kind: \"message\", T: DisabledCodecs },\n { no: 5, name: \"force_relay\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VideoConfiguration\n */\nexport class VideoConfiguration extends Message {\n /**\n * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;\n */\n hardwareEncoder = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"hardware_encoder\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DisabledCodecs\n */\nexport class DisabledCodecs extends Message {\n /**\n * disabled for both publish and subscribe\n *\n * @generated from field: repeated livekit.Codec codecs = 1;\n */\n codecs: Codec[] = [];\n\n /**\n * only disable for publish\n *\n * @generated from field: repeated livekit.Codec publish = 2;\n */\n publish: Codec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DisabledCodecs\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 2, name: \"publish\", kind: \"message\", T: Codec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJsonString(jsonString, options);\n }\n\n static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean {\n return proto3.util.equals(DisabledCodecs, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPDrift\n */\nexport class RTPDrift extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint64 start_timestamp = 4;\n */\n startTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_timestamp = 5;\n */\n endTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 rtp_clock_ticks = 6;\n */\n rtpClockTicks = protoInt64.zero;\n\n /**\n * @generated from field: int64 drift_samples = 7;\n */\n driftSamples = protoInt64.zero;\n\n /**\n * @generated from field: double drift_ms = 8;\n */\n driftMs = 0;\n\n /**\n * @generated from field: double clock_rate = 9;\n */\n clockRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPDrift\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"start_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"end_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_clock_ticks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"drift_samples\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"drift_ms\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 9, name: \"clock_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift {\n return new RTPDrift().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift {\n return new RTPDrift().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPDrift {\n return new RTPDrift().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPDrift, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPStats\n */\nexport class RTPStats extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint32 packets = 4;\n */\n packets = 0;\n\n /**\n * @generated from field: double packet_rate = 5;\n */\n packetRate = 0;\n\n /**\n * @generated from field: uint64 bytes = 6;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes = 39;\n */\n headerBytes = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate = 7;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: double packet_loss_rate = 9;\n */\n packetLossRate = 0;\n\n /**\n * @generated from field: float packet_loss_percentage = 10;\n */\n packetLossPercentage = 0;\n\n /**\n * @generated from field: uint32 packets_duplicate = 11;\n */\n packetsDuplicate = 0;\n\n /**\n * @generated from field: double packet_duplicate_rate = 12;\n */\n packetDuplicateRate = 0;\n\n /**\n * @generated from field: uint64 bytes_duplicate = 13;\n */\n bytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_duplicate = 40;\n */\n headerBytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_duplicate = 14;\n */\n bitrateDuplicate = 0;\n\n /**\n * @generated from field: uint32 packets_padding = 15;\n */\n packetsPadding = 0;\n\n /**\n * @generated from field: double packet_padding_rate = 16;\n */\n packetPaddingRate = 0;\n\n /**\n * @generated from field: uint64 bytes_padding = 17;\n */\n bytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_padding = 41;\n */\n headerBytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_padding = 18;\n */\n bitratePadding = 0;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n /**\n * @generated from field: uint32 frames = 20;\n */\n frames = 0;\n\n /**\n * @generated from field: double frame_rate = 21;\n */\n frameRate = 0;\n\n /**\n * @generated from field: double jitter_current = 22;\n */\n jitterCurrent = 0;\n\n /**\n * @generated from field: double jitter_max = 23;\n */\n jitterMax = 0;\n\n /**\n * @generated from field: map gap_histogram = 24;\n */\n gapHistogram: { [key: number]: number } = {};\n\n /**\n * @generated from field: uint32 nacks = 25;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 nack_acks = 37;\n */\n nackAcks = 0;\n\n /**\n * @generated from field: uint32 nack_misses = 26;\n */\n nackMisses = 0;\n\n /**\n * @generated from field: uint32 nack_repeated = 38;\n */\n nackRepeated = 0;\n\n /**\n * @generated from field: uint32 plis = 27;\n */\n plis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_pli = 28;\n */\n lastPli?: Timestamp;\n\n /**\n * @generated from field: uint32 firs = 29;\n */\n firs = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_fir = 30;\n */\n lastFir?: Timestamp;\n\n /**\n * @generated from field: uint32 rtt_current = 31;\n */\n rttCurrent = 0;\n\n /**\n * @generated from field: uint32 rtt_max = 32;\n */\n rttMax = 0;\n\n /**\n * @generated from field: uint32 key_frames = 33;\n */\n keyFrames = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_key_frame = 34;\n */\n lastKeyFrame?: Timestamp;\n\n /**\n * @generated from field: uint32 layer_lock_plis = 35;\n */\n layerLockPlis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;\n */\n lastLayerLockPli?: Timestamp;\n\n /**\n * @generated from field: livekit.RTPDrift packet_drift = 44;\n */\n packetDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift ntp_report_drift = 45;\n */\n ntpReportDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift rebased_report_drift = 46;\n */\n rebasedReportDrift?: RTPDrift;\n\n /**\n * NEXT_ID: 48\n *\n * @generated from field: livekit.RTPDrift received_report_drift = 47;\n */\n receivedReportDrift?: RTPDrift;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"packet_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 6, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 39, name: \"header_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"bitrate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"packet_loss_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 10, name: \"packet_loss_percentage\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 11, name: \"packets_duplicate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"packet_duplicate_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 13, name: \"bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 40, name: \"header_bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 14, name: \"bitrate_duplicate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 15, name: \"packets_padding\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 16, name: \"packet_padding_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 17, name: \"bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 41, name: \"header_bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 18, name: \"bitrate_padding\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 20, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 21, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 22, name: \"jitter_current\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 23, name: \"jitter_max\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 24, name: \"gap_histogram\", kind: \"map\", K: 5 /* ScalarType.INT32 */, V: {kind: \"scalar\", T: 13 /* ScalarType.UINT32 */} },\n { no: 25, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 37, name: \"nack_acks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 26, name: \"nack_misses\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 38, name: \"nack_repeated\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 27, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 28, name: \"last_pli\", kind: \"message\", T: Timestamp },\n { no: 29, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"last_fir\", kind: \"message\", T: Timestamp },\n { no: 31, name: \"rtt_current\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 32, name: \"rtt_max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 33, name: \"key_frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 34, name: \"last_key_frame\", kind: \"message\", T: Timestamp },\n { no: 35, name: \"layer_lock_plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 36, name: \"last_layer_lock_pli\", kind: \"message\", T: Timestamp },\n { no: 44, name: \"packet_drift\", kind: \"message\", T: RTPDrift },\n { no: 45, name: \"ntp_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 46, name: \"rebased_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 47, name: \"received_report_drift\", kind: \"message\", T: RTPDrift },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats {\n return new RTPStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats {\n return new RTPStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPStats {\n return new RTPStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTCPSenderReportState\n */\nexport class RTCPSenderReportState extends Message {\n /**\n * @generated from field: uint32 rtp_timestamp = 1;\n */\n rtpTimestamp = 0;\n\n /**\n * @generated from field: uint64 rtp_timestamp_ext = 2;\n */\n rtpTimestampExt = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ntp_timestamp = 3;\n */\n ntpTimestamp = protoInt64.zero;\n\n /**\n * time at which this happened\n *\n * @generated from field: int64 at = 4;\n */\n at = protoInt64.zero;\n\n /**\n * @generated from field: int64 at_adjusted = 5;\n */\n atAdjusted = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets = 6;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 octets = 7;\n */\n octets = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTCPSenderReportState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rtp_timestamp\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"rtp_timestamp_ext\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ntp_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"at_adjusted\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"octets\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTCPSenderReportState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPForwarderState\n */\nexport class RTPForwarderState extends Message {\n /**\n * @generated from field: bool started = 1;\n */\n started = false;\n\n /**\n * @generated from field: int32 reference_layer_spatial = 2;\n */\n referenceLayerSpatial = 0;\n\n /**\n * @generated from field: int64 pre_start_time = 3;\n */\n preStartTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_first_timestamp = 4;\n */\n extFirstTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 dummy_start_timestamp_offset = 5;\n */\n dummyStartTimestampOffset = protoInt64.zero;\n\n /**\n * @generated from field: livekit.RTPMungerState rtp_munger = 6;\n */\n rtpMunger?: RTPMungerState;\n\n /**\n * @generated from oneof livekit.RTPForwarderState.codec_munger\n */\n codecMunger: {\n /**\n * @generated from field: livekit.VP8MungerState vp8_munger = 7;\n */\n value: VP8MungerState;\n case: \"vp8Munger\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;\n */\n senderReportState: RTCPSenderReportState[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPForwarderState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reference_layer_spatial\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"pre_start_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ext_first_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"dummy_start_timestamp_offset\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_munger\", kind: \"message\", T: RTPMungerState },\n { no: 7, name: \"vp8_munger\", kind: \"message\", T: VP8MungerState, oneof: \"codec_munger\" },\n { no: 8, name: \"sender_report_state\", kind: \"message\", T: RTCPSenderReportState, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPForwarderState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPMungerState\n */\nexport class RTPMungerState extends Message {\n /**\n * @generated from field: uint64 ext_last_sequence_number = 1;\n */\n extLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_sequence_number = 2;\n */\n extSecondLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_last_timestamp = 3;\n */\n extLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_timestamp = 4;\n */\n extSecondLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: bool last_marker = 5;\n */\n lastMarker = false;\n\n /**\n * @generated from field: bool second_last_marker = 6;\n */\n secondLastMarker = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPMungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 2, name: \"ext_second_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ext_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"ext_second_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"second_last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPMungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VP8MungerState\n */\nexport class VP8MungerState extends Message {\n /**\n * @generated from field: int32 ext_last_picture_id = 1;\n */\n extLastPictureId = 0;\n\n /**\n * @generated from field: bool picture_id_used = 2;\n */\n pictureIdUsed = false;\n\n /**\n * @generated from field: uint32 last_tl0_pic_idx = 3;\n */\n lastTl0PicIdx = 0;\n\n /**\n * @generated from field: bool tl0_pic_idx_used = 4;\n */\n tl0PicIdxUsed = false;\n\n /**\n * @generated from field: bool tid_used = 5;\n */\n tidUsed = false;\n\n /**\n * @generated from field: uint32 last_key_idx = 6;\n */\n lastKeyIdx = 0;\n\n /**\n * @generated from field: bool key_idx_used = 7;\n */\n keyIdxUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VP8MungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_picture_id\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"picture_id_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"last_tl0_pic_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"tl0_pic_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"tid_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"last_key_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"key_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(VP8MungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimedVersion\n */\nexport class TimedVersion extends Message {\n /**\n * @generated from field: int64 unix_micro = 1;\n */\n unixMicro = protoInt64.zero;\n\n /**\n * @generated from field: int32 ticks = 2;\n */\n ticks = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimedVersion\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"unix_micro\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"ticks\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion {\n return new TimedVersion().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion {\n return new TimedVersion().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimedVersion {\n return new TimedVersion().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimedVersion, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream\n */\nexport class DataStream extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream {\n return new DataStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream {\n return new DataStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream {\n return new DataStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream, a, b);\n }\n}\n\n/**\n * enum for operation types (specific to TextHeader)\n *\n * @generated from enum livekit.DataStream.OperationType\n */\nexport enum DataStream_OperationType {\n /**\n * @generated from enum value: CREATE = 0;\n */\n CREATE = 0,\n\n /**\n * @generated from enum value: UPDATE = 1;\n */\n UPDATE = 1,\n\n /**\n * @generated from enum value: DELETE = 2;\n */\n DELETE = 2,\n\n /**\n * @generated from enum value: REACTION = 3;\n */\n REACTION = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataStream_OperationType)\nproto3.util.setEnumType(DataStream_OperationType, \"livekit.DataStream.OperationType\", [\n { no: 0, name: \"CREATE\" },\n { no: 1, name: \"UPDATE\" },\n { no: 2, name: \"DELETE\" },\n { no: 3, name: \"REACTION\" },\n]);\n\n/**\n * header properties specific to text streams\n *\n * @generated from message livekit.DataStream.TextHeader\n */\nexport class DataStream_TextHeader extends Message {\n /**\n * @generated from field: livekit.DataStream.OperationType operation_type = 1;\n */\n operationType = DataStream_OperationType.CREATE;\n\n /**\n * Optional: Version for updates/edits\n *\n * @generated from field: int32 version = 2;\n */\n version = 0;\n\n /**\n * Optional: Reply to specific message\n *\n * @generated from field: string reply_to_stream_id = 3;\n */\n replyToStreamId = \"\";\n\n /**\n * file attachments for text streams\n *\n * @generated from field: repeated string attached_stream_ids = 4;\n */\n attachedStreamIds: string[] = [];\n\n /**\n * true if the text has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 5;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.TextHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"operation_type\", kind: \"enum\", T: proto3.getEnumType(DataStream_OperationType) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"reply_to_stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"attached_stream_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_TextHeader, a, b);\n }\n}\n\n/**\n * header properties specific to file or image streams\n *\n * @generated from message livekit.DataStream.FileHeader\n */\nexport class DataStream_FileHeader extends Message {\n /**\n * name of the file\n *\n * @generated from field: string file_name = 1;\n */\n fileName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.FileHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_FileHeader, a, b);\n }\n}\n\n/**\n * main DataStream.Header that contains a oneof for specific headers\n *\n * @generated from message livekit.DataStream.Header\n */\nexport class DataStream_Header extends Message {\n /**\n * unique identifier for this data stream\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * using int64 for Unix timestamp\n *\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * @generated from field: string topic = 3;\n */\n topic = \"\";\n\n /**\n * @generated from field: string mime_type = 4;\n */\n mimeType = \"\";\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_length = 5;\n */\n totalLength?: bigint;\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_chunks = 6;\n */\n totalChunks?: bigint;\n\n /**\n * defaults to NONE\n *\n * @generated from field: livekit.Encryption.Type encryption_type = 7;\n */\n encryptionType = Encryption_Type.NONE;\n\n /**\n * user defined extensions map that can carry additional info\n *\n * @generated from field: map extensions = 8;\n */\n extensions: { [key: string]: string } = {};\n\n /**\n * oneof to choose between specific header types\n *\n * @generated from oneof livekit.DataStream.Header.content_header\n */\n contentHeader: {\n /**\n * @generated from field: livekit.DataStream.TextHeader text_header = 9;\n */\n value: DataStream_TextHeader;\n case: \"textHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.FileHeader file_header = 10;\n */\n value: DataStream_FileHeader;\n case: \"fileHeader\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Header\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"total_length\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 6, name: \"total_chunks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 7, name: \"encryption_type\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 8, name: \"extensions\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 9, name: \"text_header\", kind: \"message\", T: DataStream_TextHeader, oneof: \"content_header\" },\n { no: 10, name: \"file_header\", kind: \"message\", T: DataStream_FileHeader, oneof: \"content_header\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Header, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream.Chunk\n */\nexport class DataStream_Chunk extends Message {\n /**\n * unique identifier for this data stream to map it to the correct header\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * @generated from field: uint64 chunk_index = 2;\n */\n chunkIndex = protoInt64.zero;\n\n /**\n * content as binary (bytes)\n *\n * @generated from field: bytes content = 3;\n */\n content = new Uint8Array(0);\n\n /**\n * true only if this is the last chunk of this stream - can also be sent with empty content\n *\n * @generated from field: bool complete = 4;\n */\n complete = false;\n\n /**\n * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced\n *\n * @generated from field: int32 version = 5;\n */\n version = 0;\n\n /**\n * optional, initialization vector for AES-GCM encryption\n *\n * @generated from field: optional bytes iv = 6;\n */\n iv?: Uint8Array;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Chunk\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"chunk_index\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"content\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 4, name: \"complete\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"iv\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Chunk, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAuD;AACvD,gCAA6B;AAKtB,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,gBAAa,KAAb;AAKA,EAAAA,wBAAA,UAAO,KAAP;AAKA,EA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AAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAa,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAC3E;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACvE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EACtE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACtE,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,UAAU,GAAG,IAA2B,KAAK,KAAK;AAC/E,CAAC;AAvDI,IAAM,mBAAN;","names":["AudioCodec","VideoCodec","ImageCodec","TrackType","TrackSource","VideoQuality","ConnectionQuality","ClientConfigSetting","DisconnectReason","ReconnectReason","SubscriptionError","AudioTrackFeature","ParticipantInfo_State","ParticipantInfo_Kind","Encryption_Type","DataPacket_Kind","ServerInfo_Edition","ClientInfo_SDK","DataStream_OperationType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.d.ts b/packages/javascript/dist/gen/livekit_models_pb.d.ts new file mode 100644 index 00000000..de700b2d --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.d.ts @@ -0,0 +1,2265 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; +import { MetricsBatch } from "./livekit_metrics_pb.js"; +/** + * @generated from enum livekit.AudioCodec + */ +export declare enum AudioCodec { + /** + * @generated from enum value: DEFAULT_AC = 0; + */ + DEFAULT_AC = 0, + /** + * @generated from enum value: OPUS = 1; + */ + OPUS = 1, + /** + * @generated from enum value: AAC = 2; + */ + AAC = 2 +} +/** + * @generated from enum livekit.VideoCodec + */ +export declare enum VideoCodec { + /** + * @generated from enum value: DEFAULT_VC = 0; + */ + DEFAULT_VC = 0, + /** + * @generated from enum value: H264_BASELINE = 1; + */ + H264_BASELINE = 1, + /** + * @generated from enum value: H264_MAIN = 2; + */ + H264_MAIN = 2, + /** + * @generated from enum value: H264_HIGH = 3; + */ + H264_HIGH = 3, + /** + * @generated from enum value: VP8 = 4; + */ + VP8 = 4 +} +/** + * @generated from enum livekit.ImageCodec + */ +export declare enum ImageCodec { + /** + * @generated from enum value: IC_DEFAULT = 0; + */ + IC_DEFAULT = 0, + /** + * @generated from enum value: IC_JPEG = 1; + */ + IC_JPEG = 1 +} +/** + * @generated from enum livekit.TrackType + */ +export declare enum TrackType { + /** + * @generated from enum value: AUDIO = 0; + */ + AUDIO = 0, + /** + * @generated from enum value: VIDEO = 1; + */ + VIDEO = 1, + /** + * @generated from enum value: DATA = 2; + */ + DATA = 2 +} +/** + * @generated from enum livekit.TrackSource + */ +export declare enum TrackSource { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + /** + * @generated from enum value: CAMERA = 1; + */ + CAMERA = 1, + /** + * @generated from enum value: MICROPHONE = 2; + */ + MICROPHONE = 2, + /** + * @generated from enum value: SCREEN_SHARE = 3; + */ + SCREEN_SHARE = 3, + /** + * @generated from enum value: SCREEN_SHARE_AUDIO = 4; + */ + SCREEN_SHARE_AUDIO = 4 +} +/** + * @generated from enum livekit.VideoQuality + */ +export declare enum VideoQuality { + /** + * @generated from enum value: LOW = 0; + */ + LOW = 0, + /** + * @generated from enum value: MEDIUM = 1; + */ + MEDIUM = 1, + /** + * @generated from enum value: HIGH = 2; + */ + HIGH = 2, + /** + * @generated from enum value: OFF = 3; + */ + OFF = 3 +} +/** + * @generated from enum livekit.ConnectionQuality + */ +export declare enum ConnectionQuality { + /** + * @generated from enum value: POOR = 0; + */ + POOR = 0, + /** + * @generated from enum value: GOOD = 1; + */ + GOOD = 1, + /** + * @generated from enum value: EXCELLENT = 2; + */ + EXCELLENT = 2, + /** + * @generated from enum value: LOST = 3; + */ + LOST = 3 +} +/** + * @generated from enum livekit.ClientConfigSetting + */ +export declare enum ClientConfigSetting { + /** + * @generated from enum value: UNSET = 0; + */ + UNSET = 0, + /** + * @generated from enum value: DISABLED = 1; + */ + DISABLED = 1, + /** + * @generated from enum value: ENABLED = 2; + */ + ENABLED = 2 +} +/** + * @generated from enum livekit.DisconnectReason + */ +export declare enum DisconnectReason { + /** + * @generated from enum value: UNKNOWN_REASON = 0; + */ + UNKNOWN_REASON = 0, + /** + * the client initiated the disconnect + * + * @generated from enum value: CLIENT_INITIATED = 1; + */ + CLIENT_INITIATED = 1, + /** + * another participant with the same identity has joined the room + * + * @generated from enum value: DUPLICATE_IDENTITY = 2; + */ + DUPLICATE_IDENTITY = 2, + /** + * the server instance is shutting down + * + * @generated from enum value: SERVER_SHUTDOWN = 3; + */ + SERVER_SHUTDOWN = 3, + /** + * RoomService.RemoveParticipant was called + * + * @generated from enum value: PARTICIPANT_REMOVED = 4; + */ + PARTICIPANT_REMOVED = 4, + /** + * RoomService.DeleteRoom was called + * + * @generated from enum value: ROOM_DELETED = 5; + */ + ROOM_DELETED = 5, + /** + * the client is attempting to resume a session, but server is not aware of it + * + * @generated from enum value: STATE_MISMATCH = 6; + */ + STATE_MISMATCH = 6, + /** + * client was unable to connect fully + * + * @generated from enum value: JOIN_FAILURE = 7; + */ + JOIN_FAILURE = 7, + /** + * Cloud-only, the server requested Participant to migrate the connection elsewhere + * + * @generated from enum value: MIGRATION = 8; + */ + MIGRATION = 8, + /** + * the signal websocket was closed unexpectedly + * + * @generated from enum value: SIGNAL_CLOSE = 9; + */ + SIGNAL_CLOSE = 9, + /** + * the room was closed, due to all Standard and Ingress participants having left + * + * @generated from enum value: ROOM_CLOSED = 10; + */ + ROOM_CLOSED = 10, + /** + * SIP callee did not respond in time + * + * @generated from enum value: USER_UNAVAILABLE = 11; + */ + USER_UNAVAILABLE = 11, + /** + * SIP callee rejected the call (busy) + * + * @generated from enum value: USER_REJECTED = 12; + */ + USER_REJECTED = 12, + /** + * SIP protocol failure or unexpected response + * + * @generated from enum value: SIP_TRUNK_FAILURE = 13; + */ + SIP_TRUNK_FAILURE = 13 +} +/** + * @generated from enum livekit.ReconnectReason + */ +export declare enum ReconnectReason { + /** + * @generated from enum value: RR_UNKNOWN = 0; + */ + RR_UNKNOWN = 0, + /** + * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1; + */ + RR_SIGNAL_DISCONNECTED = 1, + /** + * @generated from enum value: RR_PUBLISHER_FAILED = 2; + */ + RR_PUBLISHER_FAILED = 2, + /** + * @generated from enum value: RR_SUBSCRIBER_FAILED = 3; + */ + RR_SUBSCRIBER_FAILED = 3, + /** + * @generated from enum value: RR_SWITCH_CANDIDATE = 4; + */ + RR_SWITCH_CANDIDATE = 4 +} +/** + * @generated from enum livekit.SubscriptionError + */ +export declare enum SubscriptionError { + /** + * @generated from enum value: SE_UNKNOWN = 0; + */ + SE_UNKNOWN = 0, + /** + * @generated from enum value: SE_CODEC_UNSUPPORTED = 1; + */ + SE_CODEC_UNSUPPORTED = 1, + /** + * @generated from enum value: SE_TRACK_NOTFOUND = 2; + */ + SE_TRACK_NOTFOUND = 2 +} +/** + * @generated from enum livekit.AudioTrackFeature + */ +export declare enum AudioTrackFeature { + /** + * @generated from enum value: TF_STEREO = 0; + */ + TF_STEREO = 0, + /** + * @generated from enum value: TF_NO_DTX = 1; + */ + TF_NO_DTX = 1, + /** + * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; + */ + TF_AUTO_GAIN_CONTROL = 2, + /** + * @generated from enum value: TF_ECHO_CANCELLATION = 3; + */ + TF_ECHO_CANCELLATION = 3, + /** + * @generated from enum value: TF_NOISE_SUPPRESSION = 4; + */ + TF_NOISE_SUPPRESSION = 4, + /** + * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; + */ + TF_ENHANCED_NOISE_CANCELLATION = 5 +} +/** + * @generated from message livekit.Room + */ +export declare class Room extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * @generated from field: uint32 empty_timeout = 3; + */ + emptyTimeout: number; + /** + * @generated from field: uint32 departure_timeout = 14; + */ + departureTimeout: number; + /** + * @generated from field: uint32 max_participants = 4; + */ + maxParticipants: number; + /** + * @generated from field: int64 creation_time = 5; + */ + creationTime: bigint; + /** + * @generated from field: string turn_password = 6; + */ + turnPassword: string; + /** + * @generated from field: repeated livekit.Codec enabled_codecs = 7; + */ + enabledCodecs: Codec[]; + /** + * @generated from field: string metadata = 8; + */ + metadata: string; + /** + * @generated from field: uint32 num_participants = 9; + */ + numParticipants: number; + /** + * @generated from field: uint32 num_publishers = 11; + */ + numPublishers: number; + /** + * @generated from field: bool active_recording = 10; + */ + activeRecording: boolean; + /** + * @generated from field: livekit.TimedVersion version = 13; + */ + version?: TimedVersion; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Room"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Room; + static fromJson(jsonValue: JsonValue, options?: Partial): Room; + static fromJsonString(jsonString: string, options?: Partial): Room; + static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.Codec + */ +export declare class Codec extends Message { + /** + * @generated from field: string mime = 1; + */ + mime: string; + /** + * @generated from field: string fmtp_line = 2; + */ + fmtpLine: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Codec"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Codec; + static fromJson(jsonValue: JsonValue, options?: Partial): Codec; + static fromJsonString(jsonString: string, options?: Partial): Codec; + static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.PlayoutDelay + */ +export declare class PlayoutDelay extends Message { + /** + * @generated from field: bool enabled = 1; + */ + enabled: boolean; + /** + * @generated from field: uint32 min = 2; + */ + min: number; + /** + * @generated from field: uint32 max = 3; + */ + max: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.PlayoutDelay"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay; + static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay; + static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay; + static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ParticipantPermission + */ +export declare class ParticipantPermission extends Message { + /** + * allow participant to subscribe to other tracks in the room + * + * @generated from field: bool can_subscribe = 1; + */ + canSubscribe: boolean; + /** + * allow participant to publish new tracks to room + * + * @generated from field: bool can_publish = 2; + */ + canPublish: boolean; + /** + * allow participant to publish data + * + * @generated from field: bool can_publish_data = 3; + */ + canPublishData: boolean; + /** + * sources that are allowed to be published + * + * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; + */ + canPublishSources: TrackSource[]; + /** + * indicates that it's hidden to others + * + * @generated from field: bool hidden = 7; + */ + hidden: boolean; + /** + * indicates it's a recorder instance + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool recorder = 8 [deprecated = true]; + * @deprecated + */ + recorder: boolean; + /** + * indicates that participant can update own metadata and attributes + * + * @generated from field: bool can_update_metadata = 10; + */ + canUpdateMetadata: boolean; + /** + * indicates that participant is an agent + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool agent = 11 [deprecated = true]; + * @deprecated + */ + agent: boolean; + /** + * if a participant can subscribe to metrics + * + * @generated from field: bool can_subscribe_metrics = 12; + */ + canSubscribeMetrics: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantPermission"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission; + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission; + static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission; + static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ParticipantInfo + */ +export declare class ParticipantInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * @generated from field: livekit.ParticipantInfo.State state = 3; + */ + state: ParticipantInfo_State; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 4; + */ + tracks: TrackInfo[]; + /** + * @generated from field: string metadata = 5; + */ + metadata: string; + /** + * timestamp when participant joined room, in seconds + * + * @generated from field: int64 joined_at = 6; + */ + joinedAt: bigint; + /** + * @generated from field: string name = 9; + */ + name: string; + /** + * @generated from field: uint32 version = 10; + */ + version: number; + /** + * @generated from field: livekit.ParticipantPermission permission = 11; + */ + permission?: ParticipantPermission; + /** + * @generated from field: string region = 12; + */ + region: string; + /** + * indicates the participant has an active publisher connection + * and can publish to the server + * + * @generated from field: bool is_publisher = 13; + */ + isPublisher: boolean; + /** + * @generated from field: livekit.ParticipantInfo.Kind kind = 14; + */ + kind: ParticipantInfo_Kind; + /** + * @generated from field: map attributes = 15; + */ + attributes: { + [key: string]: string; + }; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 16; + */ + disconnectReason: DisconnectReason; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo; + static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo; + static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.ParticipantInfo.State + */ +export declare enum ParticipantInfo_State { + /** + * websocket' connected, but not offered yet + * + * @generated from enum value: JOINING = 0; + */ + JOINING = 0, + /** + * server received client offer + * + * @generated from enum value: JOINED = 1; + */ + JOINED = 1, + /** + * ICE connectivity established + * + * @generated from enum value: ACTIVE = 2; + */ + ACTIVE = 2, + /** + * WS disconnected + * + * @generated from enum value: DISCONNECTED = 3; + */ + DISCONNECTED = 3 +} +/** + * @generated from enum livekit.ParticipantInfo.Kind + */ +export declare enum ParticipantInfo_Kind { + /** + * standard participants, e.g. web clients + * + * @generated from enum value: STANDARD = 0; + */ + STANDARD = 0, + /** + * only ingests streams + * + * @generated from enum value: INGRESS = 1; + */ + INGRESS = 1, + /** + * only consumes streams + * + * @generated from enum value: EGRESS = 2; + */ + EGRESS = 2, + /** + * SIP participants + * + * @generated from enum value: SIP = 3; + */ + SIP = 3, + /** + * LiveKit agents + * + * @generated from enum value: AGENT = 4; + */ + AGENT = 4 +} +/** + * @generated from message livekit.Encryption + */ +export declare class Encryption extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Encryption"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Encryption; + static fromJson(jsonValue: JsonValue, options?: Partial): Encryption; + static fromJsonString(jsonString: string, options?: Partial): Encryption; + static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.Encryption.Type + */ +export declare enum Encryption_Type { + /** + * @generated from enum value: NONE = 0; + */ + NONE = 0, + /** + * @generated from enum value: GCM = 1; + */ + GCM = 1, + /** + * @generated from enum value: CUSTOM = 2; + */ + CUSTOM = 2 +} +/** + * @generated from message livekit.SimulcastCodecInfo + */ +export declare class SimulcastCodecInfo extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + /** + * @generated from field: string mid = 2; + */ + mid: string; + /** + * @generated from field: string cid = 3; + */ + cid: string; + /** + * @generated from field: repeated livekit.VideoLayer layers = 4; + */ + layers: VideoLayer[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulcastCodecInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo; + static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo; + static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TrackInfo + */ +export declare class TrackInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + /** + * @generated from field: livekit.TrackType type = 2; + */ + type: TrackType; + /** + * @generated from field: string name = 3; + */ + name: string; + /** + * @generated from field: bool muted = 4; + */ + muted: boolean; + /** + * original width of video (unset for audio) + * clients may receive a lower resolution version with simulcast + * + * @generated from field: uint32 width = 5; + */ + width: number; + /** + * original height of video (unset for audio) + * + * @generated from field: uint32 height = 6; + */ + height: number; + /** + * true if track is simulcasted + * + * @generated from field: bool simulcast = 7; + */ + simulcast: boolean; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 8; + */ + disableDtx: boolean; + /** + * source of media + * + * @generated from field: livekit.TrackSource source = 9; + */ + source: TrackSource; + /** + * @generated from field: repeated livekit.VideoLayer layers = 10; + */ + layers: VideoLayer[]; + /** + * mime type of codec + * + * @generated from field: string mime_type = 11; + */ + mimeType: string; + /** + * @generated from field: string mid = 12; + */ + mid: string; + /** + * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; + */ + codecs: SimulcastCodecInfo[]; + /** + * @generated from field: bool stereo = 14; + */ + stereo: boolean; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 15; + */ + disableRed: boolean; + /** + * @generated from field: livekit.Encryption.Type encryption = 16; + */ + encryption: Encryption_Type; + /** + * @generated from field: string stream = 17; + */ + stream: string; + /** + * @generated from field: livekit.TimedVersion version = 18; + */ + version?: TimedVersion; + /** + * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; + */ + audioFeatures: AudioTrackFeature[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo; + static fromJsonString(jsonString: string, options?: Partial): TrackInfo; + static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean; +} +/** + * provide information about available spatial layers + * + * @generated from message livekit.VideoLayer + */ +export declare class VideoLayer extends Message { + /** + * for tracks with a single layer, this should be HIGH + * + * @generated from field: livekit.VideoQuality quality = 1; + */ + quality: VideoQuality; + /** + * @generated from field: uint32 width = 2; + */ + width: number; + /** + * @generated from field: uint32 height = 3; + */ + height: number; + /** + * target bitrate in bit per second (bps), server will measure actual + * + * @generated from field: uint32 bitrate = 4; + */ + bitrate: number; + /** + * @generated from field: uint32 ssrc = 5; + */ + ssrc: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VideoLayer"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer; + static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer; + static fromJsonString(jsonString: string, options?: Partial): VideoLayer; + static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean; +} +/** + * new DataPacket API + * + * @generated from message livekit.DataPacket + */ +export declare class DataPacket extends Message { + /** + * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; + * @deprecated + */ + kind: DataPacket_Kind; + /** + * participant identity of user that sent the message + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 5; + */ + destinationIdentities: string[]; + /** + * @generated from oneof livekit.DataPacket.value + */ + value: { + /** + * @generated from field: livekit.UserPacket user = 2; + */ + value: UserPacket; + case: "user"; + } | { + /** + * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true]; + * @deprecated + */ + value: ActiveSpeakerUpdate; + case: "speaker"; + } | { + /** + * @generated from field: livekit.SipDTMF sip_dtmf = 6; + */ + value: SipDTMF; + case: "sipDtmf"; + } | { + /** + * @generated from field: livekit.Transcription transcription = 7; + */ + value: Transcription; + case: "transcription"; + } | { + /** + * @generated from field: livekit.MetricsBatch metrics = 8; + */ + value: MetricsBatch; + case: "metrics"; + } | { + /** + * @generated from field: livekit.ChatMessage chat_message = 9; + */ + value: ChatMessage; + case: "chatMessage"; + } | { + /** + * @generated from field: livekit.RpcRequest rpc_request = 10; + */ + value: RpcRequest; + case: "rpcRequest"; + } | { + /** + * @generated from field: livekit.RpcAck rpc_ack = 11; + */ + value: RpcAck; + case: "rpcAck"; + } | { + /** + * @generated from field: livekit.RpcResponse rpc_response = 12; + */ + value: RpcResponse; + case: "rpcResponse"; + } | { + /** + * @generated from field: livekit.DataStream.Header stream_header = 13; + */ + value: DataStream_Header; + case: "streamHeader"; + } | { + /** + * @generated from field: livekit.DataStream.Chunk stream_chunk = 14; + */ + value: DataStream_Chunk; + case: "streamChunk"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataPacket"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket; + static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket; + static fromJsonString(jsonString: string, options?: Partial): DataPacket; + static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.DataPacket.Kind + */ +export declare enum DataPacket_Kind { + /** + * @generated from enum value: RELIABLE = 0; + */ + RELIABLE = 0, + /** + * @generated from enum value: LOSSY = 1; + */ + LOSSY = 1 +} +/** + * @generated from message livekit.ActiveSpeakerUpdate + */ +export declare class ActiveSpeakerUpdate extends Message { + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + speakers: SpeakerInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ActiveSpeakerUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate; + static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate; + static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SpeakerInfo + */ +export declare class SpeakerInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + /** + * audio level, 0-1.0, 1 is loudest + * + * @generated from field: float level = 2; + */ + level: number; + /** + * true if speaker is currently active + * + * @generated from field: bool active = 3; + */ + active: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SpeakerInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo; + static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo; + static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UserPacket + */ +export declare class UserPacket extends Message { + /** + * participant ID of user that sent the message + * + * @generated from field: string participant_sid = 1 [deprecated = true]; + * @deprecated + */ + participantSid: string; + /** + * @generated from field: string participant_identity = 5 [deprecated = true]; + * @deprecated + */ + participantIdentity: string; + /** + * user defined payload + * + * @generated from field: bytes payload = 2; + */ + payload: Uint8Array; + /** + * the ID of the participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_sids = 3 [deprecated = true]; + * @deprecated + */ + destinationSids: string[]; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 6 [deprecated = true]; + * @deprecated + */ + destinationIdentities: string[]; + /** + * topic under which the message was published + * + * @generated from field: optional string topic = 4; + */ + topic?: string; + /** + * Unique ID to indentify the message + * + * @generated from field: optional string id = 8; + */ + id?: string; + /** + * start and end time allow relating the message to specific media time + * + * @generated from field: optional uint64 start_time = 9; + */ + startTime?: bigint; + /** + * @generated from field: optional uint64 end_time = 10; + */ + endTime?: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UserPacket"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; + static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; + static fromJsonString(jsonString: string, options?: Partial): UserPacket; + static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SipDTMF + */ +export declare class SipDTMF extends Message { + /** + * @generated from field: uint32 code = 3; + */ + code: number; + /** + * @generated from field: string digit = 4; + */ + digit: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SipDTMF"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; + static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; + static fromJsonString(jsonString: string, options?: Partial): SipDTMF; + static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.Transcription + */ +export declare class Transcription extends Message { + /** + * Participant that got its speech transcribed + * + * @generated from field: string transcribed_participant_identity = 2; + */ + transcribedParticipantIdentity: string; + /** + * @generated from field: string track_id = 3; + */ + trackId: string; + /** + * @generated from field: repeated livekit.TranscriptionSegment segments = 4; + */ + segments: TranscriptionSegment[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Transcription"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Transcription; + static fromJson(jsonValue: JsonValue, options?: Partial): Transcription; + static fromJsonString(jsonString: string, options?: Partial): Transcription; + static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TranscriptionSegment + */ +export declare class TranscriptionSegment extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string text = 2; + */ + text: string; + /** + * @generated from field: uint64 start_time = 3; + */ + startTime: bigint; + /** + * @generated from field: uint64 end_time = 4; + */ + endTime: bigint; + /** + * @generated from field: bool final = 5; + */ + final: boolean; + /** + * @generated from field: string language = 6; + */ + language: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TranscriptionSegment"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; + static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; + static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; + static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ChatMessage + */ +export declare class ChatMessage extends Message { + /** + * uuid + * + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + /** + * populated only if the intent is to edit/update an existing message + * + * @generated from field: optional int64 edit_timestamp = 3; + */ + editTimestamp?: bigint; + /** + * @generated from field: string message = 4; + */ + message: string; + /** + * true to remove message + * + * @generated from field: bool deleted = 5; + */ + deleted: boolean; + /** + * true if the chat message has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 6; + */ + generated: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ChatMessage"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; + static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; + static fromJsonString(jsonString: string, options?: Partial): ChatMessage; + static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RpcRequest + */ +export declare class RpcRequest extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + /** + * @generated from field: string method = 2; + */ + method: string; + /** + * @generated from field: string payload = 3; + */ + payload: string; + /** + * @generated from field: uint32 response_timeout_ms = 4; + */ + responseTimeoutMs: number; + /** + * @generated from field: uint32 version = 5; + */ + version: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest; + static fromJsonString(jsonString: string, options?: Partial): RpcRequest; + static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RpcAck + */ +export declare class RpcAck extends Message { + /** + * @generated from field: string request_id = 1; + */ + requestId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcAck"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck; + static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck; + static fromJsonString(jsonString: string, options?: Partial): RpcAck; + static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RpcResponse + */ +export declare class RpcResponse extends Message { + /** + * @generated from field: string request_id = 1; + */ + requestId: string; + /** + * @generated from oneof livekit.RpcResponse.value + */ + value: { + /** + * @generated from field: string payload = 2; + */ + value: string; + case: "payload"; + } | { + /** + * @generated from field: livekit.RpcError error = 3; + */ + value: RpcError; + case: "error"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse; + static fromJsonString(jsonString: string, options?: Partial): RpcResponse; + static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RpcError + */ +export declare class RpcError extends Message { + /** + * @generated from field: uint32 code = 1; + */ + code: number; + /** + * @generated from field: string message = 2; + */ + message: string; + /** + * @generated from field: string data = 3; + */ + data: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcError"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RpcError; + static fromJson(jsonValue: JsonValue, options?: Partial): RpcError; + static fromJsonString(jsonString: string, options?: Partial): RpcError; + static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ParticipantTracks + */ +export declare class ParticipantTracks extends Message { + /** + * participant ID of participant to whom the tracks belong + * + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + /** + * @generated from field: repeated string track_sids = 2; + */ + trackSids: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantTracks"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks; + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks; + static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks; + static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean; +} +/** + * details about the server + * + * @generated from message livekit.ServerInfo + */ +export declare class ServerInfo extends Message { + /** + * @generated from field: livekit.ServerInfo.Edition edition = 1; + */ + edition: ServerInfo_Edition; + /** + * @generated from field: string version = 2; + */ + version: string; + /** + * @generated from field: int32 protocol = 3; + */ + protocol: number; + /** + * @generated from field: string region = 4; + */ + region: string; + /** + * @generated from field: string node_id = 5; + */ + nodeId: string; + /** + * additional debugging information. sent only if server is in development mode + * + * @generated from field: string debug_info = 6; + */ + debugInfo: string; + /** + * @generated from field: int32 agent_protocol = 7; + */ + agentProtocol: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ServerInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo; + static fromJsonString(jsonString: string, options?: Partial): ServerInfo; + static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.ServerInfo.Edition + */ +export declare enum ServerInfo_Edition { + /** + * @generated from enum value: Standard = 0; + */ + Standard = 0, + /** + * @generated from enum value: Cloud = 1; + */ + Cloud = 1 +} +/** + * details about the client + * + * @generated from message livekit.ClientInfo + */ +export declare class ClientInfo extends Message { + /** + * @generated from field: livekit.ClientInfo.SDK sdk = 1; + */ + sdk: ClientInfo_SDK; + /** + * @generated from field: string version = 2; + */ + version: string; + /** + * @generated from field: int32 protocol = 3; + */ + protocol: number; + /** + * @generated from field: string os = 4; + */ + os: string; + /** + * @generated from field: string os_version = 5; + */ + osVersion: string; + /** + * @generated from field: string device_model = 6; + */ + deviceModel: string; + /** + * @generated from field: string browser = 7; + */ + browser: string; + /** + * @generated from field: string browser_version = 8; + */ + browserVersion: string; + /** + * @generated from field: string address = 9; + */ + address: string; + /** + * wifi, wired, cellular, vpn, empty if not known + * + * @generated from field: string network = 10; + */ + network: string; + /** + * comma separated list of additional LiveKit SDKs in use of this client, with versions + * e.g. "components-js:1.2.3,track-processors-js:1.2.3" + * + * @generated from field: string other_sdks = 11; + */ + otherSdks: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ClientInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo; + static fromJsonString(jsonString: string, options?: Partial): ClientInfo; + static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.ClientInfo.SDK + */ +export declare enum ClientInfo_SDK { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + /** + * @generated from enum value: JS = 1; + */ + JS = 1, + /** + * @generated from enum value: SWIFT = 2; + */ + SWIFT = 2, + /** + * @generated from enum value: ANDROID = 3; + */ + ANDROID = 3, + /** + * @generated from enum value: FLUTTER = 4; + */ + FLUTTER = 4, + /** + * @generated from enum value: GO = 5; + */ + GO = 5, + /** + * @generated from enum value: UNITY = 6; + */ + UNITY = 6, + /** + * @generated from enum value: REACT_NATIVE = 7; + */ + REACT_NATIVE = 7, + /** + * @generated from enum value: RUST = 8; + */ + RUST = 8, + /** + * @generated from enum value: PYTHON = 9; + */ + PYTHON = 9, + /** + * @generated from enum value: CPP = 10; + */ + CPP = 10, + /** + * @generated from enum value: UNITY_WEB = 11; + */ + UNITY_WEB = 11, + /** + * @generated from enum value: NODE = 12; + */ + NODE = 12 +} +/** + * server provided client configuration + * + * @generated from message livekit.ClientConfiguration + */ +export declare class ClientConfiguration extends Message { + /** + * @generated from field: livekit.VideoConfiguration video = 1; + */ + video?: VideoConfiguration; + /** + * @generated from field: livekit.VideoConfiguration screen = 2; + */ + screen?: VideoConfiguration; + /** + * @generated from field: livekit.ClientConfigSetting resume_connection = 3; + */ + resumeConnection: ClientConfigSetting; + /** + * @generated from field: livekit.DisabledCodecs disabled_codecs = 4; + */ + disabledCodecs?: DisabledCodecs; + /** + * @generated from field: livekit.ClientConfigSetting force_relay = 5; + */ + forceRelay: ClientConfigSetting; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ClientConfiguration"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration; + static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration; + static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration; + static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.VideoConfiguration + */ +export declare class VideoConfiguration extends Message { + /** + * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; + */ + hardwareEncoder: ClientConfigSetting; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VideoConfiguration"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration; + static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration; + static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration; + static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DisabledCodecs + */ +export declare class DisabledCodecs extends Message { + /** + * disabled for both publish and subscribe + * + * @generated from field: repeated livekit.Codec codecs = 1; + */ + codecs: Codec[]; + /** + * only disable for publish + * + * @generated from field: repeated livekit.Codec publish = 2; + */ + publish: Codec[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DisabledCodecs"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs; + static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs; + static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs; + static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RTPDrift + */ +export declare class RTPDrift extends Message { + /** + * @generated from field: google.protobuf.Timestamp start_time = 1; + */ + startTime?: Timestamp; + /** + * @generated from field: google.protobuf.Timestamp end_time = 2; + */ + endTime?: Timestamp; + /** + * @generated from field: double duration = 3; + */ + duration: number; + /** + * @generated from field: uint64 start_timestamp = 4; + */ + startTimestamp: bigint; + /** + * @generated from field: uint64 end_timestamp = 5; + */ + endTimestamp: bigint; + /** + * @generated from field: uint64 rtp_clock_ticks = 6; + */ + rtpClockTicks: bigint; + /** + * @generated from field: int64 drift_samples = 7; + */ + driftSamples: bigint; + /** + * @generated from field: double drift_ms = 8; + */ + driftMs: number; + /** + * @generated from field: double clock_rate = 9; + */ + clockRate: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPDrift"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift; + static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift; + static fromJsonString(jsonString: string, options?: Partial): RTPDrift; + static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RTPStats + */ +export declare class RTPStats extends Message { + /** + * @generated from field: google.protobuf.Timestamp start_time = 1; + */ + startTime?: Timestamp; + /** + * @generated from field: google.protobuf.Timestamp end_time = 2; + */ + endTime?: Timestamp; + /** + * @generated from field: double duration = 3; + */ + duration: number; + /** + * @generated from field: uint32 packets = 4; + */ + packets: number; + /** + * @generated from field: double packet_rate = 5; + */ + packetRate: number; + /** + * @generated from field: uint64 bytes = 6; + */ + bytes: bigint; + /** + * @generated from field: uint64 header_bytes = 39; + */ + headerBytes: bigint; + /** + * @generated from field: double bitrate = 7; + */ + bitrate: number; + /** + * @generated from field: uint32 packets_lost = 8; + */ + packetsLost: number; + /** + * @generated from field: double packet_loss_rate = 9; + */ + packetLossRate: number; + /** + * @generated from field: float packet_loss_percentage = 10; + */ + packetLossPercentage: number; + /** + * @generated from field: uint32 packets_duplicate = 11; + */ + packetsDuplicate: number; + /** + * @generated from field: double packet_duplicate_rate = 12; + */ + packetDuplicateRate: number; + /** + * @generated from field: uint64 bytes_duplicate = 13; + */ + bytesDuplicate: bigint; + /** + * @generated from field: uint64 header_bytes_duplicate = 40; + */ + headerBytesDuplicate: bigint; + /** + * @generated from field: double bitrate_duplicate = 14; + */ + bitrateDuplicate: number; + /** + * @generated from field: uint32 packets_padding = 15; + */ + packetsPadding: number; + /** + * @generated from field: double packet_padding_rate = 16; + */ + packetPaddingRate: number; + /** + * @generated from field: uint64 bytes_padding = 17; + */ + bytesPadding: bigint; + /** + * @generated from field: uint64 header_bytes_padding = 41; + */ + headerBytesPadding: bigint; + /** + * @generated from field: double bitrate_padding = 18; + */ + bitratePadding: number; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + packetsOutOfOrder: number; + /** + * @generated from field: uint32 frames = 20; + */ + frames: number; + /** + * @generated from field: double frame_rate = 21; + */ + frameRate: number; + /** + * @generated from field: double jitter_current = 22; + */ + jitterCurrent: number; + /** + * @generated from field: double jitter_max = 23; + */ + jitterMax: number; + /** + * @generated from field: map gap_histogram = 24; + */ + gapHistogram: { + [key: number]: number; + }; + /** + * @generated from field: uint32 nacks = 25; + */ + nacks: number; + /** + * @generated from field: uint32 nack_acks = 37; + */ + nackAcks: number; + /** + * @generated from field: uint32 nack_misses = 26; + */ + nackMisses: number; + /** + * @generated from field: uint32 nack_repeated = 38; + */ + nackRepeated: number; + /** + * @generated from field: uint32 plis = 27; + */ + plis: number; + /** + * @generated from field: google.protobuf.Timestamp last_pli = 28; + */ + lastPli?: Timestamp; + /** + * @generated from field: uint32 firs = 29; + */ + firs: number; + /** + * @generated from field: google.protobuf.Timestamp last_fir = 30; + */ + lastFir?: Timestamp; + /** + * @generated from field: uint32 rtt_current = 31; + */ + rttCurrent: number; + /** + * @generated from field: uint32 rtt_max = 32; + */ + rttMax: number; + /** + * @generated from field: uint32 key_frames = 33; + */ + keyFrames: number; + /** + * @generated from field: google.protobuf.Timestamp last_key_frame = 34; + */ + lastKeyFrame?: Timestamp; + /** + * @generated from field: uint32 layer_lock_plis = 35; + */ + layerLockPlis: number; + /** + * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36; + */ + lastLayerLockPli?: Timestamp; + /** + * @generated from field: livekit.RTPDrift packet_drift = 44; + */ + packetDrift?: RTPDrift; + /** + * @generated from field: livekit.RTPDrift ntp_report_drift = 45; + */ + ntpReportDrift?: RTPDrift; + /** + * @generated from field: livekit.RTPDrift rebased_report_drift = 46; + */ + rebasedReportDrift?: RTPDrift; + /** + * NEXT_ID: 48 + * + * @generated from field: livekit.RTPDrift received_report_drift = 47; + */ + receivedReportDrift?: RTPDrift; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPStats"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats; + static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats; + static fromJsonString(jsonString: string, options?: Partial): RTPStats; + static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RTCPSenderReportState + */ +export declare class RTCPSenderReportState extends Message { + /** + * @generated from field: uint32 rtp_timestamp = 1; + */ + rtpTimestamp: number; + /** + * @generated from field: uint64 rtp_timestamp_ext = 2; + */ + rtpTimestampExt: bigint; + /** + * @generated from field: uint64 ntp_timestamp = 3; + */ + ntpTimestamp: bigint; + /** + * time at which this happened + * + * @generated from field: int64 at = 4; + */ + at: bigint; + /** + * @generated from field: int64 at_adjusted = 5; + */ + atAdjusted: bigint; + /** + * @generated from field: uint32 packets = 6; + */ + packets: number; + /** + * @generated from field: uint64 octets = 7; + */ + octets: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTCPSenderReportState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState; + static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState; + static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState; + static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RTPForwarderState + */ +export declare class RTPForwarderState extends Message { + /** + * @generated from field: bool started = 1; + */ + started: boolean; + /** + * @generated from field: int32 reference_layer_spatial = 2; + */ + referenceLayerSpatial: number; + /** + * @generated from field: int64 pre_start_time = 3; + */ + preStartTime: bigint; + /** + * @generated from field: uint64 ext_first_timestamp = 4; + */ + extFirstTimestamp: bigint; + /** + * @generated from field: uint64 dummy_start_timestamp_offset = 5; + */ + dummyStartTimestampOffset: bigint; + /** + * @generated from field: livekit.RTPMungerState rtp_munger = 6; + */ + rtpMunger?: RTPMungerState; + /** + * @generated from oneof livekit.RTPForwarderState.codec_munger + */ + codecMunger: { + /** + * @generated from field: livekit.VP8MungerState vp8_munger = 7; + */ + value: VP8MungerState; + case: "vp8Munger"; + } | { + case: undefined; + value?: undefined; + }; + /** + * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; + */ + senderReportState: RTCPSenderReportState[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPForwarderState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState; + static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState; + static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState; + static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RTPMungerState + */ +export declare class RTPMungerState extends Message { + /** + * @generated from field: uint64 ext_last_sequence_number = 1; + */ + extLastSequenceNumber: bigint; + /** + * @generated from field: uint64 ext_second_last_sequence_number = 2; + */ + extSecondLastSequenceNumber: bigint; + /** + * @generated from field: uint64 ext_last_timestamp = 3; + */ + extLastTimestamp: bigint; + /** + * @generated from field: uint64 ext_second_last_timestamp = 4; + */ + extSecondLastTimestamp: bigint; + /** + * @generated from field: bool last_marker = 5; + */ + lastMarker: boolean; + /** + * @generated from field: bool second_last_marker = 6; + */ + secondLastMarker: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPMungerState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState; + static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState; + static fromJsonString(jsonString: string, options?: Partial): RTPMungerState; + static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.VP8MungerState + */ +export declare class VP8MungerState extends Message { + /** + * @generated from field: int32 ext_last_picture_id = 1; + */ + extLastPictureId: number; + /** + * @generated from field: bool picture_id_used = 2; + */ + pictureIdUsed: boolean; + /** + * @generated from field: uint32 last_tl0_pic_idx = 3; + */ + lastTl0PicIdx: number; + /** + * @generated from field: bool tl0_pic_idx_used = 4; + */ + tl0PicIdxUsed: boolean; + /** + * @generated from field: bool tid_used = 5; + */ + tidUsed: boolean; + /** + * @generated from field: uint32 last_key_idx = 6; + */ + lastKeyIdx: number; + /** + * @generated from field: bool key_idx_used = 7; + */ + keyIdxUsed: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VP8MungerState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState; + static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState; + static fromJsonString(jsonString: string, options?: Partial): VP8MungerState; + static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TimedVersion + */ +export declare class TimedVersion extends Message { + /** + * @generated from field: int64 unix_micro = 1; + */ + unixMicro: bigint; + /** + * @generated from field: int32 ticks = 2; + */ + ticks: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TimedVersion"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion; + static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion; + static fromJsonString(jsonString: string, options?: Partial): TimedVersion; + static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DataStream + */ +export declare class DataStream extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; + static fromJsonString(jsonString: string, options?: Partial): DataStream; + static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; +} +/** + * enum for operation types (specific to TextHeader) + * + * @generated from enum livekit.DataStream.OperationType + */ +export declare enum DataStream_OperationType { + /** + * @generated from enum value: CREATE = 0; + */ + CREATE = 0, + /** + * @generated from enum value: UPDATE = 1; + */ + UPDATE = 1, + /** + * @generated from enum value: DELETE = 2; + */ + DELETE = 2, + /** + * @generated from enum value: REACTION = 3; + */ + REACTION = 3 +} +/** + * header properties specific to text streams + * + * @generated from message livekit.DataStream.TextHeader + */ +export declare class DataStream_TextHeader extends Message { + /** + * @generated from field: livekit.DataStream.OperationType operation_type = 1; + */ + operationType: DataStream_OperationType; + /** + * Optional: Version for updates/edits + * + * @generated from field: int32 version = 2; + */ + version: number; + /** + * Optional: Reply to specific message + * + * @generated from field: string reply_to_stream_id = 3; + */ + replyToStreamId: string; + /** + * file attachments for text streams + * + * @generated from field: repeated string attached_stream_ids = 4; + */ + attachedStreamIds: string[]; + /** + * true if the text has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 5; + */ + generated: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.TextHeader"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; + static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; + static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; +} +/** + * header properties specific to file or image streams + * + * @generated from message livekit.DataStream.FileHeader + */ +export declare class DataStream_FileHeader extends Message { + /** + * name of the file + * + * @generated from field: string file_name = 1; + */ + fileName: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.FileHeader"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader; + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader; + static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader; + static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean; +} +/** + * main DataStream.Header that contains a oneof for specific headers + * + * @generated from message livekit.DataStream.Header + */ +export declare class DataStream_Header extends Message { + /** + * unique identifier for this data stream + * + * @generated from field: string stream_id = 1; + */ + streamId: string; + /** + * using int64 for Unix timestamp + * + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + /** + * @generated from field: string topic = 3; + */ + topic: string; + /** + * @generated from field: string mime_type = 4; + */ + mimeType: string; + /** + * only populated for finite streams, if it's a stream of unknown size this stays empty + * + * @generated from field: optional uint64 total_length = 5; + */ + totalLength?: bigint; + /** + * only populated for finite streams, if it's a stream of unknown size this stays empty + * + * @generated from field: optional uint64 total_chunks = 6; + */ + totalChunks?: bigint; + /** + * defaults to NONE + * + * @generated from field: livekit.Encryption.Type encryption_type = 7; + */ + encryptionType: Encryption_Type; + /** + * user defined extensions map that can carry additional info + * + * @generated from field: map extensions = 8; + */ + extensions: { + [key: string]: string; + }; + /** + * oneof to choose between specific header types + * + * @generated from oneof livekit.DataStream.Header.content_header + */ + contentHeader: { + /** + * @generated from field: livekit.DataStream.TextHeader text_header = 9; + */ + value: DataStream_TextHeader; + case: "textHeader"; + } | { + /** + * @generated from field: livekit.DataStream.FileHeader file_header = 10; + */ + value: DataStream_FileHeader; + case: "fileHeader"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.Header"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; + static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; + static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DataStream.Chunk + */ +export declare class DataStream_Chunk extends Message { + /** + * unique identifier for this data stream to map it to the correct header + * + * @generated from field: string stream_id = 1; + */ + streamId: string; + /** + * @generated from field: uint64 chunk_index = 2; + */ + chunkIndex: bigint; + /** + * content as binary (bytes) + * + * @generated from field: bytes content = 3; + */ + content: Uint8Array; + /** + * true only if this is the last chunk of this stream - can also be sent with empty content + * + * @generated from field: bool complete = 4; + */ + complete: boolean; + /** + * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + * + * @generated from field: int32 version = 5; + */ + version: number; + /** + * optional, initialization vector for AES-GCM encryption + * + * @generated from field: optional bytes iv = 6; + */ + iv?: Uint8Array; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.Chunk"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; + static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; + static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_models_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.d.ts.map b/packages/javascript/dist/gen/livekit_models_pb.d.ts.map new file mode 100644 index 00000000..b80e58fe --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_models_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_models_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,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B;IAE5B;;;;OAIG;IACH,QAAQ,UAAS;IAEjB;;;;OAIG;IACH,OAAO,SAAK;IAEZ;;;;OAIG;IACH,EAAE,CAAC,EAAE,UAAU,CAAC;gBAEJ,IAAI,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC;IAKnD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,8BAA8B;IACtD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAO9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;IAI5F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;IAI3F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;IAI/F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3J"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.js b/packages/javascript/dist/gen/livekit_models_pb.js new file mode 100644 index 00000000..7164cbe4 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.js @@ -0,0 +1,3588 @@ +import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; +import { MetricsBatch } from "./livekit_metrics_pb.js"; +var AudioCodec = /* @__PURE__ */ ((AudioCodec2) => { + AudioCodec2[AudioCodec2["DEFAULT_AC"] = 0] = "DEFAULT_AC"; + AudioCodec2[AudioCodec2["OPUS"] = 1] = "OPUS"; + AudioCodec2[AudioCodec2["AAC"] = 2] = "AAC"; + return AudioCodec2; +})(AudioCodec || {}); +proto3.util.setEnumType(AudioCodec, "livekit.AudioCodec", [ + { no: 0, name: "DEFAULT_AC" }, + { no: 1, name: "OPUS" }, + { no: 2, name: "AAC" } +]); +var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => { + VideoCodec2[VideoCodec2["DEFAULT_VC"] = 0] = "DEFAULT_VC"; + VideoCodec2[VideoCodec2["H264_BASELINE"] = 1] = "H264_BASELINE"; + VideoCodec2[VideoCodec2["H264_MAIN"] = 2] = "H264_MAIN"; + VideoCodec2[VideoCodec2["H264_HIGH"] = 3] = "H264_HIGH"; + VideoCodec2[VideoCodec2["VP8"] = 4] = "VP8"; + return VideoCodec2; +})(VideoCodec || {}); +proto3.util.setEnumType(VideoCodec, "livekit.VideoCodec", [ + { no: 0, name: "DEFAULT_VC" }, + { no: 1, name: "H264_BASELINE" }, + { no: 2, name: "H264_MAIN" }, + { no: 3, name: "H264_HIGH" }, + { no: 4, name: "VP8" } +]); +var ImageCodec = /* @__PURE__ */ ((ImageCodec2) => { + ImageCodec2[ImageCodec2["IC_DEFAULT"] = 0] = "IC_DEFAULT"; + ImageCodec2[ImageCodec2["IC_JPEG"] = 1] = "IC_JPEG"; + return ImageCodec2; +})(ImageCodec || {}); +proto3.util.setEnumType(ImageCodec, "livekit.ImageCodec", [ + { no: 0, name: "IC_DEFAULT" }, + { no: 1, name: "IC_JPEG" } +]); +var TrackType = /* @__PURE__ */ ((TrackType2) => { + TrackType2[TrackType2["AUDIO"] = 0] = "AUDIO"; + TrackType2[TrackType2["VIDEO"] = 1] = "VIDEO"; + TrackType2[TrackType2["DATA"] = 2] = "DATA"; + return TrackType2; +})(TrackType || {}); +proto3.util.setEnumType(TrackType, "livekit.TrackType", [ + { no: 0, name: "AUDIO" }, + { no: 1, name: "VIDEO" }, + { no: 2, name: "DATA" } +]); +var TrackSource = /* @__PURE__ */ ((TrackSource2) => { + TrackSource2[TrackSource2["UNKNOWN"] = 0] = "UNKNOWN"; + TrackSource2[TrackSource2["CAMERA"] = 1] = "CAMERA"; + TrackSource2[TrackSource2["MICROPHONE"] = 2] = "MICROPHONE"; + TrackSource2[TrackSource2["SCREEN_SHARE"] = 3] = "SCREEN_SHARE"; + TrackSource2[TrackSource2["SCREEN_SHARE_AUDIO"] = 4] = "SCREEN_SHARE_AUDIO"; + return TrackSource2; +})(TrackSource || {}); +proto3.util.setEnumType(TrackSource, "livekit.TrackSource", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "CAMERA" }, + { no: 2, name: "MICROPHONE" }, + { no: 3, name: "SCREEN_SHARE" }, + { no: 4, name: "SCREEN_SHARE_AUDIO" } +]); +var VideoQuality = /* @__PURE__ */ ((VideoQuality2) => { + VideoQuality2[VideoQuality2["LOW"] = 0] = "LOW"; + VideoQuality2[VideoQuality2["MEDIUM"] = 1] = "MEDIUM"; + VideoQuality2[VideoQuality2["HIGH"] = 2] = "HIGH"; + VideoQuality2[VideoQuality2["OFF"] = 3] = "OFF"; + return VideoQuality2; +})(VideoQuality || {}); +proto3.util.setEnumType(VideoQuality, "livekit.VideoQuality", [ + { no: 0, name: "LOW" }, + { no: 1, name: "MEDIUM" }, + { no: 2, name: "HIGH" }, + { no: 3, name: "OFF" } +]); +var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => { + ConnectionQuality2[ConnectionQuality2["POOR"] = 0] = "POOR"; + ConnectionQuality2[ConnectionQuality2["GOOD"] = 1] = "GOOD"; + ConnectionQuality2[ConnectionQuality2["EXCELLENT"] = 2] = "EXCELLENT"; + ConnectionQuality2[ConnectionQuality2["LOST"] = 3] = "LOST"; + return ConnectionQuality2; +})(ConnectionQuality || {}); +proto3.util.setEnumType(ConnectionQuality, "livekit.ConnectionQuality", [ + { no: 0, name: "POOR" }, + { no: 1, name: "GOOD" }, + { no: 2, name: "EXCELLENT" }, + { no: 3, name: "LOST" } +]); +var ClientConfigSetting = /* @__PURE__ */ ((ClientConfigSetting2) => { + ClientConfigSetting2[ClientConfigSetting2["UNSET"] = 0] = "UNSET"; + ClientConfigSetting2[ClientConfigSetting2["DISABLED"] = 1] = "DISABLED"; + ClientConfigSetting2[ClientConfigSetting2["ENABLED"] = 2] = "ENABLED"; + return ClientConfigSetting2; +})(ClientConfigSetting || {}); +proto3.util.setEnumType(ClientConfigSetting, "livekit.ClientConfigSetting", [ + { no: 0, name: "UNSET" }, + { no: 1, name: "DISABLED" }, + { no: 2, name: "ENABLED" } +]); +var DisconnectReason = /* @__PURE__ */ ((DisconnectReason2) => { + DisconnectReason2[DisconnectReason2["UNKNOWN_REASON"] = 0] = "UNKNOWN_REASON"; + DisconnectReason2[DisconnectReason2["CLIENT_INITIATED"] = 1] = "CLIENT_INITIATED"; + DisconnectReason2[DisconnectReason2["DUPLICATE_IDENTITY"] = 2] = "DUPLICATE_IDENTITY"; + DisconnectReason2[DisconnectReason2["SERVER_SHUTDOWN"] = 3] = "SERVER_SHUTDOWN"; + DisconnectReason2[DisconnectReason2["PARTICIPANT_REMOVED"] = 4] = "PARTICIPANT_REMOVED"; + DisconnectReason2[DisconnectReason2["ROOM_DELETED"] = 5] = "ROOM_DELETED"; + DisconnectReason2[DisconnectReason2["STATE_MISMATCH"] = 6] = "STATE_MISMATCH"; + DisconnectReason2[DisconnectReason2["JOIN_FAILURE"] = 7] = "JOIN_FAILURE"; + DisconnectReason2[DisconnectReason2["MIGRATION"] = 8] = "MIGRATION"; + DisconnectReason2[DisconnectReason2["SIGNAL_CLOSE"] = 9] = "SIGNAL_CLOSE"; + DisconnectReason2[DisconnectReason2["ROOM_CLOSED"] = 10] = "ROOM_CLOSED"; + DisconnectReason2[DisconnectReason2["USER_UNAVAILABLE"] = 11] = "USER_UNAVAILABLE"; + DisconnectReason2[DisconnectReason2["USER_REJECTED"] = 12] = "USER_REJECTED"; + DisconnectReason2[DisconnectReason2["SIP_TRUNK_FAILURE"] = 13] = "SIP_TRUNK_FAILURE"; + return DisconnectReason2; +})(DisconnectReason || {}); +proto3.util.setEnumType(DisconnectReason, "livekit.DisconnectReason", [ + { no: 0, name: "UNKNOWN_REASON" }, + { no: 1, name: "CLIENT_INITIATED" }, + { no: 2, name: "DUPLICATE_IDENTITY" }, + { no: 3, name: "SERVER_SHUTDOWN" }, + { no: 4, name: "PARTICIPANT_REMOVED" }, + { no: 5, name: "ROOM_DELETED" }, + { no: 6, name: "STATE_MISMATCH" }, + { no: 7, name: "JOIN_FAILURE" }, + { no: 8, name: "MIGRATION" }, + { no: 9, name: "SIGNAL_CLOSE" }, + { no: 10, name: "ROOM_CLOSED" }, + { no: 11, name: "USER_UNAVAILABLE" }, + { no: 12, name: "USER_REJECTED" }, + { no: 13, name: "SIP_TRUNK_FAILURE" } +]); +var ReconnectReason = /* @__PURE__ */ ((ReconnectReason2) => { + ReconnectReason2[ReconnectReason2["RR_UNKNOWN"] = 0] = "RR_UNKNOWN"; + ReconnectReason2[ReconnectReason2["RR_SIGNAL_DISCONNECTED"] = 1] = "RR_SIGNAL_DISCONNECTED"; + ReconnectReason2[ReconnectReason2["RR_PUBLISHER_FAILED"] = 2] = "RR_PUBLISHER_FAILED"; + ReconnectReason2[ReconnectReason2["RR_SUBSCRIBER_FAILED"] = 3] = "RR_SUBSCRIBER_FAILED"; + ReconnectReason2[ReconnectReason2["RR_SWITCH_CANDIDATE"] = 4] = "RR_SWITCH_CANDIDATE"; + return ReconnectReason2; +})(ReconnectReason || {}); +proto3.util.setEnumType(ReconnectReason, "livekit.ReconnectReason", [ + { no: 0, name: "RR_UNKNOWN" }, + { no: 1, name: "RR_SIGNAL_DISCONNECTED" }, + { no: 2, name: "RR_PUBLISHER_FAILED" }, + { no: 3, name: "RR_SUBSCRIBER_FAILED" }, + { no: 4, name: "RR_SWITCH_CANDIDATE" } +]); +var SubscriptionError = /* @__PURE__ */ ((SubscriptionError2) => { + SubscriptionError2[SubscriptionError2["SE_UNKNOWN"] = 0] = "SE_UNKNOWN"; + SubscriptionError2[SubscriptionError2["SE_CODEC_UNSUPPORTED"] = 1] = "SE_CODEC_UNSUPPORTED"; + SubscriptionError2[SubscriptionError2["SE_TRACK_NOTFOUND"] = 2] = "SE_TRACK_NOTFOUND"; + return SubscriptionError2; +})(SubscriptionError || {}); +proto3.util.setEnumType(SubscriptionError, "livekit.SubscriptionError", [ + { no: 0, name: "SE_UNKNOWN" }, + { no: 1, name: "SE_CODEC_UNSUPPORTED" }, + { no: 2, name: "SE_TRACK_NOTFOUND" } +]); +var AudioTrackFeature = /* @__PURE__ */ ((AudioTrackFeature2) => { + AudioTrackFeature2[AudioTrackFeature2["TF_STEREO"] = 0] = "TF_STEREO"; + AudioTrackFeature2[AudioTrackFeature2["TF_NO_DTX"] = 1] = "TF_NO_DTX"; + AudioTrackFeature2[AudioTrackFeature2["TF_AUTO_GAIN_CONTROL"] = 2] = "TF_AUTO_GAIN_CONTROL"; + AudioTrackFeature2[AudioTrackFeature2["TF_ECHO_CANCELLATION"] = 3] = "TF_ECHO_CANCELLATION"; + AudioTrackFeature2[AudioTrackFeature2["TF_NOISE_SUPPRESSION"] = 4] = "TF_NOISE_SUPPRESSION"; + AudioTrackFeature2[AudioTrackFeature2["TF_ENHANCED_NOISE_CANCELLATION"] = 5] = "TF_ENHANCED_NOISE_CANCELLATION"; + return AudioTrackFeature2; +})(AudioTrackFeature || {}); +proto3.util.setEnumType(AudioTrackFeature, "livekit.AudioTrackFeature", [ + { no: 0, name: "TF_STEREO" }, + { no: 1, name: "TF_NO_DTX" }, + { no: 2, name: "TF_AUTO_GAIN_CONTROL" }, + { no: 3, name: "TF_ECHO_CANCELLATION" }, + { no: 4, name: "TF_NOISE_SUPPRESSION" }, + { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" } +]); +const _Room = class _Room extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: uint32 empty_timeout = 3; + */ + this.emptyTimeout = 0; + /** + * @generated from field: uint32 departure_timeout = 14; + */ + this.departureTimeout = 0; + /** + * @generated from field: uint32 max_participants = 4; + */ + this.maxParticipants = 0; + /** + * @generated from field: int64 creation_time = 5; + */ + this.creationTime = protoInt64.zero; + /** + * @generated from field: string turn_password = 6; + */ + this.turnPassword = ""; + /** + * @generated from field: repeated livekit.Codec enabled_codecs = 7; + */ + this.enabledCodecs = []; + /** + * @generated from field: string metadata = 8; + */ + this.metadata = ""; + /** + * @generated from field: uint32 num_participants = 9; + */ + this.numParticipants = 0; + /** + * @generated from field: uint32 num_publishers = 11; + */ + this.numPublishers = 0; + /** + * @generated from field: bool active_recording = 10; + */ + this.activeRecording = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Room().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Room().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Room().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Room, a, b); + } +}; +_Room.runtime = proto3; +_Room.typeName = "livekit.Room"; +_Room.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 14, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "creation_time", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "turn_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, + { + no: 8, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "num_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 11, + name: "num_publishers", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "active_recording", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 13, name: "version", kind: "message", T: TimedVersion } +]); +let Room = _Room; +const _Codec = class _Codec extends Message { + constructor(data) { + super(); + /** + * @generated from field: string mime = 1; + */ + this.mime = ""; + /** + * @generated from field: string fmtp_line = 2; + */ + this.fmtpLine = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Codec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Codec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Codec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Codec, a, b); + } +}; +_Codec.runtime = proto3; +_Codec.typeName = "livekit.Codec"; +_Codec.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "fmtp_line", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let Codec = _Codec; +const _PlayoutDelay = class _PlayoutDelay extends Message { + constructor(data) { + super(); + /** + * @generated from field: bool enabled = 1; + */ + this.enabled = false; + /** + * @generated from field: uint32 min = 2; + */ + this.min = 0; + /** + * @generated from field: uint32 max = 3; + */ + this.max = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _PlayoutDelay().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _PlayoutDelay().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _PlayoutDelay().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_PlayoutDelay, a, b); + } +}; +_PlayoutDelay.runtime = proto3; +_PlayoutDelay.typeName = "livekit.PlayoutDelay"; +_PlayoutDelay.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "min", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "max", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let PlayoutDelay = _PlayoutDelay; +const _ParticipantPermission = class _ParticipantPermission extends Message { + constructor(data) { + super(); + /** + * allow participant to subscribe to other tracks in the room + * + * @generated from field: bool can_subscribe = 1; + */ + this.canSubscribe = false; + /** + * allow participant to publish new tracks to room + * + * @generated from field: bool can_publish = 2; + */ + this.canPublish = false; + /** + * allow participant to publish data + * + * @generated from field: bool can_publish_data = 3; + */ + this.canPublishData = false; + /** + * sources that are allowed to be published + * + * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; + */ + this.canPublishSources = []; + /** + * indicates that it's hidden to others + * + * @generated from field: bool hidden = 7; + */ + this.hidden = false; + /** + * indicates it's a recorder instance + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool recorder = 8 [deprecated = true]; + * @deprecated + */ + this.recorder = false; + /** + * indicates that participant can update own metadata and attributes + * + * @generated from field: bool can_update_metadata = 10; + */ + this.canUpdateMetadata = false; + /** + * indicates that participant is an agent + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool agent = 11 [deprecated = true]; + * @deprecated + */ + this.agent = false; + /** + * if a participant can subscribe to metrics + * + * @generated from field: bool can_subscribe_metrics = 12; + */ + this.canSubscribeMetrics = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ParticipantPermission, a, b); + } +}; +_ParticipantPermission.runtime = proto3; +_ParticipantPermission.typeName = "livekit.ParticipantPermission"; +_ParticipantPermission.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "can_subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "can_publish", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "can_publish_data", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 9, name: "can_publish_sources", kind: "enum", T: proto3.getEnumType(TrackSource), repeated: true }, + { + no: 7, + name: "hidden", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 8, + name: "recorder", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "can_update_metadata", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 11, + name: "agent", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 12, + name: "can_subscribe_metrics", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ParticipantPermission = _ParticipantPermission; +const _ParticipantInfo = class _ParticipantInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * @generated from field: livekit.ParticipantInfo.State state = 3; + */ + this.state = 0 /* JOINING */; + /** + * @generated from field: repeated livekit.TrackInfo tracks = 4; + */ + this.tracks = []; + /** + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * timestamp when participant joined room, in seconds + * + * @generated from field: int64 joined_at = 6; + */ + this.joinedAt = protoInt64.zero; + /** + * @generated from field: string name = 9; + */ + this.name = ""; + /** + * @generated from field: uint32 version = 10; + */ + this.version = 0; + /** + * @generated from field: string region = 12; + */ + this.region = ""; + /** + * indicates the participant has an active publisher connection + * and can publish to the server + * + * @generated from field: bool is_publisher = 13; + */ + this.isPublisher = false; + /** + * @generated from field: livekit.ParticipantInfo.Kind kind = 14; + */ + this.kind = 0 /* STANDARD */; + /** + * @generated from field: map attributes = 15; + */ + this.attributes = {}; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 16; + */ + this.disconnectReason = 0 /* UNKNOWN_REASON */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ParticipantInfo, a, b); + } +}; +_ParticipantInfo.runtime = proto3; +_ParticipantInfo.typeName = "livekit.ParticipantInfo"; +_ParticipantInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, + { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "joined_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 9, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "version", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, + { + no: 12, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 13, + name: "is_publisher", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) }, + { no: 15, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) } +]); +let ParticipantInfo = _ParticipantInfo; +var ParticipantInfo_State = /* @__PURE__ */ ((ParticipantInfo_State2) => { + ParticipantInfo_State2[ParticipantInfo_State2["JOINING"] = 0] = "JOINING"; + ParticipantInfo_State2[ParticipantInfo_State2["JOINED"] = 1] = "JOINED"; + ParticipantInfo_State2[ParticipantInfo_State2["ACTIVE"] = 2] = "ACTIVE"; + ParticipantInfo_State2[ParticipantInfo_State2["DISCONNECTED"] = 3] = "DISCONNECTED"; + return ParticipantInfo_State2; +})(ParticipantInfo_State || {}); +proto3.util.setEnumType(ParticipantInfo_State, "livekit.ParticipantInfo.State", [ + { no: 0, name: "JOINING" }, + { no: 1, name: "JOINED" }, + { no: 2, name: "ACTIVE" }, + { no: 3, name: "DISCONNECTED" } +]); +var ParticipantInfo_Kind = /* @__PURE__ */ ((ParticipantInfo_Kind2) => { + ParticipantInfo_Kind2[ParticipantInfo_Kind2["STANDARD"] = 0] = "STANDARD"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["INGRESS"] = 1] = "INGRESS"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["EGRESS"] = 2] = "EGRESS"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["SIP"] = 3] = "SIP"; + ParticipantInfo_Kind2[ParticipantInfo_Kind2["AGENT"] = 4] = "AGENT"; + return ParticipantInfo_Kind2; +})(ParticipantInfo_Kind || {}); +proto3.util.setEnumType(ParticipantInfo_Kind, "livekit.ParticipantInfo.Kind", [ + { no: 0, name: "STANDARD" }, + { no: 1, name: "INGRESS" }, + { no: 2, name: "EGRESS" }, + { no: 3, name: "SIP" }, + { no: 4, name: "AGENT" } +]); +const _Encryption = class _Encryption extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Encryption().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Encryption().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Encryption().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Encryption, a, b); + } +}; +_Encryption.runtime = proto3; +_Encryption.typeName = "livekit.Encryption"; +_Encryption.fields = proto3.util.newFieldList(() => []); +let Encryption = _Encryption; +var Encryption_Type = /* @__PURE__ */ ((Encryption_Type2) => { + Encryption_Type2[Encryption_Type2["NONE"] = 0] = "NONE"; + Encryption_Type2[Encryption_Type2["GCM"] = 1] = "GCM"; + Encryption_Type2[Encryption_Type2["CUSTOM"] = 2] = "CUSTOM"; + return Encryption_Type2; +})(Encryption_Type || {}); +proto3.util.setEnumType(Encryption_Type, "livekit.Encryption.Type", [ + { no: 0, name: "NONE" }, + { no: 1, name: "GCM" }, + { no: 2, name: "CUSTOM" } +]); +const _SimulcastCodecInfo = class _SimulcastCodecInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string mime_type = 1; + */ + this.mimeType = ""; + /** + * @generated from field: string mid = 2; + */ + this.mid = ""; + /** + * @generated from field: string cid = 3; + */ + this.cid = ""; + /** + * @generated from field: repeated livekit.VideoLayer layers = 4; + */ + this.layers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulcastCodecInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulcastCodecInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulcastCodecInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SimulcastCodecInfo, a, b); + } +}; +_SimulcastCodecInfo.runtime = proto3; +_SimulcastCodecInfo.typeName = "livekit.SimulcastCodecInfo"; +_SimulcastCodecInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "mid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true } +]); +let SimulcastCodecInfo = _SimulcastCodecInfo; +const _TrackInfo = class _TrackInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: livekit.TrackType type = 2; + */ + this.type = 0 /* AUDIO */; + /** + * @generated from field: string name = 3; + */ + this.name = ""; + /** + * @generated from field: bool muted = 4; + */ + this.muted = false; + /** + * original width of video (unset for audio) + * clients may receive a lower resolution version with simulcast + * + * @generated from field: uint32 width = 5; + */ + this.width = 0; + /** + * original height of video (unset for audio) + * + * @generated from field: uint32 height = 6; + */ + this.height = 0; + /** + * true if track is simulcasted + * + * @generated from field: bool simulcast = 7; + */ + this.simulcast = false; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 8; + */ + this.disableDtx = false; + /** + * source of media + * + * @generated from field: livekit.TrackSource source = 9; + */ + this.source = 0 /* UNKNOWN */; + /** + * @generated from field: repeated livekit.VideoLayer layers = 10; + */ + this.layers = []; + /** + * mime type of codec + * + * @generated from field: string mime_type = 11; + */ + this.mimeType = ""; + /** + * @generated from field: string mid = 12; + */ + this.mid = ""; + /** + * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; + */ + this.codecs = []; + /** + * @generated from field: bool stereo = 14; + */ + this.stereo = false; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 15; + */ + this.disableRed = false; + /** + * @generated from field: livekit.Encryption.Type encryption = 16; + */ + this.encryption = 0 /* NONE */; + /** + * @generated from field: string stream = 17; + */ + this.stream = ""; + /** + * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; + */ + this.audioFeatures = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackInfo, a, b); + } +}; +_TrackInfo.runtime = proto3; +_TrackInfo.typeName = "livekit.TrackInfo"; +_TrackInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, + { + no: 3, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "simulcast", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 8, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 9, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + { + no: 11, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "mid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, + { + no: 14, + name: "stereo", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 15, + name: "disable_red", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { + no: 17, + name: "stream", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 18, name: "version", kind: "message", T: TimedVersion }, + { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true } +]); +let TrackInfo = _TrackInfo; +const _VideoLayer = class _VideoLayer extends Message { + constructor(data) { + super(); + /** + * for tracks with a single layer, this should be HIGH + * + * @generated from field: livekit.VideoQuality quality = 1; + */ + this.quality = 0 /* LOW */; + /** + * @generated from field: uint32 width = 2; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 3; + */ + this.height = 0; + /** + * target bitrate in bit per second (bps), server will measure actual + * + * @generated from field: uint32 bitrate = 4; + */ + this.bitrate = 0; + /** + * @generated from field: uint32 ssrc = 5; + */ + this.ssrc = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VideoLayer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VideoLayer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VideoLayer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_VideoLayer, a, b); + } +}; +_VideoLayer.runtime = proto3; +_VideoLayer.typeName = "livekit.VideoLayer"; +_VideoLayer.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { + no: 2, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "bitrate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "ssrc", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let VideoLayer = _VideoLayer; +const _DataPacket = class _DataPacket extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; + * @deprecated + */ + this.kind = 0 /* RELIABLE */; + /** + * participant identity of user that sent the message + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 5; + */ + this.destinationIdentities = []; + /** + * @generated from oneof livekit.DataPacket.value + */ + this.value = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataPacket().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataPacket().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataPacket().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataPacket, a, b); + } +}; +_DataPacket.runtime = proto3; +_DataPacket.typeName = "livekit.DataPacket"; +_DataPacket.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, + { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, + { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, + { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, + { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" }, + { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, + { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, + { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, + { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, + { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, + { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" } +]); +let DataPacket = _DataPacket; +var DataPacket_Kind = /* @__PURE__ */ ((DataPacket_Kind2) => { + DataPacket_Kind2[DataPacket_Kind2["RELIABLE"] = 0] = "RELIABLE"; + DataPacket_Kind2[DataPacket_Kind2["LOSSY"] = 1] = "LOSSY"; + return DataPacket_Kind2; +})(DataPacket_Kind || {}); +proto3.util.setEnumType(DataPacket_Kind, "livekit.DataPacket.Kind", [ + { no: 0, name: "RELIABLE" }, + { no: 1, name: "LOSSY" } +]); +const _ActiveSpeakerUpdate = class _ActiveSpeakerUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + this.speakers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ActiveSpeakerUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ActiveSpeakerUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ActiveSpeakerUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ActiveSpeakerUpdate, a, b); + } +}; +_ActiveSpeakerUpdate.runtime = proto3; +_ActiveSpeakerUpdate.typeName = "livekit.ActiveSpeakerUpdate"; +_ActiveSpeakerUpdate.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } +]); +let ActiveSpeakerUpdate = _ActiveSpeakerUpdate; +const _SpeakerInfo = class _SpeakerInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * audio level, 0-1.0, 1 is loudest + * + * @generated from field: float level = 2; + */ + this.level = 0; + /** + * true if speaker is currently active + * + * @generated from field: bool active = 3; + */ + this.active = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SpeakerInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SpeakerInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SpeakerInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SpeakerInfo, a, b); + } +}; +_SpeakerInfo.runtime = proto3; +_SpeakerInfo.typeName = "livekit.SpeakerInfo"; +_SpeakerInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "level", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 3, + name: "active", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SpeakerInfo = _SpeakerInfo; +const _UserPacket = class _UserPacket extends Message { + constructor(data) { + super(); + /** + * participant ID of user that sent the message + * + * @generated from field: string participant_sid = 1 [deprecated = true]; + * @deprecated + */ + this.participantSid = ""; + /** + * @generated from field: string participant_identity = 5 [deprecated = true]; + * @deprecated + */ + this.participantIdentity = ""; + /** + * user defined payload + * + * @generated from field: bytes payload = 2; + */ + this.payload = new Uint8Array(0); + /** + * the ID of the participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_sids = 3 [deprecated = true]; + * @deprecated + */ + this.destinationSids = []; + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 6 [deprecated = true]; + * @deprecated + */ + this.destinationIdentities = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UserPacket().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UserPacket().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UserPacket().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UserPacket, a, b); + } +}; +_UserPacket.runtime = proto3; +_UserPacket.typeName = "livekit.UserPacket"; +_UserPacket.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "payload", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 3, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 4, name: "topic", kind: "scalar", T: 9, opt: true }, + { no: 8, name: "id", kind: "scalar", T: 9, opt: true }, + { no: 9, name: "start_time", kind: "scalar", T: 4, opt: true }, + { no: 10, name: "end_time", kind: "scalar", T: 4, opt: true } +]); +let UserPacket = _UserPacket; +const _SipDTMF = class _SipDTMF extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 code = 3; + */ + this.code = 0; + /** + * @generated from field: string digit = 4; + */ + this.digit = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SipDTMF().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SipDTMF().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SipDTMF().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SipDTMF, a, b); + } +}; +_SipDTMF.runtime = proto3; +_SipDTMF.typeName = "livekit.SipDTMF"; +_SipDTMF.fields = proto3.util.newFieldList(() => [ + { + no: 3, + name: "code", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "digit", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SipDTMF = _SipDTMF; +const _Transcription = class _Transcription extends Message { + constructor(data) { + super(); + /** + * Participant that got its speech transcribed + * + * @generated from field: string transcribed_participant_identity = 2; + */ + this.transcribedParticipantIdentity = ""; + /** + * @generated from field: string track_id = 3; + */ + this.trackId = ""; + /** + * @generated from field: repeated livekit.TranscriptionSegment segments = 4; + */ + this.segments = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Transcription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Transcription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Transcription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Transcription, a, b); + } +}; +_Transcription.runtime = proto3; +_Transcription.typeName = "livekit.Transcription"; +_Transcription.fields = proto3.util.newFieldList(() => [ + { + no: 2, + name: "transcribed_participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "track_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true } +]); +let Transcription = _Transcription; +const _TranscriptionSegment = class _TranscriptionSegment extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string text = 2; + */ + this.text = ""; + /** + * @generated from field: uint64 start_time = 3; + */ + this.startTime = protoInt64.zero; + /** + * @generated from field: uint64 end_time = 4; + */ + this.endTime = protoInt64.zero; + /** + * @generated from field: bool final = 5; + */ + this.final = false; + /** + * @generated from field: string language = 6; + */ + this.language = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TranscriptionSegment().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TranscriptionSegment().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TranscriptionSegment().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TranscriptionSegment, a, b); + } +}; +_TranscriptionSegment.runtime = proto3; +_TranscriptionSegment.typeName = "livekit.TranscriptionSegment"; +_TranscriptionSegment.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "text", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "start_time", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "end_time", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "final", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "language", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TranscriptionSegment = _TranscriptionSegment; +const _ChatMessage = class _ChatMessage extends Message { + constructor(data) { + super(); + /** + * uuid + * + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = protoInt64.zero; + /** + * @generated from field: string message = 4; + */ + this.message = ""; + /** + * true to remove message + * + * @generated from field: bool deleted = 5; + */ + this.deleted = false; + /** + * true if the chat message has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 6; + */ + this.generated = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ChatMessage().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ChatMessage().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ChatMessage().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ChatMessage, a, b); + } +}; +_ChatMessage.runtime = proto3; +_ChatMessage.typeName = "livekit.ChatMessage"; +_ChatMessage.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 3, name: "edit_timestamp", kind: "scalar", T: 3, opt: true }, + { + no: 4, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "deleted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "generated", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let ChatMessage = _ChatMessage; +const _RpcRequest = class _RpcRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string id = 1; + */ + this.id = ""; + /** + * @generated from field: string method = 2; + */ + this.method = ""; + /** + * @generated from field: string payload = 3; + */ + this.payload = ""; + /** + * @generated from field: uint32 response_timeout_ms = 4; + */ + this.responseTimeoutMs = 0; + /** + * @generated from field: uint32 version = 5; + */ + this.version = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RpcRequest, a, b); + } +}; +_RpcRequest.runtime = proto3; +_RpcRequest.typeName = "livekit.RpcRequest"; +_RpcRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "method", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "payload", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "response_timeout_ms", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "version", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let RpcRequest = _RpcRequest; +const _RpcAck = class _RpcAck extends Message { + constructor(data) { + super(); + /** + * @generated from field: string request_id = 1; + */ + this.requestId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcAck().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcAck().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcAck().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RpcAck, a, b); + } +}; +_RpcAck.runtime = proto3; +_RpcAck.typeName = "livekit.RpcAck"; +_RpcAck.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RpcAck = _RpcAck; +const _RpcResponse = class _RpcResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string request_id = 1; + */ + this.requestId = ""; + /** + * @generated from oneof livekit.RpcResponse.value + */ + this.value = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RpcResponse, a, b); + } +}; +_RpcResponse.runtime = proto3; +_RpcResponse.typeName = "livekit.RpcResponse"; +_RpcResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" }, + { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" } +]); +let RpcResponse = _RpcResponse; +const _RpcError = class _RpcError extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 code = 1; + */ + this.code = 0; + /** + * @generated from field: string message = 2; + */ + this.message = ""; + /** + * @generated from field: string data = 3; + */ + this.data = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RpcError().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RpcError().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RpcError().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RpcError, a, b); + } +}; +_RpcError.runtime = proto3; +_RpcError.typeName = "livekit.RpcError"; +_RpcError.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "code", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "data", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RpcError = _RpcError; +const _ParticipantTracks = class _ParticipantTracks extends Message { + constructor(data) { + super(); + /** + * participant ID of participant to whom the tracks belong + * + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: repeated string track_sids = 2; + */ + this.trackSids = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantTracks().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantTracks().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantTracks().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ParticipantTracks, a, b); + } +}; +_ParticipantTracks.runtime = proto3; +_ParticipantTracks.typeName = "livekit.ParticipantTracks"; +_ParticipantTracks.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "track_sids", kind: "scalar", T: 9, repeated: true } +]); +let ParticipantTracks = _ParticipantTracks; +const _ServerInfo = class _ServerInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ServerInfo.Edition edition = 1; + */ + this.edition = 0 /* Standard */; + /** + * @generated from field: string version = 2; + */ + this.version = ""; + /** + * @generated from field: int32 protocol = 3; + */ + this.protocol = 0; + /** + * @generated from field: string region = 4; + */ + this.region = ""; + /** + * @generated from field: string node_id = 5; + */ + this.nodeId = ""; + /** + * additional debugging information. sent only if server is in development mode + * + * @generated from field: string debug_info = 6; + */ + this.debugInfo = ""; + /** + * @generated from field: int32 agent_protocol = 7; + */ + this.agentProtocol = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ServerInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ServerInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ServerInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ServerInfo, a, b); + } +}; +_ServerInfo.runtime = proto3; +_ServerInfo.typeName = "livekit.ServerInfo"; +_ServerInfo.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "edition", kind: "enum", T: proto3.getEnumType(ServerInfo_Edition) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "debug_info", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "agent_protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let ServerInfo = _ServerInfo; +var ServerInfo_Edition = /* @__PURE__ */ ((ServerInfo_Edition2) => { + ServerInfo_Edition2[ServerInfo_Edition2["Standard"] = 0] = "Standard"; + ServerInfo_Edition2[ServerInfo_Edition2["Cloud"] = 1] = "Cloud"; + return ServerInfo_Edition2; +})(ServerInfo_Edition || {}); +proto3.util.setEnumType(ServerInfo_Edition, "livekit.ServerInfo.Edition", [ + { no: 0, name: "Standard" }, + { no: 1, name: "Cloud" } +]); +const _ClientInfo = class _ClientInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientInfo.SDK sdk = 1; + */ + this.sdk = 0 /* UNKNOWN */; + /** + * @generated from field: string version = 2; + */ + this.version = ""; + /** + * @generated from field: int32 protocol = 3; + */ + this.protocol = 0; + /** + * @generated from field: string os = 4; + */ + this.os = ""; + /** + * @generated from field: string os_version = 5; + */ + this.osVersion = ""; + /** + * @generated from field: string device_model = 6; + */ + this.deviceModel = ""; + /** + * @generated from field: string browser = 7; + */ + this.browser = ""; + /** + * @generated from field: string browser_version = 8; + */ + this.browserVersion = ""; + /** + * @generated from field: string address = 9; + */ + this.address = ""; + /** + * wifi, wired, cellular, vpn, empty if not known + * + * @generated from field: string network = 10; + */ + this.network = ""; + /** + * comma separated list of additional LiveKit SDKs in use of this client, with versions + * e.g. "components-js:1.2.3,track-processors-js:1.2.3" + * + * @generated from field: string other_sdks = 11; + */ + this.otherSdks = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ClientInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ClientInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ClientInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ClientInfo, a, b); + } +}; +_ClientInfo.runtime = proto3; +_ClientInfo.typeName = "livekit.ClientInfo"; +_ClientInfo.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "sdk", kind: "enum", T: proto3.getEnumType(ClientInfo_SDK) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "protocol", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 4, + name: "os", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "os_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "device_model", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "browser", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "browser_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "network", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "other_sdks", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ClientInfo = _ClientInfo; +var ClientInfo_SDK = /* @__PURE__ */ ((ClientInfo_SDK2) => { + ClientInfo_SDK2[ClientInfo_SDK2["UNKNOWN"] = 0] = "UNKNOWN"; + ClientInfo_SDK2[ClientInfo_SDK2["JS"] = 1] = "JS"; + ClientInfo_SDK2[ClientInfo_SDK2["SWIFT"] = 2] = "SWIFT"; + ClientInfo_SDK2[ClientInfo_SDK2["ANDROID"] = 3] = "ANDROID"; + ClientInfo_SDK2[ClientInfo_SDK2["FLUTTER"] = 4] = "FLUTTER"; + ClientInfo_SDK2[ClientInfo_SDK2["GO"] = 5] = "GO"; + ClientInfo_SDK2[ClientInfo_SDK2["UNITY"] = 6] = "UNITY"; + ClientInfo_SDK2[ClientInfo_SDK2["REACT_NATIVE"] = 7] = "REACT_NATIVE"; + ClientInfo_SDK2[ClientInfo_SDK2["RUST"] = 8] = "RUST"; + ClientInfo_SDK2[ClientInfo_SDK2["PYTHON"] = 9] = "PYTHON"; + ClientInfo_SDK2[ClientInfo_SDK2["CPP"] = 10] = "CPP"; + ClientInfo_SDK2[ClientInfo_SDK2["UNITY_WEB"] = 11] = "UNITY_WEB"; + ClientInfo_SDK2[ClientInfo_SDK2["NODE"] = 12] = "NODE"; + return ClientInfo_SDK2; +})(ClientInfo_SDK || {}); +proto3.util.setEnumType(ClientInfo_SDK, "livekit.ClientInfo.SDK", [ + { no: 0, name: "UNKNOWN" }, + { no: 1, name: "JS" }, + { no: 2, name: "SWIFT" }, + { no: 3, name: "ANDROID" }, + { no: 4, name: "FLUTTER" }, + { no: 5, name: "GO" }, + { no: 6, name: "UNITY" }, + { no: 7, name: "REACT_NATIVE" }, + { no: 8, name: "RUST" }, + { no: 9, name: "PYTHON" }, + { no: 10, name: "CPP" }, + { no: 11, name: "UNITY_WEB" }, + { no: 12, name: "NODE" } +]); +const _ClientConfiguration = class _ClientConfiguration extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientConfigSetting resume_connection = 3; + */ + this.resumeConnection = 0 /* UNSET */; + /** + * @generated from field: livekit.ClientConfigSetting force_relay = 5; + */ + this.forceRelay = 0 /* UNSET */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ClientConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ClientConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ClientConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ClientConfiguration, a, b); + } +}; +_ClientConfiguration.runtime = proto3; +_ClientConfiguration.typeName = "livekit.ClientConfiguration"; +_ClientConfiguration.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "video", kind: "message", T: VideoConfiguration }, + { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, + { no: 3, name: "resume_connection", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, + { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, + { no: 5, name: "force_relay", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) } +]); +let ClientConfiguration = _ClientConfiguration; +const _VideoConfiguration = class _VideoConfiguration extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; + */ + this.hardwareEncoder = 0 /* UNSET */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VideoConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VideoConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VideoConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_VideoConfiguration, a, b); + } +}; +_VideoConfiguration.runtime = proto3; +_VideoConfiguration.typeName = "livekit.VideoConfiguration"; +_VideoConfiguration.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "hardware_encoder", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) } +]); +let VideoConfiguration = _VideoConfiguration; +const _DisabledCodecs = class _DisabledCodecs extends Message { + constructor(data) { + super(); + /** + * disabled for both publish and subscribe + * + * @generated from field: repeated livekit.Codec codecs = 1; + */ + this.codecs = []; + /** + * only disable for publish + * + * @generated from field: repeated livekit.Codec publish = 2; + */ + this.publish = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DisabledCodecs().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DisabledCodecs().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DisabledCodecs().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DisabledCodecs, a, b); + } +}; +_DisabledCodecs.runtime = proto3; +_DisabledCodecs.typeName = "livekit.DisabledCodecs"; +_DisabledCodecs.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, + { no: 2, name: "publish", kind: "message", T: Codec, repeated: true } +]); +let DisabledCodecs = _DisabledCodecs; +const _RTPDrift = class _RTPDrift extends Message { + constructor(data) { + super(); + /** + * @generated from field: double duration = 3; + */ + this.duration = 0; + /** + * @generated from field: uint64 start_timestamp = 4; + */ + this.startTimestamp = protoInt64.zero; + /** + * @generated from field: uint64 end_timestamp = 5; + */ + this.endTimestamp = protoInt64.zero; + /** + * @generated from field: uint64 rtp_clock_ticks = 6; + */ + this.rtpClockTicks = protoInt64.zero; + /** + * @generated from field: int64 drift_samples = 7; + */ + this.driftSamples = protoInt64.zero; + /** + * @generated from field: double drift_ms = 8; + */ + this.driftMs = 0; + /** + * @generated from field: double clock_rate = 9; + */ + this.clockRate = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPDrift().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPDrift().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPDrift().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RTPDrift, a, b); + } +}; +_RTPDrift.runtime = proto3; +_RTPDrift.typeName = "livekit.RTPDrift"; +_RTPDrift.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "start_time", kind: "message", T: Timestamp }, + { no: 2, name: "end_time", kind: "message", T: Timestamp }, + { + no: 3, + name: "duration", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 4, + name: "start_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "end_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 6, + name: "rtp_clock_ticks", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 7, + name: "drift_samples", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 8, + name: "drift_ms", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 9, + name: "clock_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + } +]); +let RTPDrift = _RTPDrift; +const _RTPStats = class _RTPStats extends Message { + constructor(data) { + super(); + /** + * @generated from field: double duration = 3; + */ + this.duration = 0; + /** + * @generated from field: uint32 packets = 4; + */ + this.packets = 0; + /** + * @generated from field: double packet_rate = 5; + */ + this.packetRate = 0; + /** + * @generated from field: uint64 bytes = 6; + */ + this.bytes = protoInt64.zero; + /** + * @generated from field: uint64 header_bytes = 39; + */ + this.headerBytes = protoInt64.zero; + /** + * @generated from field: double bitrate = 7; + */ + this.bitrate = 0; + /** + * @generated from field: uint32 packets_lost = 8; + */ + this.packetsLost = 0; + /** + * @generated from field: double packet_loss_rate = 9; + */ + this.packetLossRate = 0; + /** + * @generated from field: float packet_loss_percentage = 10; + */ + this.packetLossPercentage = 0; + /** + * @generated from field: uint32 packets_duplicate = 11; + */ + this.packetsDuplicate = 0; + /** + * @generated from field: double packet_duplicate_rate = 12; + */ + this.packetDuplicateRate = 0; + /** + * @generated from field: uint64 bytes_duplicate = 13; + */ + this.bytesDuplicate = protoInt64.zero; + /** + * @generated from field: uint64 header_bytes_duplicate = 40; + */ + this.headerBytesDuplicate = protoInt64.zero; + /** + * @generated from field: double bitrate_duplicate = 14; + */ + this.bitrateDuplicate = 0; + /** + * @generated from field: uint32 packets_padding = 15; + */ + this.packetsPadding = 0; + /** + * @generated from field: double packet_padding_rate = 16; + */ + this.packetPaddingRate = 0; + /** + * @generated from field: uint64 bytes_padding = 17; + */ + this.bytesPadding = protoInt64.zero; + /** + * @generated from field: uint64 header_bytes_padding = 41; + */ + this.headerBytesPadding = protoInt64.zero; + /** + * @generated from field: double bitrate_padding = 18; + */ + this.bitratePadding = 0; + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + this.packetsOutOfOrder = 0; + /** + * @generated from field: uint32 frames = 20; + */ + this.frames = 0; + /** + * @generated from field: double frame_rate = 21; + */ + this.frameRate = 0; + /** + * @generated from field: double jitter_current = 22; + */ + this.jitterCurrent = 0; + /** + * @generated from field: double jitter_max = 23; + */ + this.jitterMax = 0; + /** + * @generated from field: map gap_histogram = 24; + */ + this.gapHistogram = {}; + /** + * @generated from field: uint32 nacks = 25; + */ + this.nacks = 0; + /** + * @generated from field: uint32 nack_acks = 37; + */ + this.nackAcks = 0; + /** + * @generated from field: uint32 nack_misses = 26; + */ + this.nackMisses = 0; + /** + * @generated from field: uint32 nack_repeated = 38; + */ + this.nackRepeated = 0; + /** + * @generated from field: uint32 plis = 27; + */ + this.plis = 0; + /** + * @generated from field: uint32 firs = 29; + */ + this.firs = 0; + /** + * @generated from field: uint32 rtt_current = 31; + */ + this.rttCurrent = 0; + /** + * @generated from field: uint32 rtt_max = 32; + */ + this.rttMax = 0; + /** + * @generated from field: uint32 key_frames = 33; + */ + this.keyFrames = 0; + /** + * @generated from field: uint32 layer_lock_plis = 35; + */ + this.layerLockPlis = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPStats().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPStats().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPStats().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RTPStats, a, b); + } +}; +_RTPStats.runtime = proto3; +_RTPStats.typeName = "livekit.RTPStats"; +_RTPStats.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "start_time", kind: "message", T: Timestamp }, + { no: 2, name: "end_time", kind: "message", T: Timestamp }, + { + no: 3, + name: "duration", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 4, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "packet_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 6, + name: "bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 39, + name: "header_bytes", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 7, + name: "bitrate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 8, + name: "packets_lost", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "packet_loss_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 10, + name: "packet_loss_percentage", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + }, + { + no: 11, + name: "packets_duplicate", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 12, + name: "packet_duplicate_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 13, + name: "bytes_duplicate", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 40, + name: "header_bytes_duplicate", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 14, + name: "bitrate_duplicate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 15, + name: "packets_padding", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 16, + name: "packet_padding_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 17, + name: "bytes_padding", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 41, + name: "header_bytes_padding", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 18, + name: "bitrate_padding", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 19, + name: "packets_out_of_order", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 20, + name: "frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 21, + name: "frame_rate", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 22, + name: "jitter_current", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { + no: 23, + name: "jitter_max", + kind: "scalar", + T: 1 + /* ScalarType.DOUBLE */ + }, + { no: 24, name: "gap_histogram", kind: "map", K: 5, V: { + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } }, + { + no: 25, + name: "nacks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 37, + name: "nack_acks", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 26, + name: "nack_misses", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 38, + name: "nack_repeated", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 27, + name: "plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 28, name: "last_pli", kind: "message", T: Timestamp }, + { + no: 29, + name: "firs", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 30, name: "last_fir", kind: "message", T: Timestamp }, + { + no: 31, + name: "rtt_current", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 32, + name: "rtt_max", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 33, + name: "key_frames", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 34, name: "last_key_frame", kind: "message", T: Timestamp }, + { + no: 35, + name: "layer_lock_plis", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp }, + { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, + { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, + { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, + { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift } +]); +let RTPStats = _RTPStats; +const _RTCPSenderReportState = class _RTCPSenderReportState extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 rtp_timestamp = 1; + */ + this.rtpTimestamp = 0; + /** + * @generated from field: uint64 rtp_timestamp_ext = 2; + */ + this.rtpTimestampExt = protoInt64.zero; + /** + * @generated from field: uint64 ntp_timestamp = 3; + */ + this.ntpTimestamp = protoInt64.zero; + /** + * time at which this happened + * + * @generated from field: int64 at = 4; + */ + this.at = protoInt64.zero; + /** + * @generated from field: int64 at_adjusted = 5; + */ + this.atAdjusted = protoInt64.zero; + /** + * @generated from field: uint32 packets = 6; + */ + this.packets = 0; + /** + * @generated from field: uint64 octets = 7; + */ + this.octets = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTCPSenderReportState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTCPSenderReportState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTCPSenderReportState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RTCPSenderReportState, a, b); + } +}; +_RTCPSenderReportState.runtime = proto3; +_RTCPSenderReportState.typeName = "livekit.RTCPSenderReportState"; +_RTCPSenderReportState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "rtp_timestamp", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 2, + name: "rtp_timestamp_ext", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "ntp_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 5, + name: "at_adjusted", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 6, + name: "packets", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "octets", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + } +]); +let RTCPSenderReportState = _RTCPSenderReportState; +const _RTPForwarderState = class _RTPForwarderState extends Message { + constructor(data) { + super(); + /** + * @generated from field: bool started = 1; + */ + this.started = false; + /** + * @generated from field: int32 reference_layer_spatial = 2; + */ + this.referenceLayerSpatial = 0; + /** + * @generated from field: int64 pre_start_time = 3; + */ + this.preStartTime = protoInt64.zero; + /** + * @generated from field: uint64 ext_first_timestamp = 4; + */ + this.extFirstTimestamp = protoInt64.zero; + /** + * @generated from field: uint64 dummy_start_timestamp_offset = 5; + */ + this.dummyStartTimestampOffset = protoInt64.zero; + /** + * @generated from oneof livekit.RTPForwarderState.codec_munger + */ + this.codecMunger = { case: void 0 }; + /** + * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; + */ + this.senderReportState = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPForwarderState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPForwarderState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPForwarderState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RTPForwarderState, a, b); + } +}; +_RTPForwarderState.runtime = proto3; +_RTPForwarderState.typeName = "livekit.RTPForwarderState"; +_RTPForwarderState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "started", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 2, + name: "reference_layer_spatial", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "pre_start_time", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 4, + name: "ext_first_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "dummy_start_timestamp_offset", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, + { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, + { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true } +]); +let RTPForwarderState = _RTPForwarderState; +const _RTPMungerState = class _RTPMungerState extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint64 ext_last_sequence_number = 1; + */ + this.extLastSequenceNumber = protoInt64.zero; + /** + * @generated from field: uint64 ext_second_last_sequence_number = 2; + */ + this.extSecondLastSequenceNumber = protoInt64.zero; + /** + * @generated from field: uint64 ext_last_timestamp = 3; + */ + this.extLastTimestamp = protoInt64.zero; + /** + * @generated from field: uint64 ext_second_last_timestamp = 4; + */ + this.extSecondLastTimestamp = protoInt64.zero; + /** + * @generated from field: bool last_marker = 5; + */ + this.lastMarker = false; + /** + * @generated from field: bool second_last_marker = 6; + */ + this.secondLastMarker = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RTPMungerState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RTPMungerState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RTPMungerState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RTPMungerState, a, b); + } +}; +_RTPMungerState.runtime = proto3; +_RTPMungerState.typeName = "livekit.RTPMungerState"; +_RTPMungerState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ext_last_sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 2, + name: "ext_second_last_sequence_number", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "ext_last_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 4, + name: "ext_second_last_timestamp", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 5, + name: "last_marker", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "second_last_marker", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let RTPMungerState = _RTPMungerState; +const _VP8MungerState = class _VP8MungerState extends Message { + constructor(data) { + super(); + /** + * @generated from field: int32 ext_last_picture_id = 1; + */ + this.extLastPictureId = 0; + /** + * @generated from field: bool picture_id_used = 2; + */ + this.pictureIdUsed = false; + /** + * @generated from field: uint32 last_tl0_pic_idx = 3; + */ + this.lastTl0PicIdx = 0; + /** + * @generated from field: bool tl0_pic_idx_used = 4; + */ + this.tl0PicIdxUsed = false; + /** + * @generated from field: bool tid_used = 5; + */ + this.tidUsed = false; + /** + * @generated from field: uint32 last_key_idx = 6; + */ + this.lastKeyIdx = 0; + /** + * @generated from field: bool key_idx_used = 7; + */ + this.keyIdxUsed = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _VP8MungerState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _VP8MungerState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _VP8MungerState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_VP8MungerState, a, b); + } +}; +_VP8MungerState.runtime = proto3; +_VP8MungerState.typeName = "livekit.VP8MungerState"; +_VP8MungerState.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "ext_last_picture_id", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 2, + name: "picture_id_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 3, + name: "last_tl0_pic_idx", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "tl0_pic_idx_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "tid_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 6, + name: "last_key_idx", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "key_idx_used", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let VP8MungerState = _VP8MungerState; +const _TimedVersion = class _TimedVersion extends Message { + constructor(data) { + super(); + /** + * @generated from field: int64 unix_micro = 1; + */ + this.unixMicro = protoInt64.zero; + /** + * @generated from field: int32 ticks = 2; + */ + this.ticks = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TimedVersion().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TimedVersion().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TimedVersion().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TimedVersion, a, b); + } +}; +_TimedVersion.runtime = proto3; +_TimedVersion.typeName = "livekit.TimedVersion"; +_TimedVersion.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "unix_micro", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "ticks", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let TimedVersion = _TimedVersion; +const _DataStream = class _DataStream extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataStream, a, b); + } +}; +_DataStream.runtime = proto3; +_DataStream.typeName = "livekit.DataStream"; +_DataStream.fields = proto3.util.newFieldList(() => []); +let DataStream = _DataStream; +var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => { + DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE"; + DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE"; + DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE"; + DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION"; + return DataStream_OperationType2; +})(DataStream_OperationType || {}); +proto3.util.setEnumType(DataStream_OperationType, "livekit.DataStream.OperationType", [ + { no: 0, name: "CREATE" }, + { no: 1, name: "UPDATE" }, + { no: 2, name: "DELETE" }, + { no: 3, name: "REACTION" } +]); +const _DataStream_TextHeader = class _DataStream_TextHeader extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.DataStream.OperationType operation_type = 1; + */ + this.operationType = 0 /* CREATE */; + /** + * Optional: Version for updates/edits + * + * @generated from field: int32 version = 2; + */ + this.version = 0; + /** + * Optional: Reply to specific message + * + * @generated from field: string reply_to_stream_id = 3; + */ + this.replyToStreamId = ""; + /** + * file attachments for text streams + * + * @generated from field: repeated string attached_stream_ids = 4; + */ + this.attachedStreamIds = []; + /** + * true if the text has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 5; + */ + this.generated = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_TextHeader().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_TextHeader().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_TextHeader().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataStream_TextHeader, a, b); + } +}; +_DataStream_TextHeader.runtime = proto3; +_DataStream_TextHeader.typeName = "livekit.DataStream.TextHeader"; +_DataStream_TextHeader.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "operation_type", kind: "enum", T: proto3.getEnumType(DataStream_OperationType) }, + { + no: 2, + name: "version", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 3, + name: "reply_to_stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "generated", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let DataStream_TextHeader = _DataStream_TextHeader; +const _DataStream_FileHeader = class _DataStream_FileHeader extends Message { + constructor(data) { + super(); + /** + * name of the file + * + * @generated from field: string file_name = 1; + */ + this.fileName = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_FileHeader().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_FileHeader().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_FileHeader().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataStream_FileHeader, a, b); + } +}; +_DataStream_FileHeader.runtime = proto3; +_DataStream_FileHeader.typeName = "livekit.DataStream.FileHeader"; +_DataStream_FileHeader.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "file_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DataStream_FileHeader = _DataStream_FileHeader; +const _DataStream_Header = class _DataStream_Header extends Message { + constructor(data) { + super(); + /** + * unique identifier for this data stream + * + * @generated from field: string stream_id = 1; + */ + this.streamId = ""; + /** + * using int64 for Unix timestamp + * + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = protoInt64.zero; + /** + * @generated from field: string topic = 3; + */ + this.topic = ""; + /** + * @generated from field: string mime_type = 4; + */ + this.mimeType = ""; + /** + * defaults to NONE + * + * @generated from field: livekit.Encryption.Type encryption_type = 7; + */ + this.encryptionType = 0 /* NONE */; + /** + * user defined extensions map that can carry additional info + * + * @generated from field: map extensions = 8; + */ + this.extensions = {}; + /** + * oneof to choose between specific header types + * + * @generated from oneof livekit.DataStream.Header.content_header + */ + this.contentHeader = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_Header().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_Header().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_Header().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataStream_Header, a, b); + } +}; +_DataStream_Header.runtime = proto3; +_DataStream_Header.typeName = "livekit.DataStream.Header"; +_DataStream_Header.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 3, + name: "topic", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "mime_type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "total_length", kind: "scalar", T: 4, opt: true }, + { no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true }, + { no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { no: 8, name: "extensions", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, + { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" } +]); +let DataStream_Header = _DataStream_Header; +const _DataStream_Chunk = class _DataStream_Chunk extends Message { + constructor(data) { + super(); + /** + * unique identifier for this data stream to map it to the correct header + * + * @generated from field: string stream_id = 1; + */ + this.streamId = ""; + /** + * @generated from field: uint64 chunk_index = 2; + */ + this.chunkIndex = protoInt64.zero; + /** + * content as binary (bytes) + * + * @generated from field: bytes content = 3; + */ + this.content = new Uint8Array(0); + /** + * true only if this is the last chunk of this stream - can also be sent with empty content + * + * @generated from field: bool complete = 4; + */ + this.complete = false; + /** + * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + * + * @generated from field: int32 version = 5; + */ + this.version = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataStream_Chunk().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataStream_Chunk().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataStream_Chunk().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataStream_Chunk, a, b); + } +}; +_DataStream_Chunk.runtime = proto3; +_DataStream_Chunk.typeName = "livekit.DataStream.Chunk"; +_DataStream_Chunk.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "stream_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "chunk_index", + kind: "scalar", + T: 4 + /* ScalarType.UINT64 */ + }, + { + no: 3, + name: "content", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { + no: 4, + name: "complete", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 5, + name: "version", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 6, name: "iv", kind: "scalar", T: 12, opt: true } +]); +let DataStream_Chunk = _DataStream_Chunk; +export { + ActiveSpeakerUpdate, + AudioCodec, + AudioTrackFeature, + ChatMessage, + ClientConfigSetting, + ClientConfiguration, + ClientInfo, + ClientInfo_SDK, + Codec, + ConnectionQuality, + DataPacket, + DataPacket_Kind, + DataStream, + DataStream_Chunk, + DataStream_FileHeader, + DataStream_Header, + DataStream_OperationType, + DataStream_TextHeader, + DisabledCodecs, + DisconnectReason, + Encryption, + Encryption_Type, + ImageCodec, + ParticipantInfo, + ParticipantInfo_Kind, + ParticipantInfo_State, + ParticipantPermission, + ParticipantTracks, + PlayoutDelay, + RTCPSenderReportState, + RTPDrift, + RTPForwarderState, + RTPMungerState, + RTPStats, + ReconnectReason, + Room, + RpcAck, + RpcError, + RpcRequest, + RpcResponse, + ServerInfo, + ServerInfo_Edition, + SimulcastCodecInfo, + SipDTMF, + SpeakerInfo, + SubscriptionError, + TimedVersion, + TrackInfo, + TrackSource, + TrackType, + Transcription, + TranscriptionSegment, + UserPacket, + VP8MungerState, + VideoCodec, + VideoConfiguration, + VideoLayer, + VideoQuality +}; +//# sourceMappingURL=livekit_models_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.js.map b/packages/javascript/dist/gen/livekit_models_pb.js.map new file mode 100644 index 00000000..51933aa6 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_models_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_models_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_models.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { MetricsBatch } from \"./livekit_metrics_pb.js\";\n\n/**\n * @generated from enum livekit.AudioCodec\n */\nexport enum AudioCodec {\n /**\n * @generated from enum value: DEFAULT_AC = 0;\n */\n DEFAULT_AC = 0,\n\n /**\n * @generated from enum value: OPUS = 1;\n */\n OPUS = 1,\n\n /**\n * @generated from enum value: AAC = 2;\n */\n AAC = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)\nproto3.util.setEnumType(AudioCodec, \"livekit.AudioCodec\", [\n { no: 0, name: \"DEFAULT_AC\" },\n { no: 1, name: \"OPUS\" },\n { no: 2, name: \"AAC\" },\n]);\n\n/**\n * @generated from enum livekit.VideoCodec\n */\nexport enum VideoCodec {\n /**\n * @generated from enum value: DEFAULT_VC = 0;\n */\n DEFAULT_VC = 0,\n\n /**\n * @generated from enum value: H264_BASELINE = 1;\n */\n H264_BASELINE = 1,\n\n /**\n * @generated from enum value: H264_MAIN = 2;\n */\n H264_MAIN = 2,\n\n /**\n * @generated from enum value: H264_HIGH = 3;\n */\n H264_HIGH = 3,\n\n /**\n * @generated from enum value: VP8 = 4;\n */\n VP8 = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)\nproto3.util.setEnumType(VideoCodec, \"livekit.VideoCodec\", [\n { no: 0, name: \"DEFAULT_VC\" },\n { no: 1, name: \"H264_BASELINE\" },\n { no: 2, name: \"H264_MAIN\" },\n { no: 3, name: \"H264_HIGH\" },\n { no: 4, name: \"VP8\" },\n]);\n\n/**\n * @generated from enum livekit.ImageCodec\n */\nexport enum ImageCodec {\n /**\n * @generated from enum value: IC_DEFAULT = 0;\n */\n IC_DEFAULT = 0,\n\n /**\n * @generated from enum value: IC_JPEG = 1;\n */\n IC_JPEG = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageCodec)\nproto3.util.setEnumType(ImageCodec, \"livekit.ImageCodec\", [\n { no: 0, name: \"IC_DEFAULT\" },\n { no: 1, name: \"IC_JPEG\" },\n]);\n\n/**\n * @generated from enum livekit.TrackType\n */\nexport enum TrackType {\n /**\n * @generated from enum value: AUDIO = 0;\n */\n AUDIO = 0,\n\n /**\n * @generated from enum value: VIDEO = 1;\n */\n VIDEO = 1,\n\n /**\n * @generated from enum value: DATA = 2;\n */\n DATA = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackType)\nproto3.util.setEnumType(TrackType, \"livekit.TrackType\", [\n { no: 0, name: \"AUDIO\" },\n { no: 1, name: \"VIDEO\" },\n { no: 2, name: \"DATA\" },\n]);\n\n/**\n * @generated from enum livekit.TrackSource\n */\nexport enum TrackSource {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: CAMERA = 1;\n */\n CAMERA = 1,\n\n /**\n * @generated from enum value: MICROPHONE = 2;\n */\n MICROPHONE = 2,\n\n /**\n * @generated from enum value: SCREEN_SHARE = 3;\n */\n SCREEN_SHARE = 3,\n\n /**\n * @generated from enum value: SCREEN_SHARE_AUDIO = 4;\n */\n SCREEN_SHARE_AUDIO = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackSource)\nproto3.util.setEnumType(TrackSource, \"livekit.TrackSource\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"CAMERA\" },\n { no: 2, name: \"MICROPHONE\" },\n { no: 3, name: \"SCREEN_SHARE\" },\n { no: 4, name: \"SCREEN_SHARE_AUDIO\" },\n]);\n\n/**\n * @generated from enum livekit.VideoQuality\n */\nexport enum VideoQuality {\n /**\n * @generated from enum value: LOW = 0;\n */\n LOW = 0,\n\n /**\n * @generated from enum value: MEDIUM = 1;\n */\n MEDIUM = 1,\n\n /**\n * @generated from enum value: HIGH = 2;\n */\n HIGH = 2,\n\n /**\n * @generated from enum value: OFF = 3;\n */\n OFF = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoQuality)\nproto3.util.setEnumType(VideoQuality, \"livekit.VideoQuality\", [\n { no: 0, name: \"LOW\" },\n { no: 1, name: \"MEDIUM\" },\n { no: 2, name: \"HIGH\" },\n { no: 3, name: \"OFF\" },\n]);\n\n/**\n * @generated from enum livekit.ConnectionQuality\n */\nexport enum ConnectionQuality {\n /**\n * @generated from enum value: POOR = 0;\n */\n POOR = 0,\n\n /**\n * @generated from enum value: GOOD = 1;\n */\n GOOD = 1,\n\n /**\n * @generated from enum value: EXCELLENT = 2;\n */\n EXCELLENT = 2,\n\n /**\n * @generated from enum value: LOST = 3;\n */\n LOST = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ConnectionQuality)\nproto3.util.setEnumType(ConnectionQuality, \"livekit.ConnectionQuality\", [\n { no: 0, name: \"POOR\" },\n { no: 1, name: \"GOOD\" },\n { no: 2, name: \"EXCELLENT\" },\n { no: 3, name: \"LOST\" },\n]);\n\n/**\n * @generated from enum livekit.ClientConfigSetting\n */\nexport enum ClientConfigSetting {\n /**\n * @generated from enum value: UNSET = 0;\n */\n UNSET = 0,\n\n /**\n * @generated from enum value: DISABLED = 1;\n */\n DISABLED = 1,\n\n /**\n * @generated from enum value: ENABLED = 2;\n */\n ENABLED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientConfigSetting)\nproto3.util.setEnumType(ClientConfigSetting, \"livekit.ClientConfigSetting\", [\n { no: 0, name: \"UNSET\" },\n { no: 1, name: \"DISABLED\" },\n { no: 2, name: \"ENABLED\" },\n]);\n\n/**\n * @generated from enum livekit.DisconnectReason\n */\nexport enum DisconnectReason {\n /**\n * @generated from enum value: UNKNOWN_REASON = 0;\n */\n UNKNOWN_REASON = 0,\n\n /**\n * the client initiated the disconnect\n *\n * @generated from enum value: CLIENT_INITIATED = 1;\n */\n CLIENT_INITIATED = 1,\n\n /**\n * another participant with the same identity has joined the room\n *\n * @generated from enum value: DUPLICATE_IDENTITY = 2;\n */\n DUPLICATE_IDENTITY = 2,\n\n /**\n * the server instance is shutting down\n *\n * @generated from enum value: SERVER_SHUTDOWN = 3;\n */\n SERVER_SHUTDOWN = 3,\n\n /**\n * RoomService.RemoveParticipant was called\n *\n * @generated from enum value: PARTICIPANT_REMOVED = 4;\n */\n PARTICIPANT_REMOVED = 4,\n\n /**\n * RoomService.DeleteRoom was called\n *\n * @generated from enum value: ROOM_DELETED = 5;\n */\n ROOM_DELETED = 5,\n\n /**\n * the client is attempting to resume a session, but server is not aware of it\n *\n * @generated from enum value: STATE_MISMATCH = 6;\n */\n STATE_MISMATCH = 6,\n\n /**\n * client was unable to connect fully\n *\n * @generated from enum value: JOIN_FAILURE = 7;\n */\n JOIN_FAILURE = 7,\n\n /**\n * Cloud-only, the server requested Participant to migrate the connection elsewhere\n *\n * @generated from enum value: MIGRATION = 8;\n */\n MIGRATION = 8,\n\n /**\n * the signal websocket was closed unexpectedly\n *\n * @generated from enum value: SIGNAL_CLOSE = 9;\n */\n SIGNAL_CLOSE = 9,\n\n /**\n * the room was closed, due to all Standard and Ingress participants having left\n *\n * @generated from enum value: ROOM_CLOSED = 10;\n */\n ROOM_CLOSED = 10,\n\n /**\n * SIP callee did not respond in time\n *\n * @generated from enum value: USER_UNAVAILABLE = 11;\n */\n USER_UNAVAILABLE = 11,\n\n /**\n * SIP callee rejected the call (busy)\n *\n * @generated from enum value: USER_REJECTED = 12;\n */\n USER_REJECTED = 12,\n\n /**\n * SIP protocol failure or unexpected response\n *\n * @generated from enum value: SIP_TRUNK_FAILURE = 13;\n */\n SIP_TRUNK_FAILURE = 13,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DisconnectReason)\nproto3.util.setEnumType(DisconnectReason, \"livekit.DisconnectReason\", [\n { no: 0, name: \"UNKNOWN_REASON\" },\n { no: 1, name: \"CLIENT_INITIATED\" },\n { no: 2, name: \"DUPLICATE_IDENTITY\" },\n { no: 3, name: \"SERVER_SHUTDOWN\" },\n { no: 4, name: \"PARTICIPANT_REMOVED\" },\n { no: 5, name: \"ROOM_DELETED\" },\n { no: 6, name: \"STATE_MISMATCH\" },\n { no: 7, name: \"JOIN_FAILURE\" },\n { no: 8, name: \"MIGRATION\" },\n { no: 9, name: \"SIGNAL_CLOSE\" },\n { no: 10, name: \"ROOM_CLOSED\" },\n { no: 11, name: \"USER_UNAVAILABLE\" },\n { no: 12, name: \"USER_REJECTED\" },\n { no: 13, name: \"SIP_TRUNK_FAILURE\" },\n]);\n\n/**\n * @generated from enum livekit.ReconnectReason\n */\nexport enum ReconnectReason {\n /**\n * @generated from enum value: RR_UNKNOWN = 0;\n */\n RR_UNKNOWN = 0,\n\n /**\n * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;\n */\n RR_SIGNAL_DISCONNECTED = 1,\n\n /**\n * @generated from enum value: RR_PUBLISHER_FAILED = 2;\n */\n RR_PUBLISHER_FAILED = 2,\n\n /**\n * @generated from enum value: RR_SUBSCRIBER_FAILED = 3;\n */\n RR_SUBSCRIBER_FAILED = 3,\n\n /**\n * @generated from enum value: RR_SWITCH_CANDIDATE = 4;\n */\n RR_SWITCH_CANDIDATE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ReconnectReason)\nproto3.util.setEnumType(ReconnectReason, \"livekit.ReconnectReason\", [\n { no: 0, name: \"RR_UNKNOWN\" },\n { no: 1, name: \"RR_SIGNAL_DISCONNECTED\" },\n { no: 2, name: \"RR_PUBLISHER_FAILED\" },\n { no: 3, name: \"RR_SUBSCRIBER_FAILED\" },\n { no: 4, name: \"RR_SWITCH_CANDIDATE\" },\n]);\n\n/**\n * @generated from enum livekit.SubscriptionError\n */\nexport enum SubscriptionError {\n /**\n * @generated from enum value: SE_UNKNOWN = 0;\n */\n SE_UNKNOWN = 0,\n\n /**\n * @generated from enum value: SE_CODEC_UNSUPPORTED = 1;\n */\n SE_CODEC_UNSUPPORTED = 1,\n\n /**\n * @generated from enum value: SE_TRACK_NOTFOUND = 2;\n */\n SE_TRACK_NOTFOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SubscriptionError)\nproto3.util.setEnumType(SubscriptionError, \"livekit.SubscriptionError\", [\n { no: 0, name: \"SE_UNKNOWN\" },\n { no: 1, name: \"SE_CODEC_UNSUPPORTED\" },\n { no: 2, name: \"SE_TRACK_NOTFOUND\" },\n]);\n\n/**\n * @generated from enum livekit.AudioTrackFeature\n */\nexport enum AudioTrackFeature {\n /**\n * @generated from enum value: TF_STEREO = 0;\n */\n TF_STEREO = 0,\n\n /**\n * @generated from enum value: TF_NO_DTX = 1;\n */\n TF_NO_DTX = 1,\n\n /**\n * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;\n */\n TF_AUTO_GAIN_CONTROL = 2,\n\n /**\n * @generated from enum value: TF_ECHO_CANCELLATION = 3;\n */\n TF_ECHO_CANCELLATION = 3,\n\n /**\n * @generated from enum value: TF_NOISE_SUPPRESSION = 4;\n */\n TF_NOISE_SUPPRESSION = 4,\n\n /**\n * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;\n */\n TF_ENHANCED_NOISE_CANCELLATION = 5,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioTrackFeature)\nproto3.util.setEnumType(AudioTrackFeature, \"livekit.AudioTrackFeature\", [\n { no: 0, name: \"TF_STEREO\" },\n { no: 1, name: \"TF_NO_DTX\" },\n { no: 2, name: \"TF_AUTO_GAIN_CONTROL\" },\n { no: 3, name: \"TF_ECHO_CANCELLATION\" },\n { no: 4, name: \"TF_NOISE_SUPPRESSION\" },\n { no: 5, name: \"TF_ENHANCED_NOISE_CANCELLATION\" },\n]);\n\n/**\n * @generated from message livekit.Room\n */\nexport class Room extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 empty_timeout = 3;\n */\n emptyTimeout = 0;\n\n /**\n * @generated from field: uint32 departure_timeout = 14;\n */\n departureTimeout = 0;\n\n /**\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * @generated from field: int64 creation_time = 5;\n */\n creationTime = protoInt64.zero;\n\n /**\n * @generated from field: string turn_password = 6;\n */\n turnPassword = \"\";\n\n /**\n * @generated from field: repeated livekit.Codec enabled_codecs = 7;\n */\n enabledCodecs: Codec[] = [];\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * @generated from field: uint32 num_participants = 9;\n */\n numParticipants = 0;\n\n /**\n * @generated from field: uint32 num_publishers = 11;\n */\n numPublishers = 0;\n\n /**\n * @generated from field: bool active_recording = 10;\n */\n activeRecording = false;\n\n /**\n * @generated from field: livekit.TimedVersion version = 13;\n */\n version?: TimedVersion;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Room\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"creation_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"turn_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"enabled_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"num_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"num_publishers\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"active_recording\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"version\", kind: \"message\", T: TimedVersion },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Room {\n return new Room().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Room {\n return new Room().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Room {\n return new Room().fromJsonString(jsonString, options);\n }\n\n static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean {\n return proto3.util.equals(Room, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Codec\n */\nexport class Codec extends Message {\n /**\n * @generated from field: string mime = 1;\n */\n mime = \"\";\n\n /**\n * @generated from field: string fmtp_line = 2;\n */\n fmtpLine = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Codec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"fmtp_line\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Codec {\n return new Codec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Codec {\n return new Codec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Codec {\n return new Codec().fromJsonString(jsonString, options);\n }\n\n static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean {\n return proto3.util.equals(Codec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.PlayoutDelay\n */\nexport class PlayoutDelay extends Message {\n /**\n * @generated from field: bool enabled = 1;\n */\n enabled = false;\n\n /**\n * @generated from field: uint32 min = 2;\n */\n min = 0;\n\n /**\n * @generated from field: uint32 max = 3;\n */\n max = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.PlayoutDelay\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"min\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJsonString(jsonString, options);\n }\n\n static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean {\n return proto3.util.equals(PlayoutDelay, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantPermission\n */\nexport class ParticipantPermission extends Message {\n /**\n * allow participant to subscribe to other tracks in the room\n *\n * @generated from field: bool can_subscribe = 1;\n */\n canSubscribe = false;\n\n /**\n * allow participant to publish new tracks to room\n *\n * @generated from field: bool can_publish = 2;\n */\n canPublish = false;\n\n /**\n * allow participant to publish data\n *\n * @generated from field: bool can_publish_data = 3;\n */\n canPublishData = false;\n\n /**\n * sources that are allowed to be published\n *\n * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;\n */\n canPublishSources: TrackSource[] = [];\n\n /**\n * indicates that it's hidden to others\n *\n * @generated from field: bool hidden = 7;\n */\n hidden = false;\n\n /**\n * indicates it's a recorder instance\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool recorder = 8 [deprecated = true];\n * @deprecated\n */\n recorder = false;\n\n /**\n * indicates that participant can update own metadata and attributes\n *\n * @generated from field: bool can_update_metadata = 10;\n */\n canUpdateMetadata = false;\n\n /**\n * indicates that participant is an agent\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool agent = 11 [deprecated = true];\n * @deprecated\n */\n agent = false;\n\n /**\n * if a participant can subscribe to metrics\n *\n * @generated from field: bool can_subscribe_metrics = 12;\n */\n canSubscribeMetrics = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"can_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"can_publish_data\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"can_publish_sources\", kind: \"enum\", T: proto3.getEnumType(TrackSource), repeated: true },\n { no: 7, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"can_update_metadata\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"agent\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"can_subscribe_metrics\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantInfo\n */\nexport class ParticipantInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 3;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 4;\n */\n tracks: TrackInfo[] = [];\n\n /**\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * timestamp when participant joined room, in seconds\n *\n * @generated from field: int64 joined_at = 6;\n */\n joinedAt = protoInt64.zero;\n\n /**\n * @generated from field: string name = 9;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 version = 10;\n */\n version = 0;\n\n /**\n * @generated from field: livekit.ParticipantPermission permission = 11;\n */\n permission?: ParticipantPermission;\n\n /**\n * @generated from field: string region = 12;\n */\n region = \"\";\n\n /**\n * indicates the participant has an active publisher connection\n * and can publish to the server\n *\n * @generated from field: bool is_publisher = 13;\n */\n isPublisher = false;\n\n /**\n * @generated from field: livekit.ParticipantInfo.Kind kind = 14;\n */\n kind = ParticipantInfo_Kind.STANDARD;\n\n /**\n * @generated from field: map attributes = 15;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 16;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 4, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"joined_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 12, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"is_publisher\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_Kind) },\n { no: 15, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 16, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ParticipantInfo.State\n */\nexport enum ParticipantInfo_State {\n /**\n * websocket' connected, but not offered yet\n *\n * @generated from enum value: JOINING = 0;\n */\n JOINING = 0,\n\n /**\n * server received client offer\n *\n * @generated from enum value: JOINED = 1;\n */\n JOINED = 1,\n\n /**\n * ICE connectivity established\n *\n * @generated from enum value: ACTIVE = 2;\n */\n ACTIVE = 2,\n\n /**\n * WS disconnected\n *\n * @generated from enum value: DISCONNECTED = 3;\n */\n DISCONNECTED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_State)\nproto3.util.setEnumType(ParticipantInfo_State, \"livekit.ParticipantInfo.State\", [\n { no: 0, name: \"JOINING\" },\n { no: 1, name: \"JOINED\" },\n { no: 2, name: \"ACTIVE\" },\n { no: 3, name: \"DISCONNECTED\" },\n]);\n\n/**\n * @generated from enum livekit.ParticipantInfo.Kind\n */\nexport enum ParticipantInfo_Kind {\n /**\n * standard participants, e.g. web clients\n *\n * @generated from enum value: STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * only ingests streams\n *\n * @generated from enum value: INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * only consumes streams\n *\n * @generated from enum value: EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * SIP participants\n *\n * @generated from enum value: SIP = 3;\n */\n SIP = 3,\n\n /**\n * LiveKit agents\n *\n * @generated from enum value: AGENT = 4;\n */\n AGENT = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_Kind)\nproto3.util.setEnumType(ParticipantInfo_Kind, \"livekit.ParticipantInfo.Kind\", [\n { no: 0, name: \"STANDARD\" },\n { no: 1, name: \"INGRESS\" },\n { no: 2, name: \"EGRESS\" },\n { no: 3, name: \"SIP\" },\n { no: 4, name: \"AGENT\" },\n]);\n\n/**\n * @generated from message livekit.Encryption\n */\nexport class Encryption extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Encryption\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Encryption {\n return new Encryption().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Encryption {\n return new Encryption().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Encryption {\n return new Encryption().fromJsonString(jsonString, options);\n }\n\n static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean {\n return proto3.util.equals(Encryption, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.Encryption.Type\n */\nexport enum Encryption_Type {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: GCM = 1;\n */\n GCM = 1,\n\n /**\n * @generated from enum value: CUSTOM = 2;\n */\n CUSTOM = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(Encryption_Type)\nproto3.util.setEnumType(Encryption_Type, \"livekit.Encryption.Type\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"GCM\" },\n { no: 2, name: \"CUSTOM\" },\n]);\n\n/**\n * @generated from message livekit.SimulcastCodecInfo\n */\nexport class SimulcastCodecInfo extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 2;\n */\n mid = \"\";\n\n /**\n * @generated from field: string cid = 3;\n */\n cid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 4;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodecInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodecInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackInfo\n */\nexport class TrackInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 2;\n */\n type = TrackType.AUDIO;\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n /**\n * original width of video (unset for audio)\n * clients may receive a lower resolution version with simulcast\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * original height of video (unset for audio)\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * true if track is simulcasted\n *\n * @generated from field: bool simulcast = 7;\n */\n simulcast = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 8;\n */\n disableDtx = false;\n\n /**\n * source of media\n *\n * @generated from field: livekit.TrackSource source = 9;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 10;\n */\n layers: VideoLayer[] = [];\n\n /**\n * mime type of codec\n *\n * @generated from field: string mime_type = 11;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 12;\n */\n mid = \"\";\n\n /**\n * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;\n */\n codecs: SimulcastCodecInfo[] = [];\n\n /**\n * @generated from field: bool stereo = 14;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 15;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 16;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * @generated from field: string stream = 17;\n */\n stream = \"\";\n\n /**\n * @generated from field: livekit.TimedVersion version = 18;\n */\n version?: TimedVersion;\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;\n */\n audioFeatures: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"simulcast\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 10, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 11, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"codecs\", kind: \"message\", T: SimulcastCodecInfo, repeated: true },\n { no: 14, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 17, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 18, name: \"version\", kind: \"message\", T: TimedVersion },\n { no: 19, name: \"audio_features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo {\n return new TrackInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo {\n return new TrackInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackInfo {\n return new TrackInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackInfo, a, b);\n }\n}\n\n/**\n * provide information about available spatial layers\n *\n * @generated from message livekit.VideoLayer\n */\nexport class VideoLayer extends Message {\n /**\n * for tracks with a single layer, this should be HIGH\n *\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n /**\n * target bitrate in bit per second (bps), server will measure actual\n *\n * @generated from field: uint32 bitrate = 4;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 ssrc = 5;\n */\n ssrc = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer {\n return new VideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer {\n return new VideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoLayer {\n return new VideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoLayer, a, b);\n }\n}\n\n/**\n * new DataPacket API\n *\n * @generated from message livekit.DataPacket\n */\nexport class DataPacket extends Message {\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];\n * @deprecated\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * participant identity of user that sent the message\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 5;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from oneof livekit.DataPacket.value\n */\n value: {\n /**\n * @generated from field: livekit.UserPacket user = 2;\n */\n value: UserPacket;\n case: \"user\";\n } | {\n /**\n * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true];\n * @deprecated\n */\n value: ActiveSpeakerUpdate;\n case: \"speaker\";\n } | {\n /**\n * @generated from field: livekit.SipDTMF sip_dtmf = 6;\n */\n value: SipDTMF;\n case: \"sipDtmf\";\n } | {\n /**\n * @generated from field: livekit.Transcription transcription = 7;\n */\n value: Transcription;\n case: \"transcription\";\n } | {\n /**\n * @generated from field: livekit.MetricsBatch metrics = 8;\n */\n value: MetricsBatch;\n case: \"metrics\";\n } | {\n /**\n * @generated from field: livekit.ChatMessage chat_message = 9;\n */\n value: ChatMessage;\n case: \"chatMessage\";\n } | {\n /**\n * @generated from field: livekit.RpcRequest rpc_request = 10;\n */\n value: RpcRequest;\n case: \"rpcRequest\";\n } | {\n /**\n * @generated from field: livekit.RpcAck rpc_ack = 11;\n */\n value: RpcAck;\n case: \"rpcAck\";\n } | {\n /**\n * @generated from field: livekit.RpcResponse rpc_response = 12;\n */\n value: RpcResponse;\n case: \"rpcResponse\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Header stream_header = 13;\n */\n value: DataStream_Header;\n case: \"streamHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Chunk stream_chunk = 14;\n */\n value: DataStream_Chunk;\n case: \"streamChunk\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"user\", kind: \"message\", T: UserPacket, oneof: \"value\" },\n { no: 3, name: \"speaker\", kind: \"message\", T: ActiveSpeakerUpdate, oneof: \"value\" },\n { no: 6, name: \"sip_dtmf\", kind: \"message\", T: SipDTMF, oneof: \"value\" },\n { no: 7, name: \"transcription\", kind: \"message\", T: Transcription, oneof: \"value\" },\n { no: 8, name: \"metrics\", kind: \"message\", T: MetricsBatch, oneof: \"value\" },\n { no: 9, name: \"chat_message\", kind: \"message\", T: ChatMessage, oneof: \"value\" },\n { no: 10, name: \"rpc_request\", kind: \"message\", T: RpcRequest, oneof: \"value\" },\n { no: 11, name: \"rpc_ack\", kind: \"message\", T: RpcAck, oneof: \"value\" },\n { no: 12, name: \"rpc_response\", kind: \"message\", T: RpcResponse, oneof: \"value\" },\n { no: 13, name: \"stream_header\", kind: \"message\", T: DataStream_Header, oneof: \"value\" },\n { no: 14, name: \"stream_chunk\", kind: \"message\", T: DataStream_Chunk, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket {\n return new DataPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket {\n return new DataPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataPacket {\n return new DataPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataPacket, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.DataPacket.Kind\n */\nexport enum DataPacket_Kind {\n /**\n * @generated from enum value: RELIABLE = 0;\n */\n RELIABLE = 0,\n\n /**\n * @generated from enum value: LOSSY = 1;\n */\n LOSSY = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataPacket_Kind)\nproto3.util.setEnumType(DataPacket_Kind, \"livekit.DataPacket.Kind\", [\n { no: 0, name: \"RELIABLE\" },\n { no: 1, name: \"LOSSY\" },\n]);\n\n/**\n * @generated from message livekit.ActiveSpeakerUpdate\n */\nexport class ActiveSpeakerUpdate extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ActiveSpeakerUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ActiveSpeakerUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakerInfo\n */\nexport class SpeakerInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * audio level, 0-1.0, 1 is loudest\n *\n * @generated from field: float level = 2;\n */\n level = 0;\n\n /**\n * true if speaker is currently active\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"level\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakerInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UserPacket\n */\nexport class UserPacket extends Message {\n /**\n * participant ID of user that sent the message\n *\n * @generated from field: string participant_sid = 1 [deprecated = true];\n * @deprecated\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string participant_identity = 5 [deprecated = true];\n * @deprecated\n */\n participantIdentity = \"\";\n\n /**\n * user defined payload\n *\n * @generated from field: bytes payload = 2;\n */\n payload = new Uint8Array(0);\n\n /**\n * the ID of the participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_sids = 3 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 6 [deprecated = true];\n * @deprecated\n */\n destinationIdentities: string[] = [];\n\n /**\n * topic under which the message was published\n *\n * @generated from field: optional string topic = 4;\n */\n topic?: string;\n\n /**\n * Unique ID to indentify the message\n *\n * @generated from field: optional string id = 8;\n */\n id?: string;\n\n /**\n * start and end time allow relating the message to specific media time\n *\n * @generated from field: optional uint64 start_time = 9;\n */\n startTime?: bigint;\n\n /**\n * @generated from field: optional uint64 end_time = 10;\n */\n endTime?: bigint;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UserPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 10, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket {\n return new UserPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket {\n return new UserPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UserPacket {\n return new UserPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(UserPacket, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SipDTMF\n */\nexport class SipDTMF extends Message {\n /**\n * @generated from field: uint32 code = 3;\n */\n code = 0;\n\n /**\n * @generated from field: string digit = 4;\n */\n digit = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SipDTMF\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 3, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"digit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF {\n return new SipDTMF().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF {\n return new SipDTMF().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SipDTMF {\n return new SipDTMF().fromJsonString(jsonString, options);\n }\n\n static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean {\n return proto3.util.equals(SipDTMF, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Transcription\n */\nexport class Transcription extends Message {\n /**\n * Participant that got its speech transcribed\n *\n * @generated from field: string transcribed_participant_identity = 2;\n */\n transcribedParticipantIdentity = \"\";\n\n /**\n * @generated from field: string track_id = 3;\n */\n trackId = \"\";\n\n /**\n * @generated from field: repeated livekit.TranscriptionSegment segments = 4;\n */\n segments: TranscriptionSegment[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Transcription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"transcribed_participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segments\", kind: \"message\", T: TranscriptionSegment, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Transcription {\n return new Transcription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Transcription {\n return new Transcription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Transcription {\n return new Transcription().fromJsonString(jsonString, options);\n }\n\n static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean {\n return proto3.util.equals(Transcription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TranscriptionSegment\n */\nexport class TranscriptionSegment extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string text = 2;\n */\n text = \"\";\n\n /**\n * @generated from field: uint64 start_time = 3;\n */\n startTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_time = 4;\n */\n endTime = protoInt64.zero;\n\n /**\n * @generated from field: bool final = 5;\n */\n final = false;\n\n /**\n * @generated from field: string language = 6;\n */\n language = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TranscriptionSegment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"text\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"language\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJsonString(jsonString, options);\n }\n\n static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean {\n return proto3.util.equals(TranscriptionSegment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ChatMessage\n */\nexport class ChatMessage extends Message {\n /**\n * uuid\n *\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * populated only if the intent is to edit/update an existing message\n *\n * @generated from field: optional int64 edit_timestamp = 3;\n */\n editTimestamp?: bigint;\n\n /**\n * @generated from field: string message = 4;\n */\n message = \"\";\n\n /**\n * true to remove message\n *\n * @generated from field: bool deleted = 5;\n */\n deleted = false;\n\n /**\n * true if the chat message has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 6;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ChatMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"edit_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 4, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"deleted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage {\n return new ChatMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage {\n return new ChatMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ChatMessage {\n return new ChatMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ChatMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcRequest\n */\nexport class RpcRequest extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string method = 2;\n */\n method = \"\";\n\n /**\n * @generated from field: string payload = 3;\n */\n payload = \"\";\n\n /**\n * @generated from field: uint32 response_timeout_ms = 4;\n */\n responseTimeoutMs = 0;\n\n /**\n * @generated from field: uint32 version = 5;\n */\n version = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest {\n return new RpcRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest {\n return new RpcRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcRequest {\n return new RpcRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcAck\n */\nexport class RpcAck extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcAck\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck {\n return new RpcAck().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck {\n return new RpcAck().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcAck {\n return new RpcAck().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcAck, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcResponse\n */\nexport class RpcResponse extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n /**\n * @generated from oneof livekit.RpcResponse.value\n */\n value: {\n /**\n * @generated from field: string payload = 2;\n */\n value: string;\n case: \"payload\";\n } | {\n /**\n * @generated from field: livekit.RpcError error = 3;\n */\n value: RpcError;\n case: \"error\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"value\" },\n { no: 3, name: \"error\", kind: \"message\", T: RpcError, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse {\n return new RpcResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse {\n return new RpcResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcResponse {\n return new RpcResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcError\n */\nexport class RpcError extends Message {\n /**\n * @generated from field: uint32 code = 1;\n */\n code = 0;\n\n /**\n * @generated from field: string message = 2;\n */\n message = \"\";\n\n /**\n * @generated from field: string data = 3;\n */\n data = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcError\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcError {\n return new RpcError().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcError {\n return new RpcError().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcError {\n return new RpcError().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcError, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantTracks\n */\nexport class ParticipantTracks extends Message {\n /**\n * participant ID of participant to whom the tracks belong\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: repeated string track_sids = 2;\n */\n trackSids: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantTracks\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantTracks, a, b);\n }\n}\n\n/**\n * details about the server\n *\n * @generated from message livekit.ServerInfo\n */\nexport class ServerInfo extends Message {\n /**\n * @generated from field: livekit.ServerInfo.Edition edition = 1;\n */\n edition = ServerInfo_Edition.Standard;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string region = 4;\n */\n region = \"\";\n\n /**\n * @generated from field: string node_id = 5;\n */\n nodeId = \"\";\n\n /**\n * additional debugging information. sent only if server is in development mode\n *\n * @generated from field: string debug_info = 6;\n */\n debugInfo = \"\";\n\n /**\n * @generated from field: int32 agent_protocol = 7;\n */\n agentProtocol = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"edition\", kind: \"enum\", T: proto3.getEnumType(ServerInfo_Edition) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"debug_info\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo {\n return new ServerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo {\n return new ServerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerInfo {\n return new ServerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ServerInfo.Edition\n */\nexport enum ServerInfo_Edition {\n /**\n * @generated from enum value: Standard = 0;\n */\n Standard = 0,\n\n /**\n * @generated from enum value: Cloud = 1;\n */\n Cloud = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ServerInfo_Edition)\nproto3.util.setEnumType(ServerInfo_Edition, \"livekit.ServerInfo.Edition\", [\n { no: 0, name: \"Standard\" },\n { no: 1, name: \"Cloud\" },\n]);\n\n/**\n * details about the client\n *\n * @generated from message livekit.ClientInfo\n */\nexport class ClientInfo extends Message {\n /**\n * @generated from field: livekit.ClientInfo.SDK sdk = 1;\n */\n sdk = ClientInfo_SDK.UNKNOWN;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string os = 4;\n */\n os = \"\";\n\n /**\n * @generated from field: string os_version = 5;\n */\n osVersion = \"\";\n\n /**\n * @generated from field: string device_model = 6;\n */\n deviceModel = \"\";\n\n /**\n * @generated from field: string browser = 7;\n */\n browser = \"\";\n\n /**\n * @generated from field: string browser_version = 8;\n */\n browserVersion = \"\";\n\n /**\n * @generated from field: string address = 9;\n */\n address = \"\";\n\n /**\n * wifi, wired, cellular, vpn, empty if not known\n *\n * @generated from field: string network = 10;\n */\n network = \"\";\n\n /**\n * comma separated list of additional LiveKit SDKs in use of this client, with versions\n * e.g. \"components-js:1.2.3,track-processors-js:1.2.3\"\n *\n * @generated from field: string other_sdks = 11;\n */\n otherSdks = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sdk\", kind: \"enum\", T: proto3.getEnumType(ClientInfo_SDK) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"os\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"os_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"device_model\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"browser\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"browser_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"network\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"other_sdks\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo {\n return new ClientInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo {\n return new ClientInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientInfo {\n return new ClientInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ClientInfo.SDK\n */\nexport enum ClientInfo_SDK {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: JS = 1;\n */\n JS = 1,\n\n /**\n * @generated from enum value: SWIFT = 2;\n */\n SWIFT = 2,\n\n /**\n * @generated from enum value: ANDROID = 3;\n */\n ANDROID = 3,\n\n /**\n * @generated from enum value: FLUTTER = 4;\n */\n FLUTTER = 4,\n\n /**\n * @generated from enum value: GO = 5;\n */\n GO = 5,\n\n /**\n * @generated from enum value: UNITY = 6;\n */\n UNITY = 6,\n\n /**\n * @generated from enum value: REACT_NATIVE = 7;\n */\n REACT_NATIVE = 7,\n\n /**\n * @generated from enum value: RUST = 8;\n */\n RUST = 8,\n\n /**\n * @generated from enum value: PYTHON = 9;\n */\n PYTHON = 9,\n\n /**\n * @generated from enum value: CPP = 10;\n */\n CPP = 10,\n\n /**\n * @generated from enum value: UNITY_WEB = 11;\n */\n UNITY_WEB = 11,\n\n /**\n * @generated from enum value: NODE = 12;\n */\n NODE = 12,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientInfo_SDK)\nproto3.util.setEnumType(ClientInfo_SDK, \"livekit.ClientInfo.SDK\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"JS\" },\n { no: 2, name: \"SWIFT\" },\n { no: 3, name: \"ANDROID\" },\n { no: 4, name: \"FLUTTER\" },\n { no: 5, name: \"GO\" },\n { no: 6, name: \"UNITY\" },\n { no: 7, name: \"REACT_NATIVE\" },\n { no: 8, name: \"RUST\" },\n { no: 9, name: \"PYTHON\" },\n { no: 10, name: \"CPP\" },\n { no: 11, name: \"UNITY_WEB\" },\n { no: 12, name: \"NODE\" },\n]);\n\n/**\n * server provided client configuration\n *\n * @generated from message livekit.ClientConfiguration\n */\nexport class ClientConfiguration extends Message {\n /**\n * @generated from field: livekit.VideoConfiguration video = 1;\n */\n video?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.VideoConfiguration screen = 2;\n */\n screen?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.ClientConfigSetting resume_connection = 3;\n */\n resumeConnection = ClientConfigSetting.UNSET;\n\n /**\n * @generated from field: livekit.DisabledCodecs disabled_codecs = 4;\n */\n disabledCodecs?: DisabledCodecs;\n\n /**\n * @generated from field: livekit.ClientConfigSetting force_relay = 5;\n */\n forceRelay = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video\", kind: \"message\", T: VideoConfiguration },\n { no: 2, name: \"screen\", kind: \"message\", T: VideoConfiguration },\n { no: 3, name: \"resume_connection\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n { no: 4, name: \"disabled_codecs\", kind: \"message\", T: DisabledCodecs },\n { no: 5, name: \"force_relay\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VideoConfiguration\n */\nexport class VideoConfiguration extends Message {\n /**\n * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;\n */\n hardwareEncoder = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"hardware_encoder\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DisabledCodecs\n */\nexport class DisabledCodecs extends Message {\n /**\n * disabled for both publish and subscribe\n *\n * @generated from field: repeated livekit.Codec codecs = 1;\n */\n codecs: Codec[] = [];\n\n /**\n * only disable for publish\n *\n * @generated from field: repeated livekit.Codec publish = 2;\n */\n publish: Codec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DisabledCodecs\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 2, name: \"publish\", kind: \"message\", T: Codec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJsonString(jsonString, options);\n }\n\n static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean {\n return proto3.util.equals(DisabledCodecs, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPDrift\n */\nexport class RTPDrift extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint64 start_timestamp = 4;\n */\n startTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_timestamp = 5;\n */\n endTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 rtp_clock_ticks = 6;\n */\n rtpClockTicks = protoInt64.zero;\n\n /**\n * @generated from field: int64 drift_samples = 7;\n */\n driftSamples = protoInt64.zero;\n\n /**\n * @generated from field: double drift_ms = 8;\n */\n driftMs = 0;\n\n /**\n * @generated from field: double clock_rate = 9;\n */\n clockRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPDrift\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"start_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"end_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_clock_ticks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"drift_samples\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"drift_ms\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 9, name: \"clock_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift {\n return new RTPDrift().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift {\n return new RTPDrift().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPDrift {\n return new RTPDrift().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPDrift, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPStats\n */\nexport class RTPStats extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint32 packets = 4;\n */\n packets = 0;\n\n /**\n * @generated from field: double packet_rate = 5;\n */\n packetRate = 0;\n\n /**\n * @generated from field: uint64 bytes = 6;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes = 39;\n */\n headerBytes = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate = 7;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: double packet_loss_rate = 9;\n */\n packetLossRate = 0;\n\n /**\n * @generated from field: float packet_loss_percentage = 10;\n */\n packetLossPercentage = 0;\n\n /**\n * @generated from field: uint32 packets_duplicate = 11;\n */\n packetsDuplicate = 0;\n\n /**\n * @generated from field: double packet_duplicate_rate = 12;\n */\n packetDuplicateRate = 0;\n\n /**\n * @generated from field: uint64 bytes_duplicate = 13;\n */\n bytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_duplicate = 40;\n */\n headerBytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_duplicate = 14;\n */\n bitrateDuplicate = 0;\n\n /**\n * @generated from field: uint32 packets_padding = 15;\n */\n packetsPadding = 0;\n\n /**\n * @generated from field: double packet_padding_rate = 16;\n */\n packetPaddingRate = 0;\n\n /**\n * @generated from field: uint64 bytes_padding = 17;\n */\n bytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_padding = 41;\n */\n headerBytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_padding = 18;\n */\n bitratePadding = 0;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n /**\n * @generated from field: uint32 frames = 20;\n */\n frames = 0;\n\n /**\n * @generated from field: double frame_rate = 21;\n */\n frameRate = 0;\n\n /**\n * @generated from field: double jitter_current = 22;\n */\n jitterCurrent = 0;\n\n /**\n * @generated from field: double jitter_max = 23;\n */\n jitterMax = 0;\n\n /**\n * @generated from field: map gap_histogram = 24;\n */\n gapHistogram: { [key: number]: number } = {};\n\n /**\n * @generated from field: uint32 nacks = 25;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 nack_acks = 37;\n */\n nackAcks = 0;\n\n /**\n * @generated from field: uint32 nack_misses = 26;\n */\n nackMisses = 0;\n\n /**\n * @generated from field: uint32 nack_repeated = 38;\n */\n nackRepeated = 0;\n\n /**\n * @generated from field: uint32 plis = 27;\n */\n plis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_pli = 28;\n */\n lastPli?: Timestamp;\n\n /**\n * @generated from field: uint32 firs = 29;\n */\n firs = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_fir = 30;\n */\n lastFir?: Timestamp;\n\n /**\n * @generated from field: uint32 rtt_current = 31;\n */\n rttCurrent = 0;\n\n /**\n * @generated from field: uint32 rtt_max = 32;\n */\n rttMax = 0;\n\n /**\n * @generated from field: uint32 key_frames = 33;\n */\n keyFrames = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_key_frame = 34;\n */\n lastKeyFrame?: Timestamp;\n\n /**\n * @generated from field: uint32 layer_lock_plis = 35;\n */\n layerLockPlis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;\n */\n lastLayerLockPli?: Timestamp;\n\n /**\n * @generated from field: livekit.RTPDrift packet_drift = 44;\n */\n packetDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift ntp_report_drift = 45;\n */\n ntpReportDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift rebased_report_drift = 46;\n */\n rebasedReportDrift?: RTPDrift;\n\n /**\n * NEXT_ID: 48\n *\n * @generated from field: livekit.RTPDrift received_report_drift = 47;\n */\n receivedReportDrift?: RTPDrift;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"packet_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 6, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 39, name: \"header_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"bitrate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"packet_loss_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 10, name: \"packet_loss_percentage\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 11, name: \"packets_duplicate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"packet_duplicate_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 13, name: \"bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 40, name: \"header_bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 14, name: \"bitrate_duplicate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 15, name: \"packets_padding\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 16, name: \"packet_padding_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 17, name: \"bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 41, name: \"header_bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 18, name: \"bitrate_padding\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 20, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 21, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 22, name: \"jitter_current\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 23, name: \"jitter_max\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 24, name: \"gap_histogram\", kind: \"map\", K: 5 /* ScalarType.INT32 */, V: {kind: \"scalar\", T: 13 /* ScalarType.UINT32 */} },\n { no: 25, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 37, name: \"nack_acks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 26, name: \"nack_misses\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 38, name: \"nack_repeated\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 27, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 28, name: \"last_pli\", kind: \"message\", T: Timestamp },\n { no: 29, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"last_fir\", kind: \"message\", T: Timestamp },\n { no: 31, name: \"rtt_current\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 32, name: \"rtt_max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 33, name: \"key_frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 34, name: \"last_key_frame\", kind: \"message\", T: Timestamp },\n { no: 35, name: \"layer_lock_plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 36, name: \"last_layer_lock_pli\", kind: \"message\", T: Timestamp },\n { no: 44, name: \"packet_drift\", kind: \"message\", T: RTPDrift },\n { no: 45, name: \"ntp_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 46, name: \"rebased_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 47, name: \"received_report_drift\", kind: \"message\", T: RTPDrift },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats {\n return new RTPStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats {\n return new RTPStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPStats {\n return new RTPStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTCPSenderReportState\n */\nexport class RTCPSenderReportState extends Message {\n /**\n * @generated from field: uint32 rtp_timestamp = 1;\n */\n rtpTimestamp = 0;\n\n /**\n * @generated from field: uint64 rtp_timestamp_ext = 2;\n */\n rtpTimestampExt = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ntp_timestamp = 3;\n */\n ntpTimestamp = protoInt64.zero;\n\n /**\n * time at which this happened\n *\n * @generated from field: int64 at = 4;\n */\n at = protoInt64.zero;\n\n /**\n * @generated from field: int64 at_adjusted = 5;\n */\n atAdjusted = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets = 6;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 octets = 7;\n */\n octets = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTCPSenderReportState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rtp_timestamp\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"rtp_timestamp_ext\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ntp_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"at_adjusted\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"octets\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTCPSenderReportState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPForwarderState\n */\nexport class RTPForwarderState extends Message {\n /**\n * @generated from field: bool started = 1;\n */\n started = false;\n\n /**\n * @generated from field: int32 reference_layer_spatial = 2;\n */\n referenceLayerSpatial = 0;\n\n /**\n * @generated from field: int64 pre_start_time = 3;\n */\n preStartTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_first_timestamp = 4;\n */\n extFirstTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 dummy_start_timestamp_offset = 5;\n */\n dummyStartTimestampOffset = protoInt64.zero;\n\n /**\n * @generated from field: livekit.RTPMungerState rtp_munger = 6;\n */\n rtpMunger?: RTPMungerState;\n\n /**\n * @generated from oneof livekit.RTPForwarderState.codec_munger\n */\n codecMunger: {\n /**\n * @generated from field: livekit.VP8MungerState vp8_munger = 7;\n */\n value: VP8MungerState;\n case: \"vp8Munger\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;\n */\n senderReportState: RTCPSenderReportState[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPForwarderState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reference_layer_spatial\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"pre_start_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ext_first_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"dummy_start_timestamp_offset\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_munger\", kind: \"message\", T: RTPMungerState },\n { no: 7, name: \"vp8_munger\", kind: \"message\", T: VP8MungerState, oneof: \"codec_munger\" },\n { no: 8, name: \"sender_report_state\", kind: \"message\", T: RTCPSenderReportState, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPForwarderState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPMungerState\n */\nexport class RTPMungerState extends Message {\n /**\n * @generated from field: uint64 ext_last_sequence_number = 1;\n */\n extLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_sequence_number = 2;\n */\n extSecondLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_last_timestamp = 3;\n */\n extLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_timestamp = 4;\n */\n extSecondLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: bool last_marker = 5;\n */\n lastMarker = false;\n\n /**\n * @generated from field: bool second_last_marker = 6;\n */\n secondLastMarker = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPMungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 2, name: \"ext_second_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ext_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"ext_second_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"second_last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPMungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VP8MungerState\n */\nexport class VP8MungerState extends Message {\n /**\n * @generated from field: int32 ext_last_picture_id = 1;\n */\n extLastPictureId = 0;\n\n /**\n * @generated from field: bool picture_id_used = 2;\n */\n pictureIdUsed = false;\n\n /**\n * @generated from field: uint32 last_tl0_pic_idx = 3;\n */\n lastTl0PicIdx = 0;\n\n /**\n * @generated from field: bool tl0_pic_idx_used = 4;\n */\n tl0PicIdxUsed = false;\n\n /**\n * @generated from field: bool tid_used = 5;\n */\n tidUsed = false;\n\n /**\n * @generated from field: uint32 last_key_idx = 6;\n */\n lastKeyIdx = 0;\n\n /**\n * @generated from field: bool key_idx_used = 7;\n */\n keyIdxUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VP8MungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_picture_id\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"picture_id_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"last_tl0_pic_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"tl0_pic_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"tid_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"last_key_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"key_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(VP8MungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimedVersion\n */\nexport class TimedVersion extends Message {\n /**\n * @generated from field: int64 unix_micro = 1;\n */\n unixMicro = protoInt64.zero;\n\n /**\n * @generated from field: int32 ticks = 2;\n */\n ticks = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimedVersion\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"unix_micro\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"ticks\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion {\n return new TimedVersion().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion {\n return new TimedVersion().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimedVersion {\n return new TimedVersion().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimedVersion, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream\n */\nexport class DataStream extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream {\n return new DataStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream {\n return new DataStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream {\n return new DataStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream, a, b);\n }\n}\n\n/**\n * enum for operation types (specific to TextHeader)\n *\n * @generated from enum livekit.DataStream.OperationType\n */\nexport enum DataStream_OperationType {\n /**\n * @generated from enum value: CREATE = 0;\n */\n CREATE = 0,\n\n /**\n * @generated from enum value: UPDATE = 1;\n */\n UPDATE = 1,\n\n /**\n * @generated from enum value: DELETE = 2;\n */\n DELETE = 2,\n\n /**\n * @generated from enum value: REACTION = 3;\n */\n REACTION = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataStream_OperationType)\nproto3.util.setEnumType(DataStream_OperationType, \"livekit.DataStream.OperationType\", [\n { no: 0, name: \"CREATE\" },\n { no: 1, name: \"UPDATE\" },\n { no: 2, name: \"DELETE\" },\n { no: 3, name: \"REACTION\" },\n]);\n\n/**\n * header properties specific to text streams\n *\n * @generated from message livekit.DataStream.TextHeader\n */\nexport class DataStream_TextHeader extends Message {\n /**\n * @generated from field: livekit.DataStream.OperationType operation_type = 1;\n */\n operationType = DataStream_OperationType.CREATE;\n\n /**\n * Optional: Version for updates/edits\n *\n * @generated from field: int32 version = 2;\n */\n version = 0;\n\n /**\n * Optional: Reply to specific message\n *\n * @generated from field: string reply_to_stream_id = 3;\n */\n replyToStreamId = \"\";\n\n /**\n * file attachments for text streams\n *\n * @generated from field: repeated string attached_stream_ids = 4;\n */\n attachedStreamIds: string[] = [];\n\n /**\n * true if the text has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 5;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.TextHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"operation_type\", kind: \"enum\", T: proto3.getEnumType(DataStream_OperationType) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"reply_to_stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"attached_stream_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_TextHeader, a, b);\n }\n}\n\n/**\n * header properties specific to file or image streams\n *\n * @generated from message livekit.DataStream.FileHeader\n */\nexport class DataStream_FileHeader extends Message {\n /**\n * name of the file\n *\n * @generated from field: string file_name = 1;\n */\n fileName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.FileHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_FileHeader, a, b);\n }\n}\n\n/**\n * main DataStream.Header that contains a oneof for specific headers\n *\n * @generated from message livekit.DataStream.Header\n */\nexport class DataStream_Header extends Message {\n /**\n * unique identifier for this data stream\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * using int64 for Unix timestamp\n *\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * @generated from field: string topic = 3;\n */\n topic = \"\";\n\n /**\n * @generated from field: string mime_type = 4;\n */\n mimeType = \"\";\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_length = 5;\n */\n totalLength?: bigint;\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_chunks = 6;\n */\n totalChunks?: bigint;\n\n /**\n * defaults to NONE\n *\n * @generated from field: livekit.Encryption.Type encryption_type = 7;\n */\n encryptionType = Encryption_Type.NONE;\n\n /**\n * user defined extensions map that can carry additional info\n *\n * @generated from field: map extensions = 8;\n */\n extensions: { [key: string]: string } = {};\n\n /**\n * oneof to choose between specific header types\n *\n * @generated from oneof livekit.DataStream.Header.content_header\n */\n contentHeader: {\n /**\n * @generated from field: livekit.DataStream.TextHeader text_header = 9;\n */\n value: DataStream_TextHeader;\n case: \"textHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.FileHeader file_header = 10;\n */\n value: DataStream_FileHeader;\n case: \"fileHeader\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Header\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"total_length\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 6, name: \"total_chunks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 7, name: \"encryption_type\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 8, name: \"extensions\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 9, name: \"text_header\", kind: \"message\", T: DataStream_TextHeader, oneof: \"content_header\" },\n { no: 10, name: \"file_header\", kind: \"message\", T: DataStream_FileHeader, oneof: \"content_header\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Header, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream.Chunk\n */\nexport class DataStream_Chunk extends Message {\n /**\n * unique identifier for this data stream to map it to the correct header\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * @generated from field: uint64 chunk_index = 2;\n */\n chunkIndex = protoInt64.zero;\n\n /**\n * content as binary (bytes)\n *\n * @generated from field: bytes content = 3;\n */\n content = new Uint8Array(0);\n\n /**\n * true only if this is the last chunk of this stream - can also be sent with empty content\n *\n * @generated from field: bool complete = 4;\n */\n complete = false;\n\n /**\n * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced\n *\n * @generated from field: int32 version = 5;\n */\n version = 0;\n\n /**\n * optional, initialization vector for AES-GCM encryption\n *\n * @generated from field: optional bytes iv = 6;\n */\n iv?: Uint8Array;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Chunk\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"chunk_index\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"content\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 4, name: \"complete\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"iv\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Chunk, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,YAAY,iBAAiB;AACvD,SAAS,oBAAoB;AAKtB,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,gBAAa,KAAb;AAKA,EAAAA,wBAAA,UAAO,KAAP;AAKA,EAAAA,wBAAA,SAAM,KAAN;AAdU,SAAAA;AAAA,GAAA;AAiBZ,OAAO,KAAK,YAAY,YAAY,sBAAsB;AAAA,EACxD,EAAE,IAAI,GAAG,MAAM,aAAa;AAAA,EAC5B,EAAE,IAAI,GAAG,MAAM,OAAO;AAAA,EACtB,EAAE,IAAI,GAAG,MAAM,MAAM;AACvB,CAAC;AAKM,IAAK,aAAL,kBAAKC,gBAAL;A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EAAyB;AAAA,EACtE,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,UAAU,GAAG,IAA2B,KAAK,KAAK;AAC/E,CAAC;AAvDI,IAAM,mBAAN;","names":["AudioCodec","VideoCodec","ImageCodec","TrackType","TrackSource","VideoQuality","ConnectionQuality","ClientConfigSetting","DisconnectReason","ReconnectReason","SubscriptionError","AudioTrackFeature","ParticipantInfo_State","ParticipantInfo_Kind","Encryption_Type","DataPacket_Kind","ServerInfo_Edition","ClientInfo_SDK","DataStream_OperationType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.cjs b/packages/javascript/dist/gen/livekit_room_pb.cjs new file mode 100644 index 00000000..4fcc409b --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.cjs @@ -0,0 +1,1080 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_room_pb_exports = {}; +__export(livekit_room_pb_exports, { + CreateRoomRequest: () => CreateRoomRequest, + DeleteRoomRequest: () => DeleteRoomRequest, + DeleteRoomResponse: () => DeleteRoomResponse, + ListParticipantsRequest: () => ListParticipantsRequest, + ListParticipantsResponse: () => ListParticipantsResponse, + ListRoomsRequest: () => ListRoomsRequest, + ListRoomsResponse: () => ListRoomsResponse, + MuteRoomTrackRequest: () => MuteRoomTrackRequest, + MuteRoomTrackResponse: () => MuteRoomTrackResponse, + RemoveParticipantResponse: () => RemoveParticipantResponse, + RoomAgent: () => RoomAgent, + RoomConfiguration: () => RoomConfiguration, + RoomEgress: () => RoomEgress, + RoomParticipantIdentity: () => RoomParticipantIdentity, + SendDataRequest: () => SendDataRequest, + SendDataResponse: () => SendDataResponse, + UpdateParticipantRequest: () => UpdateParticipantRequest, + UpdateRoomMetadataRequest: () => UpdateRoomMetadataRequest, + UpdateSubscriptionsRequest: () => UpdateSubscriptionsRequest, + UpdateSubscriptionsResponse: () => UpdateSubscriptionsResponse +}); +module.exports = __toCommonJS(livekit_room_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_agent_dispatch_pb = require("./livekit_agent_dispatch_pb.cjs"); +var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +const _CreateRoomRequest = class _CreateRoomRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * configuration to use for this room parameters. Setting parameters below override the config defaults. + * + * @generated from field: string room_preset = 12; + */ + this.roomPreset = ""; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + this.emptyTimeout = 0; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 10; + */ + this.departureTimeout = 0; + /** + * limit number of participants that can be in a room + * + * @generated from field: uint32 max_participants = 3; + */ + this.maxParticipants = 0; + /** + * override the node room is allocated to, for debugging + * + * @generated from field: string node_id = 4; + */ + this.nodeId = ""; + /** + * metadata of room + * + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + this.minPlayoutDelay = 0; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + this.maxPlayoutDelay = 0; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + this.syncStreams = false; + /** + * replay + * + * @generated from field: bool replay_enabled = 13; + */ + this.replayEnabled = false; + /** + * Define agents that should be dispatched to this room + * + * NEXT-ID: 15 + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; + */ + this.agents = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateRoomRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateRoomRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateRoomRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateRoomRequest, a, b); + } +}; +_CreateRoomRequest.runtime = import_protobuf.proto3; +_CreateRoomRequest.typeName = "livekit.CreateRoomRequest"; +_CreateRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "room_preset", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "egress", kind: "message", T: RoomEgress }, + { + no: 7, + name: "min_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "max_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "replay_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } +]); +let CreateRoomRequest = _CreateRoomRequest; +const _RoomEgress = class _RoomEgress extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomEgress, a, b); + } +}; +_RoomEgress.runtime = import_protobuf.proto3; +_RoomEgress.typeName = "livekit.RoomEgress"; +_RoomEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: import_livekit_egress_pb.RoomCompositeEgressRequest }, + { no: 3, name: "participant", kind: "message", T: import_livekit_egress_pb.AutoParticipantEgress }, + { no: 2, name: "tracks", kind: "message", T: import_livekit_egress_pb.AutoTrackEgress } +]); +let RoomEgress = _RoomEgress; +const _RoomAgent = class _RoomAgent extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; + */ + this.dispatches = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomAgent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomAgent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomAgent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomAgent, a, b); + } +}; +_RoomAgent.runtime = import_protobuf.proto3; +_RoomAgent.typeName = "livekit.RoomAgent"; +_RoomAgent.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "dispatches", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } +]); +let RoomAgent = _RoomAgent; +const _ListRoomsRequest = class _ListRoomsRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * when set, will only return rooms with name match + * + * @generated from field: repeated string names = 1; + */ + this.names = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListRoomsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListRoomsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListRoomsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListRoomsRequest, a, b); + } +}; +_ListRoomsRequest.runtime = import_protobuf.proto3; +_ListRoomsRequest.typeName = "livekit.ListRoomsRequest"; +_ListRoomsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "names", kind: "scalar", T: 9, repeated: true } +]); +let ListRoomsRequest = _ListRoomsRequest; +const _ListRoomsResponse = class _ListRoomsResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.Room rooms = 1; + */ + this.rooms = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListRoomsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListRoomsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListRoomsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListRoomsResponse, a, b); + } +}; +_ListRoomsResponse.runtime = import_protobuf.proto3; +_ListRoomsResponse.typeName = "livekit.ListRoomsResponse"; +_ListRoomsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "rooms", kind: "message", T: import_livekit_models_pb.Room, repeated: true } +]); +let ListRoomsResponse = _ListRoomsResponse; +const _DeleteRoomRequest = class _DeleteRoomRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteRoomRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteRoomRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteRoomRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteRoomRequest, a, b); + } +}; +_DeleteRoomRequest.runtime = import_protobuf.proto3; +_DeleteRoomRequest.typeName = "livekit.DeleteRoomRequest"; +_DeleteRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteRoomRequest = _DeleteRoomRequest; +const _DeleteRoomResponse = class _DeleteRoomResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteRoomResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteRoomResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteRoomResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteRoomResponse, a, b); + } +}; +_DeleteRoomResponse.runtime = import_protobuf.proto3; +_DeleteRoomResponse.typeName = "livekit.DeleteRoomResponse"; +_DeleteRoomResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); +let DeleteRoomResponse = _DeleteRoomResponse; +const _ListParticipantsRequest = class _ListParticipantsRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListParticipantsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListParticipantsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListParticipantsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListParticipantsRequest, a, b); + } +}; +_ListParticipantsRequest.runtime = import_protobuf.proto3; +_ListParticipantsRequest.typeName = "livekit.ListParticipantsRequest"; +_ListParticipantsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListParticipantsRequest = _ListParticipantsRequest; +const _ListParticipantsResponse = class _ListParticipantsResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + this.participants = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListParticipantsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListParticipantsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListParticipantsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListParticipantsResponse, a, b); + } +}; +_ListParticipantsResponse.runtime = import_protobuf.proto3; +_ListParticipantsResponse.typeName = "livekit.ListParticipantsResponse"; +_ListParticipantsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true } +]); +let ListParticipantsResponse = _ListParticipantsResponse; +const _RoomParticipantIdentity = class _RoomParticipantIdentity extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * identity of the participant + * + * @generated from field: string identity = 2; + */ + this.identity = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomParticipantIdentity().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomParticipantIdentity().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomParticipantIdentity().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomParticipantIdentity, a, b); + } +}; +_RoomParticipantIdentity.runtime = import_protobuf.proto3; +_RoomParticipantIdentity.typeName = "livekit.RoomParticipantIdentity"; +_RoomParticipantIdentity.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RoomParticipantIdentity = _RoomParticipantIdentity; +const _RemoveParticipantResponse = class _RemoveParticipantResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RemoveParticipantResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RemoveParticipantResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RemoveParticipantResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RemoveParticipantResponse, a, b); + } +}; +_RemoveParticipantResponse.runtime = import_protobuf.proto3; +_RemoveParticipantResponse.typeName = "livekit.RemoveParticipantResponse"; +_RemoveParticipantResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); +let RemoveParticipantResponse = _RemoveParticipantResponse; +const _MuteRoomTrackRequest = class _MuteRoomTrackRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * sid of the track to mute + * + * @generated from field: string track_sid = 3; + */ + this.trackSid = ""; + /** + * set to true to mute, false to unmute + * + * @generated from field: bool muted = 4; + */ + this.muted = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteRoomTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteRoomTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteRoomTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MuteRoomTrackRequest, a, b); + } +}; +_MuteRoomTrackRequest.runtime = import_protobuf.proto3; +_MuteRoomTrackRequest.typeName = "livekit.MuteRoomTrackRequest"; +_MuteRoomTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let MuteRoomTrackRequest = _MuteRoomTrackRequest; +const _MuteRoomTrackResponse = class _MuteRoomTrackResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteRoomTrackResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteRoomTrackResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteRoomTrackResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MuteRoomTrackResponse, a, b); + } +}; +_MuteRoomTrackResponse.runtime = import_protobuf.proto3; +_MuteRoomTrackResponse.typeName = "livekit.MuteRoomTrackResponse"; +_MuteRoomTrackResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo } +]); +let MuteRoomTrackResponse = _MuteRoomTrackResponse; +const _UpdateParticipantRequest = class _UpdateParticipantRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * display name to update + * + * @generated from field: string name = 5; + */ + this.name = ""; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 6; + */ + this.attributes = {}; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateParticipantRequest, a, b); + } +}; +_UpdateParticipantRequest.runtime = import_protobuf.proto3; +_UpdateParticipantRequest.typeName = "livekit.UpdateParticipantRequest"; +_UpdateParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "permission", kind: "message", T: import_livekit_models_pb.ParticipantPermission }, + { + no: 5, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let UpdateParticipantRequest = _UpdateParticipantRequest; +const _UpdateSubscriptionsRequest = class _UpdateSubscriptionsRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * list of sids of tracks + * + * @generated from field: repeated string track_sids = 3; + */ + this.trackSids = []; + /** + * set to true to subscribe, false to unsubscribe from tracks + * + * @generated from field: bool subscribe = 4; + */ + this.subscribe = false; + /** + * list of participants and their tracks + * + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; + */ + this.participantTracks = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscriptionsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscriptionsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscriptionsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateSubscriptionsRequest, a, b); + } +}; +_UpdateSubscriptionsRequest.runtime = import_protobuf.proto3; +_UpdateSubscriptionsRequest.typeName = "livekit.UpdateSubscriptionsRequest"; +_UpdateSubscriptionsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 5, name: "participant_tracks", kind: "message", T: import_livekit_models_pb.ParticipantTracks, repeated: true } +]); +let UpdateSubscriptionsRequest = _UpdateSubscriptionsRequest; +const _UpdateSubscriptionsResponse = class _UpdateSubscriptionsResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscriptionsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscriptionsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscriptionsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateSubscriptionsResponse, a, b); + } +}; +_UpdateSubscriptionsResponse.runtime = import_protobuf.proto3; +_UpdateSubscriptionsResponse.typeName = "livekit.UpdateSubscriptionsResponse"; +_UpdateSubscriptionsResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); +let UpdateSubscriptionsResponse = _UpdateSubscriptionsResponse; +const _SendDataRequest = class _SendDataRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: bytes data = 2; + */ + this.data = new Uint8Array(0); + /** + * @generated from field: livekit.DataPacket.Kind kind = 3; + */ + this.kind = import_livekit_models_pb.DataPacket_Kind.RELIABLE; + /** + * mark deprecated + * + * @generated from field: repeated string destination_sids = 4 [deprecated = true]; + * @deprecated + */ + this.destinationSids = []; + /** + * when set, only forward to these identities + * + * @generated from field: repeated string destination_identities = 6; + */ + this.destinationIdentities = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SendDataRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SendDataRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SendDataRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SendDataRequest, a, b); + } +}; +_SendDataRequest.runtime = import_protobuf.proto3; +_SendDataRequest.typeName = "livekit.SendDataRequest"; +_SendDataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "data", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 3, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DataPacket_Kind) }, + { no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 5, name: "topic", kind: "scalar", T: 9, opt: true } +]); +let SendDataRequest = _SendDataRequest; +const _SendDataResponse = class _SendDataResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SendDataResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SendDataResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SendDataResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SendDataResponse, a, b); + } +}; +_SendDataResponse.runtime = import_protobuf.proto3; +_SendDataResponse.typeName = "livekit.SendDataResponse"; +_SendDataResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); +let SendDataResponse = _SendDataResponse; +const _UpdateRoomMetadataRequest = class _UpdateRoomMetadataRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 2; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateRoomMetadataRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateRoomMetadataRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateRoomMetadataRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateRoomMetadataRequest, a, b); + } +}; +_UpdateRoomMetadataRequest.runtime = import_protobuf.proto3; +_UpdateRoomMetadataRequest.typeName = "livekit.UpdateRoomMetadataRequest"; +_UpdateRoomMetadataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateRoomMetadataRequest = _UpdateRoomMetadataRequest; +const _RoomConfiguration = class _RoomConfiguration extends import_protobuf.Message { + constructor(data) { + super(); + /** + * Used as ID, must be unique + * + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + this.emptyTimeout = 0; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 3; + */ + this.departureTimeout = 0; + /** + * limit number of participants that can be in a room, excluding Egress and Ingress participants + * + * @generated from field: uint32 max_participants = 4; + */ + this.maxParticipants = 0; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + this.minPlayoutDelay = 0; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + this.maxPlayoutDelay = 0; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + this.syncStreams = false; + /** + * Define agents that should be dispatched to this room + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; + */ + this.agents = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomConfiguration, a, b); + } +}; +_RoomConfiguration.runtime = import_protobuf.proto3; +_RoomConfiguration.typeName = "livekit.RoomConfiguration"; +_RoomConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 5, name: "egress", kind: "message", T: RoomEgress }, + { + no: 7, + name: "min_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "max_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 10, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } +]); +let RoomConfiguration = _RoomConfiguration; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + CreateRoomRequest, + DeleteRoomRequest, + DeleteRoomResponse, + ListParticipantsRequest, + ListParticipantsResponse, + ListRoomsRequest, + ListRoomsResponse, + MuteRoomTrackRequest, + MuteRoomTrackResponse, + RemoveParticipantResponse, + RoomAgent, + RoomConfiguration, + RoomEgress, + RoomParticipantIdentity, + SendDataRequest, + SendDataResponse, + UpdateParticipantRequest, + UpdateRoomMetadataRequest, + UpdateSubscriptionsRequest, + UpdateSubscriptionsResponse +}); +//# sourceMappingURL=livekit_room_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.cjs.map b/packages/javascript/dist/gen/livekit_room_pb.cjs.map new file mode 100644 index 00000000..de77ccb6 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_room_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_room.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from \"./livekit_egress_pb.js\";\nimport { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from message livekit.CreateRoomRequest\n */\nexport class CreateRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * configuration to use for this room parameters. Setting parameters below override the config defaults.\n *\n * @generated from field: string room_preset = 12;\n */\n roomPreset = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 10;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room\n *\n * @generated from field: uint32 max_participants = 3;\n */\n maxParticipants = 0;\n\n /**\n * override the node room is allocated to, for debugging\n *\n * @generated from field: string node_id = 4;\n */\n nodeId = \"\";\n\n /**\n * metadata of room\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * auto-egress configurations\n *\n * @generated from field: livekit.RoomEgress egress = 6;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * replay\n *\n * @generated from field: bool replay_enabled = 13;\n */\n replayEnabled = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * NEXT-ID: 15\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"room_preset\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomEgress\n */\nexport class RoomEgress extends Message {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room = 1;\n */\n room?: RoomCompositeEgressRequest;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant = 3;\n */\n participant?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.AutoTrackEgress tracks = 2;\n */\n tracks?: AutoTrackEgress;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: RoomCompositeEgressRequest },\n { no: 3, name: \"participant\", kind: \"message\", T: AutoParticipantEgress },\n { no: 2, name: \"tracks\", kind: \"message\", T: AutoTrackEgress },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress {\n return new RoomEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress {\n return new RoomEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomEgress {\n return new RoomEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgent\n */\nexport class RoomAgent extends Message {\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;\n */\n dispatches: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent {\n return new RoomAgent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent {\n return new RoomAgent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgent {\n return new RoomAgent().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsRequest\n */\nexport class ListRoomsRequest extends Message {\n /**\n * when set, will only return rooms with name match\n *\n * @generated from field: repeated string names = 1;\n */\n names: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"names\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsResponse\n */\nexport class ListRoomsResponse extends Message {\n /**\n * @generated from field: repeated livekit.Room rooms = 1;\n */\n rooms: Room[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rooms\", kind: \"message\", T: Room, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomRequest\n */\nexport class DeleteRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomResponse\n */\nexport class DeleteRoomResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsRequest\n */\nexport class ListParticipantsRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsResponse\n */\nexport class ListParticipantsResponse extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomParticipantIdentity\n */\nexport class RoomParticipantIdentity extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * identity of the participant\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomParticipantIdentity\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomParticipantIdentity, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RemoveParticipantResponse\n */\nexport class RemoveParticipantResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RemoveParticipantResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RemoveParticipantResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackRequest\n */\nexport class MuteRoomTrackRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * sid of the track to mute\n *\n * @generated from field: string track_sid = 3;\n */\n trackSid = \"\";\n\n /**\n * set to true to mute, false to unmute\n *\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackResponse\n */\nexport class MuteRoomTrackResponse extends Message {\n /**\n * @generated from field: livekit.TrackInfo track = 1;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantRequest\n */\nexport class UpdateParticipantRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * set to update the participant's permissions\n *\n * @generated from field: livekit.ParticipantPermission permission = 4;\n */\n permission?: ParticipantPermission;\n\n /**\n * display name to update\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 6;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscriptionsRequest\n */\nexport class UpdateSubscriptionsRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * list of sids of tracks\n *\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * set to true to subscribe, false to unsubscribe from tracks\n *\n * @generated from field: bool subscribe = 4;\n */\n subscribe = false;\n\n /**\n * list of participants and their tracks\n *\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsRequest, a, b);\n }\n}\n\n/**\n * empty for now\n *\n * @generated from message livekit.UpdateSubscriptionsResponse\n */\nexport class UpdateSubscriptionsResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataRequest\n */\nexport class SendDataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: bytes data = 2;\n */\n data = new Uint8Array(0);\n\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 3;\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * mark deprecated\n *\n * @generated from field: repeated string destination_sids = 4 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * when set, only forward to these identities\n *\n * @generated from field: repeated string destination_identities = 6;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from field: optional string topic = 5;\n */\n topic?: string;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"data\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataResponse\n */\nexport class SendDataResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateRoomMetadataRequest\n */\nexport class UpdateRoomMetadataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateRoomMetadataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateRoomMetadataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomConfiguration\n */\nexport class RoomConfiguration extends Message {\n /**\n * Used as ID, must be unique\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 3;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room, excluding Egress and Ingress participants\n *\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * egress\n *\n * @generated from field: livekit.RoomEgress egress = 5;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 10;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomConfiguration, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAgC;AAChC,uCAAkC;AAClC,+BAAmF;AACnF,+BAA4G;AAKrG,MAAM,qBAAN,MAAM,2BAA0B,wBAA2B;AAAA,EA6FhE,YAAY,MAA0C;AACpD,UAAM;AAxFR;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAO;AAOP;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAa;AAOb;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAe;AAOf;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAmB;AAOnB;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAOlB;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAS;AAOT;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAW;AAcX;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAKlB;AAAA;AAAA;AAAA,2BAAkB;AAQlB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAc;AAOd;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAgB;AAShB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B,CAAC;AAI7B,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAoBA,OAAO,WAAW,OAAmB,SAAyD;AAC5F,WAAO,IAAI,mBAAkB,EAAE,WAAW,OAAO,OAAO;AAAA,EAC1D;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,UAAU,MAAM,WAAW,GAAG,WAAW;AAAA,EACxD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAgB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC1E,EAAE,IAAI,IAAI,MAAM,UAAU,MAAM,WAAW,GAAG,oDAAmB,UAAU,KAAK;AAClF,CAAC;AAhFI,IAAM,oBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.d.ts b/packages/javascript/dist/gen/livekit_room_pb.d.ts new file mode 100644 index 00000000..9623f5fc --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.d.ts @@ -0,0 +1,580 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; +import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; +/** + * @generated from message livekit.CreateRoomRequest + */ +export declare class CreateRoomRequest extends Message { + /** + * name of the room + * + * @generated from field: string name = 1; + */ + name: string; + /** + * configuration to use for this room parameters. Setting parameters below override the config defaults. + * + * @generated from field: string room_preset = 12; + */ + roomPreset: string; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + emptyTimeout: number; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 10; + */ + departureTimeout: number; + /** + * limit number of participants that can be in a room + * + * @generated from field: uint32 max_participants = 3; + */ + maxParticipants: number; + /** + * override the node room is allocated to, for debugging + * + * @generated from field: string node_id = 4; + */ + nodeId: string; + /** + * metadata of room + * + * @generated from field: string metadata = 5; + */ + metadata: string; + /** + * auto-egress configurations + * + * @generated from field: livekit.RoomEgress egress = 6; + */ + egress?: RoomEgress; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + minPlayoutDelay: number; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + maxPlayoutDelay: number; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + syncStreams: boolean; + /** + * replay + * + * @generated from field: bool replay_enabled = 13; + */ + replayEnabled: boolean; + /** + * Define agents that should be dispatched to this room + * + * NEXT-ID: 15 + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; + */ + agents: RoomAgentDispatch[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateRoomRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest; + static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomEgress + */ +export declare class RoomEgress extends Message { + /** + * @generated from field: livekit.RoomCompositeEgressRequest room = 1; + */ + room?: RoomCompositeEgressRequest; + /** + * @generated from field: livekit.AutoParticipantEgress participant = 3; + */ + participant?: AutoParticipantEgress; + /** + * @generated from field: livekit.AutoTrackEgress tracks = 2; + */ + tracks?: AutoTrackEgress; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomEgress"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress; + static fromJsonString(jsonString: string, options?: Partial): RoomEgress; + static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomAgent + */ +export declare class RoomAgent extends Message { + /** + * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; + */ + dispatches: RoomAgentDispatch[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomAgent"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent; + static fromJsonString(jsonString: string, options?: Partial): RoomAgent; + static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListRoomsRequest + */ +export declare class ListRoomsRequest extends Message { + /** + * when set, will only return rooms with name match + * + * @generated from field: repeated string names = 1; + */ + names: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListRoomsRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest; + static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest; + static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListRoomsResponse + */ +export declare class ListRoomsResponse extends Message { + /** + * @generated from field: repeated livekit.Room rooms = 1; + */ + rooms: Room[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListRoomsResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse; + static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse; + static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteRoomRequest + */ +export declare class DeleteRoomRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteRoomRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest; + static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest; + static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteRoomResponse + */ +export declare class DeleteRoomResponse extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteRoomResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse; + static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse; + static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListParticipantsRequest + */ +export declare class ListParticipantsRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListParticipantsRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest; + static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest; + static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListParticipantsResponse + */ +export declare class ListParticipantsResponse extends Message { + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + participants: ParticipantInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListParticipantsResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse; + static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse; + static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomParticipantIdentity + */ +export declare class RoomParticipantIdentity extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + /** + * identity of the participant + * + * @generated from field: string identity = 2; + */ + identity: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomParticipantIdentity"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity; + static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity; + static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RemoveParticipantResponse + */ +export declare class RemoveParticipantResponse extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RemoveParticipantResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse; + static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse; + static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.MuteRoomTrackRequest + */ +export declare class MuteRoomTrackRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * sid of the track to mute + * + * @generated from field: string track_sid = 3; + */ + trackSid: string; + /** + * set to true to mute, false to unmute + * + * @generated from field: bool muted = 4; + */ + muted: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteRoomTrackRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest; + static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest; + static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.MuteRoomTrackResponse + */ +export declare class MuteRoomTrackResponse extends Message { + /** + * @generated from field: livekit.TrackInfo track = 1; + */ + track?: TrackInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteRoomTrackResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse; + static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse; + static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateParticipantRequest + */ +export declare class UpdateParticipantRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 3; + */ + metadata: string; + /** + * set to update the participant's permissions + * + * @generated from field: livekit.ParticipantPermission permission = 4; + */ + permission?: ParticipantPermission; + /** + * display name to update + * + * @generated from field: string name = 5; + */ + name: string; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 6; + */ + attributes: { + [key: string]: string; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateParticipantRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest; + static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateSubscriptionsRequest + */ +export declare class UpdateSubscriptionsRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + /** + * @generated from field: string identity = 2; + */ + identity: string; + /** + * list of sids of tracks + * + * @generated from field: repeated string track_sids = 3; + */ + trackSids: string[]; + /** + * set to true to subscribe, false to unsubscribe from tracks + * + * @generated from field: bool subscribe = 4; + */ + subscribe: boolean; + /** + * list of participants and their tracks + * + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; + */ + participantTracks: ParticipantTracks[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscriptionsRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest; + static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean; +} +/** + * empty for now + * + * @generated from message livekit.UpdateSubscriptionsResponse + */ +export declare class UpdateSubscriptionsResponse extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscriptionsResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse; + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse; + static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SendDataRequest + */ +export declare class SendDataRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + /** + * @generated from field: bytes data = 2; + */ + data: Uint8Array; + /** + * @generated from field: livekit.DataPacket.Kind kind = 3; + */ + kind: DataPacket_Kind; + /** + * mark deprecated + * + * @generated from field: repeated string destination_sids = 4 [deprecated = true]; + * @deprecated + */ + destinationSids: string[]; + /** + * when set, only forward to these identities + * + * @generated from field: repeated string destination_identities = 6; + */ + destinationIdentities: string[]; + /** + * @generated from field: optional string topic = 5; + */ + topic?: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SendDataRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest; + static fromJsonString(jsonString: string, options?: Partial): SendDataRequest; + static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SendDataResponse + */ +export declare class SendDataResponse extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SendDataResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse; + static fromJsonString(jsonString: string, options?: Partial): SendDataResponse; + static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateRoomMetadataRequest + */ +export declare class UpdateRoomMetadataRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 2; + */ + metadata: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateRoomMetadataRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest; + static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest; + static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomConfiguration + */ +export declare class RoomConfiguration extends Message { + /** + * Used as ID, must be unique + * + * @generated from field: string name = 1; + */ + name: string; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + emptyTimeout: number; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 3; + */ + departureTimeout: number; + /** + * limit number of participants that can be in a room, excluding Egress and Ingress participants + * + * @generated from field: uint32 max_participants = 4; + */ + maxParticipants: number; + /** + * egress + * + * @generated from field: livekit.RoomEgress egress = 5; + */ + egress?: RoomEgress; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + minPlayoutDelay: number; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + maxPlayoutDelay: number; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + syncStreams: boolean; + /** + * Define agents that should be dispatched to this room + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; + */ + agents: RoomAgentDispatch[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomConfiguration"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration; + static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration; + static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_room_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.d.ts.map b/packages/javascript/dist/gen/livekit_room_pb.d.ts.map new file mode 100644 index 00000000..5f9346a1 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_room_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_room_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAErI;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,iBAAiB,CAAC;IAC/D;;;;OAIG;IACH,IAAI,SAAM;IAEV;;;;OAIG;IACH,UAAU,SAAM;IAEhB;;;;OAIG;IACH,YAAY,SAAK;IAEjB;;;;OAIG;IACH,gBAAgB,SAAK;IAErB;;;;OAIG;IACH,eAAe,SAAK;IAEpB;;;;OAIG;IACH,MAAM,SAAM;IAEZ;;;;OAIG;IACH,QAAQ,SAAM;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;OAIG;IACH,eAAe,SAAK;IAEpB;;OAEG;IACH,eAAe,SAAK;IAEpB;;;;;OAKG;IACH,WAAW,UAAS;IAEpB;;;;OAIG;IACH,aAAa,UAAS;IA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AAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,+BAA+B;IACvD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAU9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,iBAAiB;IAI7F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAI5F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAIhG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/J"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.js b/packages/javascript/dist/gen/livekit_room_pb.js new file mode 100644 index 00000000..cd37191a --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.js @@ -0,0 +1,1038 @@ +import { Message, proto3 } from "@bufbuild/protobuf"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; +import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; +const _CreateRoomRequest = class _CreateRoomRequest extends Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * configuration to use for this room parameters. Setting parameters below override the config defaults. + * + * @generated from field: string room_preset = 12; + */ + this.roomPreset = ""; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + this.emptyTimeout = 0; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 10; + */ + this.departureTimeout = 0; + /** + * limit number of participants that can be in a room + * + * @generated from field: uint32 max_participants = 3; + */ + this.maxParticipants = 0; + /** + * override the node room is allocated to, for debugging + * + * @generated from field: string node_id = 4; + */ + this.nodeId = ""; + /** + * metadata of room + * + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + this.minPlayoutDelay = 0; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + this.maxPlayoutDelay = 0; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + this.syncStreams = false; + /** + * replay + * + * @generated from field: bool replay_enabled = 13; + */ + this.replayEnabled = false; + /** + * Define agents that should be dispatched to this room + * + * NEXT-ID: 15 + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; + */ + this.agents = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateRoomRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateRoomRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateRoomRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateRoomRequest, a, b); + } +}; +_CreateRoomRequest.runtime = proto3; +_CreateRoomRequest.typeName = "livekit.CreateRoomRequest"; +_CreateRoomRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "room_preset", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 10, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "node_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "egress", kind: "message", T: RoomEgress }, + { + no: 7, + name: "min_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "max_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "replay_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true } +]); +let CreateRoomRequest = _CreateRoomRequest; +const _RoomEgress = class _RoomEgress extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomEgress().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomEgress().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomEgress().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomEgress, a, b); + } +}; +_RoomEgress.runtime = proto3; +_RoomEgress.typeName = "livekit.RoomEgress"; +_RoomEgress.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest }, + { no: 3, name: "participant", kind: "message", T: AutoParticipantEgress }, + { no: 2, name: "tracks", kind: "message", T: AutoTrackEgress } +]); +let RoomEgress = _RoomEgress; +const _RoomAgent = class _RoomAgent extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; + */ + this.dispatches = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomAgent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomAgent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomAgent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomAgent, a, b); + } +}; +_RoomAgent.runtime = proto3; +_RoomAgent.typeName = "livekit.RoomAgent"; +_RoomAgent.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true } +]); +let RoomAgent = _RoomAgent; +const _ListRoomsRequest = class _ListRoomsRequest extends Message { + constructor(data) { + super(); + /** + * when set, will only return rooms with name match + * + * @generated from field: repeated string names = 1; + */ + this.names = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListRoomsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListRoomsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListRoomsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListRoomsRequest, a, b); + } +}; +_ListRoomsRequest.runtime = proto3; +_ListRoomsRequest.typeName = "livekit.ListRoomsRequest"; +_ListRoomsRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "names", kind: "scalar", T: 9, repeated: true } +]); +let ListRoomsRequest = _ListRoomsRequest; +const _ListRoomsResponse = class _ListRoomsResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.Room rooms = 1; + */ + this.rooms = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListRoomsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListRoomsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListRoomsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListRoomsResponse, a, b); + } +}; +_ListRoomsResponse.runtime = proto3; +_ListRoomsResponse.typeName = "livekit.ListRoomsResponse"; +_ListRoomsResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "rooms", kind: "message", T: Room, repeated: true } +]); +let ListRoomsResponse = _ListRoomsResponse; +const _DeleteRoomRequest = class _DeleteRoomRequest extends Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteRoomRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteRoomRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteRoomRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteRoomRequest, a, b); + } +}; +_DeleteRoomRequest.runtime = proto3; +_DeleteRoomRequest.typeName = "livekit.DeleteRoomRequest"; +_DeleteRoomRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteRoomRequest = _DeleteRoomRequest; +const _DeleteRoomResponse = class _DeleteRoomResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteRoomResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteRoomResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteRoomResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteRoomResponse, a, b); + } +}; +_DeleteRoomResponse.runtime = proto3; +_DeleteRoomResponse.typeName = "livekit.DeleteRoomResponse"; +_DeleteRoomResponse.fields = proto3.util.newFieldList(() => []); +let DeleteRoomResponse = _DeleteRoomResponse; +const _ListParticipantsRequest = class _ListParticipantsRequest extends Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListParticipantsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListParticipantsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListParticipantsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListParticipantsRequest, a, b); + } +}; +_ListParticipantsRequest.runtime = proto3; +_ListParticipantsRequest.typeName = "livekit.ListParticipantsRequest"; +_ListParticipantsRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ListParticipantsRequest = _ListParticipantsRequest; +const _ListParticipantsResponse = class _ListParticipantsResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + this.participants = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListParticipantsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListParticipantsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListParticipantsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListParticipantsResponse, a, b); + } +}; +_ListParticipantsResponse.runtime = proto3; +_ListParticipantsResponse.typeName = "livekit.ListParticipantsResponse"; +_ListParticipantsResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true } +]); +let ListParticipantsResponse = _ListParticipantsResponse; +const _RoomParticipantIdentity = class _RoomParticipantIdentity extends Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * identity of the participant + * + * @generated from field: string identity = 2; + */ + this.identity = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomParticipantIdentity().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomParticipantIdentity().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomParticipantIdentity().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomParticipantIdentity, a, b); + } +}; +_RoomParticipantIdentity.runtime = proto3; +_RoomParticipantIdentity.typeName = "livekit.RoomParticipantIdentity"; +_RoomParticipantIdentity.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RoomParticipantIdentity = _RoomParticipantIdentity; +const _RemoveParticipantResponse = class _RemoveParticipantResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RemoveParticipantResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RemoveParticipantResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RemoveParticipantResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RemoveParticipantResponse, a, b); + } +}; +_RemoveParticipantResponse.runtime = proto3; +_RemoveParticipantResponse.typeName = "livekit.RemoveParticipantResponse"; +_RemoveParticipantResponse.fields = proto3.util.newFieldList(() => []); +let RemoveParticipantResponse = _RemoveParticipantResponse; +const _MuteRoomTrackRequest = class _MuteRoomTrackRequest extends Message { + constructor(data) { + super(); + /** + * name of the room + * + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * sid of the track to mute + * + * @generated from field: string track_sid = 3; + */ + this.trackSid = ""; + /** + * set to true to mute, false to unmute + * + * @generated from field: bool muted = 4; + */ + this.muted = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteRoomTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteRoomTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteRoomTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MuteRoomTrackRequest, a, b); + } +}; +_MuteRoomTrackRequest.runtime = proto3; +_MuteRoomTrackRequest.typeName = "livekit.MuteRoomTrackRequest"; +_MuteRoomTrackRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let MuteRoomTrackRequest = _MuteRoomTrackRequest; +const _MuteRoomTrackResponse = class _MuteRoomTrackResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteRoomTrackResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteRoomTrackResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteRoomTrackResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MuteRoomTrackResponse, a, b); + } +}; +_MuteRoomTrackResponse.runtime = proto3; +_MuteRoomTrackResponse.typeName = "livekit.MuteRoomTrackResponse"; +_MuteRoomTrackResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "track", kind: "message", T: TrackInfo } +]); +let MuteRoomTrackResponse = _MuteRoomTrackResponse; +const _UpdateParticipantRequest = class _UpdateParticipantRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * display name to update + * + * @generated from field: string name = 5; + */ + this.name = ""; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 6; + */ + this.attributes = {}; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateParticipantRequest, a, b); + } +}; +_UpdateParticipantRequest.runtime = proto3; +_UpdateParticipantRequest.typeName = "livekit.UpdateParticipantRequest"; +_UpdateParticipantRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "permission", kind: "message", T: ParticipantPermission }, + { + no: 5, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let UpdateParticipantRequest = _UpdateParticipantRequest; +const _UpdateSubscriptionsRequest = class _UpdateSubscriptionsRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: string identity = 2; + */ + this.identity = ""; + /** + * list of sids of tracks + * + * @generated from field: repeated string track_sids = 3; + */ + this.trackSids = []; + /** + * set to true to subscribe, false to unsubscribe from tracks + * + * @generated from field: bool subscribe = 4; + */ + this.subscribe = false; + /** + * list of participants and their tracks + * + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; + */ + this.participantTracks = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscriptionsRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscriptionsRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscriptionsRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateSubscriptionsRequest, a, b); + } +}; +_UpdateSubscriptionsRequest.runtime = proto3; +_UpdateSubscriptionsRequest.typeName = "livekit.UpdateSubscriptionsRequest"; +_UpdateSubscriptionsRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 5, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true } +]); +let UpdateSubscriptionsRequest = _UpdateSubscriptionsRequest; +const _UpdateSubscriptionsResponse = class _UpdateSubscriptionsResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscriptionsResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscriptionsResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscriptionsResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateSubscriptionsResponse, a, b); + } +}; +_UpdateSubscriptionsResponse.runtime = proto3; +_UpdateSubscriptionsResponse.typeName = "livekit.UpdateSubscriptionsResponse"; +_UpdateSubscriptionsResponse.fields = proto3.util.newFieldList(() => []); +let UpdateSubscriptionsResponse = _UpdateSubscriptionsResponse; +const _SendDataRequest = class _SendDataRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * @generated from field: bytes data = 2; + */ + this.data = new Uint8Array(0); + /** + * @generated from field: livekit.DataPacket.Kind kind = 3; + */ + this.kind = DataPacket_Kind.RELIABLE; + /** + * mark deprecated + * + * @generated from field: repeated string destination_sids = 4 [deprecated = true]; + * @deprecated + */ + this.destinationSids = []; + /** + * when set, only forward to these identities + * + * @generated from field: repeated string destination_identities = 6; + */ + this.destinationIdentities = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SendDataRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SendDataRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SendDataRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SendDataRequest, a, b); + } +}; +_SendDataRequest.runtime = proto3; +_SendDataRequest.typeName = "livekit.SendDataRequest"; +_SendDataRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "data", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, + { no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, + { no: 5, name: "topic", kind: "scalar", T: 9, opt: true } +]); +let SendDataRequest = _SendDataRequest; +const _SendDataResponse = class _SendDataResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SendDataResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SendDataResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SendDataResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SendDataResponse, a, b); + } +}; +_SendDataResponse.runtime = proto3; +_SendDataResponse.typeName = "livekit.SendDataResponse"; +_SendDataResponse.fields = proto3.util.newFieldList(() => []); +let SendDataResponse = _SendDataResponse; +const _UpdateRoomMetadataRequest = class _UpdateRoomMetadataRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string room = 1; + */ + this.room = ""; + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 2; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateRoomMetadataRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateRoomMetadataRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateRoomMetadataRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateRoomMetadataRequest, a, b); + } +}; +_UpdateRoomMetadataRequest.runtime = proto3; +_UpdateRoomMetadataRequest.typeName = "livekit.UpdateRoomMetadataRequest"; +_UpdateRoomMetadataRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let UpdateRoomMetadataRequest = _UpdateRoomMetadataRequest; +const _RoomConfiguration = class _RoomConfiguration extends Message { + constructor(data) { + super(); + /** + * Used as ID, must be unique + * + * @generated from field: string name = 1; + */ + this.name = ""; + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + this.emptyTimeout = 0; + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 3; + */ + this.departureTimeout = 0; + /** + * limit number of participants that can be in a room, excluding Egress and Ingress participants + * + * @generated from field: uint32 max_participants = 4; + */ + this.maxParticipants = 0; + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + this.minPlayoutDelay = 0; + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + this.maxPlayoutDelay = 0; + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + this.syncStreams = false; + /** + * Define agents that should be dispatched to this room + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; + */ + this.agents = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomConfiguration().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomConfiguration().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomConfiguration().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomConfiguration, a, b); + } +}; +_RoomConfiguration.runtime = proto3; +_RoomConfiguration.typeName = "livekit.RoomConfiguration"; +_RoomConfiguration.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "empty_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "departure_timeout", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 4, + name: "max_participants", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 5, name: "egress", kind: "message", T: RoomEgress }, + { + no: 7, + name: "min_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "max_playout_delay", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 9, + name: "sync_streams", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true } +]); +let RoomConfiguration = _RoomConfiguration; +export { + CreateRoomRequest, + DeleteRoomRequest, + DeleteRoomResponse, + ListParticipantsRequest, + ListParticipantsResponse, + ListRoomsRequest, + ListRoomsResponse, + MuteRoomTrackRequest, + MuteRoomTrackResponse, + RemoveParticipantResponse, + RoomAgent, + RoomConfiguration, + RoomEgress, + RoomParticipantIdentity, + SendDataRequest, + SendDataResponse, + UpdateParticipantRequest, + UpdateRoomMetadataRequest, + UpdateSubscriptionsRequest, + UpdateSubscriptionsResponse +}; +//# sourceMappingURL=livekit_room_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.js.map b/packages/javascript/dist/gen/livekit_room_pb.js.map new file mode 100644 index 00000000..0fba624b --- /dev/null +++ b/packages/javascript/dist/gen/livekit_room_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_room_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_room.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from \"./livekit_egress_pb.js\";\nimport { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from message livekit.CreateRoomRequest\n */\nexport class CreateRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * configuration to use for this room parameters. Setting parameters below override the config defaults.\n *\n * @generated from field: string room_preset = 12;\n */\n roomPreset = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 10;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room\n *\n * @generated from field: uint32 max_participants = 3;\n */\n maxParticipants = 0;\n\n /**\n * override the node room is allocated to, for debugging\n *\n * @generated from field: string node_id = 4;\n */\n nodeId = \"\";\n\n /**\n * metadata of room\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * auto-egress configurations\n *\n * @generated from field: livekit.RoomEgress egress = 6;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * replay\n *\n * @generated from field: bool replay_enabled = 13;\n */\n replayEnabled = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * NEXT-ID: 15\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"room_preset\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomEgress\n */\nexport class RoomEgress extends Message {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room = 1;\n */\n room?: RoomCompositeEgressRequest;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant = 3;\n */\n participant?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.AutoTrackEgress tracks = 2;\n */\n tracks?: AutoTrackEgress;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: RoomCompositeEgressRequest },\n { no: 3, name: \"participant\", kind: \"message\", T: AutoParticipantEgress },\n { no: 2, name: \"tracks\", kind: \"message\", T: AutoTrackEgress },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress {\n return new RoomEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress {\n return new RoomEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomEgress {\n return new RoomEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgent\n */\nexport class RoomAgent extends Message {\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;\n */\n dispatches: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent {\n return new RoomAgent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent {\n return new RoomAgent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgent {\n return new RoomAgent().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsRequest\n */\nexport class ListRoomsRequest extends Message {\n /**\n * when set, will only return rooms with name match\n *\n * @generated from field: repeated string names = 1;\n */\n names: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"names\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsResponse\n */\nexport class ListRoomsResponse extends Message {\n /**\n * @generated from field: repeated livekit.Room rooms = 1;\n */\n rooms: Room[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rooms\", kind: \"message\", T: Room, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomRequest\n */\nexport class DeleteRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomResponse\n */\nexport class DeleteRoomResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsRequest\n */\nexport class ListParticipantsRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsResponse\n */\nexport class ListParticipantsResponse extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomParticipantIdentity\n */\nexport class RoomParticipantIdentity extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * identity of the participant\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomParticipantIdentity\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomParticipantIdentity, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RemoveParticipantResponse\n */\nexport class RemoveParticipantResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RemoveParticipantResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RemoveParticipantResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackRequest\n */\nexport class MuteRoomTrackRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * sid of the track to mute\n *\n * @generated from field: string track_sid = 3;\n */\n trackSid = \"\";\n\n /**\n * set to true to mute, false to unmute\n *\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackResponse\n */\nexport class MuteRoomTrackResponse extends Message {\n /**\n * @generated from field: livekit.TrackInfo track = 1;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantRequest\n */\nexport class UpdateParticipantRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * set to update the participant's permissions\n *\n * @generated from field: livekit.ParticipantPermission permission = 4;\n */\n permission?: ParticipantPermission;\n\n /**\n * display name to update\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 6;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscriptionsRequest\n */\nexport class UpdateSubscriptionsRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * list of sids of tracks\n *\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * set to true to subscribe, false to unsubscribe from tracks\n *\n * @generated from field: bool subscribe = 4;\n */\n subscribe = false;\n\n /**\n * list of participants and their tracks\n *\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsRequest, a, b);\n }\n}\n\n/**\n * empty for now\n *\n * @generated from message livekit.UpdateSubscriptionsResponse\n */\nexport class UpdateSubscriptionsResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataRequest\n */\nexport class SendDataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: bytes data = 2;\n */\n data = new Uint8Array(0);\n\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 3;\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * mark deprecated\n *\n * @generated from field: repeated string destination_sids = 4 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * when set, only forward to these identities\n *\n * @generated from field: repeated string destination_identities = 6;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from field: optional string topic = 5;\n */\n topic?: string;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"data\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataResponse\n */\nexport class SendDataResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateRoomMetadataRequest\n */\nexport class UpdateRoomMetadataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateRoomMetadataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateRoomMetadataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomConfiguration\n */\nexport class RoomConfiguration extends Message {\n /**\n * Used as ID, must be unique\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 3;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room, excluding Egress and Ingress participants\n *\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * egress\n *\n * @generated from field: livekit.RoomEgress egress = 5;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 10;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomConfiguration, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,cAAc;AAChC,SAAS,yBAAyB;AAClC,SAAS,uBAAuB,iBAAiB,kCAAkC;AACnF,SAAS,iBAAiB,iBAAiB,uBAAuB,mBAAmB,MAAM,iBAAiB;AAKrG,MAAM,qBAAN,MAAM,2BAA0B,QAA2B;AAAA,EA6FhE,YAAY,MAA0C;AACpD,UAAM;AAxFR;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAO;AAOP;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAa;AAOb;AAAA;AAAA;AAAA;AAAA;AAAA,wB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,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAiB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAC9E;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAoB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACjF,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,WAAW;AAAA,EACxD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAgB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC1E,EAAE,IAAI,IAAI,MAAM,UAAU,MAAM,WAAW,GAAG,mBAAmB,UAAU,KAAK;AAClF,CAAC;AAhFI,IAAM,oBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.cjs b/packages/javascript/dist/gen/livekit_rtc_pb.cjs new file mode 100644 index 00000000..d385b3e6 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.cjs @@ -0,0 +1,2261 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_rtc_pb_exports = {}; +__export(livekit_rtc_pb_exports, { + AddTrackRequest: () => AddTrackRequest, + CandidateProtocol: () => CandidateProtocol, + ConnectionQualityInfo: () => ConnectionQualityInfo, + ConnectionQualityUpdate: () => ConnectionQualityUpdate, + DataChannelInfo: () => DataChannelInfo, + ICEServer: () => ICEServer, + JoinResponse: () => JoinResponse, + LeaveRequest: () => LeaveRequest, + LeaveRequest_Action: () => LeaveRequest_Action, + MuteTrackRequest: () => MuteTrackRequest, + ParticipantUpdate: () => ParticipantUpdate, + Ping: () => Ping, + Pong: () => Pong, + ReconnectResponse: () => ReconnectResponse, + RegionInfo: () => RegionInfo, + RegionSettings: () => RegionSettings, + RequestResponse: () => RequestResponse, + RequestResponse_Reason: () => RequestResponse_Reason, + RoomUpdate: () => RoomUpdate, + SessionDescription: () => SessionDescription, + SignalRequest: () => SignalRequest, + SignalResponse: () => SignalResponse, + SignalTarget: () => SignalTarget, + SimulateScenario: () => SimulateScenario, + SimulcastCodec: () => SimulcastCodec, + SpeakersChanged: () => SpeakersChanged, + StreamState: () => StreamState, + StreamStateInfo: () => StreamStateInfo, + StreamStateUpdate: () => StreamStateUpdate, + SubscribedCodec: () => SubscribedCodec, + SubscribedQuality: () => SubscribedQuality, + SubscribedQualityUpdate: () => SubscribedQualityUpdate, + SubscriptionPermission: () => SubscriptionPermission, + SubscriptionPermissionUpdate: () => SubscriptionPermissionUpdate, + SubscriptionResponse: () => SubscriptionResponse, + SyncState: () => SyncState, + TrackPermission: () => TrackPermission, + TrackPublishedResponse: () => TrackPublishedResponse, + TrackSubscribed: () => TrackSubscribed, + TrackUnpublishedResponse: () => TrackUnpublishedResponse, + TrickleRequest: () => TrickleRequest, + UpdateLocalAudioTrack: () => UpdateLocalAudioTrack, + UpdateLocalVideoTrack: () => UpdateLocalVideoTrack, + UpdateParticipantMetadata: () => UpdateParticipantMetadata, + UpdateSubscription: () => UpdateSubscription, + UpdateTrackSettings: () => UpdateTrackSettings, + UpdateVideoLayers: () => UpdateVideoLayers +}); +module.exports = __toCommonJS(livekit_rtc_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var SignalTarget = /* @__PURE__ */ ((SignalTarget2) => { + SignalTarget2[SignalTarget2["PUBLISHER"] = 0] = "PUBLISHER"; + SignalTarget2[SignalTarget2["SUBSCRIBER"] = 1] = "SUBSCRIBER"; + return SignalTarget2; +})(SignalTarget || {}); +import_protobuf.proto3.util.setEnumType(SignalTarget, "livekit.SignalTarget", [ + { no: 0, name: "PUBLISHER" }, + { no: 1, name: "SUBSCRIBER" } +]); +var StreamState = /* @__PURE__ */ ((StreamState2) => { + StreamState2[StreamState2["ACTIVE"] = 0] = "ACTIVE"; + StreamState2[StreamState2["PAUSED"] = 1] = "PAUSED"; + return StreamState2; +})(StreamState || {}); +import_protobuf.proto3.util.setEnumType(StreamState, "livekit.StreamState", [ + { no: 0, name: "ACTIVE" }, + { no: 1, name: "PAUSED" } +]); +var CandidateProtocol = /* @__PURE__ */ ((CandidateProtocol2) => { + CandidateProtocol2[CandidateProtocol2["UDP"] = 0] = "UDP"; + CandidateProtocol2[CandidateProtocol2["TCP"] = 1] = "TCP"; + CandidateProtocol2[CandidateProtocol2["TLS"] = 2] = "TLS"; + return CandidateProtocol2; +})(CandidateProtocol || {}); +import_protobuf.proto3.util.setEnumType(CandidateProtocol, "livekit.CandidateProtocol", [ + { no: 0, name: "UDP" }, + { no: 1, name: "TCP" }, + { no: 2, name: "TLS" } +]); +const _SignalRequest = class _SignalRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SignalRequest.message + */ + this.message = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SignalRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SignalRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SignalRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SignalRequest, a, b); + } +}; +_SignalRequest.runtime = import_protobuf.proto3; +_SignalRequest.typeName = "livekit.SignalRequest"; +_SignalRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, + { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, + { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, + { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, + { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, + { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, + { no: 14, name: "ping", kind: "scalar", T: 3, oneof: "message" }, + { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, + { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, + { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, + { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" } +]); +let SignalRequest = _SignalRequest; +const _SignalResponse = class _SignalResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SignalResponse.message + */ + this.message = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SignalResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SignalResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SignalResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SignalResponse, a, b); + } +}; +_SignalResponse.runtime = import_protobuf.proto3; +_SignalResponse.typeName = "livekit.SignalResponse"; +_SignalResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, + { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, + { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, + { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, + { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, + { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, + { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, + { no: 16, name: "refresh_token", kind: "scalar", T: 9, oneof: "message" }, + { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, + { no: 18, name: "pong", kind: "scalar", T: 3, oneof: "message" }, + { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, + { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, + { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, + { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, + { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" } +]); +let SignalResponse = _SignalResponse; +const _SimulcastCodec = class _SimulcastCodec extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string codec = 1; + */ + this.codec = ""; + /** + * @generated from field: string cid = 2; + */ + this.cid = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulcastCodec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulcastCodec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulcastCodec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SimulcastCodec, a, b); + } +}; +_SimulcastCodec.runtime = import_protobuf.proto3; +_SimulcastCodec.typeName = "livekit.SimulcastCodec"; +_SimulcastCodec.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "codec", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SimulcastCodec = _SimulcastCodec; +const _AddTrackRequest = class _AddTrackRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * client ID of track, to match it when RTC track is received + * + * @generated from field: string cid = 1; + */ + this.cid = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackType type = 3; + */ + this.type = import_livekit_models_pb.TrackType.AUDIO; + /** + * to be deprecated in favor of layers + * + * @generated from field: uint32 width = 4; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 5; + */ + this.height = 0; + /** + * true to add track and initialize to muted + * + * @generated from field: bool muted = 6; + */ + this.muted = false; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 7; + */ + this.disableDtx = false; + /** + * @generated from field: livekit.TrackSource source = 8; + */ + this.source = import_livekit_models_pb.TrackSource.UNKNOWN; + /** + * @generated from field: repeated livekit.VideoLayer layers = 9; + */ + this.layers = []; + /** + * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; + */ + this.simulcastCodecs = []; + /** + * server ID of track, publish new codec to exist track + * + * @generated from field: string sid = 11; + */ + this.sid = ""; + /** + * @generated from field: bool stereo = 12; + */ + this.stereo = false; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 13; + */ + this.disableRed = false; + /** + * @generated from field: livekit.Encryption.Type encryption = 14; + */ + this.encryption = import_livekit_models_pb.Encryption_Type.NONE; + /** + * which stream the track belongs to, used to group tracks together. + * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together + * + * @generated from field: string stream = 15; + */ + this.stream = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AddTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AddTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AddTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_AddTrackRequest, a, b); + } +}; +_AddTrackRequest.runtime = import_protobuf.proto3; +_AddTrackRequest.typeName = "livekit.AddTrackRequest"; +_AddTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackType) }, + { + no: 4, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 7, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 8, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, + { no: 9, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true }, + { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, + { + no: 11, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "stereo", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "disable_red", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "encryption", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.Encryption_Type) }, + { + no: 15, + name: "stream", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AddTrackRequest = _AddTrackRequest; +const _TrickleRequest = class _TrickleRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string candidateInit = 1; + */ + this.candidateInit = ""; + /** + * @generated from field: livekit.SignalTarget target = 2; + */ + this.target = 0 /* PUBLISHER */; + /** + * @generated from field: bool final = 3; + */ + this.final = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrickleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrickleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrickleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrickleRequest, a, b); + } +}; +_TrickleRequest.runtime = import_protobuf.proto3; +_TrickleRequest.typeName = "livekit.TrickleRequest"; +_TrickleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "candidateInit", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "target", kind: "enum", T: import_protobuf.proto3.getEnumType(SignalTarget) }, + { + no: 3, + name: "final", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let TrickleRequest = _TrickleRequest; +const _MuteTrackRequest = class _MuteTrackRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: bool muted = 2; + */ + this.muted = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_MuteTrackRequest, a, b); + } +}; +_MuteTrackRequest.runtime = import_protobuf.proto3; +_MuteTrackRequest.typeName = "livekit.MuteTrackRequest"; +_MuteTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let MuteTrackRequest = _MuteTrackRequest; +const _JoinResponse = class _JoinResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; + */ + this.otherParticipants = []; + /** + * deprecated. use server_info.version instead. + * + * @generated from field: string server_version = 4; + */ + this.serverVersion = ""; + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 5; + */ + this.iceServers = []; + /** + * use subscriber as the primary PeerConnection + * + * @generated from field: bool subscriber_primary = 6; + */ + this.subscriberPrimary = false; + /** + * when the current server isn't available, return alternate url to retry connection + * when this is set, the other fields will be largely empty + * + * @generated from field: string alternative_url = 7; + */ + this.alternativeUrl = ""; + /** + * deprecated. use server_info.region instead. + * + * @generated from field: string server_region = 9; + */ + this.serverRegion = ""; + /** + * @generated from field: int32 ping_timeout = 10; + */ + this.pingTimeout = 0; + /** + * @generated from field: int32 ping_interval = 11; + */ + this.pingInterval = 0; + /** + * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled + * + * @generated from field: bytes sif_trailer = 13; + */ + this.sifTrailer = new Uint8Array(0); + /** + * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; + */ + this.enabledPublishCodecs = []; + /** + * when set, client should attempt to establish publish peer connection when joining room to speed up publishing + * + * @generated from field: bool fast_publish = 15; + */ + this.fastPublish = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JoinResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JoinResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JoinResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_JoinResponse, a, b); + } +}; +_JoinResponse.runtime = import_protobuf.proto3; +_JoinResponse.typeName = "livekit.JoinResponse"; +_JoinResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: import_livekit_models_pb.Room }, + { no: 2, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, + { no: 3, name: "other_participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true }, + { + no: 4, + name: "server_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { + no: 6, + name: "subscriber_primary", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 7, + name: "alternative_url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "client_configuration", kind: "message", T: import_livekit_models_pb.ClientConfiguration }, + { + no: 9, + name: "server_region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "ping_timeout", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 11, + name: "ping_interval", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 12, name: "server_info", kind: "message", T: import_livekit_models_pb.ServerInfo }, + { + no: 13, + name: "sif_trailer", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 14, name: "enabled_publish_codecs", kind: "message", T: import_livekit_models_pb.Codec, repeated: true }, + { + no: 15, + name: "fast_publish", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let JoinResponse = _JoinResponse; +const _ReconnectResponse = class _ReconnectResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 1; + */ + this.iceServers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ReconnectResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ReconnectResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ReconnectResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ReconnectResponse, a, b); + } +}; +_ReconnectResponse.runtime = import_protobuf.proto3; +_ReconnectResponse.typeName = "livekit.ReconnectResponse"; +_ReconnectResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { no: 2, name: "client_configuration", kind: "message", T: import_livekit_models_pb.ClientConfiguration } +]); +let ReconnectResponse = _ReconnectResponse; +const _TrackPublishedResponse = class _TrackPublishedResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string cid = 1; + */ + this.cid = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackPublishedResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackPublishedResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackPublishedResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackPublishedResponse, a, b); + } +}; +_TrackPublishedResponse.runtime = import_protobuf.proto3; +_TrackPublishedResponse.typeName = "livekit.TrackPublishedResponse"; +_TrackPublishedResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo } +]); +let TrackPublishedResponse = _TrackPublishedResponse; +const _TrackUnpublishedResponse = class _TrackUnpublishedResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackUnpublishedResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackUnpublishedResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackUnpublishedResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackUnpublishedResponse, a, b); + } +}; +_TrackUnpublishedResponse.runtime = import_protobuf.proto3; +_TrackUnpublishedResponse.typeName = "livekit.TrackUnpublishedResponse"; +_TrackUnpublishedResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackUnpublishedResponse = _TrackUnpublishedResponse; +const _SessionDescription = class _SessionDescription extends import_protobuf.Message { + constructor(data) { + super(); + /** + * "answer" | "offer" | "pranswer" | "rollback" + * + * @generated from field: string type = 1; + */ + this.type = ""; + /** + * @generated from field: string sdp = 2; + */ + this.sdp = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SessionDescription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SessionDescription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SessionDescription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SessionDescription, a, b); + } +}; +_SessionDescription.runtime = import_protobuf.proto3; +_SessionDescription.typeName = "livekit.SessionDescription"; +_SessionDescription.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sdp", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SessionDescription = _SessionDescription; +const _ParticipantUpdate = class _ParticipantUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + this.participants = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ParticipantUpdate, a, b); + } +}; +_ParticipantUpdate.runtime = import_protobuf.proto3; +_ParticipantUpdate.typeName = "livekit.ParticipantUpdate"; +_ParticipantUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true } +]); +let ParticipantUpdate = _ParticipantUpdate; +const _UpdateSubscription = class _UpdateSubscription extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string track_sids = 1; + */ + this.trackSids = []; + /** + * @generated from field: bool subscribe = 2; + */ + this.subscribe = false; + /** + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; + */ + this.participantTracks = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateSubscription, a, b); + } +}; +_UpdateSubscription.runtime = import_protobuf.proto3; +_UpdateSubscription.typeName = "livekit.UpdateSubscription"; +_UpdateSubscription.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "participant_tracks", kind: "message", T: import_livekit_models_pb.ParticipantTracks, repeated: true } +]); +let UpdateSubscription = _UpdateSubscription; +const _UpdateTrackSettings = class _UpdateTrackSettings extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string track_sids = 1; + */ + this.trackSids = []; + /** + * when true, the track is placed in a paused state, with no new data returned + * + * @generated from field: bool disabled = 3; + */ + this.disabled = false; + /** + * deprecated in favor of width & height + * + * @generated from field: livekit.VideoQuality quality = 4; + */ + this.quality = import_livekit_models_pb.VideoQuality.LOW; + /** + * for video, width to receive + * + * @generated from field: uint32 width = 5; + */ + this.width = 0; + /** + * for video, height to receive + * + * @generated from field: uint32 height = 6; + */ + this.height = 0; + /** + * @generated from field: uint32 fps = 7; + */ + this.fps = 0; + /** + * subscription priority. 1 being the highest (0 is unset) + * when unset, server sill assign priority based on the order of subscription + * server will use priority in the following ways: + * 1. when subscribed tracks exceed per-participant subscription limit, server will + * pause the lowest priority tracks + * 2. when the network is congested, server will assign available bandwidth to + * higher priority tracks first. lowest priority tracks can be paused + * + * @generated from field: uint32 priority = 8; + */ + this.priority = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateTrackSettings().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateTrackSettings().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateTrackSettings().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateTrackSettings, a, b); + } +}; +_UpdateTrackSettings.runtime = import_protobuf.proto3; +_UpdateTrackSettings.typeName = "livekit.UpdateTrackSettings"; +_UpdateTrackSettings.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "disabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, + { + no: 5, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "fps", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "priority", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateTrackSettings = _UpdateTrackSettings; +const _UpdateLocalAudioTrack = class _UpdateLocalAudioTrack extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.AudioTrackFeature features = 2; + */ + this.features = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLocalAudioTrack().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLocalAudioTrack().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLocalAudioTrack().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateLocalAudioTrack, a, b); + } +}; +_UpdateLocalAudioTrack.runtime = import_protobuf.proto3; +_UpdateLocalAudioTrack.typeName = "livekit.UpdateLocalAudioTrack"; +_UpdateLocalAudioTrack.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "features", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioTrackFeature), repeated: true } +]); +let UpdateLocalAudioTrack = _UpdateLocalAudioTrack; +const _UpdateLocalVideoTrack = class _UpdateLocalVideoTrack extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: uint32 width = 2; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 3; + */ + this.height = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLocalVideoTrack().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLocalVideoTrack().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLocalVideoTrack().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateLocalVideoTrack, a, b); + } +}; +_UpdateLocalVideoTrack.runtime = import_protobuf.proto3; +_UpdateLocalVideoTrack.typeName = "livekit.UpdateLocalVideoTrack"; +_UpdateLocalVideoTrack.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateLocalVideoTrack = _UpdateLocalVideoTrack; +const _LeaveRequest = class _LeaveRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * sent when server initiates the disconnect due to server-restart + * indicates clients should attempt full-reconnect sequence + * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 + * + * @generated from field: bool can_reconnect = 1; + */ + this.canReconnect = false; + /** + * @generated from field: livekit.DisconnectReason reason = 2; + */ + this.reason = import_livekit_models_pb.DisconnectReason.UNKNOWN_REASON; + /** + * @generated from field: livekit.LeaveRequest.Action action = 3; + */ + this.action = 0 /* DISCONNECT */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _LeaveRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _LeaveRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _LeaveRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_LeaveRequest, a, b); + } +}; +_LeaveRequest.runtime = import_protobuf.proto3; +_LeaveRequest.typeName = "livekit.LeaveRequest"; +_LeaveRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "can_reconnect", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DisconnectReason) }, + { no: 3, name: "action", kind: "enum", T: import_protobuf.proto3.getEnumType(LeaveRequest_Action) }, + { no: 4, name: "regions", kind: "message", T: RegionSettings } +]); +let LeaveRequest = _LeaveRequest; +var LeaveRequest_Action = /* @__PURE__ */ ((LeaveRequest_Action2) => { + LeaveRequest_Action2[LeaveRequest_Action2["DISCONNECT"] = 0] = "DISCONNECT"; + LeaveRequest_Action2[LeaveRequest_Action2["RESUME"] = 1] = "RESUME"; + LeaveRequest_Action2[LeaveRequest_Action2["RECONNECT"] = 2] = "RECONNECT"; + return LeaveRequest_Action2; +})(LeaveRequest_Action || {}); +import_protobuf.proto3.util.setEnumType(LeaveRequest_Action, "livekit.LeaveRequest.Action", [ + { no: 0, name: "DISCONNECT" }, + { no: 1, name: "RESUME" }, + { no: 2, name: "RECONNECT" } +]); +const _UpdateVideoLayers = class _UpdateVideoLayers extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.VideoLayer layers = 2; + */ + this.layers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateVideoLayers().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateVideoLayers().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateVideoLayers().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateVideoLayers, a, b); + } +}; +_UpdateVideoLayers.runtime = import_protobuf.proto3; +_UpdateVideoLayers.typeName = "livekit.UpdateVideoLayers"; +_UpdateVideoLayers.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true } +]); +let UpdateVideoLayers = _UpdateVideoLayers; +const _UpdateParticipantMetadata = class _UpdateParticipantMetadata extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string metadata = 1; + */ + this.metadata = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 3; + */ + this.attributes = {}; + /** + * @generated from field: uint32 request_id = 4; + */ + this.requestId = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateParticipantMetadata().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateParticipantMetadata().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateParticipantMetadata().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_UpdateParticipantMetadata, a, b); + } +}; +_UpdateParticipantMetadata.runtime = import_protobuf.proto3; +_UpdateParticipantMetadata.typeName = "livekit.UpdateParticipantMetadata"; +_UpdateParticipantMetadata.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 4, + name: "request_id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateParticipantMetadata = _UpdateParticipantMetadata; +const _ICEServer = class _ICEServer extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string urls = 1; + */ + this.urls = []; + /** + * @generated from field: string username = 2; + */ + this.username = ""; + /** + * @generated from field: string credential = 3; + */ + this.credential = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ICEServer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ICEServer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ICEServer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ICEServer, a, b); + } +}; +_ICEServer.runtime = import_protobuf.proto3; +_ICEServer.typeName = "livekit.ICEServer"; +_ICEServer.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "urls", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "credential", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ICEServer = _ICEServer; +const _SpeakersChanged = class _SpeakersChanged extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + this.speakers = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SpeakersChanged().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SpeakersChanged().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SpeakersChanged().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SpeakersChanged, a, b); + } +}; +_SpeakersChanged.runtime = import_protobuf.proto3; +_SpeakersChanged.typeName = "livekit.SpeakersChanged"; +_SpeakersChanged.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "speakers", kind: "message", T: import_livekit_models_pb.SpeakerInfo, repeated: true } +]); +let SpeakersChanged = _SpeakersChanged; +const _RoomUpdate = class _RoomUpdate extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RoomUpdate, a, b); + } +}; +_RoomUpdate.runtime = import_protobuf.proto3; +_RoomUpdate.typeName = "livekit.RoomUpdate"; +_RoomUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: import_livekit_models_pb.Room } +]); +let RoomUpdate = _RoomUpdate; +const _ConnectionQualityInfo = class _ConnectionQualityInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: livekit.ConnectionQuality quality = 2; + */ + this.quality = import_livekit_models_pb.ConnectionQuality.POOR; + /** + * @generated from field: float score = 3; + */ + this.score = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ConnectionQualityInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ConnectionQualityInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ConnectionQualityInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ConnectionQualityInfo, a, b); + } +}; +_ConnectionQualityInfo.runtime = import_protobuf.proto3; +_ConnectionQualityInfo.typeName = "livekit.ConnectionQualityInfo"; +_ConnectionQualityInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ConnectionQuality) }, + { + no: 3, + name: "score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let ConnectionQualityInfo = _ConnectionQualityInfo; +const _ConnectionQualityUpdate = class _ConnectionQualityUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; + */ + this.updates = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ConnectionQualityUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ConnectionQualityUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ConnectionQualityUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ConnectionQualityUpdate, a, b); + } +}; +_ConnectionQualityUpdate.runtime = import_protobuf.proto3; +_ConnectionQualityUpdate.typeName = "livekit.ConnectionQualityUpdate"; +_ConnectionQualityUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true } +]); +let ConnectionQualityUpdate = _ConnectionQualityUpdate; +const _StreamStateInfo = class _StreamStateInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: string track_sid = 2; + */ + this.trackSid = ""; + /** + * @generated from field: livekit.StreamState state = 3; + */ + this.state = 0 /* ACTIVE */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamStateInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamStateInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamStateInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StreamStateInfo, a, b); + } +}; +_StreamStateInfo.runtime = import_protobuf.proto3; +_StreamStateInfo.typeName = "livekit.StreamStateInfo"; +_StreamStateInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamState) } +]); +let StreamStateInfo = _StreamStateInfo; +const _StreamStateUpdate = class _StreamStateUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; + */ + this.streamStates = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamStateUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamStateUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamStateUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_StreamStateUpdate, a, b); + } +}; +_StreamStateUpdate.runtime = import_protobuf.proto3; +_StreamStateUpdate.typeName = "livekit.StreamStateUpdate"; +_StreamStateUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true } +]); +let StreamStateUpdate = _StreamStateUpdate; +const _SubscribedQuality = class _SubscribedQuality extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.VideoQuality quality = 1; + */ + this.quality = import_livekit_models_pb.VideoQuality.LOW; + /** + * @generated from field: bool enabled = 2; + */ + this.enabled = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedQuality().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedQuality().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedQuality().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscribedQuality, a, b); + } +}; +_SubscribedQuality.runtime = import_protobuf.proto3; +_SubscribedQuality.typeName = "livekit.SubscribedQuality"; +_SubscribedQuality.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, + { + no: 2, + name: "enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SubscribedQuality = _SubscribedQuality; +const _SubscribedCodec = class _SubscribedCodec extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string codec = 1; + */ + this.codec = ""; + /** + * @generated from field: repeated livekit.SubscribedQuality qualities = 2; + */ + this.qualities = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedCodec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedCodec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedCodec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscribedCodec, a, b); + } +}; +_SubscribedCodec.runtime = import_protobuf.proto3; +_SubscribedCodec.typeName = "livekit.SubscribedCodec"; +_SubscribedCodec.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "codec", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true } +]); +let SubscribedCodec = _SubscribedCodec; +const _SubscribedQualityUpdate = class _SubscribedQualityUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; + */ + this.subscribedQualities = []; + /** + * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; + */ + this.subscribedCodecs = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedQualityUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedQualityUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedQualityUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscribedQualityUpdate, a, b); + } +}; +_SubscribedQualityUpdate.runtime = import_protobuf.proto3; +_SubscribedQualityUpdate.typeName = "livekit.SubscribedQualityUpdate"; +_SubscribedQualityUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, + { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true } +]); +let SubscribedQualityUpdate = _SubscribedQualityUpdate; +const _TrackPermission = class _TrackPermission extends import_protobuf.Message { + constructor(data) { + super(); + /** + * permission could be granted either by participant sid or identity + * + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: bool all_tracks = 2; + */ + this.allTracks = false; + /** + * @generated from field: repeated string track_sids = 3; + */ + this.trackSids = []; + /** + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackPermission, a, b); + } +}; +_TrackPermission.runtime = import_protobuf.proto3; +_TrackPermission.typeName = "livekit.TrackPermission"; +_TrackPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "all_tracks", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackPermission = _TrackPermission; +const _SubscriptionPermission = class _SubscriptionPermission extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: bool all_participants = 1; + */ + this.allParticipants = false; + /** + * @generated from field: repeated livekit.TrackPermission track_permissions = 2; + */ + this.trackPermissions = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscriptionPermission, a, b); + } +}; +_SubscriptionPermission.runtime = import_protobuf.proto3; +_SubscriptionPermission.typeName = "livekit.SubscriptionPermission"; +_SubscriptionPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "all_participants", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true } +]); +let SubscriptionPermission = _SubscriptionPermission; +const _SubscriptionPermissionUpdate = class _SubscriptionPermissionUpdate extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: string track_sid = 2; + */ + this.trackSid = ""; + /** + * @generated from field: bool allowed = 3; + */ + this.allowed = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionPermissionUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionPermissionUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionPermissionUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscriptionPermissionUpdate, a, b); + } +}; +_SubscriptionPermissionUpdate.runtime = import_protobuf.proto3; +_SubscriptionPermissionUpdate.typeName = "livekit.SubscriptionPermissionUpdate"; +_SubscriptionPermissionUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "allowed", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SubscriptionPermissionUpdate = _SubscriptionPermissionUpdate; +const _SyncState = class _SyncState extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; + */ + this.publishTracks = []; + /** + * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; + */ + this.dataChannels = []; + /** + * @generated from field: repeated string track_sids_disabled = 6; + */ + this.trackSidsDisabled = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SyncState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SyncState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SyncState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SyncState, a, b); + } +}; +_SyncState.runtime = import_protobuf.proto3; +_SyncState.typeName = "livekit.SyncState"; +_SyncState.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "answer", kind: "message", T: SessionDescription }, + { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, + { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, + { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, + { no: 5, name: "offer", kind: "message", T: SessionDescription }, + { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true } +]); +let SyncState = _SyncState; +const _DataChannelInfo = class _DataChannelInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string label = 1; + */ + this.label = ""; + /** + * @generated from field: uint32 id = 2; + */ + this.id = 0; + /** + * @generated from field: livekit.SignalTarget target = 3; + */ + this.target = 0 /* PUBLISHER */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataChannelInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataChannelInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataChannelInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DataChannelInfo, a, b); + } +}; +_DataChannelInfo.runtime = import_protobuf.proto3; +_DataChannelInfo.typeName = "livekit.DataChannelInfo"; +_DataChannelInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 3, name: "target", kind: "enum", T: import_protobuf.proto3.getEnumType(SignalTarget) } +]); +let DataChannelInfo = _DataChannelInfo; +const _SimulateScenario = class _SimulateScenario extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SimulateScenario.scenario + */ + this.scenario = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulateScenario().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulateScenario().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulateScenario().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SimulateScenario, a, b); + } +}; +_SimulateScenario.runtime = import_protobuf.proto3; +_SimulateScenario.typeName = "livekit.SimulateScenario"; +_SimulateScenario.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "speaker_update", kind: "scalar", T: 5, oneof: "scenario" }, + { no: 2, name: "node_failure", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 3, name: "migration", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 4, name: "server_leave", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 5, name: "switch_candidate_protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, + { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3, oneof: "scenario" }, + { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8, oneof: "scenario" } +]); +let SimulateScenario = _SimulateScenario; +const _Ping = class _Ping extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: int64 timestamp = 1; + */ + this.timestamp = import_protobuf.protoInt64.zero; + /** + * rtt in milliseconds calculated by client + * + * @generated from field: int64 rtt = 2; + */ + this.rtt = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Ping().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Ping().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Ping().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Ping, a, b); + } +}; +_Ping.runtime = import_protobuf.proto3; +_Ping.typeName = "livekit.Ping"; +_Ping.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "rtt", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let Ping = _Ping; +const _Pong = class _Pong extends import_protobuf.Message { + constructor(data) { + super(); + /** + * timestamp field of last received ping request + * + * @generated from field: int64 last_ping_timestamp = 1; + */ + this.lastPingTimestamp = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Pong().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Pong().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Pong().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_Pong, a, b); + } +}; +_Pong.runtime = import_protobuf.proto3; +_Pong.typeName = "livekit.Pong"; +_Pong.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "last_ping_timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let Pong = _Pong; +const _RegionSettings = class _RegionSettings extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RegionInfo regions = 1; + */ + this.regions = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegionSettings().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegionSettings().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegionSettings().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RegionSettings, a, b); + } +}; +_RegionSettings.runtime = import_protobuf.proto3; +_RegionSettings.typeName = "livekit.RegionSettings"; +_RegionSettings.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true } +]); +let RegionSettings = _RegionSettings; +const _RegionInfo = class _RegionInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string region = 1; + */ + this.region = ""; + /** + * @generated from field: string url = 2; + */ + this.url = ""; + /** + * @generated from field: int64 distance = 3; + */ + this.distance = import_protobuf.protoInt64.zero; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegionInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegionInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegionInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RegionInfo, a, b); + } +}; +_RegionInfo.runtime = import_protobuf.proto3; +_RegionInfo.typeName = "livekit.RegionInfo"; +_RegionInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "distance", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let RegionInfo = _RegionInfo; +const _SubscriptionResponse = class _SubscriptionResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: livekit.SubscriptionError err = 2; + */ + this.err = import_livekit_models_pb.SubscriptionError.SE_UNKNOWN; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SubscriptionResponse, a, b); + } +}; +_SubscriptionResponse.runtime = import_protobuf.proto3; +_SubscriptionResponse.typeName = "livekit.SubscriptionResponse"; +_SubscriptionResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "err", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.SubscriptionError) } +]); +let SubscriptionResponse = _SubscriptionResponse; +const _RequestResponse = class _RequestResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 request_id = 1; + */ + this.requestId = 0; + /** + * @generated from field: livekit.RequestResponse.Reason reason = 2; + */ + this.reason = 0 /* OK */; + /** + * @generated from field: string message = 3; + */ + this.message = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RequestResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RequestResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RequestResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_RequestResponse, a, b); + } +}; +_RequestResponse.runtime = import_protobuf.proto3; +_RequestResponse.typeName = "livekit.RequestResponse"; +_RequestResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 2, name: "reason", kind: "enum", T: import_protobuf.proto3.getEnumType(RequestResponse_Reason) }, + { + no: 3, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RequestResponse = _RequestResponse; +var RequestResponse_Reason = /* @__PURE__ */ ((RequestResponse_Reason2) => { + RequestResponse_Reason2[RequestResponse_Reason2["OK"] = 0] = "OK"; + RequestResponse_Reason2[RequestResponse_Reason2["NOT_FOUND"] = 1] = "NOT_FOUND"; + RequestResponse_Reason2[RequestResponse_Reason2["NOT_ALLOWED"] = 2] = "NOT_ALLOWED"; + RequestResponse_Reason2[RequestResponse_Reason2["LIMIT_EXCEEDED"] = 3] = "LIMIT_EXCEEDED"; + return RequestResponse_Reason2; +})(RequestResponse_Reason || {}); +import_protobuf.proto3.util.setEnumType(RequestResponse_Reason, "livekit.RequestResponse.Reason", [ + { no: 0, name: "OK" }, + { no: 1, name: "NOT_FOUND" }, + { no: 2, name: "NOT_ALLOWED" }, + { no: 3, name: "LIMIT_EXCEEDED" } +]); +const _TrackSubscribed = class _TrackSubscribed extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackSubscribed().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackSubscribed().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackSubscribed().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TrackSubscribed, a, b); + } +}; +_TrackSubscribed.runtime = import_protobuf.proto3; +_TrackSubscribed.typeName = "livekit.TrackSubscribed"; +_TrackSubscribed.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackSubscribed = _TrackSubscribed; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + AddTrackRequest, + CandidateProtocol, + ConnectionQualityInfo, + ConnectionQualityUpdate, + DataChannelInfo, + ICEServer, + JoinResponse, + LeaveRequest, + LeaveRequest_Action, + MuteTrackRequest, + ParticipantUpdate, + Ping, + Pong, + ReconnectResponse, + RegionInfo, + RegionSettings, + RequestResponse, + RequestResponse_Reason, + RoomUpdate, + SessionDescription, + SignalRequest, + SignalResponse, + SignalTarget, + SimulateScenario, + SimulcastCodec, + SpeakersChanged, + StreamState, + StreamStateInfo, + StreamStateUpdate, + SubscribedCodec, + SubscribedQuality, + SubscribedQualityUpdate, + SubscriptionPermission, + SubscriptionPermissionUpdate, + SubscriptionResponse, + SyncState, + TrackPermission, + TrackPublishedResponse, + TrackSubscribed, + TrackUnpublishedResponse, + TrickleRequest, + UpdateLocalAudioTrack, + UpdateLocalVideoTrack, + UpdateParticipantMetadata, + UpdateSubscription, + UpdateTrackSettings, + UpdateVideoLayers +}); +//# sourceMappingURL=livekit_rtc_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map b/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map new file mode 100644 index 00000000..ea454f40 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_rtc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_rtc.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SignalTarget\n */\nexport enum SignalTarget {\n /**\n * @generated from enum value: PUBLISHER = 0;\n */\n PUBLISHER = 0,\n\n /**\n * @generated from enum value: SUBSCRIBER = 1;\n */\n SUBSCRIBER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SignalTarget)\nproto3.util.setEnumType(SignalTarget, \"livekit.SignalTarget\", [\n { no: 0, name: \"PUBLISHER\" },\n { no: 1, name: \"SUBSCRIBER\" },\n]);\n\n/**\n * @generated from enum livekit.StreamState\n */\nexport enum StreamState {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: PAUSED = 1;\n */\n PAUSED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamState)\nproto3.util.setEnumType(StreamState, \"livekit.StreamState\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"PAUSED\" },\n]);\n\n/**\n * @generated from enum livekit.CandidateProtocol\n */\nexport enum CandidateProtocol {\n /**\n * @generated from enum value: UDP = 0;\n */\n UDP = 0,\n\n /**\n * @generated from enum value: TCP = 1;\n */\n TCP = 1,\n\n /**\n * @generated from enum value: TLS = 2;\n */\n TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(CandidateProtocol)\nproto3.util.setEnumType(CandidateProtocol, \"livekit.CandidateProtocol\", [\n { no: 0, name: \"UDP\" },\n { no: 1, name: \"TCP\" },\n { no: 2, name: \"TLS\" },\n]);\n\n/**\n * @generated from message livekit.SignalRequest\n */\nexport class SignalRequest extends Message {\n /**\n * @generated from oneof livekit.SignalRequest.message\n */\n message: {\n /**\n * initial join exchange, for publisher\n *\n * @generated from field: livekit.SessionDescription offer = 1;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * participant answering publisher offer\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * @generated from field: livekit.TrickleRequest trickle = 3;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * @generated from field: livekit.AddTrackRequest add_track = 4;\n */\n value: AddTrackRequest;\n case: \"addTrack\";\n } | {\n /**\n * mute the participant's published tracks\n *\n * @generated from field: livekit.MuteTrackRequest mute = 5;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * Subscribe or unsubscribe from tracks\n *\n * @generated from field: livekit.UpdateSubscription subscription = 6;\n */\n value: UpdateSubscription;\n case: \"subscription\";\n } | {\n /**\n * Update settings of subscribed tracks\n *\n * @generated from field: livekit.UpdateTrackSettings track_setting = 7;\n */\n value: UpdateTrackSettings;\n case: \"trackSetting\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * Update published video layers\n *\n * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true];\n * @deprecated\n */\n value: UpdateVideoLayers;\n case: \"updateLayers\";\n } | {\n /**\n * Update subscriber permissions\n *\n * @generated from field: livekit.SubscriptionPermission subscription_permission = 11;\n */\n value: SubscriptionPermission;\n case: \"subscriptionPermission\";\n } | {\n /**\n * sync client's subscribe state to server during reconnect\n *\n * @generated from field: livekit.SyncState sync_state = 12;\n */\n value: SyncState;\n case: \"syncState\";\n } | {\n /**\n * Simulate conditions, for client validations\n *\n * @generated from field: livekit.SimulateScenario simulate = 13;\n */\n value: SimulateScenario;\n case: \"simulate\";\n } | {\n /**\n * client triggered ping to server\n *\n * deprecated by ping_req (message Ping)\n *\n * @generated from field: int64 ping = 14;\n */\n value: bigint;\n case: \"ping\";\n } | {\n /**\n * update a participant's own metadata, name, or attributes\n * requires canUpdateOwnParticipantMetadata permission\n *\n * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15;\n */\n value: UpdateParticipantMetadata;\n case: \"updateMetadata\";\n } | {\n /**\n * @generated from field: livekit.Ping ping_req = 16;\n */\n value: Ping;\n case: \"pingReq\";\n } | {\n /**\n * Update local audio track settings\n *\n * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;\n */\n value: UpdateLocalAudioTrack;\n case: \"updateAudioTrack\";\n } | {\n /**\n * Update local video track settings\n *\n * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;\n */\n value: UpdateLocalVideoTrack;\n case: \"updateVideoTrack\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 4, name: \"add_track\", kind: \"message\", T: AddTrackRequest, oneof: \"message\" },\n { no: 5, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 6, name: \"subscription\", kind: \"message\", T: UpdateSubscription, oneof: \"message\" },\n { no: 7, name: \"track_setting\", kind: \"message\", T: UpdateTrackSettings, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 10, name: \"update_layers\", kind: \"message\", T: UpdateVideoLayers, oneof: \"message\" },\n { no: 11, name: \"subscription_permission\", kind: \"message\", T: SubscriptionPermission, oneof: \"message\" },\n { no: 12, name: \"sync_state\", kind: \"message\", T: SyncState, oneof: \"message\" },\n { no: 13, name: \"simulate\", kind: \"message\", T: SimulateScenario, oneof: \"message\" },\n { no: 14, name: \"ping\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 15, name: \"update_metadata\", kind: \"message\", T: UpdateParticipantMetadata, oneof: \"message\" },\n { no: 16, name: \"ping_req\", kind: \"message\", T: Ping, oneof: \"message\" },\n { no: 17, name: \"update_audio_track\", kind: \"message\", T: UpdateLocalAudioTrack, oneof: \"message\" },\n { no: 18, name: \"update_video_track\", kind: \"message\", T: UpdateLocalVideoTrack, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest {\n return new SignalRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest {\n return new SignalRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalRequest {\n return new SignalRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SignalResponse\n */\nexport class SignalResponse extends Message {\n /**\n * @generated from oneof livekit.SignalResponse.message\n */\n message: {\n /**\n * sent when join is accepted\n *\n * @generated from field: livekit.JoinResponse join = 1;\n */\n value: JoinResponse;\n case: \"join\";\n } | {\n /**\n * sent when server answers publisher\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * sent when server is sending subscriber an offer\n *\n * @generated from field: livekit.SessionDescription offer = 3;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * sent when an ICE candidate is available\n *\n * @generated from field: livekit.TrickleRequest trickle = 4;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * sent when participants in the room has changed\n *\n * @generated from field: livekit.ParticipantUpdate update = 5;\n */\n value: ParticipantUpdate;\n case: \"update\";\n } | {\n /**\n * sent to the participant when their track has been published\n *\n * @generated from field: livekit.TrackPublishedResponse track_published = 6;\n */\n value: TrackPublishedResponse;\n case: \"trackPublished\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * server initiated mute\n *\n * @generated from field: livekit.MuteTrackRequest mute = 9;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * indicates changes to speaker status, including when they've gone to not speaking\n *\n * @generated from field: livekit.SpeakersChanged speakers_changed = 10;\n */\n value: SpeakersChanged;\n case: \"speakersChanged\";\n } | {\n /**\n * sent when metadata of the room has changed\n *\n * @generated from field: livekit.RoomUpdate room_update = 11;\n */\n value: RoomUpdate;\n case: \"roomUpdate\";\n } | {\n /**\n * when connection quality changed\n *\n * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12;\n */\n value: ConnectionQualityUpdate;\n case: \"connectionQuality\";\n } | {\n /**\n * when streamed tracks state changed, used to notify when any of the streams were paused due to\n * congestion\n *\n * @generated from field: livekit.StreamStateUpdate stream_state_update = 13;\n */\n value: StreamStateUpdate;\n case: \"streamStateUpdate\";\n } | {\n /**\n * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers\n *\n * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14;\n */\n value: SubscribedQualityUpdate;\n case: \"subscribedQualityUpdate\";\n } | {\n /**\n * when subscription permission changed\n *\n * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;\n */\n value: SubscriptionPermissionUpdate;\n case: \"subscriptionPermissionUpdate\";\n } | {\n /**\n * update the token the client was using, to prevent an active client from using an expired token\n *\n * @generated from field: string refresh_token = 16;\n */\n value: string;\n case: \"refreshToken\";\n } | {\n /**\n * server initiated track unpublish\n *\n * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17;\n */\n value: TrackUnpublishedResponse;\n case: \"trackUnpublished\";\n } | {\n /**\n * respond to ping\n *\n * deprecated by pong_resp (message Pong)\n *\n * @generated from field: int64 pong = 18;\n */\n value: bigint;\n case: \"pong\";\n } | {\n /**\n * sent when client reconnects\n *\n * @generated from field: livekit.ReconnectResponse reconnect = 19;\n */\n value: ReconnectResponse;\n case: \"reconnect\";\n } | {\n /**\n * respond to Ping\n *\n * @generated from field: livekit.Pong pong_resp = 20;\n */\n value: Pong;\n case: \"pongResp\";\n } | {\n /**\n * Subscription response, client should not expect any media from this subscription if it fails\n *\n * @generated from field: livekit.SubscriptionResponse subscription_response = 21;\n */\n value: SubscriptionResponse;\n case: \"subscriptionResponse\";\n } | {\n /**\n * Response relating to user inititated requests that carry a `request_id`\n *\n * @generated from field: livekit.RequestResponse request_response = 22;\n */\n value: RequestResponse;\n case: \"requestResponse\";\n } | {\n /**\n * notify to the publisher when a published track has been subscribed for the first time\n *\n * @generated from field: livekit.TrackSubscribed track_subscribed = 23;\n */\n value: TrackSubscribed;\n case: \"trackSubscribed\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"join\", kind: \"message\", T: JoinResponse, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 4, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 5, name: \"update\", kind: \"message\", T: ParticipantUpdate, oneof: \"message\" },\n { no: 6, name: \"track_published\", kind: \"message\", T: TrackPublishedResponse, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 9, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 10, name: \"speakers_changed\", kind: \"message\", T: SpeakersChanged, oneof: \"message\" },\n { no: 11, name: \"room_update\", kind: \"message\", T: RoomUpdate, oneof: \"message\" },\n { no: 12, name: \"connection_quality\", kind: \"message\", T: ConnectionQualityUpdate, oneof: \"message\" },\n { no: 13, name: \"stream_state_update\", kind: \"message\", T: StreamStateUpdate, oneof: \"message\" },\n { no: 14, name: \"subscribed_quality_update\", kind: \"message\", T: SubscribedQualityUpdate, oneof: \"message\" },\n { no: 15, name: \"subscription_permission_update\", kind: \"message\", T: SubscriptionPermissionUpdate, oneof: \"message\" },\n { no: 16, name: \"refresh_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"message\" },\n { no: 17, name: \"track_unpublished\", kind: \"message\", T: TrackUnpublishedResponse, oneof: \"message\" },\n { no: 18, name: \"pong\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 19, name: \"reconnect\", kind: \"message\", T: ReconnectResponse, oneof: \"message\" },\n { no: 20, name: \"pong_resp\", kind: \"message\", T: Pong, oneof: \"message\" },\n { no: 21, name: \"subscription_response\", kind: \"message\", T: SubscriptionResponse, oneof: \"message\" },\n { no: 22, name: \"request_response\", kind: \"message\", T: RequestResponse, oneof: \"message\" },\n { no: 23, name: \"track_subscribed\", kind: \"message\", T: TrackSubscribed, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse {\n return new SignalResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse {\n return new SignalResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalResponse {\n return new SignalResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulcastCodec\n */\nexport class SimulcastCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: string cid = 2;\n */\n cid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AddTrackRequest\n */\nexport class AddTrackRequest extends Message {\n /**\n * client ID of track, to match it when RTC track is received\n *\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 3;\n */\n type = TrackType.AUDIO;\n\n /**\n * to be deprecated in favor of layers\n *\n * @generated from field: uint32 width = 4;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 5;\n */\n height = 0;\n\n /**\n * true to add track and initialize to muted\n *\n * @generated from field: bool muted = 6;\n */\n muted = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 7;\n */\n disableDtx = false;\n\n /**\n * @generated from field: livekit.TrackSource source = 8;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 9;\n */\n layers: VideoLayer[] = [];\n\n /**\n * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10;\n */\n simulcastCodecs: SimulcastCodec[] = [];\n\n /**\n * server ID of track, publish new codec to exist track\n *\n * @generated from field: string sid = 11;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool stereo = 12;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 13;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 14;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * which stream the track belongs to, used to group tracks together.\n * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together\n *\n * @generated from field: string stream = 15;\n */\n stream = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AddTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 4, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 9, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 10, name: \"simulcast_codecs\", kind: \"message\", T: SimulcastCodec, repeated: true },\n { no: 11, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 15, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AddTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrickleRequest\n */\nexport class TrickleRequest extends Message {\n /**\n * @generated from field: string candidateInit = 1;\n */\n candidateInit = \"\";\n\n /**\n * @generated from field: livekit.SignalTarget target = 2;\n */\n target = SignalTarget.PUBLISHER;\n\n /**\n * @generated from field: bool final = 3;\n */\n final = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrickleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"candidateInit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n { no: 3, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrickleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteTrackRequest\n */\nexport class MuteTrackRequest extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool muted = 2;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JoinResponse\n */\nexport class JoinResponse extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 2;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: repeated livekit.ParticipantInfo other_participants = 3;\n */\n otherParticipants: ParticipantInfo[] = [];\n\n /**\n * deprecated. use server_info.version instead.\n *\n * @generated from field: string server_version = 4;\n */\n serverVersion = \"\";\n\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 5;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * use subscriber as the primary PeerConnection\n *\n * @generated from field: bool subscriber_primary = 6;\n */\n subscriberPrimary = false;\n\n /**\n * when the current server isn't available, return alternate url to retry connection\n * when this is set, the other fields will be largely empty\n *\n * @generated from field: string alternative_url = 7;\n */\n alternativeUrl = \"\";\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 8;\n */\n clientConfiguration?: ClientConfiguration;\n\n /**\n * deprecated. use server_info.region instead.\n *\n * @generated from field: string server_region = 9;\n */\n serverRegion = \"\";\n\n /**\n * @generated from field: int32 ping_timeout = 10;\n */\n pingTimeout = 0;\n\n /**\n * @generated from field: int32 ping_interval = 11;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 12;\n */\n serverInfo?: ServerInfo;\n\n /**\n * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled\n *\n * @generated from field: bytes sif_trailer = 13;\n */\n sifTrailer = new Uint8Array(0);\n\n /**\n * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;\n */\n enabledPublishCodecs: Codec[] = [];\n\n /**\n * when set, client should attempt to establish publish peer connection when joining room to speed up publishing\n *\n * @generated from field: bool fast_publish = 15;\n */\n fastPublish = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JoinResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n { no: 2, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 3, name: \"other_participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n { no: 4, name: \"server_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 6, name: \"subscriber_primary\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"alternative_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n { no: 9, name: \"server_region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"ping_timeout\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"ping_interval\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"server_info\", kind: \"message\", T: ServerInfo },\n { no: 13, name: \"sif_trailer\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 14, name: \"enabled_publish_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 15, name: \"fast_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse {\n return new JoinResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse {\n return new JoinResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JoinResponse {\n return new JoinResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(JoinResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ReconnectResponse\n */\nexport class ReconnectResponse extends Message {\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 1;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 2;\n */\n clientConfiguration?: ClientConfiguration;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ReconnectResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 2, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ReconnectResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPublishedResponse\n */\nexport class TrackPublishedResponse extends Message {\n /**\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 2;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackUnpublishedResponse\n */\nexport class TrackUnpublishedResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackUnpublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackUnpublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SessionDescription\n */\nexport class SessionDescription extends Message {\n /**\n * \"answer\" | \"offer\" | \"pranswer\" | \"rollback\"\n *\n * @generated from field: string type = 1;\n */\n type = \"\";\n\n /**\n * @generated from field: string sdp = 2;\n */\n sdp = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SessionDescription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sdp\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription {\n return new SessionDescription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription {\n return new SessionDescription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SessionDescription {\n return new SessionDescription().fromJsonString(jsonString, options);\n }\n\n static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean {\n return proto3.util.equals(SessionDescription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantUpdate\n */\nexport class ParticipantUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscription\n */\nexport class UpdateSubscription extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: bool subscribe = 2;\n */\n subscribe = false;\n\n /**\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateTrackSettings\n */\nexport class UpdateTrackSettings extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * when true, the track is placed in a paused state, with no new data returned\n *\n * @generated from field: bool disabled = 3;\n */\n disabled = false;\n\n /**\n * deprecated in favor of width & height\n *\n * @generated from field: livekit.VideoQuality quality = 4;\n */\n quality = VideoQuality.LOW;\n\n /**\n * for video, width to receive\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * for video, height to receive\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * @generated from field: uint32 fps = 7;\n */\n fps = 0;\n\n /**\n * subscription priority. 1 being the highest (0 is unset)\n * when unset, server sill assign priority based on the order of subscription\n * server will use priority in the following ways:\n * 1. when subscribed tracks exceed per-participant subscription limit, server will\n * pause the lowest priority tracks\n * 2. when the network is congested, server will assign available bandwidth to\n * higher priority tracks first. lowest priority tracks can be paused\n *\n * @generated from field: uint32 priority = 8;\n */\n priority = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateTrackSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"disabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"fps\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"priority\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateTrackSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalAudioTrack\n */\nexport class UpdateLocalAudioTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature features = 2;\n */\n features: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalAudioTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalAudioTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalVideoTrack\n */\nexport class UpdateLocalVideoTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalVideoTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalVideoTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.LeaveRequest\n */\nexport class LeaveRequest extends Message {\n /**\n * sent when server initiates the disconnect due to server-restart\n * indicates clients should attempt full-reconnect sequence\n * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13\n *\n * @generated from field: bool can_reconnect = 1;\n */\n canReconnect = false;\n\n /**\n * @generated from field: livekit.DisconnectReason reason = 2;\n */\n reason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: livekit.LeaveRequest.Action action = 3;\n */\n action = LeaveRequest_Action.DISCONNECT;\n\n /**\n * @generated from field: livekit.RegionSettings regions = 4;\n */\n regions?: RegionSettings;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.LeaveRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 3, name: \"action\", kind: \"enum\", T: proto3.getEnumType(LeaveRequest_Action) },\n { no: 4, name: \"regions\", kind: \"message\", T: RegionSettings },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(LeaveRequest, a, b);\n }\n}\n\n/**\n * indicates action clients should take on receiving this message\n *\n * @generated from enum livekit.LeaveRequest.Action\n */\nexport enum LeaveRequest_Action {\n /**\n * should disconnect\n *\n * @generated from enum value: DISCONNECT = 0;\n */\n DISCONNECT = 0,\n\n /**\n * should attempt a resume with `reconnect=1` in join URL\n *\n * @generated from enum value: RESUME = 1;\n */\n RESUME = 1,\n\n /**\n * should attempt a reconnect, i. e. no `reconnect=1`\n *\n * @generated from enum value: RECONNECT = 2;\n */\n RECONNECT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(LeaveRequest_Action)\nproto3.util.setEnumType(LeaveRequest_Action, \"livekit.LeaveRequest.Action\", [\n { no: 0, name: \"DISCONNECT\" },\n { no: 1, name: \"RESUME\" },\n { no: 2, name: \"RECONNECT\" },\n]);\n\n/**\n * message to indicate published video track dimensions are changing\n *\n * @generated from message livekit.UpdateVideoLayers\n * @deprecated\n */\nexport class UpdateVideoLayers extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 2;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateVideoLayers\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateVideoLayers, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantMetadata\n */\nexport class UpdateParticipantMetadata extends Message {\n /**\n * @generated from field: string metadata = 1;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 3;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: uint32 request_id = 4;\n */\n requestId = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantMetadata\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 4, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantMetadata, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEServer\n */\nexport class ICEServer extends Message {\n /**\n * @generated from field: repeated string urls = 1;\n */\n urls: string[] = [];\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string credential = 3;\n */\n credential = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEServer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"credential\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer {\n return new ICEServer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer {\n return new ICEServer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEServer {\n return new ICEServer().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEServer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakersChanged\n */\nexport class SpeakersChanged extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakersChanged\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakersChanged, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomUpdate\n */\nexport class RoomUpdate extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityInfo\n */\nexport class ConnectionQualityInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: livekit.ConnectionQuality quality = 2;\n */\n quality = ConnectionQuality.POOR;\n\n /**\n * @generated from field: float score = 3;\n */\n score = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(ConnectionQuality) },\n { no: 3, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityUpdate\n */\nexport class ConnectionQualityUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1;\n */\n updates: ConnectionQualityInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"updates\", kind: \"message\", T: ConnectionQualityInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateInfo\n */\nexport class StreamStateInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.StreamState state = 3;\n */\n state = StreamState.ACTIVE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(StreamState) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateUpdate\n */\nexport class StreamStateUpdate extends Message {\n /**\n * @generated from field: repeated livekit.StreamStateInfo stream_states = 1;\n */\n streamStates: StreamStateInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_states\", kind: \"message\", T: StreamStateInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQuality\n */\nexport class SubscribedQuality extends Message {\n /**\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: bool enabled = 2;\n */\n enabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQuality\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQuality, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedCodec\n */\nexport class SubscribedCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality qualities = 2;\n */\n qualities: SubscribedQuality[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQualityUpdate\n */\nexport class SubscribedQualityUpdate extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;\n */\n subscribedQualities: SubscribedQuality[] = [];\n\n /**\n * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3;\n */\n subscribedCodecs: SubscribedCodec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"subscribed_qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n { no: 3, name: \"subscribed_codecs\", kind: \"message\", T: SubscribedCodec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPermission\n */\nexport class TrackPermission extends Message {\n /**\n * permission could be granted either by participant sid or identity\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: bool all_tracks = 2;\n */\n allTracks = false;\n\n /**\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"all_tracks\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission {\n return new TrackPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission {\n return new TrackPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPermission {\n return new TrackPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermission\n */\nexport class SubscriptionPermission extends Message {\n /**\n * @generated from field: bool all_participants = 1;\n */\n allParticipants = false;\n\n /**\n * @generated from field: repeated livekit.TrackPermission track_permissions = 2;\n */\n trackPermissions: TrackPermission[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"all_participants\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"track_permissions\", kind: \"message\", T: TrackPermission, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermissionUpdate\n */\nexport class SubscriptionPermissionUpdate extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: bool allowed = 3;\n */\n allowed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermissionUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"allowed\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermissionUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SyncState\n */\nexport class SyncState extends Message {\n /**\n * last subscribe answer before reconnecting\n *\n * @generated from field: livekit.SessionDescription answer = 1;\n */\n answer?: SessionDescription;\n\n /**\n * @generated from field: livekit.UpdateSubscription subscription = 2;\n */\n subscription?: UpdateSubscription;\n\n /**\n * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3;\n */\n publishTracks: TrackPublishedResponse[] = [];\n\n /**\n * @generated from field: repeated livekit.DataChannelInfo data_channels = 4;\n */\n dataChannels: DataChannelInfo[] = [];\n\n /**\n * last received server side offer before reconnecting\n *\n * @generated from field: livekit.SessionDescription offer = 5;\n */\n offer?: SessionDescription;\n\n /**\n * @generated from field: repeated string track_sids_disabled = 6;\n */\n trackSidsDisabled: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SyncState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"answer\", kind: \"message\", T: SessionDescription },\n { no: 2, name: \"subscription\", kind: \"message\", T: UpdateSubscription },\n { no: 3, name: \"publish_tracks\", kind: \"message\", T: TrackPublishedResponse, repeated: true },\n { no: 4, name: \"data_channels\", kind: \"message\", T: DataChannelInfo, repeated: true },\n { no: 5, name: \"offer\", kind: \"message\", T: SessionDescription },\n { no: 6, name: \"track_sids_disabled\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SyncState {\n return new SyncState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SyncState {\n return new SyncState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SyncState {\n return new SyncState().fromJsonString(jsonString, options);\n }\n\n static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean {\n return proto3.util.equals(SyncState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataChannelInfo\n */\nexport class DataChannelInfo extends Message {\n /**\n * @generated from field: string label = 1;\n */\n label = \"\";\n\n /**\n * @generated from field: uint32 id = 2;\n */\n id = 0;\n\n /**\n * @generated from field: livekit.SignalTarget target = 3;\n */\n target = SignalTarget.PUBLISHER;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataChannelInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataChannelInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateScenario\n */\nexport class SimulateScenario extends Message {\n /**\n * @generated from oneof livekit.SimulateScenario.scenario\n */\n scenario: {\n /**\n * simulate N seconds of speaker activity\n *\n * @generated from field: int32 speaker_update = 1;\n */\n value: number;\n case: \"speakerUpdate\";\n } | {\n /**\n * simulate local node failure\n *\n * @generated from field: bool node_failure = 2;\n */\n value: boolean;\n case: \"nodeFailure\";\n } | {\n /**\n * simulate migration\n *\n * @generated from field: bool migration = 3;\n */\n value: boolean;\n case: \"migration\";\n } | {\n /**\n * server to send leave\n *\n * @generated from field: bool server_leave = 4;\n */\n value: boolean;\n case: \"serverLeave\";\n } | {\n /**\n * switch candidate protocol to tcp\n *\n * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5;\n */\n value: CandidateProtocol;\n case: \"switchCandidateProtocol\";\n } | {\n /**\n * maximum bandwidth for subscribers, in bps\n * when zero, clears artificial bandwidth limit\n *\n * @generated from field: int64 subscriber_bandwidth = 6;\n */\n value: bigint;\n case: \"subscriberBandwidth\";\n } | {\n /**\n * disconnect signal on resume\n *\n * @generated from field: bool disconnect_signal_on_resume = 7;\n */\n value: boolean;\n case: \"disconnectSignalOnResume\";\n } | {\n /**\n * disconnect signal on resume before sending any messages from server\n *\n * @generated from field: bool disconnect_signal_on_resume_no_messages = 8;\n */\n value: boolean;\n case: \"disconnectSignalOnResumeNoMessages\";\n } | {\n /**\n * full reconnect leave request\n *\n * @generated from field: bool leave_request_full_reconnect = 9;\n */\n value: boolean;\n case: \"leaveRequestFullReconnect\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateScenario\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speaker_update\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */, oneof: \"scenario\" },\n { no: 2, name: \"node_failure\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 3, name: \"migration\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 4, name: \"server_leave\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 5, name: \"switch_candidate_protocol\", kind: \"enum\", T: proto3.getEnumType(CandidateProtocol), oneof: \"scenario\" },\n { no: 6, name: \"subscriber_bandwidth\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"scenario\" },\n { no: 7, name: \"disconnect_signal_on_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 8, name: \"disconnect_signal_on_resume_no_messages\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 9, name: \"leave_request_full_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateScenario, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Ping\n */\nexport class Ping extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n /**\n * rtt in milliseconds calculated by client\n *\n * @generated from field: int64 rtt = 2;\n */\n rtt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Ping\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"rtt\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Ping {\n return new Ping().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Ping {\n return new Ping().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Ping {\n return new Ping().fromJsonString(jsonString, options);\n }\n\n static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean {\n return proto3.util.equals(Ping, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Pong\n */\nexport class Pong extends Message {\n /**\n * timestamp field of last received ping request\n *\n * @generated from field: int64 last_ping_timestamp = 1;\n */\n lastPingTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Pong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_ping_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Pong {\n return new Pong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Pong {\n return new Pong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Pong {\n return new Pong().fromJsonString(jsonString, options);\n }\n\n static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean {\n return proto3.util.equals(Pong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionSettings\n */\nexport class RegionSettings extends Message {\n /**\n * @generated from field: repeated livekit.RegionInfo regions = 1;\n */\n regions: RegionInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"regions\", kind: \"message\", T: RegionInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings {\n return new RegionSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings {\n return new RegionSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionSettings {\n return new RegionSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionInfo\n */\nexport class RegionInfo extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string url = 2;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 distance = 3;\n */\n distance = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"distance\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo {\n return new RegionInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo {\n return new RegionInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionInfo {\n return new RegionInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionResponse\n */\nexport class SubscriptionResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.SubscriptionError err = 2;\n */\n err = SubscriptionError.SE_UNKNOWN;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"err\", kind: \"enum\", T: proto3.getEnumType(SubscriptionError) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RequestResponse\n */\nexport class RequestResponse extends Message {\n /**\n * @generated from field: uint32 request_id = 1;\n */\n requestId = 0;\n\n /**\n * @generated from field: livekit.RequestResponse.Reason reason = 2;\n */\n reason = RequestResponse_Reason.OK;\n\n /**\n * @generated from field: string message = 3;\n */\n message = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RequestResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(RequestResponse_Reason) },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse {\n return new RequestResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse {\n return new RequestResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RequestResponse {\n return new RequestResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RequestResponse, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.RequestResponse.Reason\n */\nexport enum RequestResponse_Reason {\n /**\n * @generated from enum value: OK = 0;\n */\n OK = 0,\n\n /**\n * @generated from enum value: NOT_FOUND = 1;\n */\n NOT_FOUND = 1,\n\n /**\n * @generated from enum value: NOT_ALLOWED = 2;\n */\n NOT_ALLOWED = 2,\n\n /**\n * @generated from enum value: LIMIT_EXCEEDED = 3;\n */\n LIMIT_EXCEEDED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(RequestResponse_Reason)\nproto3.util.setEnumType(RequestResponse_Reason, \"livekit.RequestResponse.Reason\", [\n { no: 0, name: \"OK\" },\n { no: 1, name: \"NOT_FOUND\" },\n { no: 2, name: \"NOT_ALLOWED\" },\n { no: 3, name: \"LIMIT_EXCEEDED\" },\n]);\n\n/**\n * @generated from message livekit.TrackSubscribed\n */\nexport class TrackSubscribed extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackSubscribed\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackSubscribed, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAuQ;AAKhQ,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA,eAAY,KAAZ;AAKA,EAAAA,4BAAA,gBAAa,KAAb;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,cAAc,wBAAwB;AAAA,EAC5D,EAAE,IAAI,GAAG,MAAM,YAAY;AAAA,EAC3B,EAAE,IAAI,GAAG,MAAM,aAAa;AAC9B,CAAC;AAKM,IAAK,cAAL,kBAAKC,iBAAL;AAIL,EAAAA,0BAAA,YAAS,KAAT;AAKA,EAAAA,0BAAA,YAAS,KAAT;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,aAAa,uBAAuB;AAAA,EAC1D,EAAE,IAAI,GAAG,MAAM,SAAS;AAAA,EACxB,EAAE,IAAI,GAAG,MAAM,SAAS;AAC1B,CAAC;AAKM,IAAK,oBAAL,kBAAKC,uBAAL;AAIL,EAAAA,sCAAA,SAAM,KAAN;AAKA,EAAAA,sCAAA,SAAM,KAAN;AAKA,EAAAA,sCAAA,SAAM,KAAN;AAdU,SAAAA;AAAA,G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C3B,EAAE,IAAI,GAAG,MAAM,cAAc;AAAA,EAC7B,EAAE,IAAI,GAAG,MAAM,iBAAiB;AAClC,CAAC;AAKM,MAAM,mBAAN,MAAM,yBAAwB,wBAAyB;AAAA,EAM5D,YAAY,MAAwC;AAClD,UAAM;AAHR;AAAA;AAAA;AAAA,oBAAW;AAIT,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAQA,OAAO,WAAW,OAAmB,SAAuD;AAC1F,WAAO,IAAI,iBAAgB,EAAE,WAAW,OAAO,OAAO;AAAA,EACxD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAqD;AACzF,WAAO,IAAI,iBAAgB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC1D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAqD;AAC7F,WAAO,IAAI,iBAAgB,EAAE,eAAe,YAAY,OAAO;AAAA,EACjE;AAAA,EAEA,OAAO,OAAO,GAAgE,GAAyE;AACrJ,WAAO,uBAAO,KAAK,OAAO,kBAAiB,GAAG,CAAC;AAAA,EACjD;AACF;AAhCa,iBAWK,UAAyB;AAX9B,iBAYK,WAAW;AAZhB,iBAaK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAa,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC3E,CAAC;AAfI,IAAM,kBAAN;","names":["SignalTarget","StreamState","CandidateProtocol","LeaveRequest_Action","RequestResponse_Reason"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts new file mode 100644 index 00000000..92e22200 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts @@ -0,0 +1,1602 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; +/** + * @generated from enum livekit.SignalTarget + */ +export declare enum SignalTarget { + /** + * @generated from enum value: PUBLISHER = 0; + */ + PUBLISHER = 0, + /** + * @generated from enum value: SUBSCRIBER = 1; + */ + SUBSCRIBER = 1 +} +/** + * @generated from enum livekit.StreamState + */ +export declare enum StreamState { + /** + * @generated from enum value: ACTIVE = 0; + */ + ACTIVE = 0, + /** + * @generated from enum value: PAUSED = 1; + */ + PAUSED = 1 +} +/** + * @generated from enum livekit.CandidateProtocol + */ +export declare enum CandidateProtocol { + /** + * @generated from enum value: UDP = 0; + */ + UDP = 0, + /** + * @generated from enum value: TCP = 1; + */ + TCP = 1, + /** + * @generated from enum value: TLS = 2; + */ + TLS = 2 +} +/** + * @generated from message livekit.SignalRequest + */ +export declare class SignalRequest extends Message { + /** + * @generated from oneof livekit.SignalRequest.message + */ + message: { + /** + * initial join exchange, for publisher + * + * @generated from field: livekit.SessionDescription offer = 1; + */ + value: SessionDescription; + case: "offer"; + } | { + /** + * participant answering publisher offer + * + * @generated from field: livekit.SessionDescription answer = 2; + */ + value: SessionDescription; + case: "answer"; + } | { + /** + * @generated from field: livekit.TrickleRequest trickle = 3; + */ + value: TrickleRequest; + case: "trickle"; + } | { + /** + * @generated from field: livekit.AddTrackRequest add_track = 4; + */ + value: AddTrackRequest; + case: "addTrack"; + } | { + /** + * mute the participant's published tracks + * + * @generated from field: livekit.MuteTrackRequest mute = 5; + */ + value: MuteTrackRequest; + case: "mute"; + } | { + /** + * Subscribe or unsubscribe from tracks + * + * @generated from field: livekit.UpdateSubscription subscription = 6; + */ + value: UpdateSubscription; + case: "subscription"; + } | { + /** + * Update settings of subscribed tracks + * + * @generated from field: livekit.UpdateTrackSettings track_setting = 7; + */ + value: UpdateTrackSettings; + case: "trackSetting"; + } | { + /** + * Immediately terminate session + * + * @generated from field: livekit.LeaveRequest leave = 8; + */ + value: LeaveRequest; + case: "leave"; + } | { + /** + * Update published video layers + * + * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; + * @deprecated + */ + value: UpdateVideoLayers; + case: "updateLayers"; + } | { + /** + * Update subscriber permissions + * + * @generated from field: livekit.SubscriptionPermission subscription_permission = 11; + */ + value: SubscriptionPermission; + case: "subscriptionPermission"; + } | { + /** + * sync client's subscribe state to server during reconnect + * + * @generated from field: livekit.SyncState sync_state = 12; + */ + value: SyncState; + case: "syncState"; + } | { + /** + * Simulate conditions, for client validations + * + * @generated from field: livekit.SimulateScenario simulate = 13; + */ + value: SimulateScenario; + case: "simulate"; + } | { + /** + * client triggered ping to server + * + * deprecated by ping_req (message Ping) + * + * @generated from field: int64 ping = 14; + */ + value: bigint; + case: "ping"; + } | { + /** + * update a participant's own metadata, name, or attributes + * requires canUpdateOwnParticipantMetadata permission + * + * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; + */ + value: UpdateParticipantMetadata; + case: "updateMetadata"; + } | { + /** + * @generated from field: livekit.Ping ping_req = 16; + */ + value: Ping; + case: "pingReq"; + } | { + /** + * Update local audio track settings + * + * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; + */ + value: UpdateLocalAudioTrack; + case: "updateAudioTrack"; + } | { + /** + * Update local video track settings + * + * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; + */ + value: UpdateLocalVideoTrack; + case: "updateVideoTrack"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SignalRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest; + static fromJsonString(jsonString: string, options?: Partial): SignalRequest; + static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SignalResponse + */ +export declare class SignalResponse extends Message { + /** + * @generated from oneof livekit.SignalResponse.message + */ + message: { + /** + * sent when join is accepted + * + * @generated from field: livekit.JoinResponse join = 1; + */ + value: JoinResponse; + case: "join"; + } | { + /** + * sent when server answers publisher + * + * @generated from field: livekit.SessionDescription answer = 2; + */ + value: SessionDescription; + case: "answer"; + } | { + /** + * sent when server is sending subscriber an offer + * + * @generated from field: livekit.SessionDescription offer = 3; + */ + value: SessionDescription; + case: "offer"; + } | { + /** + * sent when an ICE candidate is available + * + * @generated from field: livekit.TrickleRequest trickle = 4; + */ + value: TrickleRequest; + case: "trickle"; + } | { + /** + * sent when participants in the room has changed + * + * @generated from field: livekit.ParticipantUpdate update = 5; + */ + value: ParticipantUpdate; + case: "update"; + } | { + /** + * sent to the participant when their track has been published + * + * @generated from field: livekit.TrackPublishedResponse track_published = 6; + */ + value: TrackPublishedResponse; + case: "trackPublished"; + } | { + /** + * Immediately terminate session + * + * @generated from field: livekit.LeaveRequest leave = 8; + */ + value: LeaveRequest; + case: "leave"; + } | { + /** + * server initiated mute + * + * @generated from field: livekit.MuteTrackRequest mute = 9; + */ + value: MuteTrackRequest; + case: "mute"; + } | { + /** + * indicates changes to speaker status, including when they've gone to not speaking + * + * @generated from field: livekit.SpeakersChanged speakers_changed = 10; + */ + value: SpeakersChanged; + case: "speakersChanged"; + } | { + /** + * sent when metadata of the room has changed + * + * @generated from field: livekit.RoomUpdate room_update = 11; + */ + value: RoomUpdate; + case: "roomUpdate"; + } | { + /** + * when connection quality changed + * + * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12; + */ + value: ConnectionQualityUpdate; + case: "connectionQuality"; + } | { + /** + * when streamed tracks state changed, used to notify when any of the streams were paused due to + * congestion + * + * @generated from field: livekit.StreamStateUpdate stream_state_update = 13; + */ + value: StreamStateUpdate; + case: "streamStateUpdate"; + } | { + /** + * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers + * + * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14; + */ + value: SubscribedQualityUpdate; + case: "subscribedQualityUpdate"; + } | { + /** + * when subscription permission changed + * + * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15; + */ + value: SubscriptionPermissionUpdate; + case: "subscriptionPermissionUpdate"; + } | { + /** + * update the token the client was using, to prevent an active client from using an expired token + * + * @generated from field: string refresh_token = 16; + */ + value: string; + case: "refreshToken"; + } | { + /** + * server initiated track unpublish + * + * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17; + */ + value: TrackUnpublishedResponse; + case: "trackUnpublished"; + } | { + /** + * respond to ping + * + * deprecated by pong_resp (message Pong) + * + * @generated from field: int64 pong = 18; + */ + value: bigint; + case: "pong"; + } | { + /** + * sent when client reconnects + * + * @generated from field: livekit.ReconnectResponse reconnect = 19; + */ + value: ReconnectResponse; + case: "reconnect"; + } | { + /** + * respond to Ping + * + * @generated from field: livekit.Pong pong_resp = 20; + */ + value: Pong; + case: "pongResp"; + } | { + /** + * Subscription response, client should not expect any media from this subscription if it fails + * + * @generated from field: livekit.SubscriptionResponse subscription_response = 21; + */ + value: SubscriptionResponse; + case: "subscriptionResponse"; + } | { + /** + * Response relating to user inititated requests that carry a `request_id` + * + * @generated from field: livekit.RequestResponse request_response = 22; + */ + value: RequestResponse; + case: "requestResponse"; + } | { + /** + * notify to the publisher when a published track has been subscribed for the first time + * + * @generated from field: livekit.TrackSubscribed track_subscribed = 23; + */ + value: TrackSubscribed; + case: "trackSubscribed"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SignalResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse; + static fromJsonString(jsonString: string, options?: Partial): SignalResponse; + static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SimulcastCodec + */ +export declare class SimulcastCodec extends Message { + /** + * @generated from field: string codec = 1; + */ + codec: string; + /** + * @generated from field: string cid = 2; + */ + cid: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulcastCodec"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec; + static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec; + static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec; + static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.AddTrackRequest + */ +export declare class AddTrackRequest extends Message { + /** + * client ID of track, to match it when RTC track is received + * + * @generated from field: string cid = 1; + */ + cid: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * @generated from field: livekit.TrackType type = 3; + */ + type: TrackType; + /** + * to be deprecated in favor of layers + * + * @generated from field: uint32 width = 4; + */ + width: number; + /** + * @generated from field: uint32 height = 5; + */ + height: number; + /** + * true to add track and initialize to muted + * + * @generated from field: bool muted = 6; + */ + muted: boolean; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 7; + */ + disableDtx: boolean; + /** + * @generated from field: livekit.TrackSource source = 8; + */ + source: TrackSource; + /** + * @generated from field: repeated livekit.VideoLayer layers = 9; + */ + layers: VideoLayer[]; + /** + * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; + */ + simulcastCodecs: SimulcastCodec[]; + /** + * server ID of track, publish new codec to exist track + * + * @generated from field: string sid = 11; + */ + sid: string; + /** + * @generated from field: bool stereo = 12; + */ + stereo: boolean; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 13; + */ + disableRed: boolean; + /** + * @generated from field: livekit.Encryption.Type encryption = 14; + */ + encryption: Encryption_Type; + /** + * which stream the track belongs to, used to group tracks together. + * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together + * + * @generated from field: string stream = 15; + */ + stream: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AddTrackRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest; + static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest; + static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TrickleRequest + */ +export declare class TrickleRequest extends Message { + /** + * @generated from field: string candidateInit = 1; + */ + candidateInit: string; + /** + * @generated from field: livekit.SignalTarget target = 2; + */ + target: SignalTarget; + /** + * @generated from field: bool final = 3; + */ + final: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrickleRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest; + static fromJsonString(jsonString: string, options?: Partial): TrickleRequest; + static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.MuteTrackRequest + */ +export declare class MuteTrackRequest extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + /** + * @generated from field: bool muted = 2; + */ + muted: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteTrackRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest; + static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest; + static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.JoinResponse + */ +export declare class JoinResponse extends Message { + /** + * @generated from field: livekit.Room room = 1; + */ + room?: Room; + /** + * @generated from field: livekit.ParticipantInfo participant = 2; + */ + participant?: ParticipantInfo; + /** + * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; + */ + otherParticipants: ParticipantInfo[]; + /** + * deprecated. use server_info.version instead. + * + * @generated from field: string server_version = 4; + */ + serverVersion: string; + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 5; + */ + iceServers: ICEServer[]; + /** + * use subscriber as the primary PeerConnection + * + * @generated from field: bool subscriber_primary = 6; + */ + subscriberPrimary: boolean; + /** + * when the current server isn't available, return alternate url to retry connection + * when this is set, the other fields will be largely empty + * + * @generated from field: string alternative_url = 7; + */ + alternativeUrl: string; + /** + * @generated from field: livekit.ClientConfiguration client_configuration = 8; + */ + clientConfiguration?: ClientConfiguration; + /** + * deprecated. use server_info.region instead. + * + * @generated from field: string server_region = 9; + */ + serverRegion: string; + /** + * @generated from field: int32 ping_timeout = 10; + */ + pingTimeout: number; + /** + * @generated from field: int32 ping_interval = 11; + */ + pingInterval: number; + /** + * @generated from field: livekit.ServerInfo server_info = 12; + */ + serverInfo?: ServerInfo; + /** + * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled + * + * @generated from field: bytes sif_trailer = 13; + */ + sifTrailer: Uint8Array; + /** + * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; + */ + enabledPublishCodecs: Codec[]; + /** + * when set, client should attempt to establish publish peer connection when joining room to speed up publishing + * + * @generated from field: bool fast_publish = 15; + */ + fastPublish: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JoinResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse; + static fromJsonString(jsonString: string, options?: Partial): JoinResponse; + static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ReconnectResponse + */ +export declare class ReconnectResponse extends Message { + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 1; + */ + iceServers: ICEServer[]; + /** + * @generated from field: livekit.ClientConfiguration client_configuration = 2; + */ + clientConfiguration?: ClientConfiguration; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ReconnectResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse; + static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse; + static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TrackPublishedResponse + */ +export declare class TrackPublishedResponse extends Message { + /** + * @generated from field: string cid = 1; + */ + cid: string; + /** + * @generated from field: livekit.TrackInfo track = 2; + */ + track?: TrackInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackPublishedResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse; + static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse; + static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TrackUnpublishedResponse + */ +export declare class TrackUnpublishedResponse extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackUnpublishedResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse; + static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse; + static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SessionDescription + */ +export declare class SessionDescription extends Message { + /** + * "answer" | "offer" | "pranswer" | "rollback" + * + * @generated from field: string type = 1; + */ + type: string; + /** + * @generated from field: string sdp = 2; + */ + sdp: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SessionDescription"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription; + static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription; + static fromJsonString(jsonString: string, options?: Partial): SessionDescription; + static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ParticipantUpdate + */ +export declare class ParticipantUpdate extends Message { + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + participants: ParticipantInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate; + static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate; + static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateSubscription + */ +export declare class UpdateSubscription extends Message { + /** + * @generated from field: repeated string track_sids = 1; + */ + trackSids: string[]; + /** + * @generated from field: bool subscribe = 2; + */ + subscribe: boolean; + /** + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; + */ + participantTracks: ParticipantTracks[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscription"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription; + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription; + static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateTrackSettings + */ +export declare class UpdateTrackSettings extends Message { + /** + * @generated from field: repeated string track_sids = 1; + */ + trackSids: string[]; + /** + * when true, the track is placed in a paused state, with no new data returned + * + * @generated from field: bool disabled = 3; + */ + disabled: boolean; + /** + * deprecated in favor of width & height + * + * @generated from field: livekit.VideoQuality quality = 4; + */ + quality: VideoQuality; + /** + * for video, width to receive + * + * @generated from field: uint32 width = 5; + */ + width: number; + /** + * for video, height to receive + * + * @generated from field: uint32 height = 6; + */ + height: number; + /** + * @generated from field: uint32 fps = 7; + */ + fps: number; + /** + * subscription priority. 1 being the highest (0 is unset) + * when unset, server sill assign priority based on the order of subscription + * server will use priority in the following ways: + * 1. when subscribed tracks exceed per-participant subscription limit, server will + * pause the lowest priority tracks + * 2. when the network is congested, server will assign available bandwidth to + * higher priority tracks first. lowest priority tracks can be paused + * + * @generated from field: uint32 priority = 8; + */ + priority: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateTrackSettings"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings; + static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings; + static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateLocalAudioTrack + */ +export declare class UpdateLocalAudioTrack extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + /** + * @generated from field: repeated livekit.AudioTrackFeature features = 2; + */ + features: AudioTrackFeature[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLocalAudioTrack"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack; + static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack; + static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateLocalVideoTrack + */ +export declare class UpdateLocalVideoTrack extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + /** + * @generated from field: uint32 width = 2; + */ + width: number; + /** + * @generated from field: uint32 height = 3; + */ + height: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLocalVideoTrack"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack; + static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack; + static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.LeaveRequest + */ +export declare class LeaveRequest extends Message { + /** + * sent when server initiates the disconnect due to server-restart + * indicates clients should attempt full-reconnect sequence + * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 + * + * @generated from field: bool can_reconnect = 1; + */ + canReconnect: boolean; + /** + * @generated from field: livekit.DisconnectReason reason = 2; + */ + reason: DisconnectReason; + /** + * @generated from field: livekit.LeaveRequest.Action action = 3; + */ + action: LeaveRequest_Action; + /** + * @generated from field: livekit.RegionSettings regions = 4; + */ + regions?: RegionSettings; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.LeaveRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest; + static fromJsonString(jsonString: string, options?: Partial): LeaveRequest; + static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean; +} +/** + * indicates action clients should take on receiving this message + * + * @generated from enum livekit.LeaveRequest.Action + */ +export declare enum LeaveRequest_Action { + /** + * should disconnect + * + * @generated from enum value: DISCONNECT = 0; + */ + DISCONNECT = 0, + /** + * should attempt a resume with `reconnect=1` in join URL + * + * @generated from enum value: RESUME = 1; + */ + RESUME = 1, + /** + * should attempt a reconnect, i. e. no `reconnect=1` + * + * @generated from enum value: RECONNECT = 2; + */ + RECONNECT = 2 +} +/** + * message to indicate published video track dimensions are changing + * + * @generated from message livekit.UpdateVideoLayers + * @deprecated + */ +export declare class UpdateVideoLayers extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + /** + * @generated from field: repeated livekit.VideoLayer layers = 2; + */ + layers: VideoLayer[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateVideoLayers"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers; + static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers; + static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.UpdateParticipantMetadata + */ +export declare class UpdateParticipantMetadata extends Message { + /** + * @generated from field: string metadata = 1; + */ + metadata: string; + /** + * @generated from field: string name = 2; + */ + name: string; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 3; + */ + attributes: { + [key: string]: string; + }; + /** + * @generated from field: uint32 request_id = 4; + */ + requestId: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateParticipantMetadata"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata; + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata; + static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata; + static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ICEServer + */ +export declare class ICEServer extends Message { + /** + * @generated from field: repeated string urls = 1; + */ + urls: string[]; + /** + * @generated from field: string username = 2; + */ + username: string; + /** + * @generated from field: string credential = 3; + */ + credential: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ICEServer"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer; + static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer; + static fromJsonString(jsonString: string, options?: Partial): ICEServer; + static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SpeakersChanged + */ +export declare class SpeakersChanged extends Message { + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + speakers: SpeakerInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SpeakersChanged"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged; + static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged; + static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged; + static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RoomUpdate + */ +export declare class RoomUpdate extends Message { + /** + * @generated from field: livekit.Room room = 1; + */ + room?: Room; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate; + static fromJsonString(jsonString: string, options?: Partial): RoomUpdate; + static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ConnectionQualityInfo + */ +export declare class ConnectionQualityInfo extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + /** + * @generated from field: livekit.ConnectionQuality quality = 2; + */ + quality: ConnectionQuality; + /** + * @generated from field: float score = 3; + */ + score: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ConnectionQualityInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo; + static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo; + static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ConnectionQualityUpdate + */ +export declare class ConnectionQualityUpdate extends Message { + /** + * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; + */ + updates: ConnectionQualityInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ConnectionQualityUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate; + static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate; + static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StreamStateInfo + */ +export declare class StreamStateInfo extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + /** + * @generated from field: string track_sid = 2; + */ + trackSid: string; + /** + * @generated from field: livekit.StreamState state = 3; + */ + state: StreamState; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamStateInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo; + static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo; + static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.StreamStateUpdate + */ +export declare class StreamStateUpdate extends Message { + /** + * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; + */ + streamStates: StreamStateInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamStateUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate; + static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate; + static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscribedQuality + */ +export declare class SubscribedQuality extends Message { + /** + * @generated from field: livekit.VideoQuality quality = 1; + */ + quality: VideoQuality; + /** + * @generated from field: bool enabled = 2; + */ + enabled: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedQuality"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality; + static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality; + static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscribedCodec + */ +export declare class SubscribedCodec extends Message { + /** + * @generated from field: string codec = 1; + */ + codec: string; + /** + * @generated from field: repeated livekit.SubscribedQuality qualities = 2; + */ + qualities: SubscribedQuality[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedCodec"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec; + static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec; + static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscribedQualityUpdate + */ +export declare class SubscribedQualityUpdate extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + /** + * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; + */ + subscribedQualities: SubscribedQuality[]; + /** + * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; + */ + subscribedCodecs: SubscribedCodec[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedQualityUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate; + static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate; + static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TrackPermission + */ +export declare class TrackPermission extends Message { + /** + * permission could be granted either by participant sid or identity + * + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + /** + * @generated from field: bool all_tracks = 2; + */ + allTracks: boolean; + /** + * @generated from field: repeated string track_sids = 3; + */ + trackSids: string[]; + /** + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackPermission"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission; + static fromJsonString(jsonString: string, options?: Partial): TrackPermission; + static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscriptionPermission + */ +export declare class SubscriptionPermission extends Message { + /** + * @generated from field: bool all_participants = 1; + */ + allParticipants: boolean; + /** + * @generated from field: repeated livekit.TrackPermission track_permissions = 2; + */ + trackPermissions: TrackPermission[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionPermission"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission; + static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission; + static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscriptionPermissionUpdate + */ +export declare class SubscriptionPermissionUpdate extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + /** + * @generated from field: string track_sid = 2; + */ + trackSid: string; + /** + * @generated from field: bool allowed = 3; + */ + allowed: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionPermissionUpdate"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate; + static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate; + static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SyncState + */ +export declare class SyncState extends Message { + /** + * last subscribe answer before reconnecting + * + * @generated from field: livekit.SessionDescription answer = 1; + */ + answer?: SessionDescription; + /** + * @generated from field: livekit.UpdateSubscription subscription = 2; + */ + subscription?: UpdateSubscription; + /** + * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; + */ + publishTracks: TrackPublishedResponse[]; + /** + * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; + */ + dataChannels: DataChannelInfo[]; + /** + * last received server side offer before reconnecting + * + * @generated from field: livekit.SessionDescription offer = 5; + */ + offer?: SessionDescription; + /** + * @generated from field: repeated string track_sids_disabled = 6; + */ + trackSidsDisabled: string[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SyncState"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SyncState; + static fromJson(jsonValue: JsonValue, options?: Partial): SyncState; + static fromJsonString(jsonString: string, options?: Partial): SyncState; + static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DataChannelInfo + */ +export declare class DataChannelInfo extends Message { + /** + * @generated from field: string label = 1; + */ + label: string; + /** + * @generated from field: uint32 id = 2; + */ + id: number; + /** + * @generated from field: livekit.SignalTarget target = 3; + */ + target: SignalTarget; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataChannelInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo; + static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo; + static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SimulateScenario + */ +export declare class SimulateScenario extends Message { + /** + * @generated from oneof livekit.SimulateScenario.scenario + */ + scenario: { + /** + * simulate N seconds of speaker activity + * + * @generated from field: int32 speaker_update = 1; + */ + value: number; + case: "speakerUpdate"; + } | { + /** + * simulate local node failure + * + * @generated from field: bool node_failure = 2; + */ + value: boolean; + case: "nodeFailure"; + } | { + /** + * simulate migration + * + * @generated from field: bool migration = 3; + */ + value: boolean; + case: "migration"; + } | { + /** + * server to send leave + * + * @generated from field: bool server_leave = 4; + */ + value: boolean; + case: "serverLeave"; + } | { + /** + * switch candidate protocol to tcp + * + * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5; + */ + value: CandidateProtocol; + case: "switchCandidateProtocol"; + } | { + /** + * maximum bandwidth for subscribers, in bps + * when zero, clears artificial bandwidth limit + * + * @generated from field: int64 subscriber_bandwidth = 6; + */ + value: bigint; + case: "subscriberBandwidth"; + } | { + /** + * disconnect signal on resume + * + * @generated from field: bool disconnect_signal_on_resume = 7; + */ + value: boolean; + case: "disconnectSignalOnResume"; + } | { + /** + * disconnect signal on resume before sending any messages from server + * + * @generated from field: bool disconnect_signal_on_resume_no_messages = 8; + */ + value: boolean; + case: "disconnectSignalOnResumeNoMessages"; + } | { + /** + * full reconnect leave request + * + * @generated from field: bool leave_request_full_reconnect = 9; + */ + value: boolean; + case: "leaveRequestFullReconnect"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulateScenario"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario; + static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario; + static fromJsonString(jsonString: string, options?: Partial): SimulateScenario; + static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.Ping + */ +export declare class Ping extends Message { + /** + * @generated from field: int64 timestamp = 1; + */ + timestamp: bigint; + /** + * rtt in milliseconds calculated by client + * + * @generated from field: int64 rtt = 2; + */ + rtt: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Ping"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Ping; + static fromJson(jsonValue: JsonValue, options?: Partial): Ping; + static fromJsonString(jsonString: string, options?: Partial): Ping; + static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.Pong + */ +export declare class Pong extends Message { + /** + * timestamp field of last received ping request + * + * @generated from field: int64 last_ping_timestamp = 1; + */ + lastPingTimestamp: bigint; + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Pong"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): Pong; + static fromJson(jsonValue: JsonValue, options?: Partial): Pong; + static fromJsonString(jsonString: string, options?: Partial): Pong; + static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RegionSettings + */ +export declare class RegionSettings extends Message { + /** + * @generated from field: repeated livekit.RegionInfo regions = 1; + */ + regions: RegionInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegionSettings"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings; + static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings; + static fromJsonString(jsonString: string, options?: Partial): RegionSettings; + static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RegionInfo + */ +export declare class RegionInfo extends Message { + /** + * @generated from field: string region = 1; + */ + region: string; + /** + * @generated from field: string url = 2; + */ + url: string; + /** + * @generated from field: int64 distance = 3; + */ + distance: bigint; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegionInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo; + static fromJsonString(jsonString: string, options?: Partial): RegionInfo; + static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SubscriptionResponse + */ +export declare class SubscriptionResponse extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + /** + * @generated from field: livekit.SubscriptionError err = 2; + */ + err: SubscriptionError; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse; + static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse; + static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.RequestResponse + */ +export declare class RequestResponse extends Message { + /** + * @generated from field: uint32 request_id = 1; + */ + requestId: number; + /** + * @generated from field: livekit.RequestResponse.Reason reason = 2; + */ + reason: RequestResponse_Reason; + /** + * @generated from field: string message = 3; + */ + message: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RequestResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse; + static fromJsonString(jsonString: string, options?: Partial): RequestResponse; + static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.RequestResponse.Reason + */ +export declare enum RequestResponse_Reason { + /** + * @generated from enum value: OK = 0; + */ + OK = 0, + /** + * @generated from enum value: NOT_FOUND = 1; + */ + NOT_FOUND = 1, + /** + * @generated from enum value: NOT_ALLOWED = 2; + */ + NOT_ALLOWED = 2, + /** + * @generated from enum value: LIMIT_EXCEEDED = 3; + */ + LIMIT_EXCEEDED = 3 +} +/** + * @generated from message livekit.TrackSubscribed + */ +export declare class TrackSubscribed extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackSubscribed"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; + static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; + static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; + static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_rtc_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map new file mode 100644 index 00000000..06e8ac91 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_rtc_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_rtc_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEhS;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,UAAU,IAAI;CACf;AAOD;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,MAAM,IAAI;CACX;AAOD;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;CACR;AAQD;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACvD;;OAEG;IACH,OAAO,EAAE;QACP;;;;WAIG;QACH,KAAK,EAAE,kBAAkB,CAAC;QAC1B,IAAI,EAAE,OAAO,CAAC;KACf,GAAG;QACF;;;;WAIG;QACH,KAAK,EAAE,kBAAkB,CAAC;QAC1B,IAAI,EAAE,QAAQ,CA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IAAI;CACnB;AASD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAC3D;;OAEG;IACH,QAAQ,SAAM;gBAEF,IAAI,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC;IAKlD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,6BAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI1F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI9F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.js b/packages/javascript/dist/gen/livekit_rtc_pb.js new file mode 100644 index 00000000..a19ce5d2 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.js @@ -0,0 +1,2192 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; +var SignalTarget = /* @__PURE__ */ ((SignalTarget2) => { + SignalTarget2[SignalTarget2["PUBLISHER"] = 0] = "PUBLISHER"; + SignalTarget2[SignalTarget2["SUBSCRIBER"] = 1] = "SUBSCRIBER"; + return SignalTarget2; +})(SignalTarget || {}); +proto3.util.setEnumType(SignalTarget, "livekit.SignalTarget", [ + { no: 0, name: "PUBLISHER" }, + { no: 1, name: "SUBSCRIBER" } +]); +var StreamState = /* @__PURE__ */ ((StreamState2) => { + StreamState2[StreamState2["ACTIVE"] = 0] = "ACTIVE"; + StreamState2[StreamState2["PAUSED"] = 1] = "PAUSED"; + return StreamState2; +})(StreamState || {}); +proto3.util.setEnumType(StreamState, "livekit.StreamState", [ + { no: 0, name: "ACTIVE" }, + { no: 1, name: "PAUSED" } +]); +var CandidateProtocol = /* @__PURE__ */ ((CandidateProtocol2) => { + CandidateProtocol2[CandidateProtocol2["UDP"] = 0] = "UDP"; + CandidateProtocol2[CandidateProtocol2["TCP"] = 1] = "TCP"; + CandidateProtocol2[CandidateProtocol2["TLS"] = 2] = "TLS"; + return CandidateProtocol2; +})(CandidateProtocol || {}); +proto3.util.setEnumType(CandidateProtocol, "livekit.CandidateProtocol", [ + { no: 0, name: "UDP" }, + { no: 1, name: "TCP" }, + { no: 2, name: "TLS" } +]); +const _SignalRequest = class _SignalRequest extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SignalRequest.message + */ + this.message = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SignalRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SignalRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SignalRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SignalRequest, a, b); + } +}; +_SignalRequest.runtime = proto3; +_SignalRequest.typeName = "livekit.SignalRequest"; +_SignalRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, + { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, + { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, + { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, + { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, + { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, + { no: 14, name: "ping", kind: "scalar", T: 3, oneof: "message" }, + { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, + { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, + { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, + { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" } +]); +let SignalRequest = _SignalRequest; +const _SignalResponse = class _SignalResponse extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SignalResponse.message + */ + this.message = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SignalResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SignalResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SignalResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SignalResponse, a, b); + } +}; +_SignalResponse.runtime = proto3; +_SignalResponse.typeName = "livekit.SignalResponse"; +_SignalResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, + { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, + { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, + { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, + { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, + { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, + { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, + { no: 16, name: "refresh_token", kind: "scalar", T: 9, oneof: "message" }, + { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, + { no: 18, name: "pong", kind: "scalar", T: 3, oneof: "message" }, + { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, + { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, + { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, + { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, + { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" } +]); +let SignalResponse = _SignalResponse; +const _SimulcastCodec = class _SimulcastCodec extends Message { + constructor(data) { + super(); + /** + * @generated from field: string codec = 1; + */ + this.codec = ""; + /** + * @generated from field: string cid = 2; + */ + this.cid = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulcastCodec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulcastCodec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulcastCodec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SimulcastCodec, a, b); + } +}; +_SimulcastCodec.runtime = proto3; +_SimulcastCodec.typeName = "livekit.SimulcastCodec"; +_SimulcastCodec.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "codec", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SimulcastCodec = _SimulcastCodec; +const _AddTrackRequest = class _AddTrackRequest extends Message { + constructor(data) { + super(); + /** + * client ID of track, to match it when RTC track is received + * + * @generated from field: string cid = 1; + */ + this.cid = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * @generated from field: livekit.TrackType type = 3; + */ + this.type = TrackType.AUDIO; + /** + * to be deprecated in favor of layers + * + * @generated from field: uint32 width = 4; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 5; + */ + this.height = 0; + /** + * true to add track and initialize to muted + * + * @generated from field: bool muted = 6; + */ + this.muted = false; + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 7; + */ + this.disableDtx = false; + /** + * @generated from field: livekit.TrackSource source = 8; + */ + this.source = TrackSource.UNKNOWN; + /** + * @generated from field: repeated livekit.VideoLayer layers = 9; + */ + this.layers = []; + /** + * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; + */ + this.simulcastCodecs = []; + /** + * server ID of track, publish new codec to exist track + * + * @generated from field: string sid = 11; + */ + this.sid = ""; + /** + * @generated from field: bool stereo = 12; + */ + this.stereo = false; + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 13; + */ + this.disableRed = false; + /** + * @generated from field: livekit.Encryption.Type encryption = 14; + */ + this.encryption = Encryption_Type.NONE; + /** + * which stream the track belongs to, used to group tracks together. + * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together + * + * @generated from field: string stream = 15; + */ + this.stream = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _AddTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _AddTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _AddTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_AddTrackRequest, a, b); + } +}; +_AddTrackRequest.runtime = proto3; +_AddTrackRequest.typeName = "livekit.AddTrackRequest"; +_AddTrackRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, + { + no: 4, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 5, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 7, + name: "disable_dtx", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, + { + no: 11, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "stereo", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "disable_red", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { + no: 15, + name: "stream", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let AddTrackRequest = _AddTrackRequest; +const _TrickleRequest = class _TrickleRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string candidateInit = 1; + */ + this.candidateInit = ""; + /** + * @generated from field: livekit.SignalTarget target = 2; + */ + this.target = 0 /* PUBLISHER */; + /** + * @generated from field: bool final = 3; + */ + this.final = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrickleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrickleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrickleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrickleRequest, a, b); + } +}; +_TrickleRequest.runtime = proto3; +_TrickleRequest.typeName = "livekit.TrickleRequest"; +_TrickleRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "candidateInit", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, + { + no: 3, + name: "final", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let TrickleRequest = _TrickleRequest; +const _MuteTrackRequest = class _MuteTrackRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sid = 1; + */ + this.sid = ""; + /** + * @generated from field: bool muted = 2; + */ + this.muted = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _MuteTrackRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _MuteTrackRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _MuteTrackRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_MuteTrackRequest, a, b); + } +}; +_MuteTrackRequest.runtime = proto3; +_MuteTrackRequest.typeName = "livekit.MuteTrackRequest"; +_MuteTrackRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "muted", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let MuteTrackRequest = _MuteTrackRequest; +const _JoinResponse = class _JoinResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; + */ + this.otherParticipants = []; + /** + * deprecated. use server_info.version instead. + * + * @generated from field: string server_version = 4; + */ + this.serverVersion = ""; + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 5; + */ + this.iceServers = []; + /** + * use subscriber as the primary PeerConnection + * + * @generated from field: bool subscriber_primary = 6; + */ + this.subscriberPrimary = false; + /** + * when the current server isn't available, return alternate url to retry connection + * when this is set, the other fields will be largely empty + * + * @generated from field: string alternative_url = 7; + */ + this.alternativeUrl = ""; + /** + * deprecated. use server_info.region instead. + * + * @generated from field: string server_region = 9; + */ + this.serverRegion = ""; + /** + * @generated from field: int32 ping_timeout = 10; + */ + this.pingTimeout = 0; + /** + * @generated from field: int32 ping_interval = 11; + */ + this.pingInterval = 0; + /** + * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled + * + * @generated from field: bytes sif_trailer = 13; + */ + this.sifTrailer = new Uint8Array(0); + /** + * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; + */ + this.enabledPublishCodecs = []; + /** + * when set, client should attempt to establish publish peer connection when joining room to speed up publishing + * + * @generated from field: bool fast_publish = 15; + */ + this.fastPublish = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _JoinResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _JoinResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _JoinResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_JoinResponse, a, b); + } +}; +_JoinResponse.runtime = proto3; +_JoinResponse.typeName = "livekit.JoinResponse"; +_JoinResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: Room }, + { no: 2, name: "participant", kind: "message", T: ParticipantInfo }, + { no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true }, + { + no: 4, + name: "server_version", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { + no: 6, + name: "subscriber_primary", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 7, + name: "alternative_url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration }, + { + no: 9, + name: "server_region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "ping_timeout", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { + no: 11, + name: "ping_interval", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + }, + { no: 12, name: "server_info", kind: "message", T: ServerInfo }, + { + no: 13, + name: "sif_trailer", + kind: "scalar", + T: 12 + /* ScalarType.BYTES */ + }, + { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true }, + { + no: 15, + name: "fast_publish", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let JoinResponse = _JoinResponse; +const _ReconnectResponse = class _ReconnectResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 1; + */ + this.iceServers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ReconnectResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ReconnectResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ReconnectResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ReconnectResponse, a, b); + } +}; +_ReconnectResponse.runtime = proto3; +_ReconnectResponse.typeName = "livekit.ReconnectResponse"; +_ReconnectResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration } +]); +let ReconnectResponse = _ReconnectResponse; +const _TrackPublishedResponse = class _TrackPublishedResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string cid = 1; + */ + this.cid = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackPublishedResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackPublishedResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackPublishedResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackPublishedResponse, a, b); + } +}; +_TrackPublishedResponse.runtime = proto3; +_TrackPublishedResponse.typeName = "livekit.TrackPublishedResponse"; +_TrackPublishedResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "cid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "track", kind: "message", T: TrackInfo } +]); +let TrackPublishedResponse = _TrackPublishedResponse; +const _TrackUnpublishedResponse = class _TrackUnpublishedResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackUnpublishedResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackUnpublishedResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackUnpublishedResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackUnpublishedResponse, a, b); + } +}; +_TrackUnpublishedResponse.runtime = proto3; +_TrackUnpublishedResponse.typeName = "livekit.TrackUnpublishedResponse"; +_TrackUnpublishedResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackUnpublishedResponse = _TrackUnpublishedResponse; +const _SessionDescription = class _SessionDescription extends Message { + constructor(data) { + super(); + /** + * "answer" | "offer" | "pranswer" | "rollback" + * + * @generated from field: string type = 1; + */ + this.type = ""; + /** + * @generated from field: string sdp = 2; + */ + this.sdp = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SessionDescription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SessionDescription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SessionDescription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SessionDescription, a, b); + } +}; +_SessionDescription.runtime = proto3; +_SessionDescription.typeName = "livekit.SessionDescription"; +_SessionDescription.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "type", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sdp", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SessionDescription = _SessionDescription; +const _ParticipantUpdate = class _ParticipantUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + this.participants = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ParticipantUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ParticipantUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ParticipantUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ParticipantUpdate, a, b); + } +}; +_ParticipantUpdate.runtime = proto3; +_ParticipantUpdate.typeName = "livekit.ParticipantUpdate"; +_ParticipantUpdate.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true } +]); +let ParticipantUpdate = _ParticipantUpdate; +const _UpdateSubscription = class _UpdateSubscription extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string track_sids = 1; + */ + this.trackSids = []; + /** + * @generated from field: bool subscribe = 2; + */ + this.subscribe = false; + /** + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; + */ + this.participantTracks = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateSubscription().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateSubscription().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateSubscription().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateSubscription, a, b); + } +}; +_UpdateSubscription.runtime = proto3; +_UpdateSubscription.typeName = "livekit.UpdateSubscription"; +_UpdateSubscription.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "subscribe", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true } +]); +let UpdateSubscription = _UpdateSubscription; +const _UpdateTrackSettings = class _UpdateTrackSettings extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string track_sids = 1; + */ + this.trackSids = []; + /** + * when true, the track is placed in a paused state, with no new data returned + * + * @generated from field: bool disabled = 3; + */ + this.disabled = false; + /** + * deprecated in favor of width & height + * + * @generated from field: livekit.VideoQuality quality = 4; + */ + this.quality = VideoQuality.LOW; + /** + * for video, width to receive + * + * @generated from field: uint32 width = 5; + */ + this.width = 0; + /** + * for video, height to receive + * + * @generated from field: uint32 height = 6; + */ + this.height = 0; + /** + * @generated from field: uint32 fps = 7; + */ + this.fps = 0; + /** + * subscription priority. 1 being the highest (0 is unset) + * when unset, server sill assign priority based on the order of subscription + * server will use priority in the following ways: + * 1. when subscribed tracks exceed per-participant subscription limit, server will + * pause the lowest priority tracks + * 2. when the network is congested, server will assign available bandwidth to + * higher priority tracks first. lowest priority tracks can be paused + * + * @generated from field: uint32 priority = 8; + */ + this.priority = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateTrackSettings().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateTrackSettings().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateTrackSettings().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateTrackSettings, a, b); + } +}; +_UpdateTrackSettings.runtime = proto3; +_UpdateTrackSettings.typeName = "livekit.UpdateTrackSettings"; +_UpdateTrackSettings.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "disabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { + no: 5, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 6, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 7, + name: "fps", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 8, + name: "priority", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateTrackSettings = _UpdateTrackSettings; +const _UpdateLocalAudioTrack = class _UpdateLocalAudioTrack extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.AudioTrackFeature features = 2; + */ + this.features = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLocalAudioTrack().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLocalAudioTrack().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLocalAudioTrack().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateLocalAudioTrack, a, b); + } +}; +_UpdateLocalAudioTrack.runtime = proto3; +_UpdateLocalAudioTrack.typeName = "livekit.UpdateLocalAudioTrack"; +_UpdateLocalAudioTrack.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true } +]); +let UpdateLocalAudioTrack = _UpdateLocalAudioTrack; +const _UpdateLocalVideoTrack = class _UpdateLocalVideoTrack extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: uint32 width = 2; + */ + this.width = 0; + /** + * @generated from field: uint32 height = 3; + */ + this.height = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateLocalVideoTrack().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateLocalVideoTrack().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateLocalVideoTrack().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateLocalVideoTrack, a, b); + } +}; +_UpdateLocalVideoTrack.runtime = proto3; +_UpdateLocalVideoTrack.typeName = "livekit.UpdateLocalVideoTrack"; +_UpdateLocalVideoTrack.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "width", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { + no: 3, + name: "height", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateLocalVideoTrack = _UpdateLocalVideoTrack; +const _LeaveRequest = class _LeaveRequest extends Message { + constructor(data) { + super(); + /** + * sent when server initiates the disconnect due to server-restart + * indicates clients should attempt full-reconnect sequence + * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 + * + * @generated from field: bool can_reconnect = 1; + */ + this.canReconnect = false; + /** + * @generated from field: livekit.DisconnectReason reason = 2; + */ + this.reason = DisconnectReason.UNKNOWN_REASON; + /** + * @generated from field: livekit.LeaveRequest.Action action = 3; + */ + this.action = 0 /* DISCONNECT */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _LeaveRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _LeaveRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _LeaveRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_LeaveRequest, a, b); + } +}; +_LeaveRequest.runtime = proto3; +_LeaveRequest.typeName = "livekit.LeaveRequest"; +_LeaveRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "can_reconnect", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, + { no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) }, + { no: 4, name: "regions", kind: "message", T: RegionSettings } +]); +let LeaveRequest = _LeaveRequest; +var LeaveRequest_Action = /* @__PURE__ */ ((LeaveRequest_Action2) => { + LeaveRequest_Action2[LeaveRequest_Action2["DISCONNECT"] = 0] = "DISCONNECT"; + LeaveRequest_Action2[LeaveRequest_Action2["RESUME"] = 1] = "RESUME"; + LeaveRequest_Action2[LeaveRequest_Action2["RECONNECT"] = 2] = "RECONNECT"; + return LeaveRequest_Action2; +})(LeaveRequest_Action || {}); +proto3.util.setEnumType(LeaveRequest_Action, "livekit.LeaveRequest.Action", [ + { no: 0, name: "DISCONNECT" }, + { no: 1, name: "RESUME" }, + { no: 2, name: "RECONNECT" } +]); +const _UpdateVideoLayers = class _UpdateVideoLayers extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.VideoLayer layers = 2; + */ + this.layers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateVideoLayers().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateVideoLayers().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateVideoLayers().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateVideoLayers, a, b); + } +}; +_UpdateVideoLayers.runtime = proto3; +_UpdateVideoLayers.typeName = "livekit.UpdateVideoLayers"; +_UpdateVideoLayers.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true } +]); +let UpdateVideoLayers = _UpdateVideoLayers; +const _UpdateParticipantMetadata = class _UpdateParticipantMetadata extends Message { + constructor(data) { + super(); + /** + * @generated from field: string metadata = 1; + */ + this.metadata = ""; + /** + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 3; + */ + this.attributes = {}; + /** + * @generated from field: uint32 request_id = 4; + */ + this.requestId = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _UpdateParticipantMetadata().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _UpdateParticipantMetadata().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _UpdateParticipantMetadata().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_UpdateParticipantMetadata, a, b); + } +}; +_UpdateParticipantMetadata.runtime = proto3; +_UpdateParticipantMetadata.typeName = "livekit.UpdateParticipantMetadata"; +_UpdateParticipantMetadata.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 4, + name: "request_id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + } +]); +let UpdateParticipantMetadata = _UpdateParticipantMetadata; +const _ICEServer = class _ICEServer extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated string urls = 1; + */ + this.urls = []; + /** + * @generated from field: string username = 2; + */ + this.username = ""; + /** + * @generated from field: string credential = 3; + */ + this.credential = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ICEServer().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ICEServer().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ICEServer().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ICEServer, a, b); + } +}; +_ICEServer.runtime = proto3; +_ICEServer.typeName = "livekit.ICEServer"; +_ICEServer.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "urls", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "credential", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let ICEServer = _ICEServer; +const _SpeakersChanged = class _SpeakersChanged extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + this.speakers = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SpeakersChanged().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SpeakersChanged().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SpeakersChanged().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SpeakersChanged, a, b); + } +}; +_SpeakersChanged.runtime = proto3; +_SpeakersChanged.typeName = "livekit.SpeakersChanged"; +_SpeakersChanged.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } +]); +let SpeakersChanged = _SpeakersChanged; +const _RoomUpdate = class _RoomUpdate extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RoomUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RoomUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RoomUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RoomUpdate, a, b); + } +}; +_RoomUpdate.runtime = proto3; +_RoomUpdate.typeName = "livekit.RoomUpdate"; +_RoomUpdate.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "room", kind: "message", T: Room } +]); +let RoomUpdate = _RoomUpdate; +const _ConnectionQualityInfo = class _ConnectionQualityInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: livekit.ConnectionQuality quality = 2; + */ + this.quality = ConnectionQuality.POOR; + /** + * @generated from field: float score = 3; + */ + this.score = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ConnectionQualityInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ConnectionQualityInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ConnectionQualityInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ConnectionQualityInfo, a, b); + } +}; +_ConnectionQualityInfo.runtime = proto3; +_ConnectionQualityInfo.typeName = "livekit.ConnectionQualityInfo"; +_ConnectionQualityInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) }, + { + no: 3, + name: "score", + kind: "scalar", + T: 2 + /* ScalarType.FLOAT */ + } +]); +let ConnectionQualityInfo = _ConnectionQualityInfo; +const _ConnectionQualityUpdate = class _ConnectionQualityUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; + */ + this.updates = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ConnectionQualityUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ConnectionQualityUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ConnectionQualityUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ConnectionQualityUpdate, a, b); + } +}; +_ConnectionQualityUpdate.runtime = proto3; +_ConnectionQualityUpdate.typeName = "livekit.ConnectionQualityUpdate"; +_ConnectionQualityUpdate.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true } +]); +let ConnectionQualityUpdate = _ConnectionQualityUpdate; +const _StreamStateInfo = class _StreamStateInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: string track_sid = 2; + */ + this.trackSid = ""; + /** + * @generated from field: livekit.StreamState state = 3; + */ + this.state = 0 /* ACTIVE */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamStateInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamStateInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamStateInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StreamStateInfo, a, b); + } +}; +_StreamStateInfo.runtime = proto3; +_StreamStateInfo.typeName = "livekit.StreamStateInfo"; +_StreamStateInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) } +]); +let StreamStateInfo = _StreamStateInfo; +const _StreamStateUpdate = class _StreamStateUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; + */ + this.streamStates = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _StreamStateUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _StreamStateUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _StreamStateUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_StreamStateUpdate, a, b); + } +}; +_StreamStateUpdate.runtime = proto3; +_StreamStateUpdate.typeName = "livekit.StreamStateUpdate"; +_StreamStateUpdate.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true } +]); +let StreamStateUpdate = _StreamStateUpdate; +const _SubscribedQuality = class _SubscribedQuality extends Message { + constructor(data) { + super(); + /** + * @generated from field: livekit.VideoQuality quality = 1; + */ + this.quality = VideoQuality.LOW; + /** + * @generated from field: bool enabled = 2; + */ + this.enabled = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedQuality().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedQuality().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedQuality().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscribedQuality, a, b); + } +}; +_SubscribedQuality.runtime = proto3; +_SubscribedQuality.typeName = "livekit.SubscribedQuality"; +_SubscribedQuality.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { + no: 2, + name: "enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SubscribedQuality = _SubscribedQuality; +const _SubscribedCodec = class _SubscribedCodec extends Message { + constructor(data) { + super(); + /** + * @generated from field: string codec = 1; + */ + this.codec = ""; + /** + * @generated from field: repeated livekit.SubscribedQuality qualities = 2; + */ + this.qualities = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedCodec().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedCodec().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedCodec().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscribedCodec, a, b); + } +}; +_SubscribedCodec.runtime = proto3; +_SubscribedCodec.typeName = "livekit.SubscribedCodec"; +_SubscribedCodec.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "codec", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true } +]); +let SubscribedCodec = _SubscribedCodec; +const _SubscribedQualityUpdate = class _SubscribedQualityUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; + */ + this.subscribedQualities = []; + /** + * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; + */ + this.subscribedCodecs = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscribedQualityUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscribedQualityUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscribedQualityUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscribedQualityUpdate, a, b); + } +}; +_SubscribedQualityUpdate.runtime = proto3; +_SubscribedQualityUpdate.typeName = "livekit.SubscribedQualityUpdate"; +_SubscribedQualityUpdate.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, + { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true } +]); +let SubscribedQualityUpdate = _SubscribedQualityUpdate; +const _TrackPermission = class _TrackPermission extends Message { + constructor(data) { + super(); + /** + * permission could be granted either by participant sid or identity + * + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: bool all_tracks = 2; + */ + this.allTracks = false; + /** + * @generated from field: repeated string track_sids = 3; + */ + this.trackSids = []; + /** + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackPermission, a, b); + } +}; +_TrackPermission.runtime = proto3; +_TrackPermission.typeName = "livekit.TrackPermission"; +_TrackPermission.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "all_tracks", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackPermission = _TrackPermission; +const _SubscriptionPermission = class _SubscriptionPermission extends Message { + constructor(data) { + super(); + /** + * @generated from field: bool all_participants = 1; + */ + this.allParticipants = false; + /** + * @generated from field: repeated livekit.TrackPermission track_permissions = 2; + */ + this.trackPermissions = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionPermission().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionPermission().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionPermission().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscriptionPermission, a, b); + } +}; +_SubscriptionPermission.runtime = proto3; +_SubscriptionPermission.typeName = "livekit.SubscriptionPermission"; +_SubscriptionPermission.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "all_participants", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true } +]); +let SubscriptionPermission = _SubscriptionPermission; +const _SubscriptionPermissionUpdate = class _SubscriptionPermissionUpdate extends Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_sid = 1; + */ + this.participantSid = ""; + /** + * @generated from field: string track_sid = 2; + */ + this.trackSid = ""; + /** + * @generated from field: bool allowed = 3; + */ + this.allowed = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionPermissionUpdate().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionPermissionUpdate().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionPermissionUpdate().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscriptionPermissionUpdate, a, b); + } +}; +_SubscriptionPermissionUpdate.runtime = proto3; +_SubscriptionPermissionUpdate.typeName = "livekit.SubscriptionPermissionUpdate"; +_SubscriptionPermissionUpdate.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "allowed", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SubscriptionPermissionUpdate = _SubscriptionPermissionUpdate; +const _SyncState = class _SyncState extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; + */ + this.publishTracks = []; + /** + * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; + */ + this.dataChannels = []; + /** + * @generated from field: repeated string track_sids_disabled = 6; + */ + this.trackSidsDisabled = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SyncState().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SyncState().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SyncState().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SyncState, a, b); + } +}; +_SyncState.runtime = proto3; +_SyncState.typeName = "livekit.SyncState"; +_SyncState.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "answer", kind: "message", T: SessionDescription }, + { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, + { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, + { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, + { no: 5, name: "offer", kind: "message", T: SessionDescription }, + { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true } +]); +let SyncState = _SyncState; +const _DataChannelInfo = class _DataChannelInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string label = 1; + */ + this.label = ""; + /** + * @generated from field: uint32 id = 2; + */ + this.id = 0; + /** + * @generated from field: livekit.SignalTarget target = 3; + */ + this.target = 0 /* PUBLISHER */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DataChannelInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DataChannelInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DataChannelInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DataChannelInfo, a, b); + } +}; +_DataChannelInfo.runtime = proto3; +_DataChannelInfo.typeName = "livekit.DataChannelInfo"; +_DataChannelInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "label", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) } +]); +let DataChannelInfo = _DataChannelInfo; +const _SimulateScenario = class _SimulateScenario extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SimulateScenario.scenario + */ + this.scenario = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SimulateScenario().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SimulateScenario().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SimulateScenario().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SimulateScenario, a, b); + } +}; +_SimulateScenario.runtime = proto3; +_SimulateScenario.typeName = "livekit.SimulateScenario"; +_SimulateScenario.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "speaker_update", kind: "scalar", T: 5, oneof: "scenario" }, + { no: 2, name: "node_failure", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 3, name: "migration", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 4, name: "server_leave", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, + { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3, oneof: "scenario" }, + { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8, oneof: "scenario" }, + { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8, oneof: "scenario" } +]); +let SimulateScenario = _SimulateScenario; +const _Ping = class _Ping extends Message { + constructor(data) { + super(); + /** + * @generated from field: int64 timestamp = 1; + */ + this.timestamp = protoInt64.zero; + /** + * rtt in milliseconds calculated by client + * + * @generated from field: int64 rtt = 2; + */ + this.rtt = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Ping().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Ping().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Ping().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Ping, a, b); + } +}; +_Ping.runtime = proto3; +_Ping.typeName = "livekit.Ping"; +_Ping.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "rtt", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let Ping = _Ping; +const _Pong = class _Pong extends Message { + constructor(data) { + super(); + /** + * timestamp field of last received ping request + * + * @generated from field: int64 last_ping_timestamp = 1; + */ + this.lastPingTimestamp = protoInt64.zero; + /** + * @generated from field: int64 timestamp = 2; + */ + this.timestamp = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _Pong().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _Pong().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _Pong().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_Pong, a, b); + } +}; +_Pong.runtime = proto3; +_Pong.typeName = "livekit.Pong"; +_Pong.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "last_ping_timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 2, + name: "timestamp", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let Pong = _Pong; +const _RegionSettings = class _RegionSettings extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.RegionInfo regions = 1; + */ + this.regions = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegionSettings().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegionSettings().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegionSettings().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RegionSettings, a, b); + } +}; +_RegionSettings.runtime = proto3; +_RegionSettings.typeName = "livekit.RegionSettings"; +_RegionSettings.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true } +]); +let RegionSettings = _RegionSettings; +const _RegionInfo = class _RegionInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string region = 1; + */ + this.region = ""; + /** + * @generated from field: string url = 2; + */ + this.url = ""; + /** + * @generated from field: int64 distance = 3; + */ + this.distance = protoInt64.zero; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RegionInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RegionInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RegionInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RegionInfo, a, b); + } +}; +_RegionInfo.runtime = proto3; +_RegionInfo.typeName = "livekit.RegionInfo"; +_RegionInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "region", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "url", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "distance", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + } +]); +let RegionInfo = _RegionInfo; +const _SubscriptionResponse = class _SubscriptionResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + /** + * @generated from field: livekit.SubscriptionError err = 2; + */ + this.err = SubscriptionError.SE_UNKNOWN; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SubscriptionResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SubscriptionResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SubscriptionResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SubscriptionResponse, a, b); + } +}; +_SubscriptionResponse.runtime = proto3; +_SubscriptionResponse.typeName = "livekit.SubscriptionResponse"; +_SubscriptionResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) } +]); +let SubscriptionResponse = _SubscriptionResponse; +const _RequestResponse = class _RequestResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: uint32 request_id = 1; + */ + this.requestId = 0; + /** + * @generated from field: livekit.RequestResponse.Reason reason = 2; + */ + this.reason = 0 /* OK */; + /** + * @generated from field: string message = 3; + */ + this.message = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _RequestResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _RequestResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _RequestResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_RequestResponse, a, b); + } +}; +_RequestResponse.runtime = proto3; +_RequestResponse.typeName = "livekit.RequestResponse"; +_RequestResponse.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "request_id", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) }, + { + no: 3, + name: "message", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let RequestResponse = _RequestResponse; +var RequestResponse_Reason = /* @__PURE__ */ ((RequestResponse_Reason2) => { + RequestResponse_Reason2[RequestResponse_Reason2["OK"] = 0] = "OK"; + RequestResponse_Reason2[RequestResponse_Reason2["NOT_FOUND"] = 1] = "NOT_FOUND"; + RequestResponse_Reason2[RequestResponse_Reason2["NOT_ALLOWED"] = 2] = "NOT_ALLOWED"; + RequestResponse_Reason2[RequestResponse_Reason2["LIMIT_EXCEEDED"] = 3] = "LIMIT_EXCEEDED"; + return RequestResponse_Reason2; +})(RequestResponse_Reason || {}); +proto3.util.setEnumType(RequestResponse_Reason, "livekit.RequestResponse.Reason", [ + { no: 0, name: "OK" }, + { no: 1, name: "NOT_FOUND" }, + { no: 2, name: "NOT_ALLOWED" }, + { no: 3, name: "LIMIT_EXCEEDED" } +]); +const _TrackSubscribed = class _TrackSubscribed extends Message { + constructor(data) { + super(); + /** + * @generated from field: string track_sid = 1; + */ + this.trackSid = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TrackSubscribed().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TrackSubscribed().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TrackSubscribed().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TrackSubscribed, a, b); + } +}; +_TrackSubscribed.runtime = proto3; +_TrackSubscribed.typeName = "livekit.TrackSubscribed"; +_TrackSubscribed.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "track_sid", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let TrackSubscribed = _TrackSubscribed; +export { + AddTrackRequest, + CandidateProtocol, + ConnectionQualityInfo, + ConnectionQualityUpdate, + DataChannelInfo, + ICEServer, + JoinResponse, + LeaveRequest, + LeaveRequest_Action, + MuteTrackRequest, + ParticipantUpdate, + Ping, + Pong, + ReconnectResponse, + RegionInfo, + RegionSettings, + RequestResponse, + RequestResponse_Reason, + RoomUpdate, + SessionDescription, + SignalRequest, + SignalResponse, + SignalTarget, + SimulateScenario, + SimulcastCodec, + SpeakersChanged, + StreamState, + StreamStateInfo, + StreamStateUpdate, + SubscribedCodec, + SubscribedQuality, + SubscribedQualityUpdate, + SubscriptionPermission, + SubscriptionPermissionUpdate, + SubscriptionResponse, + SyncState, + TrackPermission, + TrackPublishedResponse, + TrackSubscribed, + TrackUnpublishedResponse, + TrickleRequest, + UpdateLocalAudioTrack, + UpdateLocalVideoTrack, + UpdateParticipantMetadata, + UpdateSubscription, + UpdateTrackSettings, + UpdateVideoLayers +}; +//# sourceMappingURL=livekit_rtc_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.js.map b/packages/javascript/dist/gen/livekit_rtc_pb.js.map new file mode 100644 index 00000000..9f116bc1 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_rtc_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_rtc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_rtc.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SignalTarget\n */\nexport enum SignalTarget {\n /**\n * @generated from enum value: PUBLISHER = 0;\n */\n PUBLISHER = 0,\n\n /**\n * @generated from enum value: SUBSCRIBER = 1;\n */\n SUBSCRIBER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SignalTarget)\nproto3.util.setEnumType(SignalTarget, \"livekit.SignalTarget\", [\n { no: 0, name: \"PUBLISHER\" },\n { no: 1, name: \"SUBSCRIBER\" },\n]);\n\n/**\n * @generated from enum livekit.StreamState\n */\nexport enum StreamState {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: PAUSED = 1;\n */\n PAUSED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamState)\nproto3.util.setEnumType(StreamState, \"livekit.StreamState\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"PAUSED\" },\n]);\n\n/**\n * @generated from enum livekit.CandidateProtocol\n */\nexport enum CandidateProtocol {\n /**\n * @generated from enum value: UDP = 0;\n */\n UDP = 0,\n\n /**\n * @generated from enum value: TCP = 1;\n */\n TCP = 1,\n\n /**\n * @generated from enum value: TLS = 2;\n */\n TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(CandidateProtocol)\nproto3.util.setEnumType(CandidateProtocol, \"livekit.CandidateProtocol\", [\n { no: 0, name: \"UDP\" },\n { no: 1, name: \"TCP\" },\n { no: 2, name: \"TLS\" },\n]);\n\n/**\n * @generated from message livekit.SignalRequest\n */\nexport class SignalRequest extends Message {\n /**\n * @generated from oneof livekit.SignalRequest.message\n */\n message: {\n /**\n * initial join exchange, for publisher\n *\n * @generated from field: livekit.SessionDescription offer = 1;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * participant answering publisher offer\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * @generated from field: livekit.TrickleRequest trickle = 3;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * @generated from field: livekit.AddTrackRequest add_track = 4;\n */\n value: AddTrackRequest;\n case: \"addTrack\";\n } | {\n /**\n * mute the participant's published tracks\n *\n * @generated from field: livekit.MuteTrackRequest mute = 5;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * Subscribe or unsubscribe from tracks\n *\n * @generated from field: livekit.UpdateSubscription subscription = 6;\n */\n value: UpdateSubscription;\n case: \"subscription\";\n } | {\n /**\n * Update settings of subscribed tracks\n *\n * @generated from field: livekit.UpdateTrackSettings track_setting = 7;\n */\n value: UpdateTrackSettings;\n case: \"trackSetting\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * Update published video layers\n *\n * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true];\n * @deprecated\n */\n value: UpdateVideoLayers;\n case: \"updateLayers\";\n } | {\n /**\n * Update subscriber permissions\n *\n * @generated from field: livekit.SubscriptionPermission subscription_permission = 11;\n */\n value: SubscriptionPermission;\n case: \"subscriptionPermission\";\n } | {\n /**\n * sync client's subscribe state to server during reconnect\n *\n * @generated from field: livekit.SyncState sync_state = 12;\n */\n value: SyncState;\n case: \"syncState\";\n } | {\n /**\n * Simulate conditions, for client validations\n *\n * @generated from field: livekit.SimulateScenario simulate = 13;\n */\n value: SimulateScenario;\n case: \"simulate\";\n } | {\n /**\n * client triggered ping to server\n *\n * deprecated by ping_req (message Ping)\n *\n * @generated from field: int64 ping = 14;\n */\n value: bigint;\n case: \"ping\";\n } | {\n /**\n * update a participant's own metadata, name, or attributes\n * requires canUpdateOwnParticipantMetadata permission\n *\n * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15;\n */\n value: UpdateParticipantMetadata;\n case: \"updateMetadata\";\n } | {\n /**\n * @generated from field: livekit.Ping ping_req = 16;\n */\n value: Ping;\n case: \"pingReq\";\n } | {\n /**\n * Update local audio track settings\n *\n * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;\n */\n value: UpdateLocalAudioTrack;\n case: \"updateAudioTrack\";\n } | {\n /**\n * Update local video track settings\n *\n * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;\n */\n value: UpdateLocalVideoTrack;\n case: \"updateVideoTrack\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 4, name: \"add_track\", kind: \"message\", T: AddTrackRequest, oneof: \"message\" },\n { no: 5, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 6, name: \"subscription\", kind: \"message\", T: UpdateSubscription, oneof: \"message\" },\n { no: 7, name: \"track_setting\", kind: \"message\", T: UpdateTrackSettings, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 10, name: \"update_layers\", kind: \"message\", T: UpdateVideoLayers, oneof: \"message\" },\n { no: 11, name: \"subscription_permission\", kind: \"message\", T: SubscriptionPermission, oneof: \"message\" },\n { no: 12, name: \"sync_state\", kind: \"message\", T: SyncState, oneof: \"message\" },\n { no: 13, name: \"simulate\", kind: \"message\", T: SimulateScenario, oneof: \"message\" },\n { no: 14, name: \"ping\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 15, name: \"update_metadata\", kind: \"message\", T: UpdateParticipantMetadata, oneof: \"message\" },\n { no: 16, name: \"ping_req\", kind: \"message\", T: Ping, oneof: \"message\" },\n { no: 17, name: \"update_audio_track\", kind: \"message\", T: UpdateLocalAudioTrack, oneof: \"message\" },\n { no: 18, name: \"update_video_track\", kind: \"message\", T: UpdateLocalVideoTrack, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest {\n return new SignalRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest {\n return new SignalRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalRequest {\n return new SignalRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SignalResponse\n */\nexport class SignalResponse extends Message {\n /**\n * @generated from oneof livekit.SignalResponse.message\n */\n message: {\n /**\n * sent when join is accepted\n *\n * @generated from field: livekit.JoinResponse join = 1;\n */\n value: JoinResponse;\n case: \"join\";\n } | {\n /**\n * sent when server answers publisher\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * sent when server is sending subscriber an offer\n *\n * @generated from field: livekit.SessionDescription offer = 3;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * sent when an ICE candidate is available\n *\n * @generated from field: livekit.TrickleRequest trickle = 4;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * sent when participants in the room has changed\n *\n * @generated from field: livekit.ParticipantUpdate update = 5;\n */\n value: ParticipantUpdate;\n case: \"update\";\n } | {\n /**\n * sent to the participant when their track has been published\n *\n * @generated from field: livekit.TrackPublishedResponse track_published = 6;\n */\n value: TrackPublishedResponse;\n case: \"trackPublished\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * server initiated mute\n *\n * @generated from field: livekit.MuteTrackRequest mute = 9;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * indicates changes to speaker status, including when they've gone to not speaking\n *\n * @generated from field: livekit.SpeakersChanged speakers_changed = 10;\n */\n value: SpeakersChanged;\n case: \"speakersChanged\";\n } | {\n /**\n * sent when metadata of the room has changed\n *\n * @generated from field: livekit.RoomUpdate room_update = 11;\n */\n value: RoomUpdate;\n case: \"roomUpdate\";\n } | {\n /**\n * when connection quality changed\n *\n * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12;\n */\n value: ConnectionQualityUpdate;\n case: \"connectionQuality\";\n } | {\n /**\n * when streamed tracks state changed, used to notify when any of the streams were paused due to\n * congestion\n *\n * @generated from field: livekit.StreamStateUpdate stream_state_update = 13;\n */\n value: StreamStateUpdate;\n case: \"streamStateUpdate\";\n } | {\n /**\n * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers\n *\n * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14;\n */\n value: SubscribedQualityUpdate;\n case: \"subscribedQualityUpdate\";\n } | {\n /**\n * when subscription permission changed\n *\n * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;\n */\n value: SubscriptionPermissionUpdate;\n case: \"subscriptionPermissionUpdate\";\n } | {\n /**\n * update the token the client was using, to prevent an active client from using an expired token\n *\n * @generated from field: string refresh_token = 16;\n */\n value: string;\n case: \"refreshToken\";\n } | {\n /**\n * server initiated track unpublish\n *\n * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17;\n */\n value: TrackUnpublishedResponse;\n case: \"trackUnpublished\";\n } | {\n /**\n * respond to ping\n *\n * deprecated by pong_resp (message Pong)\n *\n * @generated from field: int64 pong = 18;\n */\n value: bigint;\n case: \"pong\";\n } | {\n /**\n * sent when client reconnects\n *\n * @generated from field: livekit.ReconnectResponse reconnect = 19;\n */\n value: ReconnectResponse;\n case: \"reconnect\";\n } | {\n /**\n * respond to Ping\n *\n * @generated from field: livekit.Pong pong_resp = 20;\n */\n value: Pong;\n case: \"pongResp\";\n } | {\n /**\n * Subscription response, client should not expect any media from this subscription if it fails\n *\n * @generated from field: livekit.SubscriptionResponse subscription_response = 21;\n */\n value: SubscriptionResponse;\n case: \"subscriptionResponse\";\n } | {\n /**\n * Response relating to user inititated requests that carry a `request_id`\n *\n * @generated from field: livekit.RequestResponse request_response = 22;\n */\n value: RequestResponse;\n case: \"requestResponse\";\n } | {\n /**\n * notify to the publisher when a published track has been subscribed for the first time\n *\n * @generated from field: livekit.TrackSubscribed track_subscribed = 23;\n */\n value: TrackSubscribed;\n case: \"trackSubscribed\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"join\", kind: \"message\", T: JoinResponse, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 4, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 5, name: \"update\", kind: \"message\", T: ParticipantUpdate, oneof: \"message\" },\n { no: 6, name: \"track_published\", kind: \"message\", T: TrackPublishedResponse, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 9, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 10, name: \"speakers_changed\", kind: \"message\", T: SpeakersChanged, oneof: \"message\" },\n { no: 11, name: \"room_update\", kind: \"message\", T: RoomUpdate, oneof: \"message\" },\n { no: 12, name: \"connection_quality\", kind: \"message\", T: ConnectionQualityUpdate, oneof: \"message\" },\n { no: 13, name: \"stream_state_update\", kind: \"message\", T: StreamStateUpdate, oneof: \"message\" },\n { no: 14, name: \"subscribed_quality_update\", kind: \"message\", T: SubscribedQualityUpdate, oneof: \"message\" },\n { no: 15, name: \"subscription_permission_update\", kind: \"message\", T: SubscriptionPermissionUpdate, oneof: \"message\" },\n { no: 16, name: \"refresh_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"message\" },\n { no: 17, name: \"track_unpublished\", kind: \"message\", T: TrackUnpublishedResponse, oneof: \"message\" },\n { no: 18, name: \"pong\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 19, name: \"reconnect\", kind: \"message\", T: ReconnectResponse, oneof: \"message\" },\n { no: 20, name: \"pong_resp\", kind: \"message\", T: Pong, oneof: \"message\" },\n { no: 21, name: \"subscription_response\", kind: \"message\", T: SubscriptionResponse, oneof: \"message\" },\n { no: 22, name: \"request_response\", kind: \"message\", T: RequestResponse, oneof: \"message\" },\n { no: 23, name: \"track_subscribed\", kind: \"message\", T: TrackSubscribed, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse {\n return new SignalResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse {\n return new SignalResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalResponse {\n return new SignalResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulcastCodec\n */\nexport class SimulcastCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: string cid = 2;\n */\n cid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AddTrackRequest\n */\nexport class AddTrackRequest extends Message {\n /**\n * client ID of track, to match it when RTC track is received\n *\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 3;\n */\n type = TrackType.AUDIO;\n\n /**\n * to be deprecated in favor of layers\n *\n * @generated from field: uint32 width = 4;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 5;\n */\n height = 0;\n\n /**\n * true to add track and initialize to muted\n *\n * @generated from field: bool muted = 6;\n */\n muted = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 7;\n */\n disableDtx = false;\n\n /**\n * @generated from field: livekit.TrackSource source = 8;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 9;\n */\n layers: VideoLayer[] = [];\n\n /**\n * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10;\n */\n simulcastCodecs: SimulcastCodec[] = [];\n\n /**\n * server ID of track, publish new codec to exist track\n *\n * @generated from field: string sid = 11;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool stereo = 12;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 13;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 14;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * which stream the track belongs to, used to group tracks together.\n * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together\n *\n * @generated from field: string stream = 15;\n */\n stream = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AddTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 4, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 9, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 10, name: \"simulcast_codecs\", kind: \"message\", T: SimulcastCodec, repeated: true },\n { no: 11, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 15, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AddTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrickleRequest\n */\nexport class TrickleRequest extends Message {\n /**\n * @generated from field: string candidateInit = 1;\n */\n candidateInit = \"\";\n\n /**\n * @generated from field: livekit.SignalTarget target = 2;\n */\n target = SignalTarget.PUBLISHER;\n\n /**\n * @generated from field: bool final = 3;\n */\n final = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrickleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"candidateInit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n { no: 3, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrickleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteTrackRequest\n */\nexport class MuteTrackRequest extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool muted = 2;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JoinResponse\n */\nexport class JoinResponse extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 2;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: repeated livekit.ParticipantInfo other_participants = 3;\n */\n otherParticipants: ParticipantInfo[] = [];\n\n /**\n * deprecated. use server_info.version instead.\n *\n * @generated from field: string server_version = 4;\n */\n serverVersion = \"\";\n\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 5;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * use subscriber as the primary PeerConnection\n *\n * @generated from field: bool subscriber_primary = 6;\n */\n subscriberPrimary = false;\n\n /**\n * when the current server isn't available, return alternate url to retry connection\n * when this is set, the other fields will be largely empty\n *\n * @generated from field: string alternative_url = 7;\n */\n alternativeUrl = \"\";\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 8;\n */\n clientConfiguration?: ClientConfiguration;\n\n /**\n * deprecated. use server_info.region instead.\n *\n * @generated from field: string server_region = 9;\n */\n serverRegion = \"\";\n\n /**\n * @generated from field: int32 ping_timeout = 10;\n */\n pingTimeout = 0;\n\n /**\n * @generated from field: int32 ping_interval = 11;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 12;\n */\n serverInfo?: ServerInfo;\n\n /**\n * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled\n *\n * @generated from field: bytes sif_trailer = 13;\n */\n sifTrailer = new Uint8Array(0);\n\n /**\n * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;\n */\n enabledPublishCodecs: Codec[] = [];\n\n /**\n * when set, client should attempt to establish publish peer connection when joining room to speed up publishing\n *\n * @generated from field: bool fast_publish = 15;\n */\n fastPublish = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JoinResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n { no: 2, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 3, name: \"other_participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n { no: 4, name: \"server_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 6, name: \"subscriber_primary\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"alternative_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n { no: 9, name: \"server_region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"ping_timeout\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"ping_interval\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"server_info\", kind: \"message\", T: ServerInfo },\n { no: 13, name: \"sif_trailer\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 14, name: \"enabled_publish_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 15, name: \"fast_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse {\n return new JoinResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse {\n return new JoinResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JoinResponse {\n return new JoinResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(JoinResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ReconnectResponse\n */\nexport class ReconnectResponse extends Message {\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 1;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 2;\n */\n clientConfiguration?: ClientConfiguration;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ReconnectResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 2, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ReconnectResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPublishedResponse\n */\nexport class TrackPublishedResponse extends Message {\n /**\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 2;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackUnpublishedResponse\n */\nexport class TrackUnpublishedResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackUnpublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackUnpublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SessionDescription\n */\nexport class SessionDescription extends Message {\n /**\n * \"answer\" | \"offer\" | \"pranswer\" | \"rollback\"\n *\n * @generated from field: string type = 1;\n */\n type = \"\";\n\n /**\n * @generated from field: string sdp = 2;\n */\n sdp = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SessionDescription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sdp\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription {\n return new SessionDescription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription {\n return new SessionDescription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SessionDescription {\n return new SessionDescription().fromJsonString(jsonString, options);\n }\n\n static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean {\n return proto3.util.equals(SessionDescription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantUpdate\n */\nexport class ParticipantUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscription\n */\nexport class UpdateSubscription extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: bool subscribe = 2;\n */\n subscribe = false;\n\n /**\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateTrackSettings\n */\nexport class UpdateTrackSettings extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * when true, the track is placed in a paused state, with no new data returned\n *\n * @generated from field: bool disabled = 3;\n */\n disabled = false;\n\n /**\n * deprecated in favor of width & height\n *\n * @generated from field: livekit.VideoQuality quality = 4;\n */\n quality = VideoQuality.LOW;\n\n /**\n * for video, width to receive\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * for video, height to receive\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * @generated from field: uint32 fps = 7;\n */\n fps = 0;\n\n /**\n * subscription priority. 1 being the highest (0 is unset)\n * when unset, server sill assign priority based on the order of subscription\n * server will use priority in the following ways:\n * 1. when subscribed tracks exceed per-participant subscription limit, server will\n * pause the lowest priority tracks\n * 2. when the network is congested, server will assign available bandwidth to\n * higher priority tracks first. lowest priority tracks can be paused\n *\n * @generated from field: uint32 priority = 8;\n */\n priority = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateTrackSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"disabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"fps\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"priority\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateTrackSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalAudioTrack\n */\nexport class UpdateLocalAudioTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature features = 2;\n */\n features: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalAudioTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalAudioTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalVideoTrack\n */\nexport class UpdateLocalVideoTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalVideoTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalVideoTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.LeaveRequest\n */\nexport class LeaveRequest extends Message {\n /**\n * sent when server initiates the disconnect due to server-restart\n * indicates clients should attempt full-reconnect sequence\n * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13\n *\n * @generated from field: bool can_reconnect = 1;\n */\n canReconnect = false;\n\n /**\n * @generated from field: livekit.DisconnectReason reason = 2;\n */\n reason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: livekit.LeaveRequest.Action action = 3;\n */\n action = LeaveRequest_Action.DISCONNECT;\n\n /**\n * @generated from field: livekit.RegionSettings regions = 4;\n */\n regions?: RegionSettings;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.LeaveRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 3, name: \"action\", kind: \"enum\", T: proto3.getEnumType(LeaveRequest_Action) },\n { no: 4, name: \"regions\", kind: \"message\", T: RegionSettings },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(LeaveRequest, a, b);\n }\n}\n\n/**\n * indicates action clients should take on receiving this message\n *\n * @generated from enum livekit.LeaveRequest.Action\n */\nexport enum LeaveRequest_Action {\n /**\n * should disconnect\n *\n * @generated from enum value: DISCONNECT = 0;\n */\n DISCONNECT = 0,\n\n /**\n * should attempt a resume with `reconnect=1` in join URL\n *\n * @generated from enum value: RESUME = 1;\n */\n RESUME = 1,\n\n /**\n * should attempt a reconnect, i. e. no `reconnect=1`\n *\n * @generated from enum value: RECONNECT = 2;\n */\n RECONNECT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(LeaveRequest_Action)\nproto3.util.setEnumType(LeaveRequest_Action, \"livekit.LeaveRequest.Action\", [\n { no: 0, name: \"DISCONNECT\" },\n { no: 1, name: \"RESUME\" },\n { no: 2, name: \"RECONNECT\" },\n]);\n\n/**\n * message to indicate published video track dimensions are changing\n *\n * @generated from message livekit.UpdateVideoLayers\n * @deprecated\n */\nexport class UpdateVideoLayers extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 2;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateVideoLayers\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateVideoLayers, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantMetadata\n */\nexport class UpdateParticipantMetadata extends Message {\n /**\n * @generated from field: string metadata = 1;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 3;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: uint32 request_id = 4;\n */\n requestId = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantMetadata\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 4, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantMetadata, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEServer\n */\nexport class ICEServer extends Message {\n /**\n * @generated from field: repeated string urls = 1;\n */\n urls: string[] = [];\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string credential = 3;\n */\n credential = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEServer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"credential\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer {\n return new ICEServer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer {\n return new ICEServer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEServer {\n return new ICEServer().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEServer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakersChanged\n */\nexport class SpeakersChanged extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakersChanged\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakersChanged, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomUpdate\n */\nexport class RoomUpdate extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityInfo\n */\nexport class ConnectionQualityInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: livekit.ConnectionQuality quality = 2;\n */\n quality = ConnectionQuality.POOR;\n\n /**\n * @generated from field: float score = 3;\n */\n score = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(ConnectionQuality) },\n { no: 3, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityUpdate\n */\nexport class ConnectionQualityUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1;\n */\n updates: ConnectionQualityInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"updates\", kind: \"message\", T: ConnectionQualityInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateInfo\n */\nexport class StreamStateInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.StreamState state = 3;\n */\n state = StreamState.ACTIVE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(StreamState) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateUpdate\n */\nexport class StreamStateUpdate extends Message {\n /**\n * @generated from field: repeated livekit.StreamStateInfo stream_states = 1;\n */\n streamStates: StreamStateInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_states\", kind: \"message\", T: StreamStateInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQuality\n */\nexport class SubscribedQuality extends Message {\n /**\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: bool enabled = 2;\n */\n enabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQuality\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQuality, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedCodec\n */\nexport class SubscribedCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality qualities = 2;\n */\n qualities: SubscribedQuality[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQualityUpdate\n */\nexport class SubscribedQualityUpdate extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;\n */\n subscribedQualities: SubscribedQuality[] = [];\n\n /**\n * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3;\n */\n subscribedCodecs: SubscribedCodec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"subscribed_qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n { no: 3, name: \"subscribed_codecs\", kind: \"message\", T: SubscribedCodec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPermission\n */\nexport class TrackPermission extends Message {\n /**\n * permission could be granted either by participant sid or identity\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: bool all_tracks = 2;\n */\n allTracks = false;\n\n /**\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"all_tracks\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission {\n return new TrackPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission {\n return new TrackPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPermission {\n return new TrackPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermission\n */\nexport class SubscriptionPermission extends Message {\n /**\n * @generated from field: bool all_participants = 1;\n */\n allParticipants = false;\n\n /**\n * @generated from field: repeated livekit.TrackPermission track_permissions = 2;\n */\n trackPermissions: TrackPermission[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"all_participants\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"track_permissions\", kind: \"message\", T: TrackPermission, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermissionUpdate\n */\nexport class SubscriptionPermissionUpdate extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: bool allowed = 3;\n */\n allowed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermissionUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"allowed\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermissionUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SyncState\n */\nexport class SyncState extends Message {\n /**\n * last subscribe answer before reconnecting\n *\n * @generated from field: livekit.SessionDescription answer = 1;\n */\n answer?: SessionDescription;\n\n /**\n * @generated from field: livekit.UpdateSubscription subscription = 2;\n */\n subscription?: UpdateSubscription;\n\n /**\n * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3;\n */\n publishTracks: TrackPublishedResponse[] = [];\n\n /**\n * @generated from field: repeated livekit.DataChannelInfo data_channels = 4;\n */\n dataChannels: DataChannelInfo[] = [];\n\n /**\n * last received server side offer before reconnecting\n *\n * @generated from field: livekit.SessionDescription offer = 5;\n */\n offer?: SessionDescription;\n\n /**\n * @generated from field: repeated string track_sids_disabled = 6;\n */\n trackSidsDisabled: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SyncState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"answer\", kind: \"message\", T: SessionDescription },\n { no: 2, name: \"subscription\", kind: \"message\", T: UpdateSubscription },\n { no: 3, name: \"publish_tracks\", kind: \"message\", T: TrackPublishedResponse, repeated: true },\n { no: 4, name: \"data_channels\", kind: \"message\", T: DataChannelInfo, repeated: true },\n { no: 5, name: \"offer\", kind: \"message\", T: SessionDescription },\n { no: 6, name: \"track_sids_disabled\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SyncState {\n return new SyncState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SyncState {\n return new SyncState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SyncState {\n return new SyncState().fromJsonString(jsonString, options);\n }\n\n static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean {\n return proto3.util.equals(SyncState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataChannelInfo\n */\nexport class DataChannelInfo extends Message {\n /**\n * @generated from field: string label = 1;\n */\n label = \"\";\n\n /**\n * @generated from field: uint32 id = 2;\n */\n id = 0;\n\n /**\n * @generated from field: livekit.SignalTarget target = 3;\n */\n target = SignalTarget.PUBLISHER;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataChannelInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataChannelInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateScenario\n */\nexport class SimulateScenario extends Message {\n /**\n * @generated from oneof livekit.SimulateScenario.scenario\n */\n scenario: {\n /**\n * simulate N seconds of speaker activity\n *\n * @generated from field: int32 speaker_update = 1;\n */\n value: number;\n case: \"speakerUpdate\";\n } | {\n /**\n * simulate local node failure\n *\n * @generated from field: bool node_failure = 2;\n */\n value: boolean;\n case: \"nodeFailure\";\n } | {\n /**\n * simulate migration\n *\n * @generated from field: bool migration = 3;\n */\n value: boolean;\n case: \"migration\";\n } | {\n /**\n * server to send leave\n *\n * @generated from field: bool server_leave = 4;\n */\n value: boolean;\n case: \"serverLeave\";\n } | {\n /**\n * switch candidate protocol to tcp\n *\n * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5;\n */\n value: CandidateProtocol;\n case: \"switchCandidateProtocol\";\n } | {\n /**\n * maximum bandwidth for subscribers, in bps\n * when zero, clears artificial bandwidth limit\n *\n * @generated from field: int64 subscriber_bandwidth = 6;\n */\n value: bigint;\n case: \"subscriberBandwidth\";\n } | {\n /**\n * disconnect signal on resume\n *\n * @generated from field: bool disconnect_signal_on_resume = 7;\n */\n value: boolean;\n case: \"disconnectSignalOnResume\";\n } | {\n /**\n * disconnect signal on resume before sending any messages from server\n *\n * @generated from field: bool disconnect_signal_on_resume_no_messages = 8;\n */\n value: boolean;\n case: \"disconnectSignalOnResumeNoMessages\";\n } | {\n /**\n * full reconnect leave request\n *\n * @generated from field: bool leave_request_full_reconnect = 9;\n */\n value: boolean;\n case: \"leaveRequestFullReconnect\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateScenario\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speaker_update\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */, oneof: \"scenario\" },\n { no: 2, name: \"node_failure\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 3, name: \"migration\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 4, name: \"server_leave\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 5, name: \"switch_candidate_protocol\", kind: \"enum\", T: proto3.getEnumType(CandidateProtocol), oneof: \"scenario\" },\n { no: 6, name: \"subscriber_bandwidth\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"scenario\" },\n { no: 7, name: \"disconnect_signal_on_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 8, name: \"disconnect_signal_on_resume_no_messages\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 9, name: \"leave_request_full_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateScenario, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Ping\n */\nexport class Ping extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n /**\n * rtt in milliseconds calculated by client\n *\n * @generated from field: int64 rtt = 2;\n */\n rtt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Ping\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"rtt\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Ping {\n return new Ping().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Ping {\n return new Ping().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Ping {\n return new Ping().fromJsonString(jsonString, options);\n }\n\n static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean {\n return proto3.util.equals(Ping, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Pong\n */\nexport class Pong extends Message {\n /**\n * timestamp field of last received ping request\n *\n * @generated from field: int64 last_ping_timestamp = 1;\n */\n lastPingTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Pong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_ping_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Pong {\n return new Pong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Pong {\n return new Pong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Pong {\n return new Pong().fromJsonString(jsonString, options);\n }\n\n static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean {\n return proto3.util.equals(Pong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionSettings\n */\nexport class RegionSettings extends Message {\n /**\n * @generated from field: repeated livekit.RegionInfo regions = 1;\n */\n regions: RegionInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"regions\", kind: \"message\", T: RegionInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings {\n return new RegionSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings {\n return new RegionSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionSettings {\n return new RegionSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionInfo\n */\nexport class RegionInfo extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string url = 2;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 distance = 3;\n */\n distance = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"distance\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo {\n return new RegionInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo {\n return new RegionInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionInfo {\n return new RegionInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionResponse\n */\nexport class SubscriptionResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.SubscriptionError err = 2;\n */\n err = SubscriptionError.SE_UNKNOWN;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"err\", kind: \"enum\", T: proto3.getEnumType(SubscriptionError) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RequestResponse\n */\nexport class RequestResponse extends Message {\n /**\n * @generated from field: uint32 request_id = 1;\n */\n requestId = 0;\n\n /**\n * @generated from field: livekit.RequestResponse.Reason reason = 2;\n */\n reason = RequestResponse_Reason.OK;\n\n /**\n * @generated from field: string message = 3;\n */\n message = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RequestResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(RequestResponse_Reason) },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse {\n return new RequestResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse {\n return new RequestResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RequestResponse {\n return new RequestResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RequestResponse, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.RequestResponse.Reason\n */\nexport enum RequestResponse_Reason {\n /**\n * @generated from enum value: OK = 0;\n */\n OK = 0,\n\n /**\n * @generated from enum value: NOT_FOUND = 1;\n */\n NOT_FOUND = 1,\n\n /**\n * @generated from enum value: NOT_ALLOWED = 2;\n */\n NOT_ALLOWED = 2,\n\n /**\n * @generated from enum value: LIMIT_EXCEEDED = 3;\n */\n LIMIT_EXCEEDED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(RequestResponse_Reason)\nproto3.util.setEnumType(RequestResponse_Reason, \"livekit.RequestResponse.Reason\", [\n { no: 0, name: \"OK\" },\n { no: 1, name: \"NOT_FOUND\" },\n { no: 2, name: \"NOT_ALLOWED\" },\n { no: 3, name: \"LIMIT_EXCEEDED\" },\n]);\n\n/**\n * @generated from message livekit.TrackSubscribed\n */\nexport class TrackSubscribed extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackSubscribed\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackSubscribed, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,mBAAmB,qBAAqB,OAAO,mBAAmB,kBAAkB,iBAAiB,iBAAiB,mBAAmB,MAAM,YAAY,aAAa,mBAAmB,WAAW,aAAa,WAAW,YAAY,oBAAoB;AAKhQ,IAAK,eAAL,kBAAKA,kBAAL;AAIL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AAAA;AAAA,EAA0B;AAC3E,CAAC;AAfI,IAAM,kBAAN;","names":["SignalTarget","StreamState","CandidateProtocol","LeaveRequest_Action","RequestResponse_Reason"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.cjs b/packages/javascript/dist/gen/livekit_sip_pb.cjs new file mode 100644 index 00000000..9ba6a8d9 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.cjs @@ -0,0 +1,2118 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_sip_pb_exports = {}; +__export(livekit_sip_pb_exports, { + CreateSIPDispatchRuleRequest: () => CreateSIPDispatchRuleRequest, + CreateSIPInboundTrunkRequest: () => CreateSIPInboundTrunkRequest, + CreateSIPOutboundTrunkRequest: () => CreateSIPOutboundTrunkRequest, + CreateSIPParticipantRequest: () => CreateSIPParticipantRequest, + CreateSIPTrunkRequest: () => CreateSIPTrunkRequest, + DeleteSIPDispatchRuleRequest: () => DeleteSIPDispatchRuleRequest, + DeleteSIPTrunkRequest: () => DeleteSIPTrunkRequest, + GetSIPInboundTrunkRequest: () => GetSIPInboundTrunkRequest, + GetSIPInboundTrunkResponse: () => GetSIPInboundTrunkResponse, + GetSIPOutboundTrunkRequest: () => GetSIPOutboundTrunkRequest, + GetSIPOutboundTrunkResponse: () => GetSIPOutboundTrunkResponse, + ListSIPDispatchRuleRequest: () => ListSIPDispatchRuleRequest, + ListSIPDispatchRuleResponse: () => ListSIPDispatchRuleResponse, + ListSIPInboundTrunkRequest: () => ListSIPInboundTrunkRequest, + ListSIPInboundTrunkResponse: () => ListSIPInboundTrunkResponse, + ListSIPOutboundTrunkRequest: () => ListSIPOutboundTrunkRequest, + ListSIPOutboundTrunkResponse: () => ListSIPOutboundTrunkResponse, + ListSIPTrunkRequest: () => ListSIPTrunkRequest, + ListSIPTrunkResponse: () => ListSIPTrunkResponse, + SIPCallInfo: () => SIPCallInfo, + SIPCallStatus: () => SIPCallStatus, + SIPDispatchRule: () => SIPDispatchRule, + SIPDispatchRuleCallee: () => SIPDispatchRuleCallee, + SIPDispatchRuleDirect: () => SIPDispatchRuleDirect, + SIPDispatchRuleIndividual: () => SIPDispatchRuleIndividual, + SIPDispatchRuleInfo: () => SIPDispatchRuleInfo, + SIPFeature: () => SIPFeature, + SIPInboundTrunkInfo: () => SIPInboundTrunkInfo, + SIPOutboundTrunkInfo: () => SIPOutboundTrunkInfo, + SIPParticipantInfo: () => SIPParticipantInfo, + SIPTransport: () => SIPTransport, + SIPTrunkInfo: () => SIPTrunkInfo, + SIPTrunkInfo_TrunkKind: () => SIPTrunkInfo_TrunkKind, + SIPUri: () => SIPUri, + TransferSIPParticipantRequest: () => TransferSIPParticipantRequest +}); +module.exports = __toCommonJS(livekit_sip_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var SIPTransport = /* @__PURE__ */ ((SIPTransport2) => { + SIPTransport2[SIPTransport2["SIP_TRANSPORT_AUTO"] = 0] = "SIP_TRANSPORT_AUTO"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_UDP"] = 1] = "SIP_TRANSPORT_UDP"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_TCP"] = 2] = "SIP_TRANSPORT_TCP"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_TLS"] = 3] = "SIP_TRANSPORT_TLS"; + return SIPTransport2; +})(SIPTransport || {}); +import_protobuf.proto3.util.setEnumType(SIPTransport, "livekit.SIPTransport", [ + { no: 0, name: "SIP_TRANSPORT_AUTO" }, + { no: 1, name: "SIP_TRANSPORT_UDP" }, + { no: 2, name: "SIP_TRANSPORT_TCP" }, + { no: 3, name: "SIP_TRANSPORT_TLS" } +]); +var SIPCallStatus = /* @__PURE__ */ ((SIPCallStatus2) => { + SIPCallStatus2[SIPCallStatus2["SCS_CALL_INCOMING"] = 0] = "SCS_CALL_INCOMING"; + SIPCallStatus2[SIPCallStatus2["SCS_PARTICIPANT_JOINED"] = 1] = "SCS_PARTICIPANT_JOINED"; + SIPCallStatus2[SIPCallStatus2["SCS_ACTIVE"] = 2] = "SCS_ACTIVE"; + SIPCallStatus2[SIPCallStatus2["SCS_DISCONNECTED"] = 3] = "SCS_DISCONNECTED"; + SIPCallStatus2[SIPCallStatus2["SCS_ERROR"] = 4] = "SCS_ERROR"; + return SIPCallStatus2; +})(SIPCallStatus || {}); +import_protobuf.proto3.util.setEnumType(SIPCallStatus, "livekit.SIPCallStatus", [ + { no: 0, name: "SCS_CALL_INCOMING" }, + { no: 1, name: "SCS_PARTICIPANT_JOINED" }, + { no: 2, name: "SCS_ACTIVE" }, + { no: 3, name: "SCS_DISCONNECTED" }, + { no: 4, name: "SCS_ERROR" } +]); +var SIPFeature = /* @__PURE__ */ ((SIPFeature2) => { + SIPFeature2[SIPFeature2["NONE"] = 0] = "NONE"; + SIPFeature2[SIPFeature2["KRISP_ENABLED"] = 1] = "KRISP_ENABLED"; + return SIPFeature2; +})(SIPFeature || {}); +import_protobuf.proto3.util.setEnumType(SIPFeature, "livekit.SIPFeature", [ + { no: 0, name: "NONE" }, + { no: 1, name: "KRISP_ENABLED" } +]); +const _CreateSIPTrunkRequest = class _CreateSIPTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 1; + */ + this.inboundAddresses = []; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 2; + */ + this.outboundAddress = ""; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 3; + */ + this.outboundNumber = ""; + /** + * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; + * @deprecated + */ + this.inboundNumbersRegex = []; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 9; + */ + this.inboundNumbers = []; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 5; + */ + this.inboundUsername = ""; + /** + * @generated from field: string inbound_password = 6; + */ + this.inboundPassword = ""; + /** + * @generated from field: string outbound_username = 7; + */ + this.outboundUsername = ""; + /** + * @generated from field: string outbound_password = 8; + */ + this.outboundPassword = ""; + /** + * Optional human-readable name for the Trunk. + * + * @generated from field: string name = 10; + */ + this.name = ""; + /** + * Optional user-defined metadata for the Trunk. + * + * @generated from field: string metadata = 11; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateSIPTrunkRequest, a, b); + } +}; +_CreateSIPTrunkRequest.runtime = import_protobuf.proto3; +_CreateSIPTrunkRequest.typeName = "livekit.CreateSIPTrunkRequest"; +_CreateSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "outbound_address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "outbound_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, + { no: 9, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "inbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "inbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "outbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "outbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let CreateSIPTrunkRequest = _CreateSIPTrunkRequest; +const _SIPTrunkInfo = class _SIPTrunkInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; + */ + this.kind = 0 /* TRUNK_LEGACY */; + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 2; + */ + this.inboundAddresses = []; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 3; + */ + this.outboundAddress = ""; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 4; + */ + this.outboundNumber = ""; + /** + * Transport used for inbound and outbound calls. + * + * @generated from field: livekit.SIPTransport transport = 13; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + /** + * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; + * @deprecated + */ + this.inboundNumbersRegex = []; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 10; + */ + this.inboundNumbers = []; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 6; + */ + this.inboundUsername = ""; + /** + * @generated from field: string inbound_password = 7; + */ + this.inboundPassword = ""; + /** + * @generated from field: string outbound_username = 8; + */ + this.outboundUsername = ""; + /** + * @generated from field: string outbound_password = 9; + */ + this.outboundPassword = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 11; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 12; + */ + this.metadata = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPTrunkInfo, a, b); + } +}; +_SIPTrunkInfo.runtime = import_protobuf.proto3; +_SIPTrunkInfo.typeName = "livekit.SIPTrunkInfo"; +_SIPTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, + { no: 2, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "outbound_address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "outbound_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 13, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) }, + { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, + { no: 10, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 6, + name: "inbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "inbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "outbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "outbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPTrunkInfo = _SIPTrunkInfo; +var SIPTrunkInfo_TrunkKind = /* @__PURE__ */ ((SIPTrunkInfo_TrunkKind2) => { + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_LEGACY"] = 0] = "TRUNK_LEGACY"; + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_INBOUND"] = 1] = "TRUNK_INBOUND"; + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_OUTBOUND"] = 2] = "TRUNK_OUTBOUND"; + return SIPTrunkInfo_TrunkKind2; +})(SIPTrunkInfo_TrunkKind || {}); +import_protobuf.proto3.util.setEnumType(SIPTrunkInfo_TrunkKind, "livekit.SIPTrunkInfo.TrunkKind", [ + { no: 0, name: "TRUNK_LEGACY" }, + { no: 1, name: "TRUNK_INBOUND" }, + { no: 2, name: "TRUNK_OUTBOUND" } +]); +const _CreateSIPInboundTrunkRequest = class _CreateSIPInboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateSIPInboundTrunkRequest, a, b); + } +}; +_CreateSIPInboundTrunkRequest.runtime = import_protobuf.proto3; +_CreateSIPInboundTrunkRequest.typeName = "livekit.CreateSIPInboundTrunkRequest"; +_CreateSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } +]); +let CreateSIPInboundTrunkRequest = _CreateSIPInboundTrunkRequest; +const _SIPInboundTrunkInfo = class _SIPInboundTrunkInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. + * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. + * + * @generated from field: repeated string numbers = 4; + */ + this.numbers = []; + /** + * CIDR or IPs that traffic is accepted from. + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string allowed_addresses = 5; + */ + this.allowedAddresses = []; + /** + * Numbers that are allowed to make calls to this Trunk. + * An empty list means calls from any phone number is accepted. + * + * @generated from field: repeated string allowed_numbers = 6; + */ + this.allowedNumbers = []; + /** + * Username and password used to authenticate inbound SIP invites. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + this.authUsername = ""; + /** + * @generated from field: string auth_password = 8; + */ + this.authPassword = ""; + /** + * Include these SIP X-* headers in 200 OK responses. + * + * @generated from field: map headers = 9; + */ + this.headers = {}; + /** + * Map SIP X-* headers from INVITE to SIP participant attributes. + * + * @generated from field: map headers_to_attributes = 10; + */ + this.headersToAttributes = {}; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 14; + */ + this.attributesToHeaders = {}; + /** + * @generated from field: bool krisp_enabled = 13; + */ + this.krispEnabled = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPInboundTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPInboundTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPInboundTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPInboundTrunkInfo, a, b); + } +}; +_SIPInboundTrunkInfo.runtime = import_protobuf.proto3; +_SIPInboundTrunkInfo.typeName = "livekit.SIPInboundTrunkInfo"; +_SIPInboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "numbers", kind: "scalar", T: 9, repeated: true }, + { no: 5, name: "allowed_addresses", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "allowed_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 7, + name: "auth_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "auth_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 14, name: "attributes_to_headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration }, + { + no: 13, + name: "krisp_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SIPInboundTrunkInfo = _SIPInboundTrunkInfo; +const _CreateSIPOutboundTrunkRequest = class _CreateSIPOutboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateSIPOutboundTrunkRequest, a, b); + } +}; +_CreateSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; +_CreateSIPOutboundTrunkRequest.typeName = "livekit.CreateSIPOutboundTrunkRequest"; +_CreateSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } +]); +let CreateSIPOutboundTrunkRequest = _CreateSIPOutboundTrunkRequest; +const _SIPOutboundTrunkInfo = class _SIPOutboundTrunkInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * Hostname or IP that SIP INVITE is sent too. + * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. + * + * @generated from field: string address = 4; + */ + this.address = ""; + /** + * SIP Transport used for outbound call. + * + * @generated from field: livekit.SIPTransport transport = 5; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + /** + * Numbers used to make the calls. Random one from this list will be selected. + * + * @generated from field: repeated string numbers = 6; + */ + this.numbers = []; + /** + * Username and password used to authenticate with SIP server. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + this.authUsername = ""; + /** + * @generated from field: string auth_password = 8; + */ + this.authPassword = ""; + /** + * Include these SIP X-* headers in INVITE request. + * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. + * + * @generated from field: map headers = 9; + */ + this.headers = {}; + /** + * Map SIP X-* headers from 200 OK to SIP participant attributes. + * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. + * + * @generated from field: map headers_to_attributes = 10; + */ + this.headersToAttributes = {}; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 11; + */ + this.attributesToHeaders = {}; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPOutboundTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPOutboundTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPOutboundTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPOutboundTrunkInfo, a, b); + } +}; +_SIPOutboundTrunkInfo.runtime = import_protobuf.proto3; +_SIPOutboundTrunkInfo.typeName = "livekit.SIPOutboundTrunkInfo"; +_SIPOutboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) }, + { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 7, + name: "auth_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "auth_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 11, name: "attributes_to_headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let SIPOutboundTrunkInfo = _SIPOutboundTrunkInfo; +const _GetSIPInboundTrunkRequest = class _GetSIPInboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkRequest, a, b); + } +}; +_GetSIPInboundTrunkRequest.runtime = import_protobuf.proto3; +_GetSIPInboundTrunkRequest.typeName = "livekit.GetSIPInboundTrunkRequest"; +_GetSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let GetSIPInboundTrunkRequest = _GetSIPInboundTrunkRequest; +const _GetSIPInboundTrunkResponse = class _GetSIPInboundTrunkResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPInboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPInboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPInboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkResponse, a, b); + } +}; +_GetSIPInboundTrunkResponse.runtime = import_protobuf.proto3; +_GetSIPInboundTrunkResponse.typeName = "livekit.GetSIPInboundTrunkResponse"; +_GetSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } +]); +let GetSIPInboundTrunkResponse = _GetSIPInboundTrunkResponse; +const _GetSIPOutboundTrunkRequest = class _GetSIPOutboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkRequest, a, b); + } +}; +_GetSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; +_GetSIPOutboundTrunkRequest.typeName = "livekit.GetSIPOutboundTrunkRequest"; +_GetSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let GetSIPOutboundTrunkRequest = _GetSIPOutboundTrunkRequest; +const _GetSIPOutboundTrunkResponse = class _GetSIPOutboundTrunkResponse extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPOutboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPOutboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkResponse, a, b); + } +}; +_GetSIPOutboundTrunkResponse.runtime = import_protobuf.proto3; +_GetSIPOutboundTrunkResponse.typeName = "livekit.GetSIPOutboundTrunkResponse"; +_GetSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } +]); +let GetSIPOutboundTrunkResponse = _GetSIPOutboundTrunkResponse; +const _ListSIPTrunkRequest = class _ListSIPTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPTrunkRequest, a, b); + } +}; +_ListSIPTrunkRequest.runtime = import_protobuf.proto3; +_ListSIPTrunkRequest.typeName = "livekit.ListSIPTrunkRequest"; +_ListSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); +let ListSIPTrunkRequest = _ListSIPTrunkRequest; +const _ListSIPTrunkResponse = class _ListSIPTrunkResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPTrunkInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPTrunkResponse, a, b); + } +}; +_ListSIPTrunkResponse.runtime = import_protobuf.proto3; +_ListSIPTrunkResponse.typeName = "livekit.ListSIPTrunkResponse"; +_ListSIPTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true } +]); +let ListSIPTrunkResponse = _ListSIPTrunkResponse; +const _ListSIPInboundTrunkRequest = class _ListSIPInboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkRequest, a, b); + } +}; +_ListSIPInboundTrunkRequest.runtime = import_protobuf.proto3; +_ListSIPInboundTrunkRequest.typeName = "livekit.ListSIPInboundTrunkRequest"; +_ListSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); +let ListSIPInboundTrunkRequest = _ListSIPInboundTrunkRequest; +const _ListSIPInboundTrunkResponse = class _ListSIPInboundTrunkResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPInboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPInboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPInboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkResponse, a, b); + } +}; +_ListSIPInboundTrunkResponse.runtime = import_protobuf.proto3; +_ListSIPInboundTrunkResponse.typeName = "livekit.ListSIPInboundTrunkResponse"; +_ListSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true } +]); +let ListSIPInboundTrunkResponse = _ListSIPInboundTrunkResponse; +const _ListSIPOutboundTrunkRequest = class _ListSIPOutboundTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkRequest, a, b); + } +}; +_ListSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; +_ListSIPOutboundTrunkRequest.typeName = "livekit.ListSIPOutboundTrunkRequest"; +_ListSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); +let ListSIPOutboundTrunkRequest = _ListSIPOutboundTrunkRequest; +const _ListSIPOutboundTrunkResponse = class _ListSIPOutboundTrunkResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPOutboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPOutboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkResponse, a, b); + } +}; +_ListSIPOutboundTrunkResponse.runtime = import_protobuf.proto3; +_ListSIPOutboundTrunkResponse.typeName = "livekit.ListSIPOutboundTrunkResponse"; +_ListSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true } +]); +let ListSIPOutboundTrunkResponse = _ListSIPOutboundTrunkResponse; +const _DeleteSIPTrunkRequest = class _DeleteSIPTrunkRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteSIPTrunkRequest, a, b); + } +}; +_DeleteSIPTrunkRequest.runtime = import_protobuf.proto3; +_DeleteSIPTrunkRequest.typeName = "livekit.DeleteSIPTrunkRequest"; +_DeleteSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteSIPTrunkRequest = _DeleteSIPTrunkRequest; +const _SIPDispatchRuleDirect = class _SIPDispatchRuleDirect extends import_protobuf.Message { + constructor(data) { + super(); + /** + * What room should call be directed into + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleDirect().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleDirect().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleDirect().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPDispatchRuleDirect, a, b); + } +}; +_SIPDispatchRuleDirect.runtime = import_protobuf.proto3; +_SIPDispatchRuleDirect.typeName = "livekit.SIPDispatchRuleDirect"; +_SIPDispatchRuleDirect.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPDispatchRuleDirect = _SIPDispatchRuleDirect; +const _SIPDispatchRuleIndividual = class _SIPDispatchRuleIndividual extends import_protobuf.Message { + constructor(data) { + super(); + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + this.roomPrefix = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleIndividual().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleIndividual().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleIndividual().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPDispatchRuleIndividual, a, b); + } +}; +_SIPDispatchRuleIndividual.runtime = import_protobuf.proto3; +_SIPDispatchRuleIndividual.typeName = "livekit.SIPDispatchRuleIndividual"; +_SIPDispatchRuleIndividual.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPDispatchRuleIndividual = _SIPDispatchRuleIndividual; +const _SIPDispatchRuleCallee = class _SIPDispatchRuleCallee extends import_protobuf.Message { + constructor(data) { + super(); + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + this.roomPrefix = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + /** + * Optionally append random suffix + * + * @generated from field: bool randomize = 3; + */ + this.randomize = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleCallee().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleCallee().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleCallee().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPDispatchRuleCallee, a, b); + } +}; +_SIPDispatchRuleCallee.runtime = import_protobuf.proto3; +_SIPDispatchRuleCallee.typeName = "livekit.SIPDispatchRuleCallee"; +_SIPDispatchRuleCallee.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "randomize", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SIPDispatchRuleCallee = _SIPDispatchRuleCallee; +const _SIPDispatchRule = class _SIPDispatchRule extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SIPDispatchRule.rule + */ + this.rule = { case: void 0 }; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRule().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRule().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRule().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPDispatchRule, a, b); + } +}; +_SIPDispatchRule.runtime = import_protobuf.proto3; +_SIPDispatchRule.typeName = "livekit.SIPDispatchRule"; +_SIPDispatchRule.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, + { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, + { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" } +]); +let SIPDispatchRule = _SIPDispatchRule; +const _CreateSIPDispatchRuleRequest = class _CreateSIPDispatchRuleRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * What trunks are accepted for this dispatch rule + * If empty all trunks will match this dispatch rule + * + * @generated from field: repeated string trunk_ids = 2; + */ + this.trunkIds = []; + /** + * By default the From value (Phone number) is used for participant name/identity and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 3; + */ + this.hidePhoneNumber = false; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 6; + */ + this.inboundNumbers = []; + /** + * Optional human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 4; + */ + this.name = ""; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 7; + */ + this.attributes = {}; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateSIPDispatchRuleRequest, a, b); + } +}; +_CreateSIPDispatchRuleRequest.runtime = import_protobuf.proto3; +_CreateSIPDispatchRuleRequest.typeName = "livekit.CreateSIPDispatchRuleRequest"; +_CreateSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 6, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let CreateSIPDispatchRuleRequest = _CreateSIPDispatchRuleRequest; +const _SIPDispatchRuleInfo = class _SIPDispatchRuleInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + this.sipDispatchRuleId = ""; + /** + * @generated from field: repeated string trunk_ids = 3; + */ + this.trunkIds = []; + /** + * @generated from field: bool hide_phone_number = 4; + */ + this.hidePhoneNumber = false; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 7; + */ + this.inboundNumbers = []; + /** + * Human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 5; + */ + this.name = ""; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 6; + */ + this.metadata = ""; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 8; + */ + this.attributes = {}; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPDispatchRuleInfo, a, b); + } +}; +_SIPDispatchRuleInfo.runtime = import_protobuf.proto3; +_SIPDispatchRuleInfo.typeName = "livekit.SIPDispatchRuleInfo"; +_SIPDispatchRuleInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 3, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let SIPDispatchRuleInfo = _SIPDispatchRuleInfo; +const _ListSIPDispatchRuleRequest = class _ListSIPDispatchRuleRequest extends import_protobuf.Message { + constructor(data) { + super(); + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleRequest, a, b); + } +}; +_ListSIPDispatchRuleRequest.runtime = import_protobuf.proto3; +_ListSIPDispatchRuleRequest.typeName = "livekit.ListSIPDispatchRuleRequest"; +_ListSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); +let ListSIPDispatchRuleRequest = _ListSIPDispatchRuleRequest; +const _ListSIPDispatchRuleResponse = class _ListSIPDispatchRuleResponse extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; + */ + this.items = []; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPDispatchRuleResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPDispatchRuleResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPDispatchRuleResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleResponse, a, b); + } +}; +_ListSIPDispatchRuleResponse.runtime = import_protobuf.proto3; +_ListSIPDispatchRuleResponse.typeName = "livekit.ListSIPDispatchRuleResponse"; +_ListSIPDispatchRuleResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true } +]); +let ListSIPDispatchRuleResponse = _ListSIPDispatchRuleResponse; +const _DeleteSIPDispatchRuleRequest = class _DeleteSIPDispatchRuleRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + this.sipDispatchRuleId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_DeleteSIPDispatchRuleRequest, a, b); + } +}; +_DeleteSIPDispatchRuleRequest.runtime = import_protobuf.proto3; +_DeleteSIPDispatchRuleRequest.typeName = "livekit.DeleteSIPDispatchRuleRequest"; +_DeleteSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteSIPDispatchRuleRequest = _DeleteSIPDispatchRuleRequest; +const _CreateSIPParticipantRequest = class _CreateSIPParticipantRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * What SIP Trunk should be used to dial the user + * + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * What number should be dialed via SIP + * + * @generated from field: string sip_call_to = 2; + */ + this.sipCallTo = ""; + /** + * Optional SIP From number to use. If empty, trunk number is used. + * + * @generated from field: string sip_number = 15; + */ + this.sipNumber = ""; + /** + * What LiveKit room should this participant be connected too + * + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * Optional identity of the participant in LiveKit room + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * Optional name of the participant in LiveKit room + * + * @generated from field: string participant_name = 7; + */ + this.participantName = ""; + /** + * Optional user-defined metadata. Will be attached to a created Participant in the room. + * + * @generated from field: string participant_metadata = 8; + */ + this.participantMetadata = ""; + /** + * Optional user-defined attributes. Will be attached to a created Participant in the room. + * + * @generated from field: map participant_attributes = 9; + */ + this.participantAttributes = {}; + /** + * Optionally send following DTMF digits (extension codes) when making a call. + * Character 'w' can be used to add a 0.5 sec delay. + * + * @generated from field: string dtmf = 5; + */ + this.dtmf = ""; + /** + * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. + * + * @generated from field: bool play_ringtone = 6 [deprecated = true]; + * @deprecated + */ + this.playRingtone = false; + /** + * @generated from field: bool play_dialtone = 13; + */ + this.playDialtone = false; + /** + * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 10; + */ + this.hidePhoneNumber = false; + /** + * Enable voice isolation for the callee. + * + * NEXT ID: 16 + * + * @generated from field: bool enable_krisp = 14; + */ + this.enableKrisp = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_CreateSIPParticipantRequest, a, b); + } +}; +_CreateSIPParticipantRequest.runtime = import_protobuf.proto3; +_CreateSIPParticipantRequest.typeName = "livekit.CreateSIPParticipantRequest"; +_CreateSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sip_call_to", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 15, + name: "sip_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "participant_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 5, + name: "dtmf", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "play_ringtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "play_dialtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration }, + { + no: 14, + name: "enable_krisp", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let CreateSIPParticipantRequest = _CreateSIPParticipantRequest; +const _SIPParticipantInfo = class _SIPParticipantInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_id = 1; + */ + this.participantId = ""; + /** + * @generated from field: string participant_identity = 2; + */ + this.participantIdentity = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * @generated from field: string sip_call_id = 4; + */ + this.sipCallId = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPParticipantInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPParticipantInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPParticipantInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPParticipantInfo, a, b); + } +}; +_SIPParticipantInfo.runtime = import_protobuf.proto3; +_SIPParticipantInfo.typeName = "livekit.SIPParticipantInfo"; +_SIPParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "sip_call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPParticipantInfo = _SIPParticipantInfo; +const _TransferSIPParticipantRequest = class _TransferSIPParticipantRequest extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_identity = 1; + */ + this.participantIdentity = ""; + /** + * @generated from field: string room_name = 2; + */ + this.roomName = ""; + /** + * @generated from field: string transfer_to = 3; + */ + this.transferTo = ""; + /** + * Optionally play dialtone to the SIP participant as an audible indicator of being transferred + * + * @generated from field: bool play_dialtone = 4; + */ + this.playDialtone = false; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TransferSIPParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TransferSIPParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TransferSIPParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_TransferSIPParticipantRequest, a, b); + } +}; +_TransferSIPParticipantRequest.runtime = import_protobuf.proto3; +_TransferSIPParticipantRequest.typeName = "livekit.TransferSIPParticipantRequest"; +_TransferSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "transfer_to", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "play_dialtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let TransferSIPParticipantRequest = _TransferSIPParticipantRequest; +const _SIPCallInfo = class _SIPCallInfo extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string call_id = 1; + */ + this.callId = ""; + /** + * @generated from field: string trunk_id = 2; + */ + this.trunkId = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 4; + */ + this.roomId = ""; + /** + * @generated from field: string participant_identity = 5; + */ + this.participantIdentity = ""; + /** + * @generated from field: repeated livekit.SIPFeature enabled_features = 14; + */ + this.enabledFeatures = []; + /** + * @generated from field: livekit.SIPCallStatus call_status = 8; + */ + this.callStatus = 0 /* SCS_CALL_INCOMING */; + /** + * @generated from field: int64 created_at = 9; + */ + this.createdAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 started_at = 10; + */ + this.startedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int64 ended_at = 11; + */ + this.endedAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 12; + */ + this.disconnectReason = import_livekit_models_pb.DisconnectReason.UNKNOWN_REASON; + /** + * @generated from field: string error = 13; + */ + this.error = ""; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPCallInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPCallInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPCallInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPCallInfo, a, b); + } +}; +_SIPCallInfo.runtime = import_protobuf.proto3; +_SIPCallInfo.typeName = "livekit.SIPCallInfo"; +_SIPCallInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "from_uri", kind: "message", T: SIPUri }, + { no: 7, name: "to_uri", kind: "message", T: SIPUri }, + { no: 14, name: "enabled_features", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPFeature), repeated: true }, + { no: 8, name: "call_status", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPCallStatus) }, + { + no: 9, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 10, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 12, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DisconnectReason) }, + { + no: 13, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPCallInfo = _SIPCallInfo; +const _SIPUri = class _SIPUri extends import_protobuf.Message { + constructor(data) { + super(); + /** + * @generated from field: string user = 1; + */ + this.user = ""; + /** + * @generated from field: string host = 2; + */ + this.host = ""; + /** + * @generated from field: string ip = 3; + */ + this.ip = ""; + /** + * @generated from field: uint32 port = 4; + */ + this.port = 0; + /** + * @generated from field: livekit.SIPTransport transport = 5; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPUri().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPUri().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPUri().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_SIPUri, a, b); + } +}; +_SIPUri.runtime = import_protobuf.proto3; +_SIPUri.typeName = "livekit.SIPUri"; +_SIPUri.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "user", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "host", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "ip", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "port", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) } +]); +let SIPUri = _SIPUri; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + CreateSIPDispatchRuleRequest, + CreateSIPInboundTrunkRequest, + CreateSIPOutboundTrunkRequest, + CreateSIPParticipantRequest, + CreateSIPTrunkRequest, + DeleteSIPDispatchRuleRequest, + DeleteSIPTrunkRequest, + GetSIPInboundTrunkRequest, + GetSIPInboundTrunkResponse, + GetSIPOutboundTrunkRequest, + GetSIPOutboundTrunkResponse, + ListSIPDispatchRuleRequest, + ListSIPDispatchRuleResponse, + ListSIPInboundTrunkRequest, + ListSIPInboundTrunkResponse, + ListSIPOutboundTrunkRequest, + ListSIPOutboundTrunkResponse, + ListSIPTrunkRequest, + ListSIPTrunkResponse, + SIPCallInfo, + SIPCallStatus, + SIPDispatchRule, + SIPDispatchRuleCallee, + SIPDispatchRuleDirect, + SIPDispatchRuleIndividual, + SIPDispatchRuleInfo, + SIPFeature, + SIPInboundTrunkInfo, + SIPOutboundTrunkInfo, + SIPParticipantInfo, + SIPTransport, + SIPTrunkInfo, + SIPTrunkInfo_TrunkKind, + SIPUri, + TransferSIPParticipantRequest +}); +//# sourceMappingURL=livekit_sip_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.cjs.map b/packages/javascript/dist/gen/livekit_sip_pb.cjs.map new file mode 100644 index 00000000..c178656d --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_sip_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_sip.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Duration, Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { DisconnectReason } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SIPTransport\n */\nexport enum SIPTransport {\n /**\n * @generated from enum value: SIP_TRANSPORT_AUTO = 0;\n */\n SIP_TRANSPORT_AUTO = 0,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_UDP = 1;\n */\n SIP_TRANSPORT_UDP = 1,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TCP = 2;\n */\n SIP_TRANSPORT_TCP = 2,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TLS = 3;\n */\n SIP_TRANSPORT_TLS = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTransport)\nproto3.util.setEnumType(SIPTransport, \"livekit.SIPTransport\", [\n { no: 0, name: \"SIP_TRANSPORT_AUTO\" },\n { no: 1, name: \"SIP_TRANSPORT_UDP\" },\n { no: 2, name: \"SIP_TRANSPORT_TCP\" },\n { no: 3, name: \"SIP_TRANSPORT_TLS\" },\n]);\n\n/**\n * @generated from enum livekit.SIPCallStatus\n */\nexport enum SIPCallStatus {\n /**\n * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet\n *\n * @generated from enum value: SCS_CALL_INCOMING = 0;\n */\n SCS_CALL_INCOMING = 0,\n\n /**\n * SIP participant for outgoing call has been created. The SIP outgoing call is being established\n *\n * @generated from enum value: SCS_PARTICIPANT_JOINED = 1;\n */\n SCS_PARTICIPANT_JOINED = 1,\n\n /**\n * Call is ongoing. SIP participant is active in the LiveKit room\n *\n * @generated from enum value: SCS_ACTIVE = 2;\n */\n SCS_ACTIVE = 2,\n\n /**\n * Call has ended\n *\n * @generated from enum value: SCS_DISCONNECTED = 3;\n */\n SCS_DISCONNECTED = 3,\n\n /**\n * Call has ended or never succeeded because of an error\n *\n * @generated from enum value: SCS_ERROR = 4;\n */\n SCS_ERROR = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPCallStatus)\nproto3.util.setEnumType(SIPCallStatus, \"livekit.SIPCallStatus\", [\n { no: 0, name: \"SCS_CALL_INCOMING\" },\n { no: 1, name: \"SCS_PARTICIPANT_JOINED\" },\n { no: 2, name: \"SCS_ACTIVE\" },\n { no: 3, name: \"SCS_DISCONNECTED\" },\n { no: 4, name: \"SCS_ERROR\" },\n]);\n\n/**\n * @generated from enum livekit.SIPFeature\n */\nexport enum SIPFeature {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: KRISP_ENABLED = 1;\n */\n KRISP_ENABLED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPFeature)\nproto3.util.setEnumType(SIPFeature, \"livekit.SIPFeature\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"KRISP_ENABLED\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPTrunkRequest\n * @deprecated\n */\nexport class CreateSIPTrunkRequest extends Message {\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 1;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 2;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 3;\n */\n outboundNumber = \"\";\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 9;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 5;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 6;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 7;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 8;\n */\n outboundPassword = \"\";\n\n /**\n * Optional human-readable name for the Trunk.\n *\n * @generated from field: string name = 10;\n */\n name = \"\";\n\n /**\n * Optional user-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 11;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 9, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPTrunkInfo\n * @deprecated\n */\nexport class SIPTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;\n */\n kind = SIPTrunkInfo_TrunkKind.TRUNK_LEGACY;\n\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 2;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 3;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 4;\n */\n outboundNumber = \"\";\n\n /**\n * Transport used for inbound and outbound calls.\n *\n * @generated from field: livekit.SIPTransport transport = 13;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 10;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 6;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 7;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 8;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 9;\n */\n outboundPassword = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 11;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 12;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },\n { no: 2, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 5, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 10, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.SIPTrunkInfo.TrunkKind\n */\nexport enum SIPTrunkInfo_TrunkKind {\n /**\n * @generated from enum value: TRUNK_LEGACY = 0;\n */\n TRUNK_LEGACY = 0,\n\n /**\n * @generated from enum value: TRUNK_INBOUND = 1;\n */\n TRUNK_INBOUND = 1,\n\n /**\n * @generated from enum value: TRUNK_OUTBOUND = 2;\n */\n TRUNK_OUTBOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTrunkInfo_TrunkKind)\nproto3.util.setEnumType(SIPTrunkInfo_TrunkKind, \"livekit.SIPTrunkInfo.TrunkKind\", [\n { no: 0, name: \"TRUNK_LEGACY\" },\n { no: 1, name: \"TRUNK_INBOUND\" },\n { no: 2, name: \"TRUNK_OUTBOUND\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPInboundTrunkRequest\n */\nexport class CreateSIPInboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPInboundTrunkInfo\n */\nexport class SIPInboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.\n * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.\n *\n * @generated from field: repeated string numbers = 4;\n */\n numbers: string[] = [];\n\n /**\n * CIDR or IPs that traffic is accepted from.\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string allowed_addresses = 5;\n */\n allowedAddresses: string[] = [];\n\n /**\n * Numbers that are allowed to make calls to this Trunk.\n * An empty list means calls from any phone number is accepted.\n *\n * @generated from field: repeated string allowed_numbers = 6;\n */\n allowedNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound SIP invites.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in 200 OK responses.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from INVITE to SIP participant attributes.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 14;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n /**\n * Max time for the caller to wait for track subscription.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * @generated from field: bool krisp_enabled = 13;\n */\n krispEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPInboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"allowed_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"allowed_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 14, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 13, name: \"krisp_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPInboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPOutboundTrunkRequest\n */\nexport class CreateSIPOutboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPOutboundTrunkInfo\n */\nexport class SIPOutboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Hostname or IP that SIP INVITE is sent too.\n * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.\n *\n * @generated from field: string address = 4;\n */\n address = \"\";\n\n /**\n * SIP Transport used for outbound call.\n *\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * Numbers used to make the calls. Random one from this list will be selected.\n *\n * @generated from field: repeated string numbers = 6;\n */\n numbers: string[] = [];\n\n /**\n * Username and password used to authenticate with SIP server.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in INVITE request.\n * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from 200 OK to SIP participant attributes.\n * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 11;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPOutboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 6, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPOutboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkRequest\n */\nexport class GetSIPInboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkResponse\n */\nexport class GetSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkRequest\n */\nexport class GetSIPOutboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkResponse\n */\nexport class GetSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkRequest\n * @deprecated\n */\nexport class ListSIPTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkResponse\n * @deprecated\n */\nexport class ListSIPTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPTrunkInfo items = 1;\n */\n items: SIPTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkRequest\n */\nexport class ListSIPInboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkResponse\n */\nexport class ListSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;\n */\n items: SIPInboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPInboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkRequest\n */\nexport class ListSIPOutboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkResponse\n */\nexport class ListSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;\n */\n items: SIPOutboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPOutboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPTrunkRequest\n */\nexport class DeleteSIPTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleDirect\n */\nexport class SIPDispatchRuleDirect extends Message {\n /**\n * What room should call be directed into\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleDirect\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleDirect, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleIndividual\n */\nexport class SIPDispatchRuleIndividual extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleIndividual\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleIndividual, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleCallee\n */\nexport class SIPDispatchRuleCallee extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n /**\n * Optionally append random suffix\n *\n * @generated from field: bool randomize = 3;\n */\n randomize = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleCallee\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"randomize\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleCallee, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRule\n */\nexport class SIPDispatchRule extends Message {\n /**\n * @generated from oneof livekit.SIPDispatchRule.rule\n */\n rule: {\n /**\n * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room\n * This places users into an existing room. Optionally you can require a pin before a user can\n * enter the room\n *\n * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;\n */\n value: SIPDispatchRuleDirect;\n case: \"dispatchRuleDirect\";\n } | {\n /**\n * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.\n *\n * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;\n */\n value: SIPDispatchRuleIndividual;\n case: \"dispatchRuleIndividual\";\n } | {\n /**\n * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.\n *\n * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;\n */\n value: SIPDispatchRuleCallee;\n case: \"dispatchRuleCallee\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRule\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_rule_direct\", kind: \"message\", T: SIPDispatchRuleDirect, oneof: \"rule\" },\n { no: 2, name: \"dispatch_rule_individual\", kind: \"message\", T: SIPDispatchRuleIndividual, oneof: \"rule\" },\n { no: 3, name: \"dispatch_rule_callee\", kind: \"message\", T: SIPDispatchRuleCallee, oneof: \"rule\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRule, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPDispatchRuleRequest\n */\nexport class CreateSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 1;\n */\n rule?: SIPDispatchRule;\n\n /**\n * What trunks are accepted for this dispatch rule\n * If empty all trunks will match this dispatch rule\n *\n * @generated from field: repeated string trunk_ids = 2;\n */\n trunkIds: string[] = [];\n\n /**\n * By default the From value (Phone number) is used for participant name/identity and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 3;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 6;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Optional human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 4;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 7;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 2, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleInfo\n */\nexport class SIPDispatchRuleInfo extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 2;\n */\n rule?: SIPDispatchRule;\n\n /**\n * @generated from field: repeated string trunk_ids = 3;\n */\n trunkIds: string[] = [];\n\n /**\n * @generated from field: bool hide_phone_number = 4;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 7;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 8;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 3, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleRequest\n */\nexport class ListSIPDispatchRuleRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleResponse\n */\nexport class ListSIPDispatchRuleResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;\n */\n items: SIPDispatchRuleInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPDispatchRuleInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPDispatchRuleRequest\n */\nexport class DeleteSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * A SIP Participant is a singular SIP session connected to a LiveKit room via\n * a SIP Trunk into a SIP DispatchRule\n *\n * @generated from message livekit.CreateSIPParticipantRequest\n */\nexport class CreateSIPParticipantRequest extends Message {\n /**\n * What SIP Trunk should be used to dial the user\n *\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * What number should be dialed via SIP\n *\n * @generated from field: string sip_call_to = 2;\n */\n sipCallTo = \"\";\n\n /**\n * Optional SIP From number to use. If empty, trunk number is used.\n *\n * @generated from field: string sip_number = 15;\n */\n sipNumber = \"\";\n\n /**\n * What LiveKit room should this participant be connected too\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * Optional identity of the participant in LiveKit room\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * Optional name of the participant in LiveKit room\n *\n * @generated from field: string participant_name = 7;\n */\n participantName = \"\";\n\n /**\n * Optional user-defined metadata. Will be attached to a created Participant in the room.\n *\n * @generated from field: string participant_metadata = 8;\n */\n participantMetadata = \"\";\n\n /**\n * Optional user-defined attributes. Will be attached to a created Participant in the room.\n *\n * @generated from field: map participant_attributes = 9;\n */\n participantAttributes: { [key: string]: string } = {};\n\n /**\n * Optionally send following DTMF digits (extension codes) when making a call.\n * Character 'w' can be used to add a 0.5 sec delay.\n *\n * @generated from field: string dtmf = 5;\n */\n dtmf = \"\";\n\n /**\n * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.\n *\n * @generated from field: bool play_ringtone = 6 [deprecated = true];\n * @deprecated\n */\n playRingtone = false;\n\n /**\n * @generated from field: bool play_dialtone = 13;\n */\n playDialtone = false;\n\n /**\n * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 10;\n */\n hidePhoneNumber = false;\n\n /**\n * Max time for the callee to answer the call.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * Enable voice isolation for the callee.\n *\n * NEXT ID: 16\n *\n * @generated from field: bool enable_krisp = 14;\n */\n enableKrisp = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sip_call_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"sip_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 5, name: \"dtmf\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"play_ringtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 14, name: \"enable_krisp\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPParticipantInfo\n */\nexport class SIPParticipantInfo extends Message {\n /**\n * @generated from field: string participant_id = 1;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string participant_identity = 2;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string sip_call_id = 4;\n */\n sipCallId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TransferSIPParticipantRequest\n */\nexport class TransferSIPParticipantRequest extends Message {\n /**\n * @generated from field: string participant_identity = 1;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 2;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string transfer_to = 3;\n */\n transferTo = \"\";\n\n /**\n * Optionally play dialtone to the SIP participant as an audible indicator of being transferred\n *\n * @generated from field: bool play_dialtone = 4;\n */\n playDialtone = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TransferSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"transfer_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TransferSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPCallInfo\n */\nexport class SIPCallInfo extends Message {\n /**\n * @generated from field: string call_id = 1;\n */\n callId = \"\";\n\n /**\n * @generated from field: string trunk_id = 2;\n */\n trunkId = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 4;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: livekit.SIPUri from_uri = 6;\n */\n fromUri?: SIPUri;\n\n /**\n * @generated from field: livekit.SIPUri to_uri = 7;\n */\n toUri?: SIPUri;\n\n /**\n * @generated from field: repeated livekit.SIPFeature enabled_features = 14;\n */\n enabledFeatures: SIPFeature[] = [];\n\n /**\n * @generated from field: livekit.SIPCallStatus call_status = 8;\n */\n callStatus = SIPCallStatus.SCS_CALL_INCOMING;\n\n /**\n * @generated from field: int64 created_at = 9;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 12;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: string error = 13;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPCallInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"from_uri\", kind: \"message\", T: SIPUri },\n { no: 7, name: \"to_uri\", kind: \"message\", T: SIPUri },\n { no: 14, name: \"enabled_features\", kind: \"enum\", T: proto3.getEnumType(SIPFeature), repeated: true },\n { no: 8, name: \"call_status\", kind: \"enum\", T: proto3.getEnumType(SIPCallStatus) },\n { no: 9, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 12, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 13, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPCallInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPUri\n */\nexport class SIPUri extends Message {\n /**\n * @generated from field: string user = 1;\n */\n user = \"\";\n\n /**\n * @generated from field: string host = 2;\n */\n host = \"\";\n\n /**\n * @generated from field: string ip = 3;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 port = 4;\n */\n port = 0;\n\n /**\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPUri\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"user\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"host\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"port\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri {\n return new SIPUri().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri {\n return new SIPUri().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPUri {\n return new SIPUri().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPUri, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAsD;AACtD,+BAAiC;AAK1B,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA,wBAAqB,KAArB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAnBU,SAAAA;AAAA,GAAA;AAsBZ,uBAAO,KAAK,YAAY,cAAc,wBAAwB;AAAA,EAC5D,EAAE,IAAI,GAAG,MAAM,qBAAqB;AAAA,EACpC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AAAA,EACnC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AAAA,EACnC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AACrC,CAAC;AAKM,IAAK,gBAAL,kBAAKC,mBAAL;AAML,EAAAA,8BAAA,uBAAoB,KAApB;AAOA,EAAAA,8BAAA,4BAAyB,KAAzB;AAOA,EAAAA,8BAAA,gBAAa,KAAb;AAOA,EAAAA,8BAAA,sBAAmB,KAAnB;AAOA,EAAAA,8BAAA,eAAY,KAAZ;AAlCU,SAAAA;AAAA,GAAA;AAqCZ,uBAAO,KAAK,YAAY,eAAe,yBAAyB;AAAA,EAC9D,EAAE,IAAI,GAAG,MAAM,oBAA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,WAAW,OAAmB,SAA8C;AACjF,WAAO,IAAI,QAAO,EAAE,WAAW,OAAO,OAAO;AAAA,EAC/C;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA4C;AAChF,WAAO,IAAI,QAAO,EAAE,SAAS,WAAW,OAAO;AAAA,EACjD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA4C;AACpF,WAAO,IAAI,QAAO,EAAE,eAAe,YAAY,OAAO;AAAA,EACxD;AAAA,EAEA,OAAO,OAAO,GAA8C,GAAuD;AACjH,WAAO,uBAAO,KAAK,OAAO,SAAQ,GAAG,CAAC;AAAA,EACxC;AACF;AAxDa,QA+BK,UAAyB;AA/B9B,QAgCK,WAAW;AAhChB,QAiCK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,QAAQ,GAAG,uBAAO,YAAY,YAAY,EAAE;AAChF,CAAC;AAvCI,IAAM,SAAN;","names":["SIPTransport","SIPCallStatus","SIPFeature","SIPTrunkInfo_TrunkKind"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.d.ts b/packages/javascript/dist/gen/livekit_sip_pb.d.ts new file mode 100644 index 00000000..97931bdd --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.d.ts @@ -0,0 +1,1226 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Duration, Message, proto3 } from "@bufbuild/protobuf"; +import { DisconnectReason } from "./livekit_models_pb.js"; +/** + * @generated from enum livekit.SIPTransport + */ +export declare enum SIPTransport { + /** + * @generated from enum value: SIP_TRANSPORT_AUTO = 0; + */ + SIP_TRANSPORT_AUTO = 0, + /** + * @generated from enum value: SIP_TRANSPORT_UDP = 1; + */ + SIP_TRANSPORT_UDP = 1, + /** + * @generated from enum value: SIP_TRANSPORT_TCP = 2; + */ + SIP_TRANSPORT_TCP = 2, + /** + * @generated from enum value: SIP_TRANSPORT_TLS = 3; + */ + SIP_TRANSPORT_TLS = 3 +} +/** + * @generated from enum livekit.SIPCallStatus + */ +export declare enum SIPCallStatus { + /** + * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet + * + * @generated from enum value: SCS_CALL_INCOMING = 0; + */ + SCS_CALL_INCOMING = 0, + /** + * SIP participant for outgoing call has been created. The SIP outgoing call is being established + * + * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; + */ + SCS_PARTICIPANT_JOINED = 1, + /** + * Call is ongoing. SIP participant is active in the LiveKit room + * + * @generated from enum value: SCS_ACTIVE = 2; + */ + SCS_ACTIVE = 2, + /** + * Call has ended + * + * @generated from enum value: SCS_DISCONNECTED = 3; + */ + SCS_DISCONNECTED = 3, + /** + * Call has ended or never succeeded because of an error + * + * @generated from enum value: SCS_ERROR = 4; + */ + SCS_ERROR = 4 +} +/** + * @generated from enum livekit.SIPFeature + */ +export declare enum SIPFeature { + /** + * @generated from enum value: NONE = 0; + */ + NONE = 0, + /** + * @generated from enum value: KRISP_ENABLED = 1; + */ + KRISP_ENABLED = 1 +} +/** + * @generated from message livekit.CreateSIPTrunkRequest + * @deprecated + */ +export declare class CreateSIPTrunkRequest extends Message { + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 1; + */ + inboundAddresses: string[]; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 2; + */ + outboundAddress: string; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 3; + */ + outboundNumber: string; + /** + * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; + * @deprecated + */ + inboundNumbersRegex: string[]; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 9; + */ + inboundNumbers: string[]; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 5; + */ + inboundUsername: string; + /** + * @generated from field: string inbound_password = 6; + */ + inboundPassword: string; + /** + * @generated from field: string outbound_username = 7; + */ + outboundUsername: string; + /** + * @generated from field: string outbound_password = 8; + */ + outboundPassword: string; + /** + * Optional human-readable name for the Trunk. + * + * @generated from field: string name = 10; + */ + name: string; + /** + * Optional user-defined metadata for the Trunk. + * + * @generated from field: string metadata = 11; + */ + metadata: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; + static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPTrunkInfo + * @deprecated + */ +export declare class SIPTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + /** + * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; + */ + kind: SIPTrunkInfo_TrunkKind; + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 2; + */ + inboundAddresses: string[]; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 3; + */ + outboundAddress: string; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 4; + */ + outboundNumber: string; + /** + * Transport used for inbound and outbound calls. + * + * @generated from field: livekit.SIPTransport transport = 13; + */ + transport: SIPTransport; + /** + * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; + * @deprecated + */ + inboundNumbersRegex: string[]; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 10; + */ + inboundNumbers: string[]; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 6; + */ + inboundUsername: string; + /** + * @generated from field: string inbound_password = 7; + */ + inboundPassword: string; + /** + * @generated from field: string outbound_username = 8; + */ + outboundUsername: string; + /** + * @generated from field: string outbound_password = 9; + */ + outboundPassword: string; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 11; + */ + name: string; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 12; + */ + metadata: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPTrunkInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; + static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from enum livekit.SIPTrunkInfo.TrunkKind + */ +export declare enum SIPTrunkInfo_TrunkKind { + /** + * @generated from enum value: TRUNK_LEGACY = 0; + */ + TRUNK_LEGACY = 0, + /** + * @generated from enum value: TRUNK_INBOUND = 1; + */ + TRUNK_INBOUND = 1, + /** + * @generated from enum value: TRUNK_OUTBOUND = 2; + */ + TRUNK_OUTBOUND = 2 +} +/** + * @generated from message livekit.CreateSIPInboundTrunkRequest + */ +export declare class CreateSIPInboundTrunkRequest extends Message { + /** + * Trunk ID is ignored + * + * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; + */ + trunk?: SIPInboundTrunkInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; + static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPInboundTrunkInfo + */ +export declare class SIPInboundTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + name: string; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + metadata: string; + /** + * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. + * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. + * + * @generated from field: repeated string numbers = 4; + */ + numbers: string[]; + /** + * CIDR or IPs that traffic is accepted from. + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string allowed_addresses = 5; + */ + allowedAddresses: string[]; + /** + * Numbers that are allowed to make calls to this Trunk. + * An empty list means calls from any phone number is accepted. + * + * @generated from field: repeated string allowed_numbers = 6; + */ + allowedNumbers: string[]; + /** + * Username and password used to authenticate inbound SIP invites. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + authUsername: string; + /** + * @generated from field: string auth_password = 8; + */ + authPassword: string; + /** + * Include these SIP X-* headers in 200 OK responses. + * + * @generated from field: map headers = 9; + */ + headers: { + [key: string]: string; + }; + /** + * Map SIP X-* headers from INVITE to SIP participant attributes. + * + * @generated from field: map headers_to_attributes = 10; + */ + headersToAttributes: { + [key: string]: string; + }; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 14; + */ + attributesToHeaders: { + [key: string]: string; + }; + /** + * Max time for the caller to wait for track subscription. + * + * @generated from field: google.protobuf.Duration ringing_timeout = 11; + */ + ringingTimeout?: Duration; + /** + * Max call duration. + * + * @generated from field: google.protobuf.Duration max_call_duration = 12; + */ + maxCallDuration?: Duration; + /** + * @generated from field: bool krisp_enabled = 13; + */ + krispEnabled: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPInboundTrunkInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; + static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.CreateSIPOutboundTrunkRequest + */ +export declare class CreateSIPOutboundTrunkRequest extends Message { + /** + * Trunk ID is ignored + * + * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; + */ + trunk?: SIPOutboundTrunkInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; + static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPOutboundTrunkInfo + */ +export declare class SIPOutboundTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + name: string; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + metadata: string; + /** + * Hostname or IP that SIP INVITE is sent too. + * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. + * + * @generated from field: string address = 4; + */ + address: string; + /** + * SIP Transport used for outbound call. + * + * @generated from field: livekit.SIPTransport transport = 5; + */ + transport: SIPTransport; + /** + * Numbers used to make the calls. Random one from this list will be selected. + * + * @generated from field: repeated string numbers = 6; + */ + numbers: string[]; + /** + * Username and password used to authenticate with SIP server. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + authUsername: string; + /** + * @generated from field: string auth_password = 8; + */ + authPassword: string; + /** + * Include these SIP X-* headers in INVITE request. + * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. + * + * @generated from field: map headers = 9; + */ + headers: { + [key: string]: string; + }; + /** + * Map SIP X-* headers from 200 OK to SIP participant attributes. + * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. + * + * @generated from field: map headers_to_attributes = 10; + */ + headersToAttributes: { + [key: string]: string; + }; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 11; + */ + attributesToHeaders: { + [key: string]: string; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPOutboundTrunkInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; + static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.GetSIPInboundTrunkRequest + */ +export declare class GetSIPInboundTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; + static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.GetSIPInboundTrunkResponse + */ +export declare class GetSIPInboundTrunkResponse extends Message { + /** + * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; + */ + trunk?: SIPInboundTrunkInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; + static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; + static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.GetSIPOutboundTrunkRequest + */ +export declare class GetSIPOutboundTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; + static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.GetSIPOutboundTrunkResponse + */ +export declare class GetSIPOutboundTrunkResponse extends Message { + /** + * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; + */ + trunk?: SIPOutboundTrunkInfo; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; + static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; + static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPTrunkRequest + * @deprecated + */ +export declare class ListSIPTrunkRequest extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; + static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPTrunkResponse + * @deprecated + */ +export declare class ListSIPTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPTrunkInfo items = 1; + */ + items: SIPTrunkInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPTrunkResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; + static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; + static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPInboundTrunkRequest + */ +export declare class ListSIPInboundTrunkRequest extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; + static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPInboundTrunkResponse + */ +export declare class ListSIPInboundTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; + */ + items: SIPInboundTrunkInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; + static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; + static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPOutboundTrunkRequest + */ +export declare class ListSIPOutboundTrunkRequest extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; + static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPOutboundTrunkResponse + */ +export declare class ListSIPOutboundTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; + */ + items: SIPOutboundTrunkInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; + static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; + static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteSIPTrunkRequest + */ +export declare class DeleteSIPTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteSIPTrunkRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; + static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; + static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPDispatchRuleDirect + */ +export declare class SIPDispatchRuleDirect extends Message { + /** + * What room should call be directed into + * + * @generated from field: string room_name = 1; + */ + roomName: string; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleDirect"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; + static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPDispatchRuleIndividual + */ +export declare class SIPDispatchRuleIndividual extends Message { + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + roomPrefix: string; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleIndividual"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; + static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPDispatchRuleCallee + */ +export declare class SIPDispatchRuleCallee extends Message { + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + roomPrefix: string; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + /** + * Optionally append random suffix + * + * @generated from field: bool randomize = 3; + */ + randomize: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleCallee"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; + static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPDispatchRule + */ +export declare class SIPDispatchRule extends Message { + /** + * @generated from oneof livekit.SIPDispatchRule.rule + */ + rule: { + /** + * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room + * This places users into an existing room. Optionally you can require a pin before a user can + * enter the room + * + * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; + */ + value: SIPDispatchRuleDirect; + case: "dispatchRuleDirect"; + } | { + /** + * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. + * + * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; + */ + value: SIPDispatchRuleIndividual; + case: "dispatchRuleIndividual"; + } | { + /** + * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. + * + * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; + */ + value: SIPDispatchRuleCallee; + case: "dispatchRuleCallee"; + } | { + case: undefined; + value?: undefined; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRule"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; + static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.CreateSIPDispatchRuleRequest + */ +export declare class CreateSIPDispatchRuleRequest extends Message { + /** + * @generated from field: livekit.SIPDispatchRule rule = 1; + */ + rule?: SIPDispatchRule; + /** + * What trunks are accepted for this dispatch rule + * If empty all trunks will match this dispatch rule + * + * @generated from field: repeated string trunk_ids = 2; + */ + trunkIds: string[]; + /** + * By default the From value (Phone number) is used for participant name/identity and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 3; + */ + hidePhoneNumber: boolean; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 6; + */ + inboundNumbers: string[]; + /** + * Optional human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 4; + */ + name: string; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 5; + */ + metadata: string; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 7; + */ + attributes: { + [key: string]: string; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; + static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPDispatchRuleInfo + */ +export declare class SIPDispatchRuleInfo extends Message { + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + sipDispatchRuleId: string; + /** + * @generated from field: livekit.SIPDispatchRule rule = 2; + */ + rule?: SIPDispatchRule; + /** + * @generated from field: repeated string trunk_ids = 3; + */ + trunkIds: string[]; + /** + * @generated from field: bool hide_phone_number = 4; + */ + hidePhoneNumber: boolean; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 7; + */ + inboundNumbers: string[]; + /** + * Human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 5; + */ + name: string; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 6; + */ + metadata: string; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 8; + */ + attributes: { + [key: string]: string; + }; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; + static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPDispatchRuleRequest + */ +export declare class ListSIPDispatchRuleRequest extends Message { + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; + static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; + static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.ListSIPDispatchRuleResponse + */ +export declare class ListSIPDispatchRuleResponse extends Message { + /** + * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; + */ + items: SIPDispatchRuleInfo[]; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; + static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; + static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.DeleteSIPDispatchRuleRequest + */ +export declare class DeleteSIPDispatchRuleRequest extends Message { + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + sipDispatchRuleId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; + static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; + static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} +/** + * A SIP Participant is a singular SIP session connected to a LiveKit room via + * a SIP Trunk into a SIP DispatchRule + * + * @generated from message livekit.CreateSIPParticipantRequest + */ +export declare class CreateSIPParticipantRequest extends Message { + /** + * What SIP Trunk should be used to dial the user + * + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + /** + * What number should be dialed via SIP + * + * @generated from field: string sip_call_to = 2; + */ + sipCallTo: string; + /** + * Optional SIP From number to use. If empty, trunk number is used. + * + * @generated from field: string sip_number = 15; + */ + sipNumber: string; + /** + * What LiveKit room should this participant be connected too + * + * @generated from field: string room_name = 3; + */ + roomName: string; + /** + * Optional identity of the participant in LiveKit room + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + /** + * Optional name of the participant in LiveKit room + * + * @generated from field: string participant_name = 7; + */ + participantName: string; + /** + * Optional user-defined metadata. Will be attached to a created Participant in the room. + * + * @generated from field: string participant_metadata = 8; + */ + participantMetadata: string; + /** + * Optional user-defined attributes. Will be attached to a created Participant in the room. + * + * @generated from field: map participant_attributes = 9; + */ + participantAttributes: { + [key: string]: string; + }; + /** + * Optionally send following DTMF digits (extension codes) when making a call. + * Character 'w' can be used to add a 0.5 sec delay. + * + * @generated from field: string dtmf = 5; + */ + dtmf: string; + /** + * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. + * + * @generated from field: bool play_ringtone = 6 [deprecated = true]; + * @deprecated + */ + playRingtone: boolean; + /** + * @generated from field: bool play_dialtone = 13; + */ + playDialtone: boolean; + /** + * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 10; + */ + hidePhoneNumber: boolean; + /** + * Max time for the callee to answer the call. + * + * @generated from field: google.protobuf.Duration ringing_timeout = 11; + */ + ringingTimeout?: Duration; + /** + * Max call duration. + * + * @generated from field: google.protobuf.Duration max_call_duration = 12; + */ + maxCallDuration?: Duration; + /** + * Enable voice isolation for the callee. + * + * NEXT ID: 16 + * + * @generated from field: bool enable_krisp = 14; + */ + enableKrisp: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPParticipantRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; + static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; + static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPParticipantInfo + */ +export declare class SIPParticipantInfo extends Message { + /** + * @generated from field: string participant_id = 1; + */ + participantId: string; + /** + * @generated from field: string participant_identity = 2; + */ + participantIdentity: string; + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + /** + * @generated from field: string sip_call_id = 4; + */ + sipCallId: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPParticipantInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; + static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.TransferSIPParticipantRequest + */ +export declare class TransferSIPParticipantRequest extends Message { + /** + * @generated from field: string participant_identity = 1; + */ + participantIdentity: string; + /** + * @generated from field: string room_name = 2; + */ + roomName: string; + /** + * @generated from field: string transfer_to = 3; + */ + transferTo: string; + /** + * Optionally play dialtone to the SIP participant as an audible indicator of being transferred + * + * @generated from field: bool play_dialtone = 4; + */ + playDialtone: boolean; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TransferSIPParticipantRequest"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; + static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; + static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; + static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPCallInfo + */ +export declare class SIPCallInfo extends Message { + /** + * @generated from field: string call_id = 1; + */ + callId: string; + /** + * @generated from field: string trunk_id = 2; + */ + trunkId: string; + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 4; + */ + roomId: string; + /** + * @generated from field: string participant_identity = 5; + */ + participantIdentity: string; + /** + * @generated from field: livekit.SIPUri from_uri = 6; + */ + fromUri?: SIPUri; + /** + * @generated from field: livekit.SIPUri to_uri = 7; + */ + toUri?: SIPUri; + /** + * @generated from field: repeated livekit.SIPFeature enabled_features = 14; + */ + enabledFeatures: SIPFeature[]; + /** + * @generated from field: livekit.SIPCallStatus call_status = 8; + */ + callStatus: SIPCallStatus; + /** + * @generated from field: int64 created_at = 9; + */ + createdAt: bigint; + /** + * @generated from field: int64 started_at = 10; + */ + startedAt: bigint; + /** + * @generated from field: int64 ended_at = 11; + */ + endedAt: bigint; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 12; + */ + disconnectReason: DisconnectReason; + /** + * @generated from field: string error = 13; + */ + error: string; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPCallInfo"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; + static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; + static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; +} +/** + * @generated from message livekit.SIPUri + */ +export declare class SIPUri extends Message { + /** + * @generated from field: string user = 1; + */ + user: string; + /** + * @generated from field: string host = 2; + */ + host: string; + /** + * @generated from field: string ip = 3; + */ + ip: string; + /** + * @generated from field: uint32 port = 4; + */ + port: number; + /** + * @generated from field: livekit.SIPTransport transport = 5; + */ + transport: SIPTransport; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPUri"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; + static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; + static fromJsonString(jsonString: string, options?: Partial): SIPUri; + static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_sip_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map b/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map new file mode 100644 index 00000000..f0be77d3 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"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EG;IACH,IAAI,SAAK;IAET;;OAEG;IACH,SAAS,eAAmC;gBAEhC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAKzC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,oBAAoB;IAC5C,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAM9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,MAAM;IAIlF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIjF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIrF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnH"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.js b/packages/javascript/dist/gen/livekit_sip_pb.js new file mode 100644 index 00000000..60716049 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.js @@ -0,0 +1,2061 @@ +import { Duration, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { DisconnectReason } from "./livekit_models_pb.js"; +var SIPTransport = /* @__PURE__ */ ((SIPTransport2) => { + SIPTransport2[SIPTransport2["SIP_TRANSPORT_AUTO"] = 0] = "SIP_TRANSPORT_AUTO"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_UDP"] = 1] = "SIP_TRANSPORT_UDP"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_TCP"] = 2] = "SIP_TRANSPORT_TCP"; + SIPTransport2[SIPTransport2["SIP_TRANSPORT_TLS"] = 3] = "SIP_TRANSPORT_TLS"; + return SIPTransport2; +})(SIPTransport || {}); +proto3.util.setEnumType(SIPTransport, "livekit.SIPTransport", [ + { no: 0, name: "SIP_TRANSPORT_AUTO" }, + { no: 1, name: "SIP_TRANSPORT_UDP" }, + { no: 2, name: "SIP_TRANSPORT_TCP" }, + { no: 3, name: "SIP_TRANSPORT_TLS" } +]); +var SIPCallStatus = /* @__PURE__ */ ((SIPCallStatus2) => { + SIPCallStatus2[SIPCallStatus2["SCS_CALL_INCOMING"] = 0] = "SCS_CALL_INCOMING"; + SIPCallStatus2[SIPCallStatus2["SCS_PARTICIPANT_JOINED"] = 1] = "SCS_PARTICIPANT_JOINED"; + SIPCallStatus2[SIPCallStatus2["SCS_ACTIVE"] = 2] = "SCS_ACTIVE"; + SIPCallStatus2[SIPCallStatus2["SCS_DISCONNECTED"] = 3] = "SCS_DISCONNECTED"; + SIPCallStatus2[SIPCallStatus2["SCS_ERROR"] = 4] = "SCS_ERROR"; + return SIPCallStatus2; +})(SIPCallStatus || {}); +proto3.util.setEnumType(SIPCallStatus, "livekit.SIPCallStatus", [ + { no: 0, name: "SCS_CALL_INCOMING" }, + { no: 1, name: "SCS_PARTICIPANT_JOINED" }, + { no: 2, name: "SCS_ACTIVE" }, + { no: 3, name: "SCS_DISCONNECTED" }, + { no: 4, name: "SCS_ERROR" } +]); +var SIPFeature = /* @__PURE__ */ ((SIPFeature2) => { + SIPFeature2[SIPFeature2["NONE"] = 0] = "NONE"; + SIPFeature2[SIPFeature2["KRISP_ENABLED"] = 1] = "KRISP_ENABLED"; + return SIPFeature2; +})(SIPFeature || {}); +proto3.util.setEnumType(SIPFeature, "livekit.SIPFeature", [ + { no: 0, name: "NONE" }, + { no: 1, name: "KRISP_ENABLED" } +]); +const _CreateSIPTrunkRequest = class _CreateSIPTrunkRequest extends Message { + constructor(data) { + super(); + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 1; + */ + this.inboundAddresses = []; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 2; + */ + this.outboundAddress = ""; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 3; + */ + this.outboundNumber = ""; + /** + * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; + * @deprecated + */ + this.inboundNumbersRegex = []; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 9; + */ + this.inboundNumbers = []; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 5; + */ + this.inboundUsername = ""; + /** + * @generated from field: string inbound_password = 6; + */ + this.inboundPassword = ""; + /** + * @generated from field: string outbound_username = 7; + */ + this.outboundUsername = ""; + /** + * @generated from field: string outbound_password = 8; + */ + this.outboundPassword = ""; + /** + * Optional human-readable name for the Trunk. + * + * @generated from field: string name = 10; + */ + this.name = ""; + /** + * Optional user-defined metadata for the Trunk. + * + * @generated from field: string metadata = 11; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateSIPTrunkRequest, a, b); + } +}; +_CreateSIPTrunkRequest.runtime = proto3; +_CreateSIPTrunkRequest.typeName = "livekit.CreateSIPTrunkRequest"; +_CreateSIPTrunkRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, + { + no: 2, + name: "outbound_address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "outbound_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, + { no: 9, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "inbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "inbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "outbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "outbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 10, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let CreateSIPTrunkRequest = _CreateSIPTrunkRequest; +const _SIPTrunkInfo = class _SIPTrunkInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; + */ + this.kind = 0 /* TRUNK_LEGACY */; + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 2; + */ + this.inboundAddresses = []; + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 3; + */ + this.outboundAddress = ""; + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 4; + */ + this.outboundNumber = ""; + /** + * Transport used for inbound and outbound calls. + * + * @generated from field: livekit.SIPTransport transport = 13; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + /** + * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; + * @deprecated + */ + this.inboundNumbersRegex = []; + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 10; + */ + this.inboundNumbers = []; + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 6; + */ + this.inboundUsername = ""; + /** + * @generated from field: string inbound_password = 7; + */ + this.inboundPassword = ""; + /** + * @generated from field: string outbound_username = 8; + */ + this.outboundUsername = ""; + /** + * @generated from field: string outbound_password = 9; + */ + this.outboundPassword = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 11; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 12; + */ + this.metadata = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPTrunkInfo, a, b); + } +}; +_SIPTrunkInfo.runtime = proto3; +_SIPTrunkInfo.typeName = "livekit.SIPTrunkInfo"; +_SIPTrunkInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, + { no: 2, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "outbound_address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "outbound_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, + { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, + { no: 10, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 6, + name: "inbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "inbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "outbound_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 9, + name: "outbound_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 11, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 12, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPTrunkInfo = _SIPTrunkInfo; +var SIPTrunkInfo_TrunkKind = /* @__PURE__ */ ((SIPTrunkInfo_TrunkKind2) => { + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_LEGACY"] = 0] = "TRUNK_LEGACY"; + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_INBOUND"] = 1] = "TRUNK_INBOUND"; + SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_OUTBOUND"] = 2] = "TRUNK_OUTBOUND"; + return SIPTrunkInfo_TrunkKind2; +})(SIPTrunkInfo_TrunkKind || {}); +proto3.util.setEnumType(SIPTrunkInfo_TrunkKind, "livekit.SIPTrunkInfo.TrunkKind", [ + { no: 0, name: "TRUNK_LEGACY" }, + { no: 1, name: "TRUNK_INBOUND" }, + { no: 2, name: "TRUNK_OUTBOUND" } +]); +const _CreateSIPInboundTrunkRequest = class _CreateSIPInboundTrunkRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateSIPInboundTrunkRequest, a, b); + } +}; +_CreateSIPInboundTrunkRequest.runtime = proto3; +_CreateSIPInboundTrunkRequest.typeName = "livekit.CreateSIPInboundTrunkRequest"; +_CreateSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } +]); +let CreateSIPInboundTrunkRequest = _CreateSIPInboundTrunkRequest; +const _SIPInboundTrunkInfo = class _SIPInboundTrunkInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. + * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. + * + * @generated from field: repeated string numbers = 4; + */ + this.numbers = []; + /** + * CIDR or IPs that traffic is accepted from. + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string allowed_addresses = 5; + */ + this.allowedAddresses = []; + /** + * Numbers that are allowed to make calls to this Trunk. + * An empty list means calls from any phone number is accepted. + * + * @generated from field: repeated string allowed_numbers = 6; + */ + this.allowedNumbers = []; + /** + * Username and password used to authenticate inbound SIP invites. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + this.authUsername = ""; + /** + * @generated from field: string auth_password = 8; + */ + this.authPassword = ""; + /** + * Include these SIP X-* headers in 200 OK responses. + * + * @generated from field: map headers = 9; + */ + this.headers = {}; + /** + * Map SIP X-* headers from INVITE to SIP participant attributes. + * + * @generated from field: map headers_to_attributes = 10; + */ + this.headersToAttributes = {}; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 14; + */ + this.attributesToHeaders = {}; + /** + * @generated from field: bool krisp_enabled = 13; + */ + this.krispEnabled = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPInboundTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPInboundTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPInboundTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPInboundTrunkInfo, a, b); + } +}; +_SIPInboundTrunkInfo.runtime = proto3; +_SIPInboundTrunkInfo.typeName = "livekit.SIPInboundTrunkInfo"; +_SIPInboundTrunkInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 4, name: "numbers", kind: "scalar", T: 9, repeated: true }, + { no: 5, name: "allowed_addresses", kind: "scalar", T: 9, repeated: true }, + { no: 6, name: "allowed_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 7, + name: "auth_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "auth_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 14, name: "attributes_to_headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: Duration }, + { + no: 13, + name: "krisp_enabled", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SIPInboundTrunkInfo = _SIPInboundTrunkInfo; +const _CreateSIPOutboundTrunkRequest = class _CreateSIPOutboundTrunkRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateSIPOutboundTrunkRequest, a, b); + } +}; +_CreateSIPOutboundTrunkRequest.runtime = proto3; +_CreateSIPOutboundTrunkRequest.typeName = "livekit.CreateSIPOutboundTrunkRequest"; +_CreateSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } +]); +let CreateSIPOutboundTrunkRequest = _CreateSIPOutboundTrunkRequest; +const _SIPOutboundTrunkInfo = class _SIPOutboundTrunkInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + this.name = ""; + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + this.metadata = ""; + /** + * Hostname or IP that SIP INVITE is sent too. + * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. + * + * @generated from field: string address = 4; + */ + this.address = ""; + /** + * SIP Transport used for outbound call. + * + * @generated from field: livekit.SIPTransport transport = 5; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + /** + * Numbers used to make the calls. Random one from this list will be selected. + * + * @generated from field: repeated string numbers = 6; + */ + this.numbers = []; + /** + * Username and password used to authenticate with SIP server. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + this.authUsername = ""; + /** + * @generated from field: string auth_password = 8; + */ + this.authPassword = ""; + /** + * Include these SIP X-* headers in INVITE request. + * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. + * + * @generated from field: map headers = 9; + */ + this.headers = {}; + /** + * Map SIP X-* headers from 200 OK to SIP participant attributes. + * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. + * + * @generated from field: map headers_to_attributes = 10; + */ + this.headersToAttributes = {}; + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 11; + */ + this.attributesToHeaders = {}; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPOutboundTrunkInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPOutboundTrunkInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPOutboundTrunkInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPOutboundTrunkInfo, a, b); + } +}; +_SIPOutboundTrunkInfo.runtime = proto3; +_SIPOutboundTrunkInfo.typeName = "livekit.SIPOutboundTrunkInfo"; +_SIPOutboundTrunkInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "address", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, + { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 7, + name: "auth_username", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "auth_password", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { no: 11, name: "attributes_to_headers", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let SIPOutboundTrunkInfo = _SIPOutboundTrunkInfo; +const _GetSIPInboundTrunkRequest = class _GetSIPInboundTrunkRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_GetSIPInboundTrunkRequest, a, b); + } +}; +_GetSIPInboundTrunkRequest.runtime = proto3; +_GetSIPInboundTrunkRequest.typeName = "livekit.GetSIPInboundTrunkRequest"; +_GetSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let GetSIPInboundTrunkRequest = _GetSIPInboundTrunkRequest; +const _GetSIPInboundTrunkResponse = class _GetSIPInboundTrunkResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPInboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPInboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPInboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_GetSIPInboundTrunkResponse, a, b); + } +}; +_GetSIPInboundTrunkResponse.runtime = proto3; +_GetSIPInboundTrunkResponse.typeName = "livekit.GetSIPInboundTrunkResponse"; +_GetSIPInboundTrunkResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } +]); +let GetSIPInboundTrunkResponse = _GetSIPInboundTrunkResponse; +const _GetSIPOutboundTrunkRequest = class _GetSIPOutboundTrunkRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_GetSIPOutboundTrunkRequest, a, b); + } +}; +_GetSIPOutboundTrunkRequest.runtime = proto3; +_GetSIPOutboundTrunkRequest.typeName = "livekit.GetSIPOutboundTrunkRequest"; +_GetSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let GetSIPOutboundTrunkRequest = _GetSIPOutboundTrunkRequest; +const _GetSIPOutboundTrunkResponse = class _GetSIPOutboundTrunkResponse extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _GetSIPOutboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _GetSIPOutboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_GetSIPOutboundTrunkResponse, a, b); + } +}; +_GetSIPOutboundTrunkResponse.runtime = proto3; +_GetSIPOutboundTrunkResponse.typeName = "livekit.GetSIPOutboundTrunkResponse"; +_GetSIPOutboundTrunkResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } +]); +let GetSIPOutboundTrunkResponse = _GetSIPOutboundTrunkResponse; +const _ListSIPTrunkRequest = class _ListSIPTrunkRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPTrunkRequest, a, b); + } +}; +_ListSIPTrunkRequest.runtime = proto3; +_ListSIPTrunkRequest.typeName = "livekit.ListSIPTrunkRequest"; +_ListSIPTrunkRequest.fields = proto3.util.newFieldList(() => []); +let ListSIPTrunkRequest = _ListSIPTrunkRequest; +const _ListSIPTrunkResponse = class _ListSIPTrunkResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPTrunkInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPTrunkResponse, a, b); + } +}; +_ListSIPTrunkResponse.runtime = proto3; +_ListSIPTrunkResponse.typeName = "livekit.ListSIPTrunkResponse"; +_ListSIPTrunkResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true } +]); +let ListSIPTrunkResponse = _ListSIPTrunkResponse; +const _ListSIPInboundTrunkRequest = class _ListSIPInboundTrunkRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPInboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPInboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPInboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPInboundTrunkRequest, a, b); + } +}; +_ListSIPInboundTrunkRequest.runtime = proto3; +_ListSIPInboundTrunkRequest.typeName = "livekit.ListSIPInboundTrunkRequest"; +_ListSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => []); +let ListSIPInboundTrunkRequest = _ListSIPInboundTrunkRequest; +const _ListSIPInboundTrunkResponse = class _ListSIPInboundTrunkResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPInboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPInboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPInboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPInboundTrunkResponse, a, b); + } +}; +_ListSIPInboundTrunkResponse.runtime = proto3; +_ListSIPInboundTrunkResponse.typeName = "livekit.ListSIPInboundTrunkResponse"; +_ListSIPInboundTrunkResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true } +]); +let ListSIPInboundTrunkResponse = _ListSIPInboundTrunkResponse; +const _ListSIPOutboundTrunkRequest = class _ListSIPOutboundTrunkRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPOutboundTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPOutboundTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPOutboundTrunkRequest, a, b); + } +}; +_ListSIPOutboundTrunkRequest.runtime = proto3; +_ListSIPOutboundTrunkRequest.typeName = "livekit.ListSIPOutboundTrunkRequest"; +_ListSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => []); +let ListSIPOutboundTrunkRequest = _ListSIPOutboundTrunkRequest; +const _ListSIPOutboundTrunkResponse = class _ListSIPOutboundTrunkResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPOutboundTrunkResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPOutboundTrunkResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPOutboundTrunkResponse, a, b); + } +}; +_ListSIPOutboundTrunkResponse.runtime = proto3; +_ListSIPOutboundTrunkResponse.typeName = "livekit.ListSIPOutboundTrunkResponse"; +_ListSIPOutboundTrunkResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true } +]); +let ListSIPOutboundTrunkResponse = _ListSIPOutboundTrunkResponse; +const _DeleteSIPTrunkRequest = class _DeleteSIPTrunkRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteSIPTrunkRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteSIPTrunkRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteSIPTrunkRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteSIPTrunkRequest, a, b); + } +}; +_DeleteSIPTrunkRequest.runtime = proto3; +_DeleteSIPTrunkRequest.typeName = "livekit.DeleteSIPTrunkRequest"; +_DeleteSIPTrunkRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteSIPTrunkRequest = _DeleteSIPTrunkRequest; +const _SIPDispatchRuleDirect = class _SIPDispatchRuleDirect extends Message { + constructor(data) { + super(); + /** + * What room should call be directed into + * + * @generated from field: string room_name = 1; + */ + this.roomName = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleDirect().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleDirect().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleDirect().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPDispatchRuleDirect, a, b); + } +}; +_SIPDispatchRuleDirect.runtime = proto3; +_SIPDispatchRuleDirect.typeName = "livekit.SIPDispatchRuleDirect"; +_SIPDispatchRuleDirect.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPDispatchRuleDirect = _SIPDispatchRuleDirect; +const _SIPDispatchRuleIndividual = class _SIPDispatchRuleIndividual extends Message { + constructor(data) { + super(); + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + this.roomPrefix = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleIndividual().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleIndividual().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleIndividual().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPDispatchRuleIndividual, a, b); + } +}; +_SIPDispatchRuleIndividual.runtime = proto3; +_SIPDispatchRuleIndividual.typeName = "livekit.SIPDispatchRuleIndividual"; +_SIPDispatchRuleIndividual.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPDispatchRuleIndividual = _SIPDispatchRuleIndividual; +const _SIPDispatchRuleCallee = class _SIPDispatchRuleCallee extends Message { + constructor(data) { + super(); + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + this.roomPrefix = ""; + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + this.pin = ""; + /** + * Optionally append random suffix + * + * @generated from field: bool randomize = 3; + */ + this.randomize = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleCallee().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleCallee().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleCallee().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPDispatchRuleCallee, a, b); + } +}; +_SIPDispatchRuleCallee.runtime = proto3; +_SIPDispatchRuleCallee.typeName = "livekit.SIPDispatchRuleCallee"; +_SIPDispatchRuleCallee.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "room_prefix", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "pin", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "randomize", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let SIPDispatchRuleCallee = _SIPDispatchRuleCallee; +const _SIPDispatchRule = class _SIPDispatchRule extends Message { + constructor(data) { + super(); + /** + * @generated from oneof livekit.SIPDispatchRule.rule + */ + this.rule = { case: void 0 }; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRule().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRule().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRule().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPDispatchRule, a, b); + } +}; +_SIPDispatchRule.runtime = proto3; +_SIPDispatchRule.typeName = "livekit.SIPDispatchRule"; +_SIPDispatchRule.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, + { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, + { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" } +]); +let SIPDispatchRule = _SIPDispatchRule; +const _CreateSIPDispatchRuleRequest = class _CreateSIPDispatchRuleRequest extends Message { + constructor(data) { + super(); + /** + * What trunks are accepted for this dispatch rule + * If empty all trunks will match this dispatch rule + * + * @generated from field: repeated string trunk_ids = 2; + */ + this.trunkIds = []; + /** + * By default the From value (Phone number) is used for participant name/identity and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 3; + */ + this.hidePhoneNumber = false; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 6; + */ + this.inboundNumbers = []; + /** + * Optional human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 4; + */ + this.name = ""; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 5; + */ + this.metadata = ""; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 7; + */ + this.attributes = {}; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateSIPDispatchRuleRequest, a, b); + } +}; +_CreateSIPDispatchRuleRequest.runtime = proto3; +_CreateSIPDispatchRuleRequest.typeName = "livekit.CreateSIPDispatchRuleRequest"; +_CreateSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 3, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 6, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 7, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let CreateSIPDispatchRuleRequest = _CreateSIPDispatchRuleRequest; +const _SIPDispatchRuleInfo = class _SIPDispatchRuleInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + this.sipDispatchRuleId = ""; + /** + * @generated from field: repeated string trunk_ids = 3; + */ + this.trunkIds = []; + /** + * @generated from field: bool hide_phone_number = 4; + */ + this.hidePhoneNumber = false; + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 7; + */ + this.inboundNumbers = []; + /** + * Human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 5; + */ + this.name = ""; + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 6; + */ + this.metadata = ""; + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 8; + */ + this.attributes = {}; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPDispatchRuleInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPDispatchRuleInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPDispatchRuleInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPDispatchRuleInfo, a, b); + } +}; +_SIPDispatchRuleInfo.runtime = proto3; +_SIPDispatchRuleInfo.typeName = "livekit.SIPDispatchRuleInfo"; +_SIPDispatchRuleInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 3, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, + { + no: 4, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, + { + no: 5, + name: "name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 8, name: "attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } } +]); +let SIPDispatchRuleInfo = _SIPDispatchRuleInfo; +const _ListSIPDispatchRuleRequest = class _ListSIPDispatchRuleRequest extends Message { + constructor(data) { + super(); + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPDispatchRuleRequest, a, b); + } +}; +_ListSIPDispatchRuleRequest.runtime = proto3; +_ListSIPDispatchRuleRequest.typeName = "livekit.ListSIPDispatchRuleRequest"; +_ListSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => []); +let ListSIPDispatchRuleRequest = _ListSIPDispatchRuleRequest; +const _ListSIPDispatchRuleResponse = class _ListSIPDispatchRuleResponse extends Message { + constructor(data) { + super(); + /** + * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; + */ + this.items = []; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _ListSIPDispatchRuleResponse().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _ListSIPDispatchRuleResponse().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _ListSIPDispatchRuleResponse().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_ListSIPDispatchRuleResponse, a, b); + } +}; +_ListSIPDispatchRuleResponse.runtime = proto3; +_ListSIPDispatchRuleResponse.typeName = "livekit.ListSIPDispatchRuleResponse"; +_ListSIPDispatchRuleResponse.fields = proto3.util.newFieldList(() => [ + { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true } +]); +let ListSIPDispatchRuleResponse = _ListSIPDispatchRuleResponse; +const _DeleteSIPDispatchRuleRequest = class _DeleteSIPDispatchRuleRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + this.sipDispatchRuleId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _DeleteSIPDispatchRuleRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_DeleteSIPDispatchRuleRequest, a, b); + } +}; +_DeleteSIPDispatchRuleRequest.runtime = proto3; +_DeleteSIPDispatchRuleRequest.typeName = "livekit.DeleteSIPDispatchRuleRequest"; +_DeleteSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_dispatch_rule_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let DeleteSIPDispatchRuleRequest = _DeleteSIPDispatchRuleRequest; +const _CreateSIPParticipantRequest = class _CreateSIPParticipantRequest extends Message { + constructor(data) { + super(); + /** + * What SIP Trunk should be used to dial the user + * + * @generated from field: string sip_trunk_id = 1; + */ + this.sipTrunkId = ""; + /** + * What number should be dialed via SIP + * + * @generated from field: string sip_call_to = 2; + */ + this.sipCallTo = ""; + /** + * Optional SIP From number to use. If empty, trunk number is used. + * + * @generated from field: string sip_number = 15; + */ + this.sipNumber = ""; + /** + * What LiveKit room should this participant be connected too + * + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * Optional identity of the participant in LiveKit room + * + * @generated from field: string participant_identity = 4; + */ + this.participantIdentity = ""; + /** + * Optional name of the participant in LiveKit room + * + * @generated from field: string participant_name = 7; + */ + this.participantName = ""; + /** + * Optional user-defined metadata. Will be attached to a created Participant in the room. + * + * @generated from field: string participant_metadata = 8; + */ + this.participantMetadata = ""; + /** + * Optional user-defined attributes. Will be attached to a created Participant in the room. + * + * @generated from field: map participant_attributes = 9; + */ + this.participantAttributes = {}; + /** + * Optionally send following DTMF digits (extension codes) when making a call. + * Character 'w' can be used to add a 0.5 sec delay. + * + * @generated from field: string dtmf = 5; + */ + this.dtmf = ""; + /** + * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. + * + * @generated from field: bool play_ringtone = 6 [deprecated = true]; + * @deprecated + */ + this.playRingtone = false; + /** + * @generated from field: bool play_dialtone = 13; + */ + this.playDialtone = false; + /** + * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 10; + */ + this.hidePhoneNumber = false; + /** + * Enable voice isolation for the callee. + * + * NEXT ID: 16 + * + * @generated from field: bool enable_krisp = 14; + */ + this.enableKrisp = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _CreateSIPParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _CreateSIPParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _CreateSIPParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_CreateSIPParticipantRequest, a, b); + } +}; +_CreateSIPParticipantRequest.runtime = proto3; +_CreateSIPParticipantRequest.typeName = "livekit.CreateSIPParticipantRequest"; +_CreateSIPParticipantRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "sip_trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "sip_call_to", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 15, + name: "sip_number", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "participant_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 8, + name: "participant_metadata", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 9, name: "participant_attributes", kind: "map", K: 9, V: { + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } }, + { + no: 5, + name: "dtmf", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 6, + name: "play_ringtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 13, + name: "play_dialtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { + no: 10, + name: "hide_phone_number", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + }, + { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: Duration }, + { + no: 14, + name: "enable_krisp", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let CreateSIPParticipantRequest = _CreateSIPParticipantRequest; +const _SIPParticipantInfo = class _SIPParticipantInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_id = 1; + */ + this.participantId = ""; + /** + * @generated from field: string participant_identity = 2; + */ + this.participantIdentity = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * @generated from field: string sip_call_id = 4; + */ + this.sipCallId = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPParticipantInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPParticipantInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPParticipantInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPParticipantInfo, a, b); + } +}; +_SIPParticipantInfo.runtime = proto3; +_SIPParticipantInfo.typeName = "livekit.SIPParticipantInfo"; +_SIPParticipantInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "sip_call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPParticipantInfo = _SIPParticipantInfo; +const _TransferSIPParticipantRequest = class _TransferSIPParticipantRequest extends Message { + constructor(data) { + super(); + /** + * @generated from field: string participant_identity = 1; + */ + this.participantIdentity = ""; + /** + * @generated from field: string room_name = 2; + */ + this.roomName = ""; + /** + * @generated from field: string transfer_to = 3; + */ + this.transferTo = ""; + /** + * Optionally play dialtone to the SIP participant as an audible indicator of being transferred + * + * @generated from field: bool play_dialtone = 4; + */ + this.playDialtone = false; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _TransferSIPParticipantRequest().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _TransferSIPParticipantRequest().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _TransferSIPParticipantRequest().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_TransferSIPParticipantRequest, a, b); + } +}; +_TransferSIPParticipantRequest.runtime = proto3; +_TransferSIPParticipantRequest.typeName = "livekit.TransferSIPParticipantRequest"; +_TransferSIPParticipantRequest.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "transfer_to", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "play_dialtone", + kind: "scalar", + T: 8 + /* ScalarType.BOOL */ + } +]); +let TransferSIPParticipantRequest = _TransferSIPParticipantRequest; +const _SIPCallInfo = class _SIPCallInfo extends Message { + constructor(data) { + super(); + /** + * @generated from field: string call_id = 1; + */ + this.callId = ""; + /** + * @generated from field: string trunk_id = 2; + */ + this.trunkId = ""; + /** + * @generated from field: string room_name = 3; + */ + this.roomName = ""; + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 4; + */ + this.roomId = ""; + /** + * @generated from field: string participant_identity = 5; + */ + this.participantIdentity = ""; + /** + * @generated from field: repeated livekit.SIPFeature enabled_features = 14; + */ + this.enabledFeatures = []; + /** + * @generated from field: livekit.SIPCallStatus call_status = 8; + */ + this.callStatus = 0 /* SCS_CALL_INCOMING */; + /** + * @generated from field: int64 created_at = 9; + */ + this.createdAt = protoInt64.zero; + /** + * @generated from field: int64 started_at = 10; + */ + this.startedAt = protoInt64.zero; + /** + * @generated from field: int64 ended_at = 11; + */ + this.endedAt = protoInt64.zero; + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 12; + */ + this.disconnectReason = DisconnectReason.UNKNOWN_REASON; + /** + * @generated from field: string error = 13; + */ + this.error = ""; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPCallInfo().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPCallInfo().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPCallInfo().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPCallInfo, a, b); + } +}; +_SIPCallInfo.runtime = proto3; +_SIPCallInfo.typeName = "livekit.SIPCallInfo"; +_SIPCallInfo.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "call_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "trunk_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "room_name", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "room_id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 5, + name: "participant_identity", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 6, name: "from_uri", kind: "message", T: SIPUri }, + { no: 7, name: "to_uri", kind: "message", T: SIPUri }, + { no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true }, + { no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) }, + { + no: 9, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 10, + name: "started_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "ended_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, + { + no: 13, + name: "error", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + } +]); +let SIPCallInfo = _SIPCallInfo; +const _SIPUri = class _SIPUri extends Message { + constructor(data) { + super(); + /** + * @generated from field: string user = 1; + */ + this.user = ""; + /** + * @generated from field: string host = 2; + */ + this.host = ""; + /** + * @generated from field: string ip = 3; + */ + this.ip = ""; + /** + * @generated from field: uint32 port = 4; + */ + this.port = 0; + /** + * @generated from field: livekit.SIPTransport transport = 5; + */ + this.transport = 0 /* SIP_TRANSPORT_AUTO */; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _SIPUri().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _SIPUri().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _SIPUri().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_SIPUri, a, b); + } +}; +_SIPUri.runtime = proto3; +_SIPUri.typeName = "livekit.SIPUri"; +_SIPUri.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "user", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 2, + name: "host", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 3, + name: "ip", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 4, + name: "port", + kind: "scalar", + T: 13 + /* ScalarType.UINT32 */ + }, + { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) } +]); +let SIPUri = _SIPUri; +export { + CreateSIPDispatchRuleRequest, + CreateSIPInboundTrunkRequest, + CreateSIPOutboundTrunkRequest, + CreateSIPParticipantRequest, + CreateSIPTrunkRequest, + DeleteSIPDispatchRuleRequest, + DeleteSIPTrunkRequest, + GetSIPInboundTrunkRequest, + GetSIPInboundTrunkResponse, + GetSIPOutboundTrunkRequest, + GetSIPOutboundTrunkResponse, + ListSIPDispatchRuleRequest, + ListSIPDispatchRuleResponse, + ListSIPInboundTrunkRequest, + ListSIPInboundTrunkResponse, + ListSIPOutboundTrunkRequest, + ListSIPOutboundTrunkResponse, + ListSIPTrunkRequest, + ListSIPTrunkResponse, + SIPCallInfo, + SIPCallStatus, + SIPDispatchRule, + SIPDispatchRuleCallee, + SIPDispatchRuleDirect, + SIPDispatchRuleIndividual, + SIPDispatchRuleInfo, + SIPFeature, + SIPInboundTrunkInfo, + SIPOutboundTrunkInfo, + SIPParticipantInfo, + SIPTransport, + SIPTrunkInfo, + SIPTrunkInfo_TrunkKind, + SIPUri, + TransferSIPParticipantRequest +}; +//# sourceMappingURL=livekit_sip_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.js.map b/packages/javascript/dist/gen/livekit_sip_pb.js.map new file mode 100644 index 00000000..5c6f9f13 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_sip_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_sip_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_sip.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Duration, Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { DisconnectReason } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SIPTransport\n */\nexport enum SIPTransport {\n /**\n * @generated from enum value: SIP_TRANSPORT_AUTO = 0;\n */\n SIP_TRANSPORT_AUTO = 0,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_UDP = 1;\n */\n SIP_TRANSPORT_UDP = 1,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TCP = 2;\n */\n SIP_TRANSPORT_TCP = 2,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TLS = 3;\n */\n SIP_TRANSPORT_TLS = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTransport)\nproto3.util.setEnumType(SIPTransport, \"livekit.SIPTransport\", [\n { no: 0, name: \"SIP_TRANSPORT_AUTO\" },\n { no: 1, name: \"SIP_TRANSPORT_UDP\" },\n { no: 2, name: \"SIP_TRANSPORT_TCP\" },\n { no: 3, name: \"SIP_TRANSPORT_TLS\" },\n]);\n\n/**\n * @generated from enum livekit.SIPCallStatus\n */\nexport enum SIPCallStatus {\n /**\n * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet\n *\n * @generated from enum value: SCS_CALL_INCOMING = 0;\n */\n SCS_CALL_INCOMING = 0,\n\n /**\n * SIP participant for outgoing call has been created. The SIP outgoing call is being established\n *\n * @generated from enum value: SCS_PARTICIPANT_JOINED = 1;\n */\n SCS_PARTICIPANT_JOINED = 1,\n\n /**\n * Call is ongoing. SIP participant is active in the LiveKit room\n *\n * @generated from enum value: SCS_ACTIVE = 2;\n */\n SCS_ACTIVE = 2,\n\n /**\n * Call has ended\n *\n * @generated from enum value: SCS_DISCONNECTED = 3;\n */\n SCS_DISCONNECTED = 3,\n\n /**\n * Call has ended or never succeeded because of an error\n *\n * @generated from enum value: SCS_ERROR = 4;\n */\n SCS_ERROR = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPCallStatus)\nproto3.util.setEnumType(SIPCallStatus, \"livekit.SIPCallStatus\", [\n { no: 0, name: \"SCS_CALL_INCOMING\" },\n { no: 1, name: \"SCS_PARTICIPANT_JOINED\" },\n { no: 2, name: \"SCS_ACTIVE\" },\n { no: 3, name: \"SCS_DISCONNECTED\" },\n { no: 4, name: \"SCS_ERROR\" },\n]);\n\n/**\n * @generated from enum livekit.SIPFeature\n */\nexport enum SIPFeature {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: KRISP_ENABLED = 1;\n */\n KRISP_ENABLED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPFeature)\nproto3.util.setEnumType(SIPFeature, \"livekit.SIPFeature\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"KRISP_ENABLED\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPTrunkRequest\n * @deprecated\n */\nexport class CreateSIPTrunkRequest extends Message {\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 1;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 2;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 3;\n */\n outboundNumber = \"\";\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 9;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 5;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 6;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 7;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 8;\n */\n outboundPassword = \"\";\n\n /**\n * Optional human-readable name for the Trunk.\n *\n * @generated from field: string name = 10;\n */\n name = \"\";\n\n /**\n * Optional user-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 11;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 9, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPTrunkInfo\n * @deprecated\n */\nexport class SIPTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;\n */\n kind = SIPTrunkInfo_TrunkKind.TRUNK_LEGACY;\n\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 2;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 3;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 4;\n */\n outboundNumber = \"\";\n\n /**\n * Transport used for inbound and outbound calls.\n *\n * @generated from field: livekit.SIPTransport transport = 13;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 10;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 6;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 7;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 8;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 9;\n */\n outboundPassword = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 11;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 12;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },\n { no: 2, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 5, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 10, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.SIPTrunkInfo.TrunkKind\n */\nexport enum SIPTrunkInfo_TrunkKind {\n /**\n * @generated from enum value: TRUNK_LEGACY = 0;\n */\n TRUNK_LEGACY = 0,\n\n /**\n * @generated from enum value: TRUNK_INBOUND = 1;\n */\n TRUNK_INBOUND = 1,\n\n /**\n * @generated from enum value: TRUNK_OUTBOUND = 2;\n */\n TRUNK_OUTBOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTrunkInfo_TrunkKind)\nproto3.util.setEnumType(SIPTrunkInfo_TrunkKind, \"livekit.SIPTrunkInfo.TrunkKind\", [\n { no: 0, name: \"TRUNK_LEGACY\" },\n { no: 1, name: \"TRUNK_INBOUND\" },\n { no: 2, name: \"TRUNK_OUTBOUND\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPInboundTrunkRequest\n */\nexport class CreateSIPInboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPInboundTrunkInfo\n */\nexport class SIPInboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.\n * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.\n *\n * @generated from field: repeated string numbers = 4;\n */\n numbers: string[] = [];\n\n /**\n * CIDR or IPs that traffic is accepted from.\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string allowed_addresses = 5;\n */\n allowedAddresses: string[] = [];\n\n /**\n * Numbers that are allowed to make calls to this Trunk.\n * An empty list means calls from any phone number is accepted.\n *\n * @generated from field: repeated string allowed_numbers = 6;\n */\n allowedNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound SIP invites.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in 200 OK responses.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from INVITE to SIP participant attributes.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 14;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n /**\n * Max time for the caller to wait for track subscription.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * @generated from field: bool krisp_enabled = 13;\n */\n krispEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPInboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"allowed_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"allowed_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 14, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 13, name: \"krisp_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPInboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPOutboundTrunkRequest\n */\nexport class CreateSIPOutboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPOutboundTrunkInfo\n */\nexport class SIPOutboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Hostname or IP that SIP INVITE is sent too.\n * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.\n *\n * @generated from field: string address = 4;\n */\n address = \"\";\n\n /**\n * SIP Transport used for outbound call.\n *\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * Numbers used to make the calls. Random one from this list will be selected.\n *\n * @generated from field: repeated string numbers = 6;\n */\n numbers: string[] = [];\n\n /**\n * Username and password used to authenticate with SIP server.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in INVITE request.\n * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from 200 OK to SIP participant attributes.\n * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 11;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPOutboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 6, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPOutboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkRequest\n */\nexport class GetSIPInboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkResponse\n */\nexport class GetSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkRequest\n */\nexport class GetSIPOutboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkResponse\n */\nexport class GetSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkRequest\n * @deprecated\n */\nexport class ListSIPTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkResponse\n * @deprecated\n */\nexport class ListSIPTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPTrunkInfo items = 1;\n */\n items: SIPTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkRequest\n */\nexport class ListSIPInboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkResponse\n */\nexport class ListSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;\n */\n items: SIPInboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPInboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkRequest\n */\nexport class ListSIPOutboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkResponse\n */\nexport class ListSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;\n */\n items: SIPOutboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPOutboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPTrunkRequest\n */\nexport class DeleteSIPTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleDirect\n */\nexport class SIPDispatchRuleDirect extends Message {\n /**\n * What room should call be directed into\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleDirect\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleDirect, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleIndividual\n */\nexport class SIPDispatchRuleIndividual extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleIndividual\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleIndividual, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleCallee\n */\nexport class SIPDispatchRuleCallee extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n /**\n * Optionally append random suffix\n *\n * @generated from field: bool randomize = 3;\n */\n randomize = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleCallee\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"randomize\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleCallee, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRule\n */\nexport class SIPDispatchRule extends Message {\n /**\n * @generated from oneof livekit.SIPDispatchRule.rule\n */\n rule: {\n /**\n * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room\n * This places users into an existing room. Optionally you can require a pin before a user can\n * enter the room\n *\n * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;\n */\n value: SIPDispatchRuleDirect;\n case: \"dispatchRuleDirect\";\n } | {\n /**\n * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.\n *\n * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;\n */\n value: SIPDispatchRuleIndividual;\n case: \"dispatchRuleIndividual\";\n } | {\n /**\n * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.\n *\n * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;\n */\n value: SIPDispatchRuleCallee;\n case: \"dispatchRuleCallee\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRule\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_rule_direct\", kind: \"message\", T: SIPDispatchRuleDirect, oneof: \"rule\" },\n { no: 2, name: \"dispatch_rule_individual\", kind: \"message\", T: SIPDispatchRuleIndividual, oneof: \"rule\" },\n { no: 3, name: \"dispatch_rule_callee\", kind: \"message\", T: SIPDispatchRuleCallee, oneof: \"rule\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRule, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPDispatchRuleRequest\n */\nexport class CreateSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 1;\n */\n rule?: SIPDispatchRule;\n\n /**\n * What trunks are accepted for this dispatch rule\n * If empty all trunks will match this dispatch rule\n *\n * @generated from field: repeated string trunk_ids = 2;\n */\n trunkIds: string[] = [];\n\n /**\n * By default the From value (Phone number) is used for participant name/identity and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 3;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 6;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Optional human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 4;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 7;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 2, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleInfo\n */\nexport class SIPDispatchRuleInfo extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 2;\n */\n rule?: SIPDispatchRule;\n\n /**\n * @generated from field: repeated string trunk_ids = 3;\n */\n trunkIds: string[] = [];\n\n /**\n * @generated from field: bool hide_phone_number = 4;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 7;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 8;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 3, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleRequest\n */\nexport class ListSIPDispatchRuleRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleResponse\n */\nexport class ListSIPDispatchRuleResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;\n */\n items: SIPDispatchRuleInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPDispatchRuleInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPDispatchRuleRequest\n */\nexport class DeleteSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * A SIP Participant is a singular SIP session connected to a LiveKit room via\n * a SIP Trunk into a SIP DispatchRule\n *\n * @generated from message livekit.CreateSIPParticipantRequest\n */\nexport class CreateSIPParticipantRequest extends Message {\n /**\n * What SIP Trunk should be used to dial the user\n *\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * What number should be dialed via SIP\n *\n * @generated from field: string sip_call_to = 2;\n */\n sipCallTo = \"\";\n\n /**\n * Optional SIP From number to use. If empty, trunk number is used.\n *\n * @generated from field: string sip_number = 15;\n */\n sipNumber = \"\";\n\n /**\n * What LiveKit room should this participant be connected too\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * Optional identity of the participant in LiveKit room\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * Optional name of the participant in LiveKit room\n *\n * @generated from field: string participant_name = 7;\n */\n participantName = \"\";\n\n /**\n * Optional user-defined metadata. Will be attached to a created Participant in the room.\n *\n * @generated from field: string participant_metadata = 8;\n */\n participantMetadata = \"\";\n\n /**\n * Optional user-defined attributes. Will be attached to a created Participant in the room.\n *\n * @generated from field: map participant_attributes = 9;\n */\n participantAttributes: { [key: string]: string } = {};\n\n /**\n * Optionally send following DTMF digits (extension codes) when making a call.\n * Character 'w' can be used to add a 0.5 sec delay.\n *\n * @generated from field: string dtmf = 5;\n */\n dtmf = \"\";\n\n /**\n * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.\n *\n * @generated from field: bool play_ringtone = 6 [deprecated = true];\n * @deprecated\n */\n playRingtone = false;\n\n /**\n * @generated from field: bool play_dialtone = 13;\n */\n playDialtone = false;\n\n /**\n * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 10;\n */\n hidePhoneNumber = false;\n\n /**\n * Max time for the callee to answer the call.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * Enable voice isolation for the callee.\n *\n * NEXT ID: 16\n *\n * @generated from field: bool enable_krisp = 14;\n */\n enableKrisp = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sip_call_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"sip_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 5, name: \"dtmf\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"play_ringtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 14, name: \"enable_krisp\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPParticipantInfo\n */\nexport class SIPParticipantInfo extends Message {\n /**\n * @generated from field: string participant_id = 1;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string participant_identity = 2;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string sip_call_id = 4;\n */\n sipCallId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TransferSIPParticipantRequest\n */\nexport class TransferSIPParticipantRequest extends Message {\n /**\n * @generated from field: string participant_identity = 1;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 2;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string transfer_to = 3;\n */\n transferTo = \"\";\n\n /**\n * Optionally play dialtone to the SIP participant as an audible indicator of being transferred\n *\n * @generated from field: bool play_dialtone = 4;\n */\n playDialtone = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TransferSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"transfer_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TransferSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPCallInfo\n */\nexport class SIPCallInfo extends Message {\n /**\n * @generated from field: string call_id = 1;\n */\n callId = \"\";\n\n /**\n * @generated from field: string trunk_id = 2;\n */\n trunkId = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 4;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: livekit.SIPUri from_uri = 6;\n */\n fromUri?: SIPUri;\n\n /**\n * @generated from field: livekit.SIPUri to_uri = 7;\n */\n toUri?: SIPUri;\n\n /**\n * @generated from field: repeated livekit.SIPFeature enabled_features = 14;\n */\n enabledFeatures: SIPFeature[] = [];\n\n /**\n * @generated from field: livekit.SIPCallStatus call_status = 8;\n */\n callStatus = SIPCallStatus.SCS_CALL_INCOMING;\n\n /**\n * @generated from field: int64 created_at = 9;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 12;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: string error = 13;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPCallInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"from_uri\", kind: \"message\", T: SIPUri },\n { no: 7, name: \"to_uri\", kind: \"message\", T: SIPUri },\n { no: 14, name: \"enabled_features\", kind: \"enum\", T: proto3.getEnumType(SIPFeature), repeated: true },\n { no: 8, name: \"call_status\", kind: \"enum\", T: proto3.getEnumType(SIPCallStatus) },\n { no: 9, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 12, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 13, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPCallInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPUri\n */\nexport class SIPUri extends Message {\n /**\n * @generated from field: string user = 1;\n */\n user = \"\";\n\n /**\n * @generated from field: string host = 2;\n */\n host = \"\";\n\n /**\n * @generated from field: string ip = 3;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 port = 4;\n */\n port = 0;\n\n /**\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPUri\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"user\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"host\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"port\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri {\n return new SIPUri().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri {\n return new SIPUri().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPUri {\n return new SIPUri().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPUri, a, b);\n }\n}\n\n"],"mappings":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,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,QAAQ,GAAG,OAAO,YAAY,YAAY,EAAE;AAChF,CAAC;AAvCI,IAAM,SAAN;","names":["SIPTransport","SIPCallStatus","SIPFeature","SIPTrunkInfo_TrunkKind"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.cjs b/packages/javascript/dist/gen/livekit_webhook_pb.cjs new file mode 100644 index 00000000..db371ccb --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.cjs @@ -0,0 +1,111 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var livekit_webhook_pb_exports = {}; +__export(livekit_webhook_pb_exports, { + WebhookEvent: () => WebhookEvent +}); +module.exports = __toCommonJS(livekit_webhook_pb_exports); +var import_protobuf = require("@bufbuild/protobuf"); +var import_livekit_models_pb = require("./livekit_models_pb.cjs"); +var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); +var import_livekit_ingress_pb = require("./livekit_ingress_pb.cjs"); +const _WebhookEvent = class _WebhookEvent extends import_protobuf.Message { + constructor(data) { + super(); + /** + * one of room_started, room_finished, participant_joined, participant_left, + * track_published, track_unpublished, egress_started, egress_updated, egress_ended, + * ingress_started, ingress_ended + * + * @generated from field: string event = 1; + */ + this.event = ""; + /** + * unique event uuid + * + * @generated from field: string id = 6; + */ + this.id = ""; + /** + * timestamp in seconds + * + * @generated from field: int64 created_at = 7; + */ + this.createdAt = import_protobuf.protoInt64.zero; + /** + * @generated from field: int32 num_dropped = 11; + */ + this.numDropped = 0; + import_protobuf.proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WebhookEvent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WebhookEvent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WebhookEvent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return import_protobuf.proto3.util.equals(_WebhookEvent, a, b); + } +}; +_WebhookEvent.runtime = import_protobuf.proto3; +_WebhookEvent.typeName = "livekit.WebhookEvent"; +_WebhookEvent.fields = import_protobuf.proto3.util.newFieldList(() => [ + { + no: 1, + name: "event", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "room", kind: "message", T: import_livekit_models_pb.Room }, + { no: 3, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, + { no: 9, name: "egress_info", kind: "message", T: import_livekit_egress_pb.EgressInfo }, + { no: 10, name: "ingress_info", kind: "message", T: import_livekit_ingress_pb.IngressInfo }, + { no: 8, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo }, + { + no: 6, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "num_dropped", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let WebhookEvent = _WebhookEvent; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + WebhookEvent +}); +//# sourceMappingURL=livekit_webhook_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map b/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map new file mode 100644 index 00000000..27d56317 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_webhook_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_webhook.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, Room, TrackInfo } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\n\n/**\n * @generated from message livekit.WebhookEvent\n */\nexport class WebhookEvent extends Message {\n /**\n * one of room_started, room_finished, participant_joined, participant_left,\n * track_published, track_unpublished, egress_started, egress_updated, egress_ended,\n * ingress_started, ingress_ended\n *\n * @generated from field: string event = 1;\n */\n event = \"\";\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * set when event is participant_* or track_*\n *\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n /**\n * set when event is egress_*\n *\n * @generated from field: livekit.EgressInfo egress_info = 9;\n */\n egressInfo?: EgressInfo;\n\n /**\n * set when event is ingress_*\n *\n * @generated from field: livekit.IngressInfo ingress_info = 10;\n */\n ingressInfo?: IngressInfo;\n\n /**\n * set when event is track_*\n *\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * unique event uuid\n *\n * @generated from field: string id = 6;\n */\n id = \"\";\n\n /**\n * timestamp in seconds\n *\n * @generated from field: int64 created_at = 7;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int32 num_dropped = 11;\n */\n numDropped = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebhookEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"event\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 9, name: \"egress_info\", kind: \"message\", T: EgressInfo },\n { no: 10, name: \"ingress_info\", kind: \"message\", T: IngressInfo },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 6, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"num_dropped\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebhookEvent, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAiD;AACjD,+BAA2B;AAC3B,gCAA4B;AAKrB,MAAM,gBAAN,MAAM,sBAAqB,wBAAsB;AAAA,EA8DtD,YAAY,MAAqC;AAC/C,UAAM;AAvDR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAQ;AAwCR;AAAA;AAAA;AAAA;AAAA;AAAA,cAAK;AAOL;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAY,2BAAW;AAKvB;AAAA;AAAA;AAAA,sBAAa;AAIX,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAgBA,OAAO,WAAW,OAAmB,SAAoD;AACvF,WAAO,IAAI,cAAa,EAAE,WAAW,OAAO,OAAO;AAAA,EACrD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAkD;AACtF,WAAO,IAAI,cAAa,EAAE,SAAS,WAAW,OAAO;AAAA,EACvD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAkD;AAC1F,WAAO,IAAI,cAAa,EAAE,eAAe,YAAY,OAAO;AAAA,EAC9D;AAAA,EAEA,OAAO,OAAO,GAA0D,GAAmE;AACzI,WAAO,uBAAO,KAAK,OAAO,eAAc,GAAG,CAAC;AAAA,EAC9C;AACF;AAhGa,cAmEK,UAAyB;AAnE9B,cAoEK,WAAW;AApEhB,cAqEK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAS,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,8BAAK;AAAA,EAChD,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,yCAAgB;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,oCAAW;AAAA,EAC7D,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,sCAAY;AAAA,EAChE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,mCAAU;AAAA,EACtD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAI,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC7E,CAAC;AA/EI,IAAM,eAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts new file mode 100644 index 00000000..1c4446e1 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts @@ -0,0 +1,71 @@ +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; +/** + * @generated from message livekit.WebhookEvent + */ +export declare class WebhookEvent extends Message { + /** + * one of room_started, room_finished, participant_joined, participant_left, + * track_published, track_unpublished, egress_started, egress_updated, egress_ended, + * ingress_started, ingress_ended + * + * @generated from field: string event = 1; + */ + event: string; + /** + * @generated from field: livekit.Room room = 2; + */ + room?: Room; + /** + * set when event is participant_* or track_* + * + * @generated from field: livekit.ParticipantInfo participant = 3; + */ + participant?: ParticipantInfo; + /** + * set when event is egress_* + * + * @generated from field: livekit.EgressInfo egress_info = 9; + */ + egressInfo?: EgressInfo; + /** + * set when event is ingress_* + * + * @generated from field: livekit.IngressInfo ingress_info = 10; + */ + ingressInfo?: IngressInfo; + /** + * set when event is track_* + * + * @generated from field: livekit.TrackInfo track = 8; + */ + track?: TrackInfo; + /** + * unique event uuid + * + * @generated from field: string id = 6; + */ + id: string; + /** + * timestamp in seconds + * + * @generated from field: int64 created_at = 7; + */ + createdAt: bigint; + /** + * @generated from field: int32 num_dropped = 11; + */ + numDropped: number; + constructor(data?: PartialMessage); + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WebhookEvent"; + static readonly fields: FieldList; + static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent; + static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent; + static fromJsonString(jsonString: string, options?: Partial): WebhookEvent; + static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean; +} +//# sourceMappingURL=livekit_webhook_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map new file mode 100644 index 00000000..e64810a1 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"livekit_webhook_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_webhook_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,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,YAAY,CAAC,YAAY,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3I"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.js b/packages/javascript/dist/gen/livekit_webhook_pb.js new file mode 100644 index 00000000..8896754a --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.js @@ -0,0 +1,88 @@ +import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; +import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; +const _WebhookEvent = class _WebhookEvent extends Message { + constructor(data) { + super(); + /** + * one of room_started, room_finished, participant_joined, participant_left, + * track_published, track_unpublished, egress_started, egress_updated, egress_ended, + * ingress_started, ingress_ended + * + * @generated from field: string event = 1; + */ + this.event = ""; + /** + * unique event uuid + * + * @generated from field: string id = 6; + */ + this.id = ""; + /** + * timestamp in seconds + * + * @generated from field: int64 created_at = 7; + */ + this.createdAt = protoInt64.zero; + /** + * @generated from field: int32 num_dropped = 11; + */ + this.numDropped = 0; + proto3.util.initPartial(data, this); + } + static fromBinary(bytes, options) { + return new _WebhookEvent().fromBinary(bytes, options); + } + static fromJson(jsonValue, options) { + return new _WebhookEvent().fromJson(jsonValue, options); + } + static fromJsonString(jsonString, options) { + return new _WebhookEvent().fromJsonString(jsonString, options); + } + static equals(a, b) { + return proto3.util.equals(_WebhookEvent, a, b); + } +}; +_WebhookEvent.runtime = proto3; +_WebhookEvent.typeName = "livekit.WebhookEvent"; +_WebhookEvent.fields = proto3.util.newFieldList(() => [ + { + no: 1, + name: "event", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { no: 2, name: "room", kind: "message", T: Room }, + { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, + { no: 9, name: "egress_info", kind: "message", T: EgressInfo }, + { no: 10, name: "ingress_info", kind: "message", T: IngressInfo }, + { no: 8, name: "track", kind: "message", T: TrackInfo }, + { + no: 6, + name: "id", + kind: "scalar", + T: 9 + /* ScalarType.STRING */ + }, + { + no: 7, + name: "created_at", + kind: "scalar", + T: 3 + /* ScalarType.INT64 */ + }, + { + no: 11, + name: "num_dropped", + kind: "scalar", + T: 5 + /* ScalarType.INT32 */ + } +]); +let WebhookEvent = _WebhookEvent; +export { + WebhookEvent +}; +//# sourceMappingURL=livekit_webhook_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.js.map b/packages/javascript/dist/gen/livekit_webhook_pb.js.map new file mode 100644 index 00000000..796db345 --- /dev/null +++ b/packages/javascript/dist/gen/livekit_webhook_pb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/livekit_webhook_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_webhook.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, Room, TrackInfo } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\n\n/**\n * @generated from message livekit.WebhookEvent\n */\nexport class WebhookEvent extends Message {\n /**\n * one of room_started, room_finished, participant_joined, participant_left,\n * track_published, track_unpublished, egress_started, egress_updated, egress_ended,\n * ingress_started, ingress_ended\n *\n * @generated from field: string event = 1;\n */\n event = \"\";\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * set when event is participant_* or track_*\n *\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n /**\n * set when event is egress_*\n *\n * @generated from field: livekit.EgressInfo egress_info = 9;\n */\n egressInfo?: EgressInfo;\n\n /**\n * set when event is ingress_*\n *\n * @generated from field: livekit.IngressInfo ingress_info = 10;\n */\n ingressInfo?: IngressInfo;\n\n /**\n * set when event is track_*\n *\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * unique event uuid\n *\n * @generated from field: string id = 6;\n */\n id = \"\";\n\n /**\n * timestamp in seconds\n *\n * @generated from field: int64 created_at = 7;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int32 num_dropped = 11;\n */\n numDropped = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebhookEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"event\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 9, name: \"egress_info\", kind: \"message\", T: EgressInfo },\n { no: 10, name: \"ingress_info\", kind: \"message\", T: IngressInfo },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 6, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"num_dropped\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebhookEvent, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,iBAAiB,MAAM,iBAAiB;AACjD,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAKrB,MAAM,gBAAN,MAAM,sBAAqB,QAAsB;AAAA,EA8DtD,YAAY,MAAqC;AAC/C,UAAM;AAvDR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAQ;AAwCR;AAAA;AAAA;AAAA;AAAA;AAAA,cAAK;AAOL;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAY,WAAW;AAKvB;AAAA;AAAA;AAAA,sBAAa;AAIX,WAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAgBA,OAAO,WAAW,OAAmB,SAAoD;AACvF,WAAO,IAAI,cAAa,EAAE,WAAW,OAAO,OAAO;AAAA,EACrD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAkD;AACtF,WAAO,IAAI,cAAa,EAAE,SAAS,WAAW,OAAO;AAAA,EACvD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAkD;AAC1F,WAAO,IAAI,cAAa,EAAE,eAAe,YAAY,OAAO;AAAA,EAC9D;AAAA,EAEA,OAAO,OAAO,GAA0D,GAAmE;AACzI,WAAO,OAAO,KAAK,OAAO,eAAc,GAAG,CAAC;AAAA,EAC9C;AACF;AAhGa,cAmEK,UAAyB;AAnE9B,cAoEK,WAAW;AApEhB,cAqEK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAS,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,KAAK;AAAA,EAChD,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,gBAAgB;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,WAAW;AAAA,EAC7D,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,YAAY;AAAA,EAChE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,UAAU;AAAA,EACtD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAI,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC7E,CAAC;AA/EI,IAAM,eAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.cjs b/packages/javascript/dist/gen/version.cjs new file mode 100644 index 00000000..61ea73f8 --- /dev/null +++ b/packages/javascript/dist/gen/version.cjs @@ -0,0 +1,28 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var version_exports = {}; +__export(version_exports, { + version: () => version +}); +module.exports = __toCommonJS(version_exports); +const version = "1.29.0"; +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + version +}); +//# sourceMappingURL=version.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.cjs.map b/packages/javascript/dist/gen/version.cjs.map new file mode 100644 index 00000000..3eaaec48 --- /dev/null +++ b/packages/javascript/dist/gen/version.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/version.ts"],"sourcesContent":["// Generated by genversion.\nexport const version = '1.29.0';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,MAAM,UAAU;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.d.ts b/packages/javascript/dist/gen/version.d.ts new file mode 100644 index 00000000..1d13e1a3 --- /dev/null +++ b/packages/javascript/dist/gen/version.d.ts @@ -0,0 +1,2 @@ +export declare const version = "1.29.0"; +//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.d.ts.map b/packages/javascript/dist/gen/version.d.ts.map new file mode 100644 index 00000000..bc07efd9 --- /dev/null +++ b/packages/javascript/dist/gen/version.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/gen/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.js b/packages/javascript/dist/gen/version.js new file mode 100644 index 00000000..9acf3ece --- /dev/null +++ b/packages/javascript/dist/gen/version.js @@ -0,0 +1,5 @@ +const version = "1.29.0"; +export { + version +}; +//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.js.map b/packages/javascript/dist/gen/version.js.map new file mode 100644 index 00000000..c7e524be --- /dev/null +++ b/packages/javascript/dist/gen/version.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/gen/version.ts"],"sourcesContent":["// Generated by genversion.\nexport const version = '1.29.0';\n"],"mappings":"AACO,MAAM,UAAU;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/index.cjs b/packages/javascript/dist/index.cjs new file mode 100644 index 00000000..fb47d256 --- /dev/null +++ b/packages/javascript/dist/index.cjs @@ -0,0 +1,51 @@ +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var src_exports = {}; +__export(src_exports, { + protoInt64: () => import_protobuf.protoInt64 +}); +module.exports = __toCommonJS(src_exports); +var import_protobuf = require("@bufbuild/protobuf"); +__reExport(src_exports, require("./gen/livekit_agent_dispatch_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_agent_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_egress_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_ingress_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_metrics_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_models_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_room_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_rtc_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_sip_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/livekit_webhook_pb.cjs"), module.exports); +__reExport(src_exports, require("./gen/version.cjs"), module.exports); +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + protoInt64, + ...require("./gen/livekit_agent_dispatch_pb.cjs"), + ...require("./gen/livekit_agent_pb.cjs"), + ...require("./gen/livekit_egress_pb.cjs"), + ...require("./gen/livekit_ingress_pb.cjs"), + ...require("./gen/livekit_metrics_pb.cjs"), + ...require("./gen/livekit_models_pb.cjs"), + ...require("./gen/livekit_room_pb.cjs"), + ...require("./gen/livekit_rtc_pb.cjs"), + ...require("./gen/livekit_sip_pb.cjs"), + ...require("./gen/livekit_webhook_pb.cjs"), + ...require("./gen/version.cjs") +}); +//# sourceMappingURL=index.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/index.cjs.map b/packages/javascript/dist/index.cjs.map new file mode 100644 index 00000000..cb64637e --- /dev/null +++ b/packages/javascript/dist/index.cjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { protoInt64 } from \"@bufbuild/protobuf\";\nexport * from \"./gen/livekit_agent_dispatch_pb.js\";\nexport * from \"./gen/livekit_agent_pb.js\";\nexport * from \"./gen/livekit_egress_pb.js\";\nexport * from \"./gen/livekit_ingress_pb.js\";\nexport * from \"./gen/livekit_metrics_pb.js\";\nexport * from \"./gen/livekit_models_pb.js\";\nexport * from \"./gen/livekit_room_pb.js\";\nexport * from \"./gen/livekit_rtc_pb.js\";\nexport * from \"./gen/livekit_sip_pb.js\";\nexport * from \"./gen/livekit_webhook_pb.js\";\nexport * from \"./gen/version.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA2B;AAC3B,wBAAc,+CADd;AAEA,wBAAc,sCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,wCAJd;AAKA,wBAAc,wCALd;AAMA,wBAAc,uCANd;AAOA,wBAAc,qCAPd;AAQA,wBAAc,oCARd;AASA,wBAAc,oCATd;AAUA,wBAAc,wCAVd;AAWA,wBAAc,6BAXd;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/index.d.ts b/packages/javascript/dist/index.d.ts new file mode 100644 index 00000000..5a02ff5b --- /dev/null +++ b/packages/javascript/dist/index.d.ts @@ -0,0 +1,13 @@ +export { protoInt64 } from "@bufbuild/protobuf"; +export * from "./gen/livekit_agent_dispatch_pb.js"; +export * from "./gen/livekit_agent_pb.js"; +export * from "./gen/livekit_egress_pb.js"; +export * from "./gen/livekit_ingress_pb.js"; +export * from "./gen/livekit_metrics_pb.js"; +export * from "./gen/livekit_models_pb.js"; +export * from "./gen/livekit_room_pb.js"; +export * from "./gen/livekit_rtc_pb.js"; +export * from "./gen/livekit_sip_pb.js"; +export * from "./gen/livekit_webhook_pb.js"; +export * from "./gen/version.js"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/index.d.ts.map b/packages/javascript/dist/index.d.ts.map new file mode 100644 index 00000000..28daff13 --- /dev/null +++ b/packages/javascript/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC"} \ No newline at end of file diff --git a/packages/javascript/dist/index.js b/packages/javascript/dist/index.js new file mode 100644 index 00000000..7c41df3d --- /dev/null +++ b/packages/javascript/dist/index.js @@ -0,0 +1,16 @@ +import { protoInt64 } from "@bufbuild/protobuf"; +export * from "./gen/livekit_agent_dispatch_pb.js"; +export * from "./gen/livekit_agent_pb.js"; +export * from "./gen/livekit_egress_pb.js"; +export * from "./gen/livekit_ingress_pb.js"; +export * from "./gen/livekit_metrics_pb.js"; +export * from "./gen/livekit_models_pb.js"; +export * from "./gen/livekit_room_pb.js"; +export * from "./gen/livekit_rtc_pb.js"; +export * from "./gen/livekit_sip_pb.js"; +export * from "./gen/livekit_webhook_pb.js"; +export * from "./gen/version.js"; +export { + protoInt64 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/javascript/dist/index.js.map b/packages/javascript/dist/index.js.map new file mode 100644 index 00000000..9dbd44b1 --- /dev/null +++ b/packages/javascript/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { protoInt64 } from \"@bufbuild/protobuf\";\nexport * from \"./gen/livekit_agent_dispatch_pb.js\";\nexport * from \"./gen/livekit_agent_pb.js\";\nexport * from \"./gen/livekit_egress_pb.js\";\nexport * from \"./gen/livekit_ingress_pb.js\";\nexport * from \"./gen/livekit_metrics_pb.js\";\nexport * from \"./gen/livekit_models_pb.js\";\nexport * from \"./gen/livekit_room_pb.js\";\nexport * from \"./gen/livekit_rtc_pb.js\";\nexport * from \"./gen/livekit_sip_pb.js\";\nexport * from \"./gen/livekit_webhook_pb.js\";\nexport * from \"./gen/version.js\";\n"],"mappings":"AAAA,SAAS,kBAAkB;AAC3B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]} \ No newline at end of file diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 24a3fd90..3ba5a843 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -3,38 +3,46 @@ "version": "1.29.2", "description": "", "type": "module", - "main": "dist/index.js", - "import": "dist/index.cjs", - "types": "dist/index.d.ts", + "main": "src/esm/index.js", + "require": "src/cjs/index.cjs", + "types": "src/esm/index.d.ts", "files": [ - "dist" + "src" ], "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": { + "types": "./src/esm/index.d.ts", + "default": "./src/esm/index.js" + }, + "require": { + "types": "./src/cjs/index.d.ts", + "default": "./src/cjs/index.cjs" + } }, "./*": { - "types": "./dist/gen/livekit_*_pb.d.ts", - "import": "./dist/gen/livekit_*_pb.js", - "require": "./dist/gen/livekit_*_pb.cjs" + "import": { + "types": "./src/esm/gen/livekit_*_pb.d.ts", + "default": "./src/esm/gen/livekit_*_pb.js" + }, + "require": { + "types": "./src/cjs/gen/livekit_*_pb.d.ts", + "default": "./src/cjs/gen/livekit_*_pb.js" + } } }, "scripts": { - "generate:version": "genversion --esm --semi src/gen/version.ts", "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto", - "prebuild": "pnpm generate:version && pnpm generate:proto", - "build": "pnpm prebuild && tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"" + "build:esm": "genversion --esm --semi src/esm/gen/version.js && protoc --es_out src/esm/gen --es_opt target=dts+js -I=../../protobufs ../../protobufs/livekit_*.proto", + "build:cjs": "genversion --semi --property version,name src/cjs/gen/version.js && protoc --es_out src/cjs/gen --es_opt target=dts+js --es_opt js_import_style=legacy_commonjs --es_opt import_extension=none -I=../../protobufs ../../protobufs/livekit_*.proto", + "build": "pnpm build:esm && pnpm build:cjs" }, "keywords": [], "author": "LiveKit", "license": "Apache-2.0", "devDependencies": { "@bufbuild/protoc-gen-es": "^1.10.0", - "genversion": "^3.2.0", - "tsup": "^8.3.5", - "typescript": "5.2" + "genversion": "^3.2.0" }, "dependencies": { "@bufbuild/protobuf": "^1.10.0" diff --git a/packages/javascript/src/cjs/index.cjs b/packages/javascript/src/cjs/index.cjs new file mode 100644 index 00000000..c9b8667d --- /dev/null +++ b/packages/javascript/src/cjs/index.cjs @@ -0,0 +1,27 @@ +const { protoInt64 } = require("@bufbuild/protobuf"); +const dispatch = require("./gen/livekit_agent_dispatch_pb"); +const agent = require("./gen/livekit_agent_pb"); +const egress = require("./gen/livekit_egress_pb"); +const ingress = require("./gen/livekit_ingress_pb"); +const metrics = require("./gen/livekit_metrics_pb"); +const models = require("./gen/livekit_models_pb"); +const room = require("./gen/livekit_room_pb"); +const rtc = require("./gen/livekit_rtc_pb"); +const sip = require("./gen/livekit_sip_pb"); +const webhook = require("./gen/livekit_webhook_pb"); +const { version } = require("./gen/version"); + +module.exports = { + protoInt64, + ...dispatch, + ...agent, + ...egress, + ...ingress, + ...metrics, + ...models, + ...room, + ...rtc, + ...sip, + ...webhook, + version, +}; diff --git a/packages/javascript/src/cjs/index.d.ts b/packages/javascript/src/cjs/index.d.ts new file mode 100644 index 00000000..31f8c7b1 --- /dev/null +++ b/packages/javascript/src/cjs/index.d.ts @@ -0,0 +1,12 @@ +export { protoInt64 } from "@bufbuild/protobuf"; +export * from "./gen/livekit_agent_dispatch_pb"; +export * from "./gen/livekit_agent_pb"; +export * from "./gen/livekit_egress_pb"; +export * from "./gen/livekit_ingress_pb"; +export * from "./gen/livekit_metrics_pb"; +export * from "./gen/livekit_models_pb"; +export * from "./gen/livekit_room_pb"; +export * from "./gen/livekit_rtc_pb"; +export * from "./gen/livekit_sip_pb"; +export * from "./gen/livekit_webhook_pb"; +export * from "./gen/version"; diff --git a/packages/javascript/src/index.ts b/packages/javascript/src/esm/index.d.ts similarity index 100% rename from packages/javascript/src/index.ts rename to packages/javascript/src/esm/index.d.ts diff --git a/packages/javascript/src/esm/index.js b/packages/javascript/src/esm/index.js new file mode 100644 index 00000000..094183bb --- /dev/null +++ b/packages/javascript/src/esm/index.js @@ -0,0 +1,12 @@ +export { protoInt64 } from "@bufbuild/protobuf"; +export * from "./gen/livekit_agent_dispatch_pb.js"; +export * from "./gen/livekit_agent_pb.js"; +export * from "./gen/livekit_egress_pb.js"; +export * from "./gen/livekit_ingress_pb.js"; +export * from "./gen/livekit_metrics_pb.js"; +export * from "./gen/livekit_models_pb.js"; +export * from "./gen/livekit_room_pb.js"; +export * from "./gen/livekit_rtc_pb.js"; +export * from "./gen/livekit_sip_pb.js"; +export * from "./gen/livekit_webhook_pb.js"; +export * from "./gen/version.js"; diff --git a/packages/javascript/tsconfig.json b/packages/javascript/tsconfig.json deleted file mode 100644 index f892db4e..00000000 --- a/packages/javascript/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "lib": ["ES2020"], - "target": "ES2020", - "module": "Node16", - "moduleResolution": "node16", - "declaration": true, - "declarationMap": true, - "skipLibCheck": true, - "sourceMap": true, - "outDir": "dist" - }, - "include": ["src/**/*.ts"] -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc4bbd68..78ad12d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,12 +30,6 @@ importers: genversion: specifier: ^3.2.0 version: 3.2.0 - tsup: - specifier: ^8.3.5 - version: 8.3.5(typescript@5.2.2) - typescript: - specifier: '5.2' - version: 5.2.2 packages: @@ -264,28 +258,6 @@ packages: cpu: [x64] os: [win32] - '@isaacs/cliui@8.0.2': - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - - '@jridgewell/gen-mapping@0.3.5': - resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} - engines: {node: '>=6.0.0'} - - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - - '@jridgewell/set-array@1.2.1': - resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} - engines: {node: '>=6.0.0'} - - '@jridgewell/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} - - '@jridgewell/trace-mapping@0.3.25': - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - '@livekit/changesets-changelog-github@0.0.4': resolution: {integrity: sha512-MXaiLYwgkYciZb8G2wkVtZ1pJJzZmVx5cM30Q+ClslrIYyAqQhRbPmZDM79/5CGxb1MTemR/tfOM25tgJgAK0g==} @@ -307,103 +279,6 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - - '@rollup/rollup-android-arm-eabi@4.27.4': - resolution: {integrity: sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==} - cpu: [arm] - os: [android] - - '@rollup/rollup-android-arm64@4.27.4': - resolution: {integrity: sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==} - cpu: [arm64] - os: [android] - - '@rollup/rollup-darwin-arm64@4.27.4': - resolution: {integrity: sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==} - cpu: [arm64] - os: [darwin] - - '@rollup/rollup-darwin-x64@4.27.4': - resolution: {integrity: sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==} - cpu: [x64] - os: [darwin] - - '@rollup/rollup-freebsd-arm64@4.27.4': - resolution: {integrity: sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==} - cpu: [arm64] - os: [freebsd] - - '@rollup/rollup-freebsd-x64@4.27.4': - resolution: {integrity: sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==} - cpu: [x64] - os: [freebsd] - - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': - resolution: {integrity: sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==} - cpu: [arm] - os: [linux] - - '@rollup/rollup-linux-arm-musleabihf@4.27.4': - resolution: {integrity: sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==} - cpu: [arm] - os: [linux] - - '@rollup/rollup-linux-arm64-gnu@4.27.4': - resolution: {integrity: sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==} - cpu: [arm64] - os: [linux] - - '@rollup/rollup-linux-arm64-musl@4.27.4': - resolution: {integrity: sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==} - cpu: [arm64] - os: [linux] - - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': - resolution: {integrity: sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==} - cpu: [ppc64] - os: [linux] - - '@rollup/rollup-linux-riscv64-gnu@4.27.4': - resolution: {integrity: sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==} - cpu: [riscv64] - os: [linux] - - '@rollup/rollup-linux-s390x-gnu@4.27.4': - resolution: {integrity: sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==} - cpu: [s390x] - os: [linux] - - '@rollup/rollup-linux-x64-gnu@4.27.4': - resolution: {integrity: sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==} - cpu: [x64] - os: [linux] - - '@rollup/rollup-linux-x64-musl@4.27.4': - resolution: {integrity: sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==} - cpu: [x64] - os: [linux] - - '@rollup/rollup-win32-arm64-msvc@4.27.4': - resolution: {integrity: sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==} - cpu: [arm64] - os: [win32] - - '@rollup/rollup-win32-ia32-msvc@4.27.4': - resolution: {integrity: sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==} - cpu: [ia32] - os: [win32] - - '@rollup/rollup-win32-x64-msvc@4.27.4': - resolution: {integrity: sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==} - cpu: [x64] - os: [win32] - - '@types/estree@1.0.6': - resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} - '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} @@ -420,21 +295,10 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} - ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} - - any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -462,16 +326,6 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - bundle-require@5.0.0: - resolution: {integrity: sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - peerDependencies: - esbuild: '>=0.18' - - cac@6.7.14: - resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} - engines: {node: '>=8'} - chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} @@ -479,10 +333,6 @@ packages: chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - chokidar@4.0.1: - resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==} - engines: {node: '>= 14.16.0'} - ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} @@ -494,10 +344,6 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} @@ -505,10 +351,6 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - consola@3.2.3: - resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} - engines: {node: ^14.18.0 || >=16.10.0} - cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -525,15 +367,6 @@ packages: supports-color: optional: true - debug@4.3.7: - resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} @@ -546,20 +379,11 @@ packages: resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==} engines: {node: '>=10'} - eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - ejs@3.1.10: resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} engines: {node: '>=0.10.0'} hasBin: true - emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - - emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -588,14 +412,6 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fdir@6.4.2: - resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} - peerDependencies: - picomatch: ^3 || ^4 - peerDependenciesMeta: - picomatch: - optional: true - filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} @@ -610,10 +426,6 @@ packages: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} - foreground-child@3.3.0: - resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} - engines: {node: '>=14'} - fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -622,11 +434,6 @@ packages: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} - fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - genversion@3.2.0: resolution: {integrity: sha512-OIYSX6XYA8PHecLDCTri30hadSZfAjZ8Iq1+BBDXqLWP4dRLuJNLoNjsSWtTpw97IccK2LDWzkEstxAB8GdN7g==} engines: {node: '>=10.0.0'} @@ -636,10 +443,6 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} - glob@10.4.5: - resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} - hasBin: true - globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -666,10 +469,6 @@ packages: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} - is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -689,18 +488,11 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - jackspeak@3.4.3: - resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - jake@10.9.2: resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} engines: {node: '>=10'} hasBin: true - joycon@3.1.1: - resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} - engines: {node: '>=10'} - js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -708,30 +500,13 @@ packages: jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - lilconfig@3.1.2: - resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} - engines: {node: '>=14'} - - lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - - load-tsconfig@0.2.5: - resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} - lodash.sortby@4.7.0: - resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} - lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} - lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -747,14 +522,6 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} - minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} - - minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} - engines: {node: '>=16 || 14 >=14.17'} - mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -762,12 +529,6 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - - mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -777,10 +538,6 @@ packages: encoding: optional: true - object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - os-tmpdir@1.0.2: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} @@ -808,9 +565,6 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - package-json-from-dist@1.0.1: - resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} - package-manager-detector@0.2.5: resolution: {integrity: sha512-3dS7y28uua+UDbRCLBqltMBrbI+A5U2mI9YuxHRxIWYmLj3DwntEBmERYzIAQ4DMeuCUOBSak7dBHHoXKpOTYQ==} @@ -829,10 +583,6 @@ packages: resolution: {integrity: sha512-Y30dB6rab1A/nfEKsZxmr01nUotHX0c/ZiIAsCTatEe1CmS5Pm5He7fZ195bPT7RdquoaL8lLxFCMQi/bS7IJg==} engines: {node: '>= 0.8.0'} - path-scurry@1.11.1: - resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} - engines: {node: '>=16 || 14 >=14.18'} - path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -844,45 +594,15 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - picomatch@4.0.2: - resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} - engines: {node: '>=12'} - pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} - pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - - postcss-load-config@6.0.1: - resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} - engines: {node: '>= 18'} - peerDependencies: - jiti: '>=1.21.0' - postcss: '>=8.0.9' - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - jiti: - optional: true - postcss: - optional: true - tsx: - optional: true - yaml: - optional: true - prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true - punycode@2.3.1: - resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} - engines: {node: '>=6'} - queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -890,10 +610,6 @@ packages: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} - readdirp@4.0.2: - resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} - engines: {node: '>= 14.16.0'} - regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} @@ -905,11 +621,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rollup@4.27.4: - resolution: {integrity: sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -937,41 +648,20 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - source-map@0.8.0-beta.0: - resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} - engines: {node: '>= 8'} - spawndamnit@3.0.1: resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} - string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - - string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} - strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} - sucrase@3.35.0: - resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} @@ -980,20 +670,6 @@ packages: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} - thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} - - thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - - tinyexec@0.3.1: - resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==} - - tinyglobby@0.2.10: - resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} - engines: {node: '>=12.0.0'} - tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -1005,45 +681,11 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@1.0.1: - resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} - - tree-kill@1.2.2: - resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} - hasBin: true - - ts-interface-checker@0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - - tsup@8.3.5: - resolution: {integrity: sha512-Tunf6r6m6tnZsG9GYWndg0z8dEV7fD733VBFzFJ5Vcm1FtlXB8xBD/rtrBi2a3YKEV7hHtxiZtW5EAVADoe1pA==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - '@microsoft/api-extractor': ^7.36.0 - '@swc/core': ^1 - postcss: ^8.4.12 - typescript: '>=4.5.0' - peerDependenciesMeta: - '@microsoft/api-extractor': - optional: true - '@swc/core': - optional: true - postcss: - optional: true - typescript: - optional: true - typescript@4.5.2: resolution: {integrity: sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==} engines: {node: '>=4.2.0'} hasBin: true - typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true - universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -1051,28 +693,14 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - webidl-conversions@4.0.2: - resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} - whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - whatwg-url@7.1.0: - resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} hasBin: true - wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - - wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} - snapshots: '@babel/runtime@7.26.0': @@ -1320,32 +948,6 @@ snapshots: '@esbuild/win32-x64@0.24.0': optional: true - '@isaacs/cliui@8.0.2': - dependencies: - string-width: 5.1.2 - string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: wrap-ansi@7.0.0 - - '@jridgewell/gen-mapping@0.3.5': - dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 - - '@jridgewell/resolve-uri@3.1.2': {} - - '@jridgewell/set-array@1.2.1': {} - - '@jridgewell/sourcemap-codec@1.5.0': {} - - '@jridgewell/trace-mapping@0.3.25': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - '@livekit/changesets-changelog-github@0.0.4': dependencies: '@changesets/get-github-info': 0.5.2 @@ -1382,65 +984,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@pkgjs/parseargs@0.11.0': - optional: true - - '@rollup/rollup-android-arm-eabi@4.27.4': - optional: true - - '@rollup/rollup-android-arm64@4.27.4': - optional: true - - '@rollup/rollup-darwin-arm64@4.27.4': - optional: true - - '@rollup/rollup-darwin-x64@4.27.4': - optional: true - - '@rollup/rollup-freebsd-arm64@4.27.4': - optional: true - - '@rollup/rollup-freebsd-x64@4.27.4': - optional: true - - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': - optional: true - - '@rollup/rollup-linux-arm-musleabihf@4.27.4': - optional: true - - '@rollup/rollup-linux-arm64-gnu@4.27.4': - optional: true - - '@rollup/rollup-linux-arm64-musl@4.27.4': - optional: true - - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': - optional: true - - '@rollup/rollup-linux-riscv64-gnu@4.27.4': - optional: true - - '@rollup/rollup-linux-s390x-gnu@4.27.4': - optional: true - - '@rollup/rollup-linux-x64-gnu@4.27.4': - optional: true - - '@rollup/rollup-linux-x64-musl@4.27.4': - optional: true - - '@rollup/rollup-win32-arm64-msvc@4.27.4': - optional: true - - '@rollup/rollup-win32-ia32-msvc@4.27.4': - optional: true - - '@rollup/rollup-win32-x64-msvc@4.27.4': - optional: true - - '@types/estree@1.0.6': {} - '@types/node@12.20.55': {} '@typescript/vfs@1.5.3(typescript@4.5.2)': @@ -1454,16 +997,10 @@ snapshots: ansi-regex@5.0.1: {} - ansi-regex@6.1.0: {} - ansi-styles@4.3.0: dependencies: color-convert: 2.0.1 - ansi-styles@6.2.1: {} - - any-promise@1.3.0: {} - argparse@1.0.10: dependencies: sprintf-js: 1.0.3 @@ -1491,13 +1028,6 @@ snapshots: dependencies: fill-range: 7.1.1 - bundle-require@5.0.0(esbuild@0.24.0): - dependencies: - esbuild: 0.24.0 - load-tsconfig: 0.2.5 - - cac@6.7.14: {} - chalk@4.1.2: dependencies: ansi-styles: 4.3.0 @@ -1505,10 +1035,6 @@ snapshots: chardet@0.7.0: {} - chokidar@4.0.1: - dependencies: - readdirp: 4.0.2 - ci-info@3.9.0: {} color-convert@2.0.1: @@ -1517,14 +1043,10 @@ snapshots: color-name@1.1.4: {} - commander@4.1.1: {} - commander@7.2.0: {} concat-map@0.0.1: {} - consola@3.2.3: {} - cross-spawn@7.0.6: dependencies: path-key: 3.1.1 @@ -1537,10 +1059,6 @@ snapshots: dependencies: ms: 2.1.2 - debug@4.3.7: - dependencies: - ms: 2.1.3 - detect-indent@6.1.0: {} dir-glob@3.0.1: @@ -1549,16 +1067,10 @@ snapshots: dotenv@8.6.0: {} - eastasianwidth@0.2.0: {} - ejs@3.1.10: dependencies: jake: 10.9.2 - emoji-regex@8.0.0: {} - - emoji-regex@9.2.2: {} - enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 @@ -1613,10 +1125,6 @@ snapshots: dependencies: reusify: 1.0.4 - fdir@6.4.2(picomatch@4.0.2): - optionalDependencies: - picomatch: 4.0.2 - filelist@1.0.4: dependencies: minimatch: 5.1.6 @@ -1634,11 +1142,6 @@ snapshots: locate-path: 5.0.0 path-exists: 4.0.0 - foreground-child@3.3.0: - dependencies: - cross-spawn: 7.0.6 - signal-exit: 4.1.0 - fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 @@ -1651,9 +1154,6 @@ snapshots: jsonfile: 4.0.0 universalify: 0.1.2 - fsevents@2.3.3: - optional: true - genversion@3.2.0: dependencies: commander: 7.2.0 @@ -1664,15 +1164,6 @@ snapshots: dependencies: is-glob: 4.0.3 - glob@10.4.5: - dependencies: - foreground-child: 3.3.0 - jackspeak: 3.4.3 - minimatch: 9.0.5 - minipass: 7.1.2 - package-json-from-dist: 1.0.1 - path-scurry: 1.11.1 - globby@11.1.0: dependencies: array-union: 2.1.0 @@ -1696,8 +1187,6 @@ snapshots: is-extglob@2.1.1: {} - is-fullwidth-code-point@3.0.0: {} - is-glob@4.0.3: dependencies: is-extglob: 2.1.1 @@ -1712,12 +1201,6 @@ snapshots: isexe@2.0.0: {} - jackspeak@3.4.3: - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 - jake@10.9.2: dependencies: async: 3.2.6 @@ -1725,8 +1208,6 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 - joycon@3.1.1: {} - js-yaml@3.14.1: dependencies: argparse: 1.0.10 @@ -1736,22 +1217,12 @@ snapshots: optionalDependencies: graceful-fs: 4.2.11 - lilconfig@3.1.2: {} - - lines-and-columns@1.2.4: {} - - load-tsconfig@0.2.5: {} - locate-path@5.0.0: dependencies: p-locate: 4.1.0 - lodash.sortby@4.7.0: {} - lodash.startcase@4.4.0: {} - lru-cache@10.4.3: {} - merge2@1.4.1: {} micromatch@4.0.8: @@ -1767,30 +1238,14 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.5: - dependencies: - brace-expansion: 2.0.1 - - minipass@7.1.2: {} - mri@1.2.0: {} ms@2.1.2: {} - ms@2.1.3: {} - - mz@2.7.0: - dependencies: - any-promise: 1.3.0 - object-assign: 4.1.1 - thenify-all: 1.6.0 - node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 - object-assign@4.1.1: {} - os-tmpdir@1.0.2: {} outdent@0.5.0: {} @@ -1811,8 +1266,6 @@ snapshots: p-try@2.2.0: {} - package-json-from-dist@1.0.1: {} - package-manager-detector@0.2.5: {} parents@1.0.1: @@ -1825,31 +1278,16 @@ snapshots: path-platform@0.11.15: {} - path-scurry@1.11.1: - dependencies: - lru-cache: 10.4.3 - minipass: 7.1.2 - path-type@4.0.0: {} picocolors@1.1.1: {} picomatch@2.3.1: {} - picomatch@4.0.2: {} - pify@4.0.1: {} - pirates@4.0.6: {} - - postcss-load-config@6.0.1: - dependencies: - lilconfig: 3.1.2 - prettier@2.8.8: {} - punycode@2.3.1: {} - queue-microtask@1.2.3: {} read-yaml-file@1.1.0: @@ -1859,38 +1297,12 @@ snapshots: pify: 4.0.1 strip-bom: 3.0.0 - readdirp@4.0.2: {} - regenerator-runtime@0.14.1: {} resolve-from@5.0.0: {} reusify@1.0.4: {} - rollup@4.27.4: - dependencies: - '@types/estree': 1.0.6 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.27.4 - '@rollup/rollup-android-arm64': 4.27.4 - '@rollup/rollup-darwin-arm64': 4.27.4 - '@rollup/rollup-darwin-x64': 4.27.4 - '@rollup/rollup-freebsd-arm64': 4.27.4 - '@rollup/rollup-freebsd-x64': 4.27.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.27.4 - '@rollup/rollup-linux-arm-musleabihf': 4.27.4 - '@rollup/rollup-linux-arm64-gnu': 4.27.4 - '@rollup/rollup-linux-arm64-musl': 4.27.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.27.4 - '@rollup/rollup-linux-riscv64-gnu': 4.27.4 - '@rollup/rollup-linux-s390x-gnu': 4.27.4 - '@rollup/rollup-linux-x64-gnu': 4.27.4 - '@rollup/rollup-linux-x64-musl': 4.27.4 - '@rollup/rollup-win32-arm64-msvc': 4.27.4 - '@rollup/rollup-win32-ia32-msvc': 4.27.4 - '@rollup/rollup-win32-x64-msvc': 4.27.4 - fsevents: 2.3.3 - run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -1909,10 +1321,6 @@ snapshots: slash@3.0.0: {} - source-map@0.8.0-beta.0: - dependencies: - whatwg-url: 7.1.0 - spawndamnit@3.0.1: dependencies: cross-spawn: 7.0.6 @@ -1920,59 +1328,18 @@ snapshots: sprintf-js@1.0.3: {} - string-width@4.2.3: - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - - string-width@5.1.2: - dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 9.2.2 - strip-ansi: 7.1.0 - strip-ansi@6.0.1: dependencies: ansi-regex: 5.0.1 - strip-ansi@7.1.0: - dependencies: - ansi-regex: 6.1.0 - strip-bom@3.0.0: {} - sucrase@3.35.0: - dependencies: - '@jridgewell/gen-mapping': 0.3.5 - commander: 4.1.1 - glob: 10.4.5 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.6 - ts-interface-checker: 0.1.13 - supports-color@7.2.0: dependencies: has-flag: 4.0.0 term-size@2.2.1: {} - thenify-all@1.6.0: - dependencies: - thenify: 3.3.1 - - thenify@3.3.1: - dependencies: - any-promise: 1.3.0 - - tinyexec@0.3.1: {} - - tinyglobby@0.2.10: - dependencies: - fdir: 6.4.2(picomatch@4.0.2) - picomatch: 4.0.2 - tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -1983,73 +1350,17 @@ snapshots: tr46@0.0.3: {} - tr46@1.0.1: - dependencies: - punycode: 2.3.1 - - tree-kill@1.2.2: {} - - ts-interface-checker@0.1.13: {} - - tsup@8.3.5(typescript@5.2.2): - dependencies: - bundle-require: 5.0.0(esbuild@0.24.0) - cac: 6.7.14 - chokidar: 4.0.1 - consola: 3.2.3 - debug: 4.3.7 - esbuild: 0.24.0 - joycon: 3.1.1 - picocolors: 1.1.1 - postcss-load-config: 6.0.1 - resolve-from: 5.0.0 - rollup: 4.27.4 - source-map: 0.8.0-beta.0 - sucrase: 3.35.0 - tinyexec: 0.3.1 - tinyglobby: 0.2.10 - tree-kill: 1.2.2 - optionalDependencies: - typescript: 5.2.2 - transitivePeerDependencies: - - jiti - - supports-color - - tsx - - yaml - typescript@4.5.2: {} - typescript@5.2.2: {} - universalify@0.1.2: {} webidl-conversions@3.0.1: {} - webidl-conversions@4.0.2: {} - whatwg-url@5.0.0: dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 - whatwg-url@7.1.0: - dependencies: - lodash.sortby: 4.7.0 - tr46: 1.0.1 - webidl-conversions: 4.0.2 - which@2.0.2: dependencies: isexe: 2.0.0 - - wrap-ansi@7.0.0: - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - - wrap-ansi@8.1.0: - dependencies: - ansi-styles: 6.2.1 - string-width: 5.1.2 - strip-ansi: 7.1.0 From 5842552434cbbd20fc7f6413aea695e059508c26 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 13:01:00 +0100 Subject: [PATCH 2/6] delete dist --- .../dist/gen/livekit_agent_dispatch_pb.cjs | 385 -- .../gen/livekit_agent_dispatch_pb.cjs.map | 1 - .../dist/gen/livekit_agent_dispatch_pb.d.ts | 174 - .../gen/livekit_agent_dispatch_pb.d.ts.map | 1 - .../dist/gen/livekit_agent_dispatch_pb.js | 356 -- .../dist/gen/livekit_agent_dispatch_pb.js.map | 1 - .../javascript/dist/gen/livekit_agent_pb.cjs | 881 ---- .../dist/gen/livekit_agent_pb.cjs.map | 1 - .../javascript/dist/gen/livekit_agent_pb.d.ts | 575 --- .../dist/gen/livekit_agent_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_agent_pb.js | 840 ---- .../dist/gen/livekit_agent_pb.js.map | 1 - .../dist/gen/livekit_analytics_pb.cjs | 1087 ----- .../dist/gen/livekit_analytics_pb.cjs.map | 1 - .../dist/gen/livekit_analytics_pb.d.ts | 679 --- .../dist/gen/livekit_analytics_pb.d.ts.map | 1 - .../dist/gen/livekit_analytics_pb.js | 1053 ----- .../dist/gen/livekit_analytics_pb.js.map | 1 - .../javascript/dist/gen/livekit_egress_pb.cjs | 2476 ----------- .../dist/gen/livekit_egress_pb.cjs.map | 1 - .../dist/gen/livekit_egress_pb.d.ts | 1720 -------- .../dist/gen/livekit_egress_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_egress_pb.js | 2417 ----------- .../dist/gen/livekit_egress_pb.js.map | 1 - .../dist/gen/livekit_ingress_pb.cjs | 1050 ----- .../dist/gen/livekit_ingress_pb.cjs.map | 1 - .../dist/gen/livekit_ingress_pb.d.ts | 660 --- .../dist/gen/livekit_ingress_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_ingress_pb.js | 1011 ----- .../dist/gen/livekit_ingress_pb.js.map | 1 - .../dist/gen/livekit_internal_pb.cjs | 998 ----- .../dist/gen/livekit_internal_pb.cjs.map | 1 - .../dist/gen/livekit_internal_pb.d.ts | 481 --- .../dist/gen/livekit_internal_pb.d.ts.map | 1 - .../dist/gen/livekit_internal_pb.js | 968 ----- .../dist/gen/livekit_internal_pb.js.map | 1 - .../dist/gen/livekit_metrics_pb.cjs | 371 -- .../dist/gen/livekit_metrics_pb.cjs.map | 1 - .../dist/gen/livekit_metrics_pb.d.ts | 304 -- .../dist/gen/livekit_metrics_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_metrics_pb.js | 344 -- .../dist/gen/livekit_metrics_pb.js.map | 1 - .../javascript/dist/gen/livekit_models_pb.cjs | 3668 ----------------- .../dist/gen/livekit_models_pb.cjs.map | 1 - .../dist/gen/livekit_models_pb.d.ts | 2265 ---------- .../dist/gen/livekit_models_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_models_pb.js | 3588 ---------------- .../dist/gen/livekit_models_pb.js.map | 1 - .../javascript/dist/gen/livekit_room_pb.cjs | 1080 ----- .../dist/gen/livekit_room_pb.cjs.map | 1 - .../javascript/dist/gen/livekit_room_pb.d.ts | 580 --- .../dist/gen/livekit_room_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_room_pb.js | 1038 ----- .../dist/gen/livekit_room_pb.js.map | 1 - .../javascript/dist/gen/livekit_rtc_pb.cjs | 2261 ---------- .../dist/gen/livekit_rtc_pb.cjs.map | 1 - .../javascript/dist/gen/livekit_rtc_pb.d.ts | 1602 ------- .../dist/gen/livekit_rtc_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_rtc_pb.js | 2192 ---------- .../javascript/dist/gen/livekit_rtc_pb.js.map | 1 - .../javascript/dist/gen/livekit_sip_pb.cjs | 2118 ---------- .../dist/gen/livekit_sip_pb.cjs.map | 1 - .../javascript/dist/gen/livekit_sip_pb.d.ts | 1226 ------ .../dist/gen/livekit_sip_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_sip_pb.js | 2061 --------- .../javascript/dist/gen/livekit_sip_pb.js.map | 1 - .../dist/gen/livekit_webhook_pb.cjs | 111 - .../dist/gen/livekit_webhook_pb.cjs.map | 1 - .../dist/gen/livekit_webhook_pb.d.ts | 71 - .../dist/gen/livekit_webhook_pb.d.ts.map | 1 - .../javascript/dist/gen/livekit_webhook_pb.js | 88 - .../dist/gen/livekit_webhook_pb.js.map | 1 - packages/javascript/dist/gen/version.cjs | 28 - packages/javascript/dist/gen/version.cjs.map | 1 - packages/javascript/dist/gen/version.d.ts | 2 - packages/javascript/dist/gen/version.d.ts.map | 1 - packages/javascript/dist/gen/version.js | 5 - packages/javascript/dist/gen/version.js.map | 1 - packages/javascript/dist/index.cjs | 51 - packages/javascript/dist/index.cjs.map | 1 - packages/javascript/dist/index.d.ts | 13 - packages/javascript/dist/index.d.ts.map | 1 - packages/javascript/dist/index.js | 16 - packages/javascript/dist/index.js.map | 1 - 84 files changed, 42936 deletions(-) delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_agent_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_analytics_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_egress_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_ingress_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_internal_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_metrics_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_models_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_room_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_rtc_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_sip_pb.js.map delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.cjs delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.cjs.map delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.d.ts delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.js delete mode 100644 packages/javascript/dist/gen/livekit_webhook_pb.js.map delete mode 100644 packages/javascript/dist/gen/version.cjs delete mode 100644 packages/javascript/dist/gen/version.cjs.map delete mode 100644 packages/javascript/dist/gen/version.d.ts delete mode 100644 packages/javascript/dist/gen/version.d.ts.map delete mode 100644 packages/javascript/dist/gen/version.js delete mode 100644 packages/javascript/dist/gen/version.js.map delete mode 100644 packages/javascript/dist/index.cjs delete mode 100644 packages/javascript/dist/index.cjs.map delete mode 100644 packages/javascript/dist/index.d.ts delete mode 100644 packages/javascript/dist/index.d.ts.map delete mode 100644 packages/javascript/dist/index.js delete mode 100644 packages/javascript/dist/index.js.map diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs deleted file mode 100644 index ca2a4f9a..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs +++ /dev/null @@ -1,385 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_agent_dispatch_pb_exports = {}; -__export(livekit_agent_dispatch_pb_exports, { - AgentDispatch: () => AgentDispatch, - AgentDispatchState: () => AgentDispatchState, - CreateAgentDispatchRequest: () => CreateAgentDispatchRequest, - DeleteAgentDispatchRequest: () => DeleteAgentDispatchRequest, - ListAgentDispatchRequest: () => ListAgentDispatchRequest, - ListAgentDispatchResponse: () => ListAgentDispatchResponse, - RoomAgentDispatch: () => RoomAgentDispatch -}); -module.exports = __toCommonJS(livekit_agent_dispatch_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_agent_pb = require("./livekit_agent_pb.cjs"); -const _CreateAgentDispatchRequest = class _CreateAgentDispatchRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string agent_name = 1; - */ - this.agentName = ""; - /** - * @generated from field: string room = 2; - */ - this.room = ""; - /** - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateAgentDispatchRequest, a, b); - } -}; -_CreateAgentDispatchRequest.runtime = import_protobuf.proto3; -_CreateAgentDispatchRequest.typeName = "livekit.CreateAgentDispatchRequest"; -_CreateAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let CreateAgentDispatchRequest = _CreateAgentDispatchRequest; -const _RoomAgentDispatch = class _RoomAgentDispatch extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string agent_name = 1; - */ - this.agentName = ""; - /** - * @generated from field: string metadata = 2; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomAgentDispatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomAgentDispatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomAgentDispatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomAgentDispatch, a, b); - } -}; -_RoomAgentDispatch.runtime = import_protobuf.proto3; -_RoomAgentDispatch.typeName = "livekit.RoomAgentDispatch"; -_RoomAgentDispatch.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RoomAgentDispatch = _RoomAgentDispatch; -const _DeleteAgentDispatchRequest = class _DeleteAgentDispatchRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string dispatch_id = 1; - */ - this.dispatchId = ""; - /** - * @generated from field: string room = 2; - */ - this.room = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteAgentDispatchRequest, a, b); - } -}; -_DeleteAgentDispatchRequest.runtime = import_protobuf.proto3; -_DeleteAgentDispatchRequest.typeName = "livekit.DeleteAgentDispatchRequest"; -_DeleteAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteAgentDispatchRequest = _DeleteAgentDispatchRequest; -const _ListAgentDispatchRequest = class _ListAgentDispatchRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * if set, only the dispatch whose id is given will be returned - * - * @generated from field: string dispatch_id = 1; - */ - this.dispatchId = ""; - /** - * name of the room to list agents for. Must be set. - * - * @generated from field: string room = 2; - */ - this.room = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListAgentDispatchRequest, a, b); - } -}; -_ListAgentDispatchRequest.runtime = import_protobuf.proto3; -_ListAgentDispatchRequest.typeName = "livekit.ListAgentDispatchRequest"; -_ListAgentDispatchRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListAgentDispatchRequest = _ListAgentDispatchRequest; -const _ListAgentDispatchResponse = class _ListAgentDispatchResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; - */ - this.agentDispatches = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListAgentDispatchResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListAgentDispatchResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListAgentDispatchResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListAgentDispatchResponse, a, b); - } -}; -_ListAgentDispatchResponse.runtime = import_protobuf.proto3; -_ListAgentDispatchResponse.typeName = "livekit.ListAgentDispatchResponse"; -_ListAgentDispatchResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true } -]); -let ListAgentDispatchResponse = _ListAgentDispatchResponse; -const _AgentDispatch = class _AgentDispatch extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string agent_name = 2; - */ - this.agentName = ""; - /** - * @generated from field: string room = 3; - */ - this.room = ""; - /** - * @generated from field: string metadata = 4; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AgentDispatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AgentDispatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AgentDispatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AgentDispatch, a, b); - } -}; -_AgentDispatch.runtime = import_protobuf.proto3; -_AgentDispatch.typeName = "livekit.AgentDispatch"; -_AgentDispatch.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "state", kind: "message", T: AgentDispatchState } -]); -let AgentDispatch = _AgentDispatch; -const _AgentDispatchState = class _AgentDispatchState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * For dispatches of tyoe JT_ROOM, there will be at most 1 job. - * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - * - * @generated from field: repeated livekit.Job jobs = 1; - */ - this.jobs = []; - /** - * @generated from field: int64 created_at = 2; - */ - this.createdAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 deleted_at = 3; - */ - this.deletedAt = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AgentDispatchState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AgentDispatchState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AgentDispatchState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AgentDispatchState, a, b); - } -}; -_AgentDispatchState.runtime = import_protobuf.proto3; -_AgentDispatchState.typeName = "livekit.AgentDispatchState"; -_AgentDispatchState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "jobs", kind: "message", T: import_livekit_agent_pb.Job, repeated: true }, - { - no: 2, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "deleted_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let AgentDispatchState = _AgentDispatchState; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - AgentDispatch, - AgentDispatchState, - CreateAgentDispatchRequest, - DeleteAgentDispatchRequest, - ListAgentDispatchRequest, - ListAgentDispatchResponse, - RoomAgentDispatch -}); -//# sourceMappingURL=livekit_agent_dispatch_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map deleted file mode 100644 index e0c0d7da..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { Job } from \"./livekit_agent_pb.js\";\n\n/**\n * @generated from message livekit.CreateAgentDispatchRequest\n */\nexport class CreateAgentDispatchRequest extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgentDispatch\n */\nexport class RoomAgentDispatch extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteAgentDispatchRequest\n */\nexport class DeleteAgentDispatchRequest extends Message {\n /**\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchRequest\n */\nexport class ListAgentDispatchRequest extends Message {\n /**\n * if set, only the dispatch whose id is given will be returned\n *\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * name of the room to list agents for. Must be set.\n *\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchResponse\n */\nexport class ListAgentDispatchResponse extends Message {\n /**\n * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1;\n */\n agentDispatches: AgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_dispatches\", kind: \"message\", T: AgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatch\n */\nexport class AgentDispatch extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string agent_name = 2;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 3;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 4;\n */\n metadata = \"\";\n\n /**\n * @generated from field: livekit.AgentDispatchState state = 5;\n */\n state?: AgentDispatchState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"state\", kind: \"message\", T: AgentDispatchState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatchState\n */\nexport class AgentDispatchState extends Message {\n /**\n * For dispatches of tyoe JT_ROOM, there will be at most 1 job. \n * For dispatches of type JT_PUBLISHER, there will be 1 per publisher.\n *\n * @generated from field: repeated livekit.Job jobs = 1;\n */\n jobs: Job[] = [];\n\n /**\n * @generated from field: int64 created_at = 2;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 deleted_at = 3;\n */\n deletedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatchState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"jobs\", kind: \"message\", T: Job, repeated: true },\n { no: 2, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"deleted_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatchState, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,8BAAoB;AAKb,MAAM,8BAAN,MAAM,oCAAmC,wBAAoC;AAAA,EAgBlF,YAAY,MAAmD;AAC7D,UAAM;AAbR;AAAA;AAAA;AAAA,qBAAY;AAKZ;AAAA;AAAA;AAAA,gBAAO;AAKP;AAAA;AAAA;AAAA,oBAAW;AAIT,2BAAO,KAAK,YAAY,MAAM,IAA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A,OAAO,SAAS,WAAsB,SAAwD;AAC5F,WAAO,IAAI,oBAAmB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC7D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAwD;AAChG,WAAO,IAAI,oBAAmB,EAAE,eAAe,YAAY,OAAO;AAAA,EACpE;AAAA,EAEA,OAAO,OAAO,GAAsE,GAA+E;AACjK,WAAO,uBAAO,KAAK,OAAO,qBAAoB,GAAG,CAAC;AAAA,EACpD;AACF;AA/Ca,oBAwBK,UAAyB;AAxB9B,oBAyBK,WAAW;AAzBhB,oBA0BK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,6BAAK,UAAU,KAAK;AAAA,EAC/D;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC3E,CAAC;AA9BI,IAAM,qBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts deleted file mode 100644 index 8d0c73b4..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts +++ /dev/null @@ -1,174 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { Job } from "./livekit_agent_pb.js"; -/** - * @generated from message livekit.CreateAgentDispatchRequest - */ -export declare class CreateAgentDispatchRequest extends Message { - /** - * @generated from field: string agent_name = 1; - */ - agentName: string; - /** - * @generated from field: string room = 2; - */ - room: string; - /** - * @generated from field: string metadata = 3; - */ - metadata: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateAgentDispatchRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest; - static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomAgentDispatch - */ -export declare class RoomAgentDispatch extends Message { - /** - * @generated from field: string agent_name = 1; - */ - agentName: string; - /** - * @generated from field: string metadata = 2; - */ - metadata: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomAgentDispatch"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch; - static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch; - static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteAgentDispatchRequest - */ -export declare class DeleteAgentDispatchRequest extends Message { - /** - * @generated from field: string dispatch_id = 1; - */ - dispatchId: string; - /** - * @generated from field: string room = 2; - */ - room: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteAgentDispatchRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest; - static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest; - static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListAgentDispatchRequest - */ -export declare class ListAgentDispatchRequest extends Message { - /** - * if set, only the dispatch whose id is given will be returned - * - * @generated from field: string dispatch_id = 1; - */ - dispatchId: string; - /** - * name of the room to list agents for. Must be set. - * - * @generated from field: string room = 2; - */ - room: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListAgentDispatchRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest; - static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest; - static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListAgentDispatchResponse - */ -export declare class ListAgentDispatchResponse extends Message { - /** - * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; - */ - agentDispatches: AgentDispatch[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListAgentDispatchResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse; - static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse; - static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AgentDispatch - */ -export declare class AgentDispatch extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string agent_name = 2; - */ - agentName: string; - /** - * @generated from field: string room = 3; - */ - room: string; - /** - * @generated from field: string metadata = 4; - */ - metadata: string; - /** - * @generated from field: livekit.AgentDispatchState state = 5; - */ - state?: AgentDispatchState; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AgentDispatch"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch; - static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch; - static fromJsonString(jsonString: string, options?: Partial): AgentDispatch; - static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AgentDispatchState - */ -export declare class AgentDispatchState extends Message { - /** - * For dispatches of tyoe JT_ROOM, there will be at most 1 job. - * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - * - * @generated from field: repeated livekit.Job jobs = 1; - */ - jobs: Job[]; - /** - * @generated from field: int64 created_at = 2; - */ - createdAt: bigint; - /** - * @generated from field: int64 deleted_at = 3; - */ - deletedAt: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AgentDispatchState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState; - static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState; - static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState; - static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_agent_dispatch_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map deleted file mode 100644 index d4d252ac..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_agent_dispatch_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE5C;;GAEG;AACH,qB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AAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js deleted file mode 100644 index 2ca0055a..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js +++ /dev/null @@ -1,356 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { Job } from "./livekit_agent_pb.js"; -const _CreateAgentDispatchRequest = class _CreateAgentDispatchRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string agent_name = 1; - */ - this.agentName = ""; - /** - * @generated from field: string room = 2; - */ - this.room = ""; - /** - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateAgentDispatchRequest, a, b); - } -}; -_CreateAgentDispatchRequest.runtime = proto3; -_CreateAgentDispatchRequest.typeName = "livekit.CreateAgentDispatchRequest"; -_CreateAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let CreateAgentDispatchRequest = _CreateAgentDispatchRequest; -const _RoomAgentDispatch = class _RoomAgentDispatch extends Message { - constructor(data) { - super(); - /** - * @generated from field: string agent_name = 1; - */ - this.agentName = ""; - /** - * @generated from field: string metadata = 2; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomAgentDispatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomAgentDispatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomAgentDispatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomAgentDispatch, a, b); - } -}; -_RoomAgentDispatch.runtime = proto3; -_RoomAgentDispatch.typeName = "livekit.RoomAgentDispatch"; -_RoomAgentDispatch.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RoomAgentDispatch = _RoomAgentDispatch; -const _DeleteAgentDispatchRequest = class _DeleteAgentDispatchRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string dispatch_id = 1; - */ - this.dispatchId = ""; - /** - * @generated from field: string room = 2; - */ - this.room = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteAgentDispatchRequest, a, b); - } -}; -_DeleteAgentDispatchRequest.runtime = proto3; -_DeleteAgentDispatchRequest.typeName = "livekit.DeleteAgentDispatchRequest"; -_DeleteAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteAgentDispatchRequest = _DeleteAgentDispatchRequest; -const _ListAgentDispatchRequest = class _ListAgentDispatchRequest extends Message { - constructor(data) { - super(); - /** - * if set, only the dispatch whose id is given will be returned - * - * @generated from field: string dispatch_id = 1; - */ - this.dispatchId = ""; - /** - * name of the room to list agents for. Must be set. - * - * @generated from field: string room = 2; - */ - this.room = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListAgentDispatchRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListAgentDispatchRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListAgentDispatchRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListAgentDispatchRequest, a, b); - } -}; -_ListAgentDispatchRequest.runtime = proto3; -_ListAgentDispatchRequest.typeName = "livekit.ListAgentDispatchRequest"; -_ListAgentDispatchRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListAgentDispatchRequest = _ListAgentDispatchRequest; -const _ListAgentDispatchResponse = class _ListAgentDispatchResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; - */ - this.agentDispatches = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListAgentDispatchResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListAgentDispatchResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListAgentDispatchResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListAgentDispatchResponse, a, b); - } -}; -_ListAgentDispatchResponse.runtime = proto3; -_ListAgentDispatchResponse.typeName = "livekit.ListAgentDispatchResponse"; -_ListAgentDispatchResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true } -]); -let ListAgentDispatchResponse = _ListAgentDispatchResponse; -const _AgentDispatch = class _AgentDispatch extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string agent_name = 2; - */ - this.agentName = ""; - /** - * @generated from field: string room = 3; - */ - this.room = ""; - /** - * @generated from field: string metadata = 4; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AgentDispatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AgentDispatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AgentDispatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AgentDispatch, a, b); - } -}; -_AgentDispatch.runtime = proto3; -_AgentDispatch.typeName = "livekit.AgentDispatch"; -_AgentDispatch.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "state", kind: "message", T: AgentDispatchState } -]); -let AgentDispatch = _AgentDispatch; -const _AgentDispatchState = class _AgentDispatchState extends Message { - constructor(data) { - super(); - /** - * For dispatches of tyoe JT_ROOM, there will be at most 1 job. - * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - * - * @generated from field: repeated livekit.Job jobs = 1; - */ - this.jobs = []; - /** - * @generated from field: int64 created_at = 2; - */ - this.createdAt = protoInt64.zero; - /** - * @generated from field: int64 deleted_at = 3; - */ - this.deletedAt = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AgentDispatchState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AgentDispatchState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AgentDispatchState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AgentDispatchState, a, b); - } -}; -_AgentDispatchState.runtime = proto3; -_AgentDispatchState.typeName = "livekit.AgentDispatchState"; -_AgentDispatchState.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "jobs", kind: "message", T: Job, repeated: true }, - { - no: 2, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "deleted_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let AgentDispatchState = _AgentDispatchState; -export { - AgentDispatch, - AgentDispatchState, - CreateAgentDispatchRequest, - DeleteAgentDispatchRequest, - ListAgentDispatchRequest, - ListAgentDispatchResponse, - RoomAgentDispatch -}; -//# sourceMappingURL=livekit_agent_dispatch_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map b/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map deleted file mode 100644 index 487efcdc..00000000 --- a/packages/javascript/dist/gen/livekit_agent_dispatch_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_agent_dispatch_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { Job } from \"./livekit_agent_pb.js\";\n\n/**\n * @generated from message livekit.CreateAgentDispatchRequest\n */\nexport class CreateAgentDispatchRequest extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest {\n return new CreateAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgentDispatch\n */\nexport class RoomAgentDispatch extends Message {\n /**\n * @generated from field: string agent_name = 1;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch {\n return new RoomAgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteAgentDispatchRequest\n */\nexport class DeleteAgentDispatchRequest extends Message {\n /**\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest {\n return new DeleteAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchRequest\n */\nexport class ListAgentDispatchRequest extends Message {\n /**\n * if set, only the dispatch whose id is given will be returned\n *\n * @generated from field: string dispatch_id = 1;\n */\n dispatchId = \"\";\n\n /**\n * name of the room to list agents for. Must be set.\n *\n * @generated from field: string room = 2;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest {\n return new ListAgentDispatchRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListAgentDispatchResponse\n */\nexport class ListAgentDispatchResponse extends Message {\n /**\n * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1;\n */\n agentDispatches: AgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListAgentDispatchResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"agent_dispatches\", kind: \"message\", T: AgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse {\n return new ListAgentDispatchResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListAgentDispatchResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatch\n */\nexport class AgentDispatch extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string agent_name = 2;\n */\n agentName = \"\";\n\n /**\n * @generated from field: string room = 3;\n */\n room = \"\";\n\n /**\n * @generated from field: string metadata = 4;\n */\n metadata = \"\";\n\n /**\n * @generated from field: livekit.AgentDispatchState state = 5;\n */\n state?: AgentDispatchState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"state\", kind: \"message\", T: AgentDispatchState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatch {\n return new AgentDispatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AgentDispatchState\n */\nexport class AgentDispatchState extends Message {\n /**\n * For dispatches of tyoe JT_ROOM, there will be at most 1 job. \n * For dispatches of type JT_PUBLISHER, there will be 1 per publisher.\n *\n * @generated from field: repeated livekit.Job jobs = 1;\n */\n jobs: Job[] = [];\n\n /**\n * @generated from field: int64 created_at = 2;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 deleted_at = 3;\n */\n deletedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AgentDispatchState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"jobs\", kind: \"message\", T: Job, repeated: true },\n { no: 2, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"deleted_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState {\n return new AgentDispatchState().fromJsonString(jsonString, options);\n }\n\n static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean {\n return proto3.util.equals(AgentDispatchState, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AA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B;AAAA;AAAA;AAAA,qBAAY,WAAW;AAIrB,WAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAUA,OAAO,WAAW,OAAmB,SAA0D;AAC7F,WAAO,IAAI,oBAAmB,EAAE,WAAW,OAAO,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAwD;AAC5F,WAAO,IAAI,oBAAmB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC7D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAwD;AAChG,WAAO,IAAI,oBAAmB,EAAE,eAAe,YAAY,OAAO;AAAA,EACpE;AAAA,EAEA,OAAO,OAAO,GAAsE,GAA+E;AACjK,WAAO,OAAO,KAAK,OAAO,qBAAoB,GAAG,CAAC;AAAA,EACpD;AACF;AA/Ca,oBAwBK,UAAyB;AAxB9B,oBAyBK,WAAW;AAzBhB,oBA0BK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,KAAK,UAAU,KAAK;AAAA,EAC/D;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC3E,CAAC;AA9BI,IAAM,qBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.cjs b/packages/javascript/dist/gen/livekit_agent_pb.cjs deleted file mode 100644 index 428bc252..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.cjs +++ /dev/null @@ -1,881 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_agent_pb_exports = {}; -__export(livekit_agent_pb_exports, { - AvailabilityRequest: () => AvailabilityRequest, - AvailabilityResponse: () => AvailabilityResponse, - Job: () => Job, - JobAssignment: () => JobAssignment, - JobState: () => JobState, - JobStatus: () => JobStatus, - JobTermination: () => JobTermination, - JobType: () => JobType, - MigrateJobRequest: () => MigrateJobRequest, - RegisterWorkerRequest: () => RegisterWorkerRequest, - RegisterWorkerResponse: () => RegisterWorkerResponse, - ServerMessage: () => ServerMessage, - SimulateJobRequest: () => SimulateJobRequest, - UpdateJobStatus: () => UpdateJobStatus, - UpdateWorkerStatus: () => UpdateWorkerStatus, - WorkerMessage: () => WorkerMessage, - WorkerPing: () => WorkerPing, - WorkerPong: () => WorkerPong, - WorkerStatus: () => WorkerStatus -}); -module.exports = __toCommonJS(livekit_agent_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var JobType = /* @__PURE__ */ ((JobType2) => { - JobType2[JobType2["JT_ROOM"] = 0] = "JT_ROOM"; - JobType2[JobType2["JT_PUBLISHER"] = 1] = "JT_PUBLISHER"; - return JobType2; -})(JobType || {}); -import_protobuf.proto3.util.setEnumType(JobType, "livekit.JobType", [ - { no: 0, name: "JT_ROOM" }, - { no: 1, name: "JT_PUBLISHER" } -]); -var WorkerStatus = /* @__PURE__ */ ((WorkerStatus2) => { - WorkerStatus2[WorkerStatus2["WS_AVAILABLE"] = 0] = "WS_AVAILABLE"; - WorkerStatus2[WorkerStatus2["WS_FULL"] = 1] = "WS_FULL"; - return WorkerStatus2; -})(WorkerStatus || {}); -import_protobuf.proto3.util.setEnumType(WorkerStatus, "livekit.WorkerStatus", [ - { no: 0, name: "WS_AVAILABLE" }, - { no: 1, name: "WS_FULL" } -]); -var JobStatus = /* @__PURE__ */ ((JobStatus2) => { - JobStatus2[JobStatus2["JS_PENDING"] = 0] = "JS_PENDING"; - JobStatus2[JobStatus2["JS_RUNNING"] = 1] = "JS_RUNNING"; - JobStatus2[JobStatus2["JS_SUCCESS"] = 2] = "JS_SUCCESS"; - JobStatus2[JobStatus2["JS_FAILED"] = 3] = "JS_FAILED"; - return JobStatus2; -})(JobStatus || {}); -import_protobuf.proto3.util.setEnumType(JobStatus, "livekit.JobStatus", [ - { no: 0, name: "JS_PENDING" }, - { no: 1, name: "JS_RUNNING" }, - { no: 2, name: "JS_SUCCESS" }, - { no: 3, name: "JS_FAILED" } -]); -const _Job = class _Job extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string dispatch_id = 9; - */ - this.dispatchId = ""; - /** - * @generated from field: livekit.JobType type = 2; - */ - this.type = 0 /* JT_ROOM */; - /** - * @generated from field: string namespace = 5 [deprecated = true]; - * @deprecated - */ - this.namespace = ""; - /** - * @generated from field: string metadata = 6; - */ - this.metadata = ""; - /** - * @generated from field: string agent_name = 7; - */ - this.agentName = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Job().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Job().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Job().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Job, a, b); - } -}; -_Job.runtime = import_protobuf.proto3; -_Job.typeName = "livekit.Job"; -_Job.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, - { no: 3, name: "room", kind: "message", T: import_livekit_models_pb.Room }, - { no: 4, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo, opt: true }, - { - no: 5, - name: "namespace", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "state", kind: "message", T: JobState } -]); -let Job = _Job; -const _JobState = class _JobState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobStatus status = 1; - */ - this.status = 0 /* JS_PENDING */; - /** - * @generated from field: string error = 2; - */ - this.error = ""; - /** - * @generated from field: int64 started_at = 3; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 4; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 updated_at = 5; - */ - this.updatedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: string participant_identity = 6; - */ - this.participantIdentity = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_JobState, a, b); - } -}; -_JobState.runtime = import_protobuf.proto3; -_JobState.typeName = "livekit.JobState"; -_JobState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(JobStatus) }, - { - no: 2, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobState = _JobState; -const _WorkerMessage = class _WorkerMessage extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.WorkerMessage.message - */ - this.message = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_WorkerMessage, a, b); - } -}; -_WorkerMessage.runtime = import_protobuf.proto3; -_WorkerMessage.typeName = "livekit.WorkerMessage"; -_WorkerMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, - { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, - { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, - { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, - { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, - { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" } -]); -let WorkerMessage = _WorkerMessage; -const _ServerMessage = class _ServerMessage extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.ServerMessage.message - */ - this.message = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ServerMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ServerMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ServerMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ServerMessage, a, b); - } -}; -_ServerMessage.runtime = import_protobuf.proto3; -_ServerMessage.typeName = "livekit.ServerMessage"; -_ServerMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, - { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, - { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, - { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" } -]); -let ServerMessage = _ServerMessage; -const _SimulateJobRequest = class _SimulateJobRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobType type = 1; - */ - this.type = 0 /* JT_ROOM */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulateJobRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulateJobRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulateJobRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SimulateJobRequest, a, b); - } -}; -_SimulateJobRequest.runtime = import_protobuf.proto3; -_SimulateJobRequest.typeName = "livekit.SimulateJobRequest"; -_SimulateJobRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, - { no: 2, name: "room", kind: "message", T: import_livekit_models_pb.Room }, - { no: 3, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo } -]); -let SimulateJobRequest = _SimulateJobRequest; -const _WorkerPing = class _WorkerPing extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int64 timestamp = 1; - */ - this.timestamp = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerPing().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerPing().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerPing().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_WorkerPing, a, b); - } -}; -_WorkerPing.runtime = import_protobuf.proto3; -_WorkerPing.typeName = "livekit.WorkerPing"; -_WorkerPing.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let WorkerPing = _WorkerPing; -const _WorkerPong = class _WorkerPong extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int64 last_timestamp = 1; - */ - this.lastTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerPong().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerPong().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerPong().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_WorkerPong, a, b); - } -}; -_WorkerPong.runtime = import_protobuf.proto3; -_WorkerPong.typeName = "livekit.WorkerPong"; -_WorkerPong.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "last_timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let WorkerPong = _WorkerPong; -const _RegisterWorkerRequest = class _RegisterWorkerRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobType type = 1; - */ - this.type = 0 /* JT_ROOM */; - /** - * @generated from field: string agent_name = 8; - */ - this.agentName = ""; - /** - * string worker_id = 2; - * - * @generated from field: string version = 3; - */ - this.version = ""; - /** - * string name = 4 [deprecated = true]; - * - * @generated from field: uint32 ping_interval = 5; - */ - this.pingInterval = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegisterWorkerRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegisterWorkerRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegisterWorkerRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RegisterWorkerRequest, a, b); - } -}; -_RegisterWorkerRequest.runtime = import_protobuf.proto3; -_RegisterWorkerRequest.typeName = "livekit.RegisterWorkerRequest"; -_RegisterWorkerRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(JobType) }, - { - no: 8, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "ping_interval", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 6, name: "namespace", kind: "scalar", T: 9, opt: true }, - { no: 7, name: "allowed_permissions", kind: "message", T: import_livekit_models_pb.ParticipantPermission } -]); -let RegisterWorkerRequest = _RegisterWorkerRequest; -const _RegisterWorkerResponse = class _RegisterWorkerResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string worker_id = 1; - */ - this.workerId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegisterWorkerResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegisterWorkerResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegisterWorkerResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RegisterWorkerResponse, a, b); - } -}; -_RegisterWorkerResponse.runtime = import_protobuf.proto3; -_RegisterWorkerResponse.typeName = "livekit.RegisterWorkerResponse"; -_RegisterWorkerResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "worker_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "server_info", kind: "message", T: import_livekit_models_pb.ServerInfo } -]); -let RegisterWorkerResponse = _RegisterWorkerResponse; -const _MigrateJobRequest = class _MigrateJobRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * string job_id = 1 [deprecated = true]; - * - * @generated from field: repeated string job_ids = 2; - */ - this.jobIds = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MigrateJobRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MigrateJobRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MigrateJobRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MigrateJobRequest, a, b); - } -}; -_MigrateJobRequest.runtime = import_protobuf.proto3; -_MigrateJobRequest.typeName = "livekit.MigrateJobRequest"; -_MigrateJobRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 2, name: "job_ids", kind: "scalar", T: 9, repeated: true } -]); -let MigrateJobRequest = _MigrateJobRequest; -const _AvailabilityRequest = class _AvailabilityRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * True when the job was previously assigned to another worker but has been - * migrated due to different reasons (e.g. worker failure, job migration) - * - * @generated from field: bool resuming = 2; - */ - this.resuming = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AvailabilityRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AvailabilityRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AvailabilityRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AvailabilityRequest, a, b); - } -}; -_AvailabilityRequest.runtime = import_protobuf.proto3; -_AvailabilityRequest.typeName = "livekit.AvailabilityRequest"; -_AvailabilityRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "job", kind: "message", T: Job }, - { - no: 2, - name: "resuming", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let AvailabilityRequest = _AvailabilityRequest; -const _AvailabilityResponse = class _AvailabilityResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - /** - * @generated from field: bool available = 2; - */ - this.available = false; - /** - * @generated from field: bool supports_resume = 3; - */ - this.supportsResume = false; - /** - * @generated from field: string participant_name = 4; - */ - this.participantName = ""; - /** - * @generated from field: string participant_identity = 5; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_metadata = 6; - */ - this.participantMetadata = ""; - /** - * @generated from field: map participant_attributes = 7; - */ - this.participantAttributes = {}; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AvailabilityResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AvailabilityResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AvailabilityResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AvailabilityResponse, a, b); - } -}; -_AvailabilityResponse.runtime = import_protobuf.proto3; -_AvailabilityResponse.typeName = "livekit.AvailabilityResponse"; -_AvailabilityResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "available", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "supports_resume", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "participant_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let AvailabilityResponse = _AvailabilityResponse; -const _UpdateJobStatus = class _UpdateJobStatus extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - /** - * The worker can indicate the job end by either specifying SUCCESS or FAILED - * - * @generated from field: livekit.JobStatus status = 2; - */ - this.status = 0 /* JS_PENDING */; - /** - * metadata shown on the dashboard, useful for debugging - * - * @generated from field: string error = 3; - */ - this.error = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateJobStatus().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateJobStatus().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateJobStatus().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateJobStatus, a, b); - } -}; -_UpdateJobStatus.runtime = import_protobuf.proto3; -_UpdateJobStatus.typeName = "livekit.UpdateJobStatus"; -_UpdateJobStatus.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(JobStatus) }, - { - no: 3, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateJobStatus = _UpdateJobStatus; -const _UpdateWorkerStatus = class _UpdateWorkerStatus extends import_protobuf.Message { - constructor(data) { - super(); - /** - * optional string metadata = 2 [deprecated=true]; - * - * @generated from field: float load = 3; - */ - this.load = 0; - /** - * @generated from field: uint32 job_count = 4; - */ - this.jobCount = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateWorkerStatus().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateWorkerStatus().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateWorkerStatus().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateWorkerStatus, a, b); - } -}; -_UpdateWorkerStatus.runtime = import_protobuf.proto3; -_UpdateWorkerStatus.typeName = "livekit.UpdateWorkerStatus"; -_UpdateWorkerStatus.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(WorkerStatus), opt: true }, - { - no: 3, - name: "load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 4, - name: "job_count", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateWorkerStatus = _UpdateWorkerStatus; -const _JobAssignment = class _JobAssignment extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string token = 3; - */ - this.token = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobAssignment().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobAssignment().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobAssignment().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_JobAssignment, a, b); - } -}; -_JobAssignment.runtime = import_protobuf.proto3; -_JobAssignment.typeName = "livekit.JobAssignment"; -_JobAssignment.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "job", kind: "message", T: Job }, - { no: 2, name: "url", kind: "scalar", T: 9, opt: true }, - { - no: 3, - name: "token", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobAssignment = _JobAssignment; -const _JobTermination = class _JobTermination extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobTermination().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobTermination().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobTermination().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_JobTermination, a, b); - } -}; -_JobTermination.runtime = import_protobuf.proto3; -_JobTermination.typeName = "livekit.JobTermination"; -_JobTermination.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobTermination = _JobTermination; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - AvailabilityRequest, - AvailabilityResponse, - Job, - JobAssignment, - JobState, - JobStatus, - JobTermination, - JobType, - MigrateJobRequest, - RegisterWorkerRequest, - RegisterWorkerResponse, - ServerMessage, - SimulateJobRequest, - UpdateJobStatus, - UpdateWorkerStatus, - WorkerMessage, - WorkerPing, - WorkerPong, - WorkerStatus -}); -//# sourceMappingURL=livekit_agent_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.cjs.map b/packages/javascript/dist/gen/livekit_agent_pb.cjs.map deleted file mode 100644 index 19664801..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_agent_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.JobType\n */\nexport enum JobType {\n /**\n * @generated from enum value: JT_ROOM = 0;\n */\n JT_ROOM = 0,\n\n /**\n * @generated from enum value: JT_PUBLISHER = 1;\n */\n JT_PUBLISHER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobType)\nproto3.util.setEnumType(JobType, \"livekit.JobType\", [\n { no: 0, name: \"JT_ROOM\" },\n { no: 1, name: \"JT_PUBLISHER\" },\n]);\n\n/**\n * @generated from enum livekit.WorkerStatus\n */\nexport enum WorkerStatus {\n /**\n * @generated from enum value: WS_AVAILABLE = 0;\n */\n WS_AVAILABLE = 0,\n\n /**\n * @generated from enum value: WS_FULL = 1;\n */\n WS_FULL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(WorkerStatus)\nproto3.util.setEnumType(WorkerStatus, \"livekit.WorkerStatus\", [\n { no: 0, name: \"WS_AVAILABLE\" },\n { no: 1, name: \"WS_FULL\" },\n]);\n\n/**\n * @generated from enum livekit.JobStatus\n */\nexport enum JobStatus {\n /**\n * @generated from enum value: JS_PENDING = 0;\n */\n JS_PENDING = 0,\n\n /**\n * @generated from enum value: JS_RUNNING = 1;\n */\n JS_RUNNING = 1,\n\n /**\n * @generated from enum value: JS_SUCCESS = 2;\n */\n JS_SUCCESS = 2,\n\n /**\n * @generated from enum value: JS_FAILED = 3;\n */\n JS_FAILED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobStatus)\nproto3.util.setEnumType(JobStatus, \"livekit.JobStatus\", [\n { no: 0, name: \"JS_PENDING\" },\n { no: 1, name: \"JS_RUNNING\" },\n { no: 2, name: \"JS_SUCCESS\" },\n { no: 3, name: \"JS_FAILED\" },\n]);\n\n/**\n * @generated from message livekit.Job\n */\nexport class Job extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string dispatch_id = 9;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: livekit.JobType type = 2;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 3;\n */\n room?: Room;\n\n /**\n * @generated from field: optional livekit.ParticipantInfo participant = 4;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string namespace = 5 [deprecated = true];\n * @deprecated\n */\n namespace = \"\";\n\n /**\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string agent_name = 7;\n */\n agentName = \"\";\n\n /**\n * @generated from field: livekit.JobState state = 8;\n */\n state?: JobState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Job\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 3, name: \"room\", kind: \"message\", T: Room },\n { no: 4, name: \"participant\", kind: \"message\", T: ParticipantInfo, opt: true },\n { no: 5, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"state\", kind: \"message\", T: JobState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Job {\n return new Job().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Job {\n return new Job().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Job {\n return new Job().fromJsonString(jsonString, options);\n }\n\n static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean {\n return proto3.util.equals(Job, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobState\n */\nexport class JobState extends Message {\n /**\n * @generated from field: livekit.JobStatus status = 1;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: int64 started_at = 3;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 4;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 5;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string participant_identity = 6;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobState {\n return new JobState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobState {\n return new JobState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobState {\n return new JobState().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobState, a, b);\n }\n}\n\n/**\n * from Worker to Server\n *\n * @generated from message livekit.WorkerMessage\n */\nexport class WorkerMessage extends Message {\n /**\n * @generated from oneof livekit.WorkerMessage.message\n */\n message: {\n /**\n * agent workers need to register themselves with the server first\n *\n * @generated from field: livekit.RegisterWorkerRequest register = 1;\n */\n value: RegisterWorkerRequest;\n case: \"register\";\n } | {\n /**\n * worker confirms to server that it's available for a job, or declines it\n *\n * @generated from field: livekit.AvailabilityResponse availability = 2;\n */\n value: AvailabilityResponse;\n case: \"availability\";\n } | {\n /**\n * worker can update its status to the server, including taking itself out of the pool\n *\n * @generated from field: livekit.UpdateWorkerStatus update_worker = 3;\n */\n value: UpdateWorkerStatus;\n case: \"updateWorker\";\n } | {\n /**\n * job can send status updates to the server, useful for tracking progress\n *\n * @generated from field: livekit.UpdateJobStatus update_job = 4;\n */\n value: UpdateJobStatus;\n case: \"updateJob\";\n } | {\n /**\n * @generated from field: livekit.WorkerPing ping = 5;\n */\n value: WorkerPing;\n case: \"ping\";\n } | {\n /**\n * @generated from field: livekit.SimulateJobRequest simulate_job = 6;\n */\n value: SimulateJobRequest;\n case: \"simulateJob\";\n } | {\n /**\n * @generated from field: livekit.MigrateJobRequest migrate_job = 7;\n */\n value: MigrateJobRequest;\n case: \"migrateJob\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerRequest, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityResponse, oneof: \"message\" },\n { no: 3, name: \"update_worker\", kind: \"message\", T: UpdateWorkerStatus, oneof: \"message\" },\n { no: 4, name: \"update_job\", kind: \"message\", T: UpdateJobStatus, oneof: \"message\" },\n { no: 5, name: \"ping\", kind: \"message\", T: WorkerPing, oneof: \"message\" },\n { no: 6, name: \"simulate_job\", kind: \"message\", T: SimulateJobRequest, oneof: \"message\" },\n { no: 7, name: \"migrate_job\", kind: \"message\", T: MigrateJobRequest, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerMessage, a, b);\n }\n}\n\n/**\n * from Server to Worker\n *\n * @generated from message livekit.ServerMessage\n */\nexport class ServerMessage extends Message {\n /**\n * @generated from oneof livekit.ServerMessage.message\n */\n message: {\n /**\n * server confirms the registration, from this moment on, the worker is considered active\n *\n * @generated from field: livekit.RegisterWorkerResponse register = 1;\n */\n value: RegisterWorkerResponse;\n case: \"register\";\n } | {\n /**\n * server asks worker to confirm availability for a job\n *\n * @generated from field: livekit.AvailabilityRequest availability = 2;\n */\n value: AvailabilityRequest;\n case: \"availability\";\n } | {\n /**\n * @generated from field: livekit.JobAssignment assignment = 3;\n */\n value: JobAssignment;\n case: \"assignment\";\n } | {\n /**\n * @generated from field: livekit.JobTermination termination = 5;\n */\n value: JobTermination;\n case: \"termination\";\n } | {\n /**\n * @generated from field: livekit.WorkerPong pong = 4;\n */\n value: WorkerPong;\n case: \"pong\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerResponse, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityRequest, oneof: \"message\" },\n { no: 3, name: \"assignment\", kind: \"message\", T: JobAssignment, oneof: \"message\" },\n { no: 5, name: \"termination\", kind: \"message\", T: JobTermination, oneof: \"message\" },\n { no: 4, name: \"pong\", kind: \"message\", T: WorkerPong, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage {\n return new ServerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage {\n return new ServerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerMessage {\n return new ServerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateJobRequest\n */\nexport class SimulateJobRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPing\n */\nexport class WorkerPing extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPing\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing {\n return new WorkerPing().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing {\n return new WorkerPing().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPing {\n return new WorkerPing().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPing, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPong\n */\nexport class WorkerPong extends Message {\n /**\n * @generated from field: int64 last_timestamp = 1;\n */\n lastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong {\n return new WorkerPong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong {\n return new WorkerPong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPong {\n return new WorkerPong().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerRequest\n */\nexport class RegisterWorkerRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: string agent_name = 8;\n */\n agentName = \"\";\n\n /**\n * string worker_id = 2;\n *\n * @generated from field: string version = 3;\n */\n version = \"\";\n\n /**\n * string name = 4 [deprecated = true];\n *\n * @generated from field: uint32 ping_interval = 5;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: optional string namespace = 6;\n */\n namespace?: string;\n\n /**\n * @generated from field: livekit.ParticipantPermission allowed_permissions = 7;\n */\n allowedPermissions?: ParticipantPermission;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 8, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ping_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 7, name: \"allowed_permissions\", kind: \"message\", T: ParticipantPermission },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerResponse\n */\nexport class RegisterWorkerResponse extends Message {\n /**\n * @generated from field: string worker_id = 1;\n */\n workerId = \"\";\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 3;\n */\n serverInfo?: ServerInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"worker_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"server_info\", kind: \"message\", T: ServerInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MigrateJobRequest\n */\nexport class MigrateJobRequest extends Message {\n /**\n * string job_id = 1 [deprecated = true];\n *\n * @generated from field: repeated string job_ids = 2;\n */\n jobIds: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MigrateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"job_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MigrateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityRequest\n */\nexport class AvailabilityRequest extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * True when the job was previously assigned to another worker but has been\n * migrated due to different reasons (e.g. worker failure, job migration)\n *\n * @generated from field: bool resuming = 2;\n */\n resuming = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"resuming\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityResponse\n */\nexport class AvailabilityResponse extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * @generated from field: bool available = 2;\n */\n available = false;\n\n /**\n * @generated from field: bool supports_resume = 3;\n */\n supportsResume = false;\n\n /**\n * @generated from field: string participant_name = 4;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_metadata = 6;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: map participant_attributes = 7;\n */\n participantAttributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"available\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"supports_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateJobStatus\n */\nexport class UpdateJobStatus extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * The worker can indicate the job end by either specifying SUCCESS or FAILED\n *\n * @generated from field: livekit.JobStatus status = 2;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * metadata shown on the dashboard, useful for debugging\n *\n * @generated from field: string error = 3;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateJobStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 3, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateJobStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateWorkerStatus\n */\nexport class UpdateWorkerStatus extends Message {\n /**\n * @generated from field: optional livekit.WorkerStatus status = 1;\n */\n status?: WorkerStatus;\n\n /**\n * optional string metadata = 2 [deprecated=true];\n *\n * @generated from field: float load = 3;\n */\n load = 0;\n\n /**\n * @generated from field: uint32 job_count = 4;\n */\n jobCount = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateWorkerStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(WorkerStatus), opt: true },\n { no: 3, name: \"load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 4, name: \"job_count\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateWorkerStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobAssignment\n */\nexport class JobAssignment extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * @generated from field: optional string url = 2;\n */\n url?: string;\n\n /**\n * @generated from field: string token = 3;\n */\n token = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobAssignment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment {\n return new JobAssignment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment {\n return new JobAssignment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobAssignment {\n return new JobAssignment().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobAssignment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobTermination\n */\nexport class JobTermination extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobTermination\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination {\n return new JobTermination().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination {\n return new JobTermination().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobTermination {\n return new JobTermination().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobTermination, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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OAAO,OAAO,GAA8D,GAAuE;AACjJ,WAAO,uBAAO,KAAK,OAAO,iBAAgB,GAAG,CAAC;AAAA,EAChD;AACF;AAhCa,gBAWK,UAAyB;AAX9B,gBAYK,WAAW;AAZhB,gBAaK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAU,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AACxE,CAAC;AAfI,IAAM,iBAAN;","names":["JobType","WorkerStatus","JobStatus"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.d.ts b/packages/javascript/dist/gen/livekit_agent_pb.d.ts deleted file mode 100644 index 79aa72f8..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.d.ts +++ /dev/null @@ -1,575 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; -/** - * @generated from enum livekit.JobType - */ -export declare enum JobType { - /** - * @generated from enum value: JT_ROOM = 0; - */ - JT_ROOM = 0, - /** - * @generated from enum value: JT_PUBLISHER = 1; - */ - JT_PUBLISHER = 1 -} -/** - * @generated from enum livekit.WorkerStatus - */ -export declare enum WorkerStatus { - /** - * @generated from enum value: WS_AVAILABLE = 0; - */ - WS_AVAILABLE = 0, - /** - * @generated from enum value: WS_FULL = 1; - */ - WS_FULL = 1 -} -/** - * @generated from enum livekit.JobStatus - */ -export declare enum JobStatus { - /** - * @generated from enum value: JS_PENDING = 0; - */ - JS_PENDING = 0, - /** - * @generated from enum value: JS_RUNNING = 1; - */ - JS_RUNNING = 1, - /** - * @generated from enum value: JS_SUCCESS = 2; - */ - JS_SUCCESS = 2, - /** - * @generated from enum value: JS_FAILED = 3; - */ - JS_FAILED = 3 -} -/** - * @generated from message livekit.Job - */ -export declare class Job extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string dispatch_id = 9; - */ - dispatchId: string; - /** - * @generated from field: livekit.JobType type = 2; - */ - type: JobType; - /** - * @generated from field: livekit.Room room = 3; - */ - room?: Room; - /** - * @generated from field: optional livekit.ParticipantInfo participant = 4; - */ - participant?: ParticipantInfo; - /** - * @generated from field: string namespace = 5 [deprecated = true]; - * @deprecated - */ - namespace: string; - /** - * @generated from field: string metadata = 6; - */ - metadata: string; - /** - * @generated from field: string agent_name = 7; - */ - agentName: string; - /** - * @generated from field: livekit.JobState state = 8; - */ - state?: JobState; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Job"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Job; - static fromJson(jsonValue: JsonValue, options?: Partial): Job; - static fromJsonString(jsonString: string, options?: Partial): Job; - static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.JobState - */ -export declare class JobState extends Message { - /** - * @generated from field: livekit.JobStatus status = 1; - */ - status: JobStatus; - /** - * @generated from field: string error = 2; - */ - error: string; - /** - * @generated from field: int64 started_at = 3; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 4; - */ - endedAt: bigint; - /** - * @generated from field: int64 updated_at = 5; - */ - updatedAt: bigint; - /** - * @generated from field: string participant_identity = 6; - */ - participantIdentity: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): JobState; - static fromJson(jsonValue: JsonValue, options?: Partial): JobState; - static fromJsonString(jsonString: string, options?: Partial): JobState; - static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean; -} -/** - * from Worker to Server - * - * @generated from message livekit.WorkerMessage - */ -export declare class WorkerMessage extends Message { - /** - * @generated from oneof livekit.WorkerMessage.message - */ - message: { - /** - * agent workers need to register themselves with the server first - * - * @generated from field: livekit.RegisterWorkerRequest register = 1; - */ - value: RegisterWorkerRequest; - case: "register"; - } | { - /** - * worker confirms to server that it's available for a job, or declines it - * - * @generated from field: livekit.AvailabilityResponse availability = 2; - */ - value: AvailabilityResponse; - case: "availability"; - } | { - /** - * worker can update its status to the server, including taking itself out of the pool - * - * @generated from field: livekit.UpdateWorkerStatus update_worker = 3; - */ - value: UpdateWorkerStatus; - case: "updateWorker"; - } | { - /** - * job can send status updates to the server, useful for tracking progress - * - * @generated from field: livekit.UpdateJobStatus update_job = 4; - */ - value: UpdateJobStatus; - case: "updateJob"; - } | { - /** - * @generated from field: livekit.WorkerPing ping = 5; - */ - value: WorkerPing; - case: "ping"; - } | { - /** - * @generated from field: livekit.SimulateJobRequest simulate_job = 6; - */ - value: SimulateJobRequest; - case: "simulateJob"; - } | { - /** - * @generated from field: livekit.MigrateJobRequest migrate_job = 7; - */ - value: MigrateJobRequest; - case: "migrateJob"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerMessage"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage; - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage; - static fromJsonString(jsonString: string, options?: Partial): WorkerMessage; - static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean; -} -/** - * from Server to Worker - * - * @generated from message livekit.ServerMessage - */ -export declare class ServerMessage extends Message { - /** - * @generated from oneof livekit.ServerMessage.message - */ - message: { - /** - * server confirms the registration, from this moment on, the worker is considered active - * - * @generated from field: livekit.RegisterWorkerResponse register = 1; - */ - value: RegisterWorkerResponse; - case: "register"; - } | { - /** - * server asks worker to confirm availability for a job - * - * @generated from field: livekit.AvailabilityRequest availability = 2; - */ - value: AvailabilityRequest; - case: "availability"; - } | { - /** - * @generated from field: livekit.JobAssignment assignment = 3; - */ - value: JobAssignment; - case: "assignment"; - } | { - /** - * @generated from field: livekit.JobTermination termination = 5; - */ - value: JobTermination; - case: "termination"; - } | { - /** - * @generated from field: livekit.WorkerPong pong = 4; - */ - value: WorkerPong; - case: "pong"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ServerMessage"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage; - static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage; - static fromJsonString(jsonString: string, options?: Partial): ServerMessage; - static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SimulateJobRequest - */ -export declare class SimulateJobRequest extends Message { - /** - * @generated from field: livekit.JobType type = 1; - */ - type: JobType; - /** - * @generated from field: livekit.Room room = 2; - */ - room?: Room; - /** - * @generated from field: livekit.ParticipantInfo participant = 3; - */ - participant?: ParticipantInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulateJobRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest; - static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest; - static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.WorkerPing - */ -export declare class WorkerPing extends Message { - /** - * @generated from field: int64 timestamp = 1; - */ - timestamp: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerPing"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing; - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing; - static fromJsonString(jsonString: string, options?: Partial): WorkerPing; - static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.WorkerPong - */ -export declare class WorkerPong extends Message { - /** - * @generated from field: int64 last_timestamp = 1; - */ - lastTimestamp: bigint; - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerPong"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong; - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong; - static fromJsonString(jsonString: string, options?: Partial): WorkerPong; - static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RegisterWorkerRequest - */ -export declare class RegisterWorkerRequest extends Message { - /** - * @generated from field: livekit.JobType type = 1; - */ - type: JobType; - /** - * @generated from field: string agent_name = 8; - */ - agentName: string; - /** - * string worker_id = 2; - * - * @generated from field: string version = 3; - */ - version: string; - /** - * string name = 4 [deprecated = true]; - * - * @generated from field: uint32 ping_interval = 5; - */ - pingInterval: number; - /** - * @generated from field: optional string namespace = 6; - */ - namespace?: string; - /** - * @generated from field: livekit.ParticipantPermission allowed_permissions = 7; - */ - allowedPermissions?: ParticipantPermission; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegisterWorkerRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest; - static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest; - static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RegisterWorkerResponse - */ -export declare class RegisterWorkerResponse extends Message { - /** - * @generated from field: string worker_id = 1; - */ - workerId: string; - /** - * @generated from field: livekit.ServerInfo server_info = 3; - */ - serverInfo?: ServerInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegisterWorkerResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse; - static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse; - static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.MigrateJobRequest - */ -export declare class MigrateJobRequest extends Message { - /** - * string job_id = 1 [deprecated = true]; - * - * @generated from field: repeated string job_ids = 2; - */ - jobIds: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MigrateJobRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest; - static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest; - static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AvailabilityRequest - */ -export declare class AvailabilityRequest extends Message { - /** - * @generated from field: livekit.Job job = 1; - */ - job?: Job; - /** - * True when the job was previously assigned to another worker but has been - * migrated due to different reasons (e.g. worker failure, job migration) - * - * @generated from field: bool resuming = 2; - */ - resuming: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AvailabilityRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest; - static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest; - static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AvailabilityResponse - */ -export declare class AvailabilityResponse extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - /** - * @generated from field: bool available = 2; - */ - available: boolean; - /** - * @generated from field: bool supports_resume = 3; - */ - supportsResume: boolean; - /** - * @generated from field: string participant_name = 4; - */ - participantName: string; - /** - * @generated from field: string participant_identity = 5; - */ - participantIdentity: string; - /** - * @generated from field: string participant_metadata = 6; - */ - participantMetadata: string; - /** - * @generated from field: map participant_attributes = 7; - */ - participantAttributes: { - [key: string]: string; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AvailabilityResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse; - static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse; - static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateJobStatus - */ -export declare class UpdateJobStatus extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - /** - * The worker can indicate the job end by either specifying SUCCESS or FAILED - * - * @generated from field: livekit.JobStatus status = 2; - */ - status: JobStatus; - /** - * metadata shown on the dashboard, useful for debugging - * - * @generated from field: string error = 3; - */ - error: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateJobStatus"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus; - static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus; - static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateWorkerStatus - */ -export declare class UpdateWorkerStatus extends Message { - /** - * @generated from field: optional livekit.WorkerStatus status = 1; - */ - status?: WorkerStatus; - /** - * optional string metadata = 2 [deprecated=true]; - * - * @generated from field: float load = 3; - */ - load: number; - /** - * @generated from field: uint32 job_count = 4; - */ - jobCount: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateWorkerStatus"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus; - static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus; - static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.JobAssignment - */ -export declare class JobAssignment extends Message { - /** - * @generated from field: livekit.Job job = 1; - */ - job?: Job; - /** - * @generated from field: optional string url = 2; - */ - url?: string; - /** - * @generated from field: string token = 3; - */ - token: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobAssignment"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment; - static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment; - static fromJsonString(jsonString: string, options?: Partial): JobAssignment; - static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.JobTermination - */ -export declare class JobTermination extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobTermination"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination; - static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination; - static fromJsonString(jsonString: string, options?: Partial): JobTermination; - static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_agent_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map b/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map deleted file mode 100644 index 9ab79834..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.d.ts.map +++ /dev/null @@ -1 +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AQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,cAAc;IAI1F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,cAAc;IAIzF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,cAAc;IAI7F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.js b/packages/javascript/dist/gen/livekit_agent_pb.js deleted file mode 100644 index c07395dc..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.js +++ /dev/null @@ -1,840 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; -var JobType = /* @__PURE__ */ ((JobType2) => { - JobType2[JobType2["JT_ROOM"] = 0] = "JT_ROOM"; - JobType2[JobType2["JT_PUBLISHER"] = 1] = "JT_PUBLISHER"; - return JobType2; -})(JobType || {}); -proto3.util.setEnumType(JobType, "livekit.JobType", [ - { no: 0, name: "JT_ROOM" }, - { no: 1, name: "JT_PUBLISHER" } -]); -var WorkerStatus = /* @__PURE__ */ ((WorkerStatus2) => { - WorkerStatus2[WorkerStatus2["WS_AVAILABLE"] = 0] = "WS_AVAILABLE"; - WorkerStatus2[WorkerStatus2["WS_FULL"] = 1] = "WS_FULL"; - return WorkerStatus2; -})(WorkerStatus || {}); -proto3.util.setEnumType(WorkerStatus, "livekit.WorkerStatus", [ - { no: 0, name: "WS_AVAILABLE" }, - { no: 1, name: "WS_FULL" } -]); -var JobStatus = /* @__PURE__ */ ((JobStatus2) => { - JobStatus2[JobStatus2["JS_PENDING"] = 0] = "JS_PENDING"; - JobStatus2[JobStatus2["JS_RUNNING"] = 1] = "JS_RUNNING"; - JobStatus2[JobStatus2["JS_SUCCESS"] = 2] = "JS_SUCCESS"; - JobStatus2[JobStatus2["JS_FAILED"] = 3] = "JS_FAILED"; - return JobStatus2; -})(JobStatus || {}); -proto3.util.setEnumType(JobStatus, "livekit.JobStatus", [ - { no: 0, name: "JS_PENDING" }, - { no: 1, name: "JS_RUNNING" }, - { no: 2, name: "JS_SUCCESS" }, - { no: 3, name: "JS_FAILED" } -]); -const _Job = class _Job extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string dispatch_id = 9; - */ - this.dispatchId = ""; - /** - * @generated from field: livekit.JobType type = 2; - */ - this.type = 0 /* JT_ROOM */; - /** - * @generated from field: string namespace = 5 [deprecated = true]; - * @deprecated - */ - this.namespace = ""; - /** - * @generated from field: string metadata = 6; - */ - this.metadata = ""; - /** - * @generated from field: string agent_name = 7; - */ - this.agentName = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Job().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Job().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Job().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Job, a, b); - } -}; -_Job.runtime = proto3; -_Job.typeName = "livekit.Job"; -_Job.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "dispatch_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { no: 3, name: "room", kind: "message", T: Room }, - { no: 4, name: "participant", kind: "message", T: ParticipantInfo, opt: true }, - { - no: 5, - name: "namespace", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "state", kind: "message", T: JobState } -]); -let Job = _Job; -const _JobState = class _JobState extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobStatus status = 1; - */ - this.status = 0 /* JS_PENDING */; - /** - * @generated from field: string error = 2; - */ - this.error = ""; - /** - * @generated from field: int64 started_at = 3; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 4; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: int64 updated_at = 5; - */ - this.updatedAt = protoInt64.zero; - /** - * @generated from field: string participant_identity = 6; - */ - this.participantIdentity = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_JobState, a, b); - } -}; -_JobState.runtime = proto3; -_JobState.typeName = "livekit.JobState"; -_JobState.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, - { - no: 2, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobState = _JobState; -const _WorkerMessage = class _WorkerMessage extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.WorkerMessage.message - */ - this.message = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_WorkerMessage, a, b); - } -}; -_WorkerMessage.runtime = proto3; -_WorkerMessage.typeName = "livekit.WorkerMessage"; -_WorkerMessage.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, - { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, - { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, - { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, - { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, - { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" } -]); -let WorkerMessage = _WorkerMessage; -const _ServerMessage = class _ServerMessage extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.ServerMessage.message - */ - this.message = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ServerMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ServerMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ServerMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ServerMessage, a, b); - } -}; -_ServerMessage.runtime = proto3; -_ServerMessage.typeName = "livekit.ServerMessage"; -_ServerMessage.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, - { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, - { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, - { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" } -]); -let ServerMessage = _ServerMessage; -const _SimulateJobRequest = class _SimulateJobRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobType type = 1; - */ - this.type = 0 /* JT_ROOM */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulateJobRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulateJobRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulateJobRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SimulateJobRequest, a, b); - } -}; -_SimulateJobRequest.runtime = proto3; -_SimulateJobRequest.typeName = "livekit.SimulateJobRequest"; -_SimulateJobRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { no: 2, name: "room", kind: "message", T: Room }, - { no: 3, name: "participant", kind: "message", T: ParticipantInfo } -]); -let SimulateJobRequest = _SimulateJobRequest; -const _WorkerPing = class _WorkerPing extends Message { - constructor(data) { - super(); - /** - * @generated from field: int64 timestamp = 1; - */ - this.timestamp = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerPing().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerPing().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerPing().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_WorkerPing, a, b); - } -}; -_WorkerPing.runtime = proto3; -_WorkerPing.typeName = "livekit.WorkerPing"; -_WorkerPing.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let WorkerPing = _WorkerPing; -const _WorkerPong = class _WorkerPong extends Message { - constructor(data) { - super(); - /** - * @generated from field: int64 last_timestamp = 1; - */ - this.lastTimestamp = protoInt64.zero; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WorkerPong().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WorkerPong().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WorkerPong().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_WorkerPong, a, b); - } -}; -_WorkerPong.runtime = proto3; -_WorkerPong.typeName = "livekit.WorkerPong"; -_WorkerPong.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "last_timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let WorkerPong = _WorkerPong; -const _RegisterWorkerRequest = class _RegisterWorkerRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.JobType type = 1; - */ - this.type = 0 /* JT_ROOM */; - /** - * @generated from field: string agent_name = 8; - */ - this.agentName = ""; - /** - * string worker_id = 2; - * - * @generated from field: string version = 3; - */ - this.version = ""; - /** - * string name = 4 [deprecated = true]; - * - * @generated from field: uint32 ping_interval = 5; - */ - this.pingInterval = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegisterWorkerRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegisterWorkerRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegisterWorkerRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RegisterWorkerRequest, a, b); - } -}; -_RegisterWorkerRequest.runtime = proto3; -_RegisterWorkerRequest.typeName = "livekit.RegisterWorkerRequest"; -_RegisterWorkerRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { - no: 8, - name: "agent_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "ping_interval", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 6, name: "namespace", kind: "scalar", T: 9, opt: true }, - { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission } -]); -let RegisterWorkerRequest = _RegisterWorkerRequest; -const _RegisterWorkerResponse = class _RegisterWorkerResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string worker_id = 1; - */ - this.workerId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegisterWorkerResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegisterWorkerResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegisterWorkerResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RegisterWorkerResponse, a, b); - } -}; -_RegisterWorkerResponse.runtime = proto3; -_RegisterWorkerResponse.typeName = "livekit.RegisterWorkerResponse"; -_RegisterWorkerResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "worker_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "server_info", kind: "message", T: ServerInfo } -]); -let RegisterWorkerResponse = _RegisterWorkerResponse; -const _MigrateJobRequest = class _MigrateJobRequest extends Message { - constructor(data) { - super(); - /** - * string job_id = 1 [deprecated = true]; - * - * @generated from field: repeated string job_ids = 2; - */ - this.jobIds = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MigrateJobRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MigrateJobRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MigrateJobRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MigrateJobRequest, a, b); - } -}; -_MigrateJobRequest.runtime = proto3; -_MigrateJobRequest.typeName = "livekit.MigrateJobRequest"; -_MigrateJobRequest.fields = proto3.util.newFieldList(() => [ - { no: 2, name: "job_ids", kind: "scalar", T: 9, repeated: true } -]); -let MigrateJobRequest = _MigrateJobRequest; -const _AvailabilityRequest = class _AvailabilityRequest extends Message { - constructor(data) { - super(); - /** - * True when the job was previously assigned to another worker but has been - * migrated due to different reasons (e.g. worker failure, job migration) - * - * @generated from field: bool resuming = 2; - */ - this.resuming = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AvailabilityRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AvailabilityRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AvailabilityRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AvailabilityRequest, a, b); - } -}; -_AvailabilityRequest.runtime = proto3; -_AvailabilityRequest.typeName = "livekit.AvailabilityRequest"; -_AvailabilityRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "job", kind: "message", T: Job }, - { - no: 2, - name: "resuming", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let AvailabilityRequest = _AvailabilityRequest; -const _AvailabilityResponse = class _AvailabilityResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - /** - * @generated from field: bool available = 2; - */ - this.available = false; - /** - * @generated from field: bool supports_resume = 3; - */ - this.supportsResume = false; - /** - * @generated from field: string participant_name = 4; - */ - this.participantName = ""; - /** - * @generated from field: string participant_identity = 5; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_metadata = 6; - */ - this.participantMetadata = ""; - /** - * @generated from field: map participant_attributes = 7; - */ - this.participantAttributes = {}; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AvailabilityResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AvailabilityResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AvailabilityResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AvailabilityResponse, a, b); - } -}; -_AvailabilityResponse.runtime = proto3; -_AvailabilityResponse.typeName = "livekit.AvailabilityResponse"; -_AvailabilityResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "available", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "supports_resume", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "participant_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let AvailabilityResponse = _AvailabilityResponse; -const _UpdateJobStatus = class _UpdateJobStatus extends Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - /** - * The worker can indicate the job end by either specifying SUCCESS or FAILED - * - * @generated from field: livekit.JobStatus status = 2; - */ - this.status = 0 /* JS_PENDING */; - /** - * metadata shown on the dashboard, useful for debugging - * - * @generated from field: string error = 3; - */ - this.error = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateJobStatus().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateJobStatus().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateJobStatus().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateJobStatus, a, b); - } -}; -_UpdateJobStatus.runtime = proto3; -_UpdateJobStatus.typeName = "livekit.UpdateJobStatus"; -_UpdateJobStatus.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, - { - no: 3, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateJobStatus = _UpdateJobStatus; -const _UpdateWorkerStatus = class _UpdateWorkerStatus extends Message { - constructor(data) { - super(); - /** - * optional string metadata = 2 [deprecated=true]; - * - * @generated from field: float load = 3; - */ - this.load = 0; - /** - * @generated from field: uint32 job_count = 4; - */ - this.jobCount = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateWorkerStatus().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateWorkerStatus().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateWorkerStatus().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateWorkerStatus, a, b); - } -}; -_UpdateWorkerStatus.runtime = proto3; -_UpdateWorkerStatus.typeName = "livekit.UpdateWorkerStatus"; -_UpdateWorkerStatus.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true }, - { - no: 3, - name: "load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 4, - name: "job_count", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateWorkerStatus = _UpdateWorkerStatus; -const _JobAssignment = class _JobAssignment extends Message { - constructor(data) { - super(); - /** - * @generated from field: string token = 3; - */ - this.token = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobAssignment().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobAssignment().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobAssignment().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_JobAssignment, a, b); - } -}; -_JobAssignment.runtime = proto3; -_JobAssignment.typeName = "livekit.JobAssignment"; -_JobAssignment.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "job", kind: "message", T: Job }, - { no: 2, name: "url", kind: "scalar", T: 9, opt: true }, - { - no: 3, - name: "token", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobAssignment = _JobAssignment; -const _JobTermination = class _JobTermination extends Message { - constructor(data) { - super(); - /** - * @generated from field: string job_id = 1; - */ - this.jobId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JobTermination().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JobTermination().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JobTermination().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_JobTermination, a, b); - } -}; -_JobTermination.runtime = proto3; -_JobTermination.typeName = "livekit.JobTermination"; -_JobTermination.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "job_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let JobTermination = _JobTermination; -export { - AvailabilityRequest, - AvailabilityResponse, - Job, - JobAssignment, - JobState, - JobStatus, - JobTermination, - JobType, - MigrateJobRequest, - RegisterWorkerRequest, - RegisterWorkerResponse, - ServerMessage, - SimulateJobRequest, - UpdateJobStatus, - UpdateWorkerStatus, - WorkerMessage, - WorkerPing, - WorkerPong, - WorkerStatus -}; -//# sourceMappingURL=livekit_agent_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_agent_pb.js.map b/packages/javascript/dist/gen/livekit_agent_pb.js.map deleted file mode 100644 index df7d6923..00000000 --- a/packages/javascript/dist/gen/livekit_agent_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_agent_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_agent.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.JobType\n */\nexport enum JobType {\n /**\n * @generated from enum value: JT_ROOM = 0;\n */\n JT_ROOM = 0,\n\n /**\n * @generated from enum value: JT_PUBLISHER = 1;\n */\n JT_PUBLISHER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobType)\nproto3.util.setEnumType(JobType, \"livekit.JobType\", [\n { no: 0, name: \"JT_ROOM\" },\n { no: 1, name: \"JT_PUBLISHER\" },\n]);\n\n/**\n * @generated from enum livekit.WorkerStatus\n */\nexport enum WorkerStatus {\n /**\n * @generated from enum value: WS_AVAILABLE = 0;\n */\n WS_AVAILABLE = 0,\n\n /**\n * @generated from enum value: WS_FULL = 1;\n */\n WS_FULL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(WorkerStatus)\nproto3.util.setEnumType(WorkerStatus, \"livekit.WorkerStatus\", [\n { no: 0, name: \"WS_AVAILABLE\" },\n { no: 1, name: \"WS_FULL\" },\n]);\n\n/**\n * @generated from enum livekit.JobStatus\n */\nexport enum JobStatus {\n /**\n * @generated from enum value: JS_PENDING = 0;\n */\n JS_PENDING = 0,\n\n /**\n * @generated from enum value: JS_RUNNING = 1;\n */\n JS_RUNNING = 1,\n\n /**\n * @generated from enum value: JS_SUCCESS = 2;\n */\n JS_SUCCESS = 2,\n\n /**\n * @generated from enum value: JS_FAILED = 3;\n */\n JS_FAILED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(JobStatus)\nproto3.util.setEnumType(JobStatus, \"livekit.JobStatus\", [\n { no: 0, name: \"JS_PENDING\" },\n { no: 1, name: \"JS_RUNNING\" },\n { no: 2, name: \"JS_SUCCESS\" },\n { no: 3, name: \"JS_FAILED\" },\n]);\n\n/**\n * @generated from message livekit.Job\n */\nexport class Job extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string dispatch_id = 9;\n */\n dispatchId = \"\";\n\n /**\n * @generated from field: livekit.JobType type = 2;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 3;\n */\n room?: Room;\n\n /**\n * @generated from field: optional livekit.ParticipantInfo participant = 4;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string namespace = 5 [deprecated = true];\n * @deprecated\n */\n namespace = \"\";\n\n /**\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string agent_name = 7;\n */\n agentName = \"\";\n\n /**\n * @generated from field: livekit.JobState state = 8;\n */\n state?: JobState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Job\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"dispatch_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 3, name: \"room\", kind: \"message\", T: Room },\n { no: 4, name: \"participant\", kind: \"message\", T: ParticipantInfo, opt: true },\n { no: 5, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"state\", kind: \"message\", T: JobState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Job {\n return new Job().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Job {\n return new Job().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Job {\n return new Job().fromJsonString(jsonString, options);\n }\n\n static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean {\n return proto3.util.equals(Job, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobState\n */\nexport class JobState extends Message {\n /**\n * @generated from field: livekit.JobStatus status = 1;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: int64 started_at = 3;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 4;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 5;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string participant_identity = 6;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobState {\n return new JobState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobState {\n return new JobState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobState {\n return new JobState().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobState, a, b);\n }\n}\n\n/**\n * from Worker to Server\n *\n * @generated from message livekit.WorkerMessage\n */\nexport class WorkerMessage extends Message {\n /**\n * @generated from oneof livekit.WorkerMessage.message\n */\n message: {\n /**\n * agent workers need to register themselves with the server first\n *\n * @generated from field: livekit.RegisterWorkerRequest register = 1;\n */\n value: RegisterWorkerRequest;\n case: \"register\";\n } | {\n /**\n * worker confirms to server that it's available for a job, or declines it\n *\n * @generated from field: livekit.AvailabilityResponse availability = 2;\n */\n value: AvailabilityResponse;\n case: \"availability\";\n } | {\n /**\n * worker can update its status to the server, including taking itself out of the pool\n *\n * @generated from field: livekit.UpdateWorkerStatus update_worker = 3;\n */\n value: UpdateWorkerStatus;\n case: \"updateWorker\";\n } | {\n /**\n * job can send status updates to the server, useful for tracking progress\n *\n * @generated from field: livekit.UpdateJobStatus update_job = 4;\n */\n value: UpdateJobStatus;\n case: \"updateJob\";\n } | {\n /**\n * @generated from field: livekit.WorkerPing ping = 5;\n */\n value: WorkerPing;\n case: \"ping\";\n } | {\n /**\n * @generated from field: livekit.SimulateJobRequest simulate_job = 6;\n */\n value: SimulateJobRequest;\n case: \"simulateJob\";\n } | {\n /**\n * @generated from field: livekit.MigrateJobRequest migrate_job = 7;\n */\n value: MigrateJobRequest;\n case: \"migrateJob\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerRequest, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityResponse, oneof: \"message\" },\n { no: 3, name: \"update_worker\", kind: \"message\", T: UpdateWorkerStatus, oneof: \"message\" },\n { no: 4, name: \"update_job\", kind: \"message\", T: UpdateJobStatus, oneof: \"message\" },\n { no: 5, name: \"ping\", kind: \"message\", T: WorkerPing, oneof: \"message\" },\n { no: 6, name: \"simulate_job\", kind: \"message\", T: SimulateJobRequest, oneof: \"message\" },\n { no: 7, name: \"migrate_job\", kind: \"message\", T: MigrateJobRequest, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerMessage {\n return new WorkerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerMessage, a, b);\n }\n}\n\n/**\n * from Server to Worker\n *\n * @generated from message livekit.ServerMessage\n */\nexport class ServerMessage extends Message {\n /**\n * @generated from oneof livekit.ServerMessage.message\n */\n message: {\n /**\n * server confirms the registration, from this moment on, the worker is considered active\n *\n * @generated from field: livekit.RegisterWorkerResponse register = 1;\n */\n value: RegisterWorkerResponse;\n case: \"register\";\n } | {\n /**\n * server asks worker to confirm availability for a job\n *\n * @generated from field: livekit.AvailabilityRequest availability = 2;\n */\n value: AvailabilityRequest;\n case: \"availability\";\n } | {\n /**\n * @generated from field: livekit.JobAssignment assignment = 3;\n */\n value: JobAssignment;\n case: \"assignment\";\n } | {\n /**\n * @generated from field: livekit.JobTermination termination = 5;\n */\n value: JobTermination;\n case: \"termination\";\n } | {\n /**\n * @generated from field: livekit.WorkerPong pong = 4;\n */\n value: WorkerPong;\n case: \"pong\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"register\", kind: \"message\", T: RegisterWorkerResponse, oneof: \"message\" },\n { no: 2, name: \"availability\", kind: \"message\", T: AvailabilityRequest, oneof: \"message\" },\n { no: 3, name: \"assignment\", kind: \"message\", T: JobAssignment, oneof: \"message\" },\n { no: 5, name: \"termination\", kind: \"message\", T: JobTermination, oneof: \"message\" },\n { no: 4, name: \"pong\", kind: \"message\", T: WorkerPong, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage {\n return new ServerMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage {\n return new ServerMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerMessage {\n return new ServerMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateJobRequest\n */\nexport class SimulateJobRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest {\n return new SimulateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPing\n */\nexport class WorkerPing extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPing\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing {\n return new WorkerPing().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing {\n return new WorkerPing().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPing {\n return new WorkerPing().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPing, a, b);\n }\n}\n\n/**\n * @generated from message livekit.WorkerPong\n */\nexport class WorkerPong extends Message {\n /**\n * @generated from field: int64 last_timestamp = 1;\n */\n lastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WorkerPong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong {\n return new WorkerPong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong {\n return new WorkerPong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WorkerPong {\n return new WorkerPong().fromJsonString(jsonString, options);\n }\n\n static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean {\n return proto3.util.equals(WorkerPong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerRequest\n */\nexport class RegisterWorkerRequest extends Message {\n /**\n * @generated from field: livekit.JobType type = 1;\n */\n type = JobType.JT_ROOM;\n\n /**\n * @generated from field: string agent_name = 8;\n */\n agentName = \"\";\n\n /**\n * string worker_id = 2;\n *\n * @generated from field: string version = 3;\n */\n version = \"\";\n\n /**\n * string name = 4 [deprecated = true];\n *\n * @generated from field: uint32 ping_interval = 5;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: optional string namespace = 6;\n */\n namespace?: string;\n\n /**\n * @generated from field: livekit.ParticipantPermission allowed_permissions = 7;\n */\n allowedPermissions?: ParticipantPermission;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(JobType) },\n { no: 8, name: \"agent_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ping_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"namespace\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 7, name: \"allowed_permissions\", kind: \"message\", T: ParticipantPermission },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest {\n return new RegisterWorkerRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegisterWorkerResponse\n */\nexport class RegisterWorkerResponse extends Message {\n /**\n * @generated from field: string worker_id = 1;\n */\n workerId = \"\";\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 3;\n */\n serverInfo?: ServerInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegisterWorkerResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"worker_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"server_info\", kind: \"message\", T: ServerInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse {\n return new RegisterWorkerResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegisterWorkerResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MigrateJobRequest\n */\nexport class MigrateJobRequest extends Message {\n /**\n * string job_id = 1 [deprecated = true];\n *\n * @generated from field: repeated string job_ids = 2;\n */\n jobIds: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MigrateJobRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"job_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest {\n return new MigrateJobRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MigrateJobRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityRequest\n */\nexport class AvailabilityRequest extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * True when the job was previously assigned to another worker but has been\n * migrated due to different reasons (e.g. worker failure, job migration)\n *\n * @generated from field: bool resuming = 2;\n */\n resuming = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"resuming\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest {\n return new AvailabilityRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AvailabilityResponse\n */\nexport class AvailabilityResponse extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * @generated from field: bool available = 2;\n */\n available = false;\n\n /**\n * @generated from field: bool supports_resume = 3;\n */\n supportsResume = false;\n\n /**\n * @generated from field: string participant_name = 4;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_metadata = 6;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: map participant_attributes = 7;\n */\n participantAttributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AvailabilityResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"available\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"supports_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse {\n return new AvailabilityResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(AvailabilityResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateJobStatus\n */\nexport class UpdateJobStatus extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n /**\n * The worker can indicate the job end by either specifying SUCCESS or FAILED\n *\n * @generated from field: livekit.JobStatus status = 2;\n */\n status = JobStatus.JS_PENDING;\n\n /**\n * metadata shown on the dashboard, useful for debugging\n *\n * @generated from field: string error = 3;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateJobStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"status\", kind: \"enum\", T: proto3.getEnumType(JobStatus) },\n { no: 3, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus {\n return new UpdateJobStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateJobStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateWorkerStatus\n */\nexport class UpdateWorkerStatus extends Message {\n /**\n * @generated from field: optional livekit.WorkerStatus status = 1;\n */\n status?: WorkerStatus;\n\n /**\n * optional string metadata = 2 [deprecated=true];\n *\n * @generated from field: float load = 3;\n */\n load = 0;\n\n /**\n * @generated from field: uint32 job_count = 4;\n */\n jobCount = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateWorkerStatus\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(WorkerStatus), opt: true },\n { no: 3, name: \"load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 4, name: \"job_count\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus {\n return new UpdateWorkerStatus().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateWorkerStatus, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobAssignment\n */\nexport class JobAssignment extends Message {\n /**\n * @generated from field: livekit.Job job = 1;\n */\n job?: Job;\n\n /**\n * @generated from field: optional string url = 2;\n */\n url?: string;\n\n /**\n * @generated from field: string token = 3;\n */\n token = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobAssignment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job\", kind: \"message\", T: Job },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment {\n return new JobAssignment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment {\n return new JobAssignment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobAssignment {\n return new JobAssignment().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobAssignment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JobTermination\n */\nexport class JobTermination extends Message {\n /**\n * @generated from field: string job_id = 1;\n */\n jobId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JobTermination\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"job_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination {\n return new JobTermination().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination {\n return new JobTermination().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JobTermination {\n return new JobTermination().fromJsonString(jsonString, options);\n }\n\n static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean {\n return proto3.util.equals(JobTermination, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,iBAAiB,uBAAuB,MAAM,kBAAkB;AAKlE,IAAK,UAAL,kBAAKA,aAAL;AAIL,EAAAA,kBAAA,aAAU,KAAV;AAKA,EAAAA,kBAAA,kBAAe,KAAf;AATU,SAAAA;AAAA,GAAA;AAYZ,OAAO,KAAK,YAAY,SAAS,mBAAmB;AAAA,EAClD,EAAE,IAAI,GAAG,MAAM,UAAU;AAAA,EACzB,EAAE,IAAI,GAAG,MAAM,eAAe;AAChC,CAAC;AAKM,IAAK,eAAL,kBAAKC,kBAAL;AAIL,EAAAA,4BAAA,kBAAe,KAAf;AAKA,EAAAA,4BAAA,aAAU,KAAV;AATU,SAAAA;AAAA,GAAA;AAYZ,OAAO,KAAK,YAAY,cAAc,wBAAwB;AAAA,EAC5D,EAAE,IAAI,GAAG,MAAM,eAAe;AAAA,EAC9B,EAAE,IAAI,GAAG,MAAM,UAAU;AAC3B,CAAC;AAKM,IAAK,YAAL,kBAAKC,eAAL;AAIL,EAAAA,sBAAA,gBAAa,KAAb;AAKA,EAAAA,sBAAA,gBAAa,KAAb;AAKA,EAAAA,sBAAA,gBAAa,KAAb;AAKA,EAAAA,sBAAA,eAAY,KAAZ;AAnBU,SAAAA;AAAA,GAAA;AAsBZ,OAAO,KAAK,YAAY,WAAW,qBAAqB;AAAA,EACtD,EAAE,IAAI,GAAG,MAAM,aAAa;AAAA,EAC5B,EAAE,IAAI,GAAG,MAAM,aAAa;AAAA,EAC5B,EAAE,IAAI,GAAG,MAAM,aAAa;AAAA,EAC5B,EAAE,IAAI,GAAG,MAAM,YAAY;AAC7B,CAAC;AAKM,MAAM,OA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,gBAAe,EAAE,eAAe,YAAY,OAAO;AAAA,EAChE;AAAA,EAEA,OAAO,OAAO,GAA8D,GAAuE;AACjJ,WAAO,OAAO,KAAK,OAAO,iBAAgB,GAAG,CAAC;AAAA,EAChD;AACF;AAhCa,gBAWK,UAAyB;AAX9B,gBAYK,WAAW;AAZhB,gBAaK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAU,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AACxE,CAAC;AAfI,IAAM,iBAAN;","names":["JobType","WorkerStatus","JobStatus"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.cjs b/packages/javascript/dist/gen/livekit_analytics_pb.cjs deleted file mode 100644 index 155d9f86..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.cjs +++ /dev/null @@ -1,1087 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_analytics_pb_exports = {}; -__export(livekit_analytics_pb_exports, { - AnalyticsClientMeta: () => AnalyticsClientMeta, - AnalyticsEvent: () => AnalyticsEvent, - AnalyticsEventType: () => AnalyticsEventType, - AnalyticsEvents: () => AnalyticsEvents, - AnalyticsNodeRooms: () => AnalyticsNodeRooms, - AnalyticsRoom: () => AnalyticsRoom, - AnalyticsRoomParticipant: () => AnalyticsRoomParticipant, - AnalyticsStat: () => AnalyticsStat, - AnalyticsStats: () => AnalyticsStats, - AnalyticsStream: () => AnalyticsStream, - AnalyticsVideoLayer: () => AnalyticsVideoLayer, - StreamType: () => StreamType -}); -module.exports = __toCommonJS(livekit_analytics_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); -var import_livekit_ingress_pb = require("./livekit_ingress_pb.cjs"); -var import_livekit_sip_pb = require("./livekit_sip_pb.cjs"); -var StreamType = /* @__PURE__ */ ((StreamType2) => { - StreamType2[StreamType2["UPSTREAM"] = 0] = "UPSTREAM"; - StreamType2[StreamType2["DOWNSTREAM"] = 1] = "DOWNSTREAM"; - return StreamType2; -})(StreamType || {}); -import_protobuf.proto3.util.setEnumType(StreamType, "livekit.StreamType", [ - { no: 0, name: "UPSTREAM" }, - { no: 1, name: "DOWNSTREAM" } -]); -var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => { - AnalyticsEventType2[AnalyticsEventType2["ROOM_CREATED"] = 0] = "ROOM_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["ROOM_ENDED"] = 1] = "ROOM_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_JOINED"] = 2] = "PARTICIPANT_JOINED"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_LEFT"] = 3] = "PARTICIPANT_LEFT"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED"] = 4] = "TRACK_PUBLISHED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_REQUESTED"] = 20] = "TRACK_PUBLISH_REQUESTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNPUBLISHED"] = 5] = "TRACK_UNPUBLISHED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBED"] = 6] = "TRACK_SUBSCRIBED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_REQUESTED"] = 21] = "TRACK_SUBSCRIBE_REQUESTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_FAILED"] = 25] = "TRACK_SUBSCRIBE_FAILED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNSUBSCRIBED"] = 7] = "TRACK_UNSUBSCRIBED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED_UPDATE"] = 10] = "TRACK_PUBLISHED_UPDATE"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_MUTED"] = 23] = "TRACK_MUTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNMUTED"] = 24] = "TRACK_UNMUTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_STATS"] = 26] = "TRACK_PUBLISH_STATS"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_STATS"] = 27] = "TRACK_SUBSCRIBE_STATS"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_ACTIVE"] = 11] = "PARTICIPANT_ACTIVE"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_RESUMED"] = 22] = "PARTICIPANT_RESUMED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_STARTED"] = 12] = "EGRESS_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_ENDED"] = 13] = "EGRESS_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_UPDATED"] = 28] = "EGRESS_UPDATED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"] = 14] = "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"; - AnalyticsEventType2[AnalyticsEventType2["RECONNECTED"] = 15] = "RECONNECTED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_CREATED"] = 18] = "INGRESS_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_DELETED"] = 19] = "INGRESS_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_STARTED"] = 16] = "INGRESS_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_ENDED"] = 17] = "INGRESS_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_UPDATED"] = 29] = "INGRESS_UPDATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_CREATED"] = 30] = "SIP_INBOUND_TRUNK_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_DELETED"] = 31] = "SIP_INBOUND_TRUNK_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_CREATED"] = 32] = "SIP_OUTBOUND_TRUNK_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_DELETED"] = 33] = "SIP_OUTBOUND_TRUNK_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_CREATED"] = 34] = "SIP_DISPATCH_RULE_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_DELETED"] = 35] = "SIP_DISPATCH_RULE_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_PARTICIPANT_CREATED"] = 36] = "SIP_PARTICIPANT_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_INCOMING"] = 37] = "SIP_CALL_INCOMING"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_STARTED"] = 38] = "SIP_CALL_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_ENDED"] = 39] = "SIP_CALL_ENDED"; - return AnalyticsEventType2; -})(AnalyticsEventType || {}); -import_protobuf.proto3.util.setEnumType(AnalyticsEventType, "livekit.AnalyticsEventType", [ - { no: 0, name: "ROOM_CREATED" }, - { no: 1, name: "ROOM_ENDED" }, - { no: 2, name: "PARTICIPANT_JOINED" }, - { no: 3, name: "PARTICIPANT_LEFT" }, - { no: 4, name: "TRACK_PUBLISHED" }, - { no: 20, name: "TRACK_PUBLISH_REQUESTED" }, - { no: 5, name: "TRACK_UNPUBLISHED" }, - { no: 6, name: "TRACK_SUBSCRIBED" }, - { no: 21, name: "TRACK_SUBSCRIBE_REQUESTED" }, - { no: 25, name: "TRACK_SUBSCRIBE_FAILED" }, - { no: 7, name: "TRACK_UNSUBSCRIBED" }, - { no: 10, name: "TRACK_PUBLISHED_UPDATE" }, - { no: 23, name: "TRACK_MUTED" }, - { no: 24, name: "TRACK_UNMUTED" }, - { no: 26, name: "TRACK_PUBLISH_STATS" }, - { no: 27, name: "TRACK_SUBSCRIBE_STATS" }, - { no: 11, name: "PARTICIPANT_ACTIVE" }, - { no: 22, name: "PARTICIPANT_RESUMED" }, - { no: 12, name: "EGRESS_STARTED" }, - { no: 13, name: "EGRESS_ENDED" }, - { no: 28, name: "EGRESS_UPDATED" }, - { no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY" }, - { no: 15, name: "RECONNECTED" }, - { no: 18, name: "INGRESS_CREATED" }, - { no: 19, name: "INGRESS_DELETED" }, - { no: 16, name: "INGRESS_STARTED" }, - { no: 17, name: "INGRESS_ENDED" }, - { no: 29, name: "INGRESS_UPDATED" }, - { no: 30, name: "SIP_INBOUND_TRUNK_CREATED" }, - { no: 31, name: "SIP_INBOUND_TRUNK_DELETED" }, - { no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED" }, - { no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED" }, - { no: 34, name: "SIP_DISPATCH_RULE_CREATED" }, - { no: 35, name: "SIP_DISPATCH_RULE_DELETED" }, - { no: 36, name: "SIP_PARTICIPANT_CREATED" }, - { no: 37, name: "SIP_CALL_INCOMING" }, - { no: 38, name: "SIP_CALL_STARTED" }, - { no: 39, name: "SIP_CALL_ENDED" } -]); -const _AnalyticsVideoLayer = class _AnalyticsVideoLayer extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int32 layer = 1; - */ - this.layer = 0; - /** - * @generated from field: uint32 packets = 2; - */ - this.packets = 0; - /** - * @generated from field: uint64 bytes = 3; - */ - this.bytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 frames = 4; - */ - this.frames = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsVideoLayer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsVideoLayer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsVideoLayer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsVideoLayer, a, b); - } -}; -_AnalyticsVideoLayer.runtime = import_protobuf.proto3; -_AnalyticsVideoLayer.typeName = "livekit.AnalyticsVideoLayer"; -_AnalyticsVideoLayer.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "layer", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let AnalyticsVideoLayer = _AnalyticsVideoLayer; -const _AnalyticsStream = class _AnalyticsStream extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 ssrc = 1; - */ - this.ssrc = 0; - /** - * @generated from field: uint32 primary_packets = 2; - */ - this.primaryPackets = 0; - /** - * @generated from field: uint64 primary_bytes = 3; - */ - this.primaryBytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 retransmit_packets = 4; - */ - this.retransmitPackets = 0; - /** - * @generated from field: uint64 retransmit_bytes = 5; - */ - this.retransmitBytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 padding_packets = 6; - */ - this.paddingPackets = 0; - /** - * @generated from field: uint64 padding_bytes = 7; - */ - this.paddingBytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 packets_lost = 8; - */ - this.packetsLost = 0; - /** - * @generated from field: uint32 frames = 9; - */ - this.frames = 0; - /** - * @generated from field: uint32 rtt = 10; - */ - this.rtt = 0; - /** - * @generated from field: uint32 jitter = 11; - */ - this.jitter = 0; - /** - * @generated from field: uint32 nacks = 12; - */ - this.nacks = 0; - /** - * @generated from field: uint32 plis = 13; - */ - this.plis = 0; - /** - * @generated from field: uint32 firs = 14; - */ - this.firs = 0; - /** - * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; - */ - this.videoLayers = []; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - this.packetsOutOfOrder = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStream().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStream().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStream().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsStream, a, b); - } -}; -_AnalyticsStream.runtime = import_protobuf.proto3; -_AnalyticsStream.typeName = "livekit.AnalyticsStream"; -_AnalyticsStream.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ssrc", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "primary_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "primary_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "retransmit_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "retransmit_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 6, - name: "padding_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "padding_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 8, - name: "packets_lost", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "rtt", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 11, - name: "jitter", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 12, - name: "nacks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 13, - name: "plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 14, - name: "firs", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, - { no: 17, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, - { no: 18, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, - { - no: 19, - name: "packets_out_of_order", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let AnalyticsStream = _AnalyticsStream; -const _AnalyticsStat = class _AnalyticsStat extends import_protobuf.Message { - constructor(data) { - super(); - /** - * unique id for this stat - * - * @generated from field: string id = 14; - */ - this.id = ""; - /** - * @generated from field: string analytics_key = 1; - */ - this.analyticsKey = ""; - /** - * @generated from field: livekit.StreamType kind = 2; - */ - this.kind = 0 /* UPSTREAM */; - /** - * @generated from field: string node = 4; - */ - this.node = ""; - /** - * @generated from field: string room_id = 5; - */ - this.roomId = ""; - /** - * @generated from field: string room_name = 6; - */ - this.roomName = ""; - /** - * @generated from field: string participant_id = 7; - */ - this.participantId = ""; - /** - * @generated from field: string track_id = 8; - */ - this.trackId = ""; - /** - * average score - * - * @generated from field: float score = 9; - */ - this.score = 0; - /** - * @generated from field: repeated livekit.AnalyticsStream streams = 10; - */ - this.streams = []; - /** - * @generated from field: string mime = 11; - */ - this.mime = ""; - /** - * @generated from field: float min_score = 12; - */ - this.minScore = 0; - /** - * @generated from field: float median_score = 13; - */ - this.medianScore = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStat().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStat().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStat().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsStat, a, b); - } -}; -_AnalyticsStat.runtime = import_protobuf.proto3; -_AnalyticsStat.typeName = "livekit.AnalyticsStat"; -_AnalyticsStat.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 14, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 1, - name: "analytics_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamType) }, - { no: 3, name: "time_stamp", kind: "message", T: import_protobuf.Timestamp }, - { - no: 4, - name: "node", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, - { - no: 11, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "min_score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 13, - name: "median_score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let AnalyticsStat = _AnalyticsStat; -const _AnalyticsStats = class _AnalyticsStats extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AnalyticsStat stats = 1; - */ - this.stats = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsStats, a, b); - } -}; -_AnalyticsStats.runtime = import_protobuf.proto3; -_AnalyticsStats.typeName = "livekit.AnalyticsStats"; -_AnalyticsStats.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true } -]); -let AnalyticsStats = _AnalyticsStats; -const _AnalyticsClientMeta = class _AnalyticsClientMeta extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string region = 1; - */ - this.region = ""; - /** - * @generated from field: string node = 2; - */ - this.node = ""; - /** - * @generated from field: string client_addr = 3; - */ - this.clientAddr = ""; - /** - * @generated from field: uint32 client_connect_time = 4; - */ - this.clientConnectTime = 0; - /** - * udp, tcp, turn - * - * @generated from field: string connection_type = 5; - */ - this.connectionType = ""; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 6; - */ - this.reconnectReason = import_livekit_models_pb.ReconnectReason.RR_UNKNOWN; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsClientMeta().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsClientMeta().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsClientMeta().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsClientMeta, a, b); - } -}; -_AnalyticsClientMeta.runtime = import_protobuf.proto3; -_AnalyticsClientMeta.typeName = "livekit.AnalyticsClientMeta"; -_AnalyticsClientMeta.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "node", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "client_addr", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "client_connect_time", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "connection_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "reconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ReconnectReason) }, - { no: 7, name: "geo_hash", kind: "scalar", T: 9, opt: true }, - { no: 8, name: "country", kind: "scalar", T: 9, opt: true }, - { no: 9, name: "isp_asn", kind: "scalar", T: 13, opt: true } -]); -let AnalyticsClientMeta = _AnalyticsClientMeta; -const _AnalyticsEvent = class _AnalyticsEvent extends import_protobuf.Message { - constructor(data) { - super(); - /** - * unique id for this event - * - * @generated from field: string id = 25; - */ - this.id = ""; - /** - * @generated from field: livekit.AnalyticsEventType type = 1; - */ - this.type = 0 /* ROOM_CREATED */; - /** - * @generated from field: string room_id = 3; - */ - this.roomId = ""; - /** - * @generated from field: string participant_id = 5; - */ - this.participantId = ""; - /** - * @generated from field: string track_id = 7; - */ - this.trackId = ""; - /** - * @generated from field: string analytics_key = 10; - */ - this.analyticsKey = ""; - /** - * @generated from field: string egress_id = 13; - */ - this.egressId = ""; - /** - * @generated from field: string ingress_id = 19; - */ - this.ingressId = ""; - /** - * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; - */ - this.maxSubscribedVideoQuality = import_livekit_models_pb.VideoQuality.LOW; - /** - * @generated from field: string mime = 16; - */ - this.mime = ""; - /** - * @generated from field: string error = 20; - */ - this.error = ""; - /** - * @generated from field: int32 video_layer = 22; - */ - this.videoLayer = 0; - /** - * @generated from field: string node_id = 24; - */ - this.nodeId = ""; - /** - * @generated from field: string sip_call_id = 26; - */ - this.sipCallId = ""; - /** - * @generated from field: string sip_trunk_id = 28; - */ - this.sipTrunkId = ""; - /** - * @generated from field: string sip_dispatch_rule_id = 31; - */ - this.sipDispatchRuleId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsEvent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsEvent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsEvent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsEvent, a, b); - } -}; -_AnalyticsEvent.runtime = import_protobuf.proto3; -_AnalyticsEvent.typeName = "livekit.AnalyticsEvent"; -_AnalyticsEvent.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 25, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 1, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(AnalyticsEventType) }, - { no: 2, name: "timestamp", kind: "message", T: import_protobuf.Timestamp }, - { - no: 3, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "room", kind: "message", T: import_livekit_models_pb.Room }, - { - no: 5, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, - { - no: 7, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo }, - { - no: 10, - name: "analytics_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 11, name: "client_info", kind: "message", T: import_livekit_models_pb.ClientInfo }, - { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, - { - no: 13, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 19, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, - { no: 15, name: "publisher", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, - { - no: 16, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 17, name: "egress", kind: "message", T: import_livekit_egress_pb.EgressInfo }, - { no: 18, name: "ingress", kind: "message", T: import_livekit_ingress_pb.IngressInfo }, - { - no: 20, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 21, name: "rtp_stats", kind: "message", T: import_livekit_models_pb.RTPStats }, - { - no: 22, - name: "video_layer", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 24, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 26, - name: "sip_call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 27, name: "sip_call", kind: "message", T: import_livekit_sip_pb.SIPCallInfo }, - { - no: 28, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 29, name: "sip_inbound_trunk", kind: "message", T: import_livekit_sip_pb.SIPInboundTrunkInfo }, - { no: 30, name: "sip_outbound_trunk", kind: "message", T: import_livekit_sip_pb.SIPOutboundTrunkInfo }, - { - no: 31, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 32, name: "sip_dispatch_rule", kind: "message", T: import_livekit_sip_pb.SIPDispatchRuleInfo } -]); -let AnalyticsEvent = _AnalyticsEvent; -const _AnalyticsEvents = class _AnalyticsEvents extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AnalyticsEvent events = 1; - */ - this.events = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsEvents().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsEvents().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsEvents().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsEvents, a, b); - } -}; -_AnalyticsEvents.runtime = import_protobuf.proto3; -_AnalyticsEvents.typeName = "livekit.AnalyticsEvents"; -_AnalyticsEvents.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true } -]); -let AnalyticsEvents = _AnalyticsEvents; -const _AnalyticsRoomParticipant = class _AnalyticsRoomParticipant extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: string name = 3; - */ - this.name = ""; - /** - * @generated from field: livekit.ParticipantInfo.State state = 4; - */ - this.state = import_livekit_models_pb.ParticipantInfo_State.JOINING; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsRoomParticipant().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsRoomParticipant().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsRoomParticipant().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsRoomParticipant, a, b); - } -}; -_AnalyticsRoomParticipant.runtime = import_protobuf.proto3; -_AnalyticsRoomParticipant.typeName = "livekit.AnalyticsRoomParticipant"; -_AnalyticsRoomParticipant.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ParticipantInfo_State) }, - { no: 5, name: "joined_at", kind: "message", T: import_protobuf.Timestamp } -]); -let AnalyticsRoomParticipant = _AnalyticsRoomParticipant; -const _AnalyticsRoom = class _AnalyticsRoom extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string project_id = 5; - */ - this.projectId = ""; - /** - * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; - */ - this.participants = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsRoom().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsRoom().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsRoom().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsRoom, a, b); - } -}; -_AnalyticsRoom.runtime = import_protobuf.proto3; -_AnalyticsRoom.typeName = "livekit.AnalyticsRoom"; -_AnalyticsRoom.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "project_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "created_at", kind: "message", T: import_protobuf.Timestamp }, - { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true } -]); -let AnalyticsRoom = _AnalyticsRoom; -const _AnalyticsNodeRooms = class _AnalyticsNodeRooms extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string node_id = 1; - */ - this.nodeId = ""; - /** - * @generated from field: uint64 sequence_number = 2; - */ - this.sequenceNumber = import_protobuf.protoInt64.zero; - /** - * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; - */ - this.rooms = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsNodeRooms().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsNodeRooms().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsNodeRooms().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AnalyticsNodeRooms, a, b); - } -}; -_AnalyticsNodeRooms.runtime = import_protobuf.proto3; -_AnalyticsNodeRooms.typeName = "livekit.AnalyticsNodeRooms"; -_AnalyticsNodeRooms.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { no: 3, name: "timestamp", kind: "message", T: import_protobuf.Timestamp }, - { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true } -]); -let AnalyticsNodeRooms = _AnalyticsNodeRooms; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - AnalyticsClientMeta, - AnalyticsEvent, - AnalyticsEventType, - AnalyticsEvents, - AnalyticsNodeRooms, - AnalyticsRoom, - AnalyticsRoomParticipant, - AnalyticsStat, - AnalyticsStats, - AnalyticsStream, - AnalyticsVideoLayer, - StreamType -}); -//# sourceMappingURL=livekit_analytics_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map b/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map deleted file mode 100644 index d708b722..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_analytics_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_analytics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\nimport { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from \"./livekit_sip_pb.js\";\n\n/**\n * @generated from enum livekit.StreamType\n */\nexport enum StreamType {\n /**\n * @generated from enum value: UPSTREAM = 0;\n */\n UPSTREAM = 0,\n\n /**\n * @generated from enum value: DOWNSTREAM = 1;\n */\n DOWNSTREAM = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamType)\nproto3.util.setEnumType(StreamType, \"livekit.StreamType\", [\n { no: 0, name: \"UPSTREAM\" },\n { no: 1, name: \"DOWNSTREAM\" },\n]);\n\n/**\n * @generated from enum livekit.AnalyticsEventType\n */\nexport enum AnalyticsEventType {\n /**\n * @generated from enum value: ROOM_CREATED = 0;\n */\n ROOM_CREATED = 0,\n\n /**\n * @generated from enum value: ROOM_ENDED = 1;\n */\n ROOM_ENDED = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_JOINED = 2;\n */\n PARTICIPANT_JOINED = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_LEFT = 3;\n */\n PARTICIPANT_LEFT = 3,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED = 4;\n */\n TRACK_PUBLISHED = 4,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20;\n */\n TRACK_PUBLISH_REQUESTED = 20,\n\n /**\n * @generated from enum value: TRACK_UNPUBLISHED = 5;\n */\n TRACK_UNPUBLISHED = 5,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBED = 6;\n */\n TRACK_SUBSCRIBED = 6,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21;\n */\n TRACK_SUBSCRIBE_REQUESTED = 21,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25;\n */\n TRACK_SUBSCRIBE_FAILED = 25,\n\n /**\n * @generated from enum value: TRACK_UNSUBSCRIBED = 7;\n */\n TRACK_UNSUBSCRIBED = 7,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10;\n */\n TRACK_PUBLISHED_UPDATE = 10,\n\n /**\n * @generated from enum value: TRACK_MUTED = 23;\n */\n TRACK_MUTED = 23,\n\n /**\n * @generated from enum value: TRACK_UNMUTED = 24;\n */\n TRACK_UNMUTED = 24,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_STATS = 26;\n */\n TRACK_PUBLISH_STATS = 26,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27;\n */\n TRACK_SUBSCRIBE_STATS = 27,\n\n /**\n * @generated from enum value: PARTICIPANT_ACTIVE = 11;\n */\n PARTICIPANT_ACTIVE = 11,\n\n /**\n * @generated from enum value: PARTICIPANT_RESUMED = 22;\n */\n PARTICIPANT_RESUMED = 22,\n\n /**\n * @generated from enum value: EGRESS_STARTED = 12;\n */\n EGRESS_STARTED = 12,\n\n /**\n * @generated from enum value: EGRESS_ENDED = 13;\n */\n EGRESS_ENDED = 13,\n\n /**\n * @generated from enum value: EGRESS_UPDATED = 28;\n */\n EGRESS_UPDATED = 28,\n\n /**\n * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14;\n */\n TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14,\n\n /**\n * @generated from enum value: RECONNECTED = 15;\n */\n RECONNECTED = 15,\n\n /**\n * @generated from enum value: INGRESS_CREATED = 18;\n */\n INGRESS_CREATED = 18,\n\n /**\n * @generated from enum value: INGRESS_DELETED = 19;\n */\n INGRESS_DELETED = 19,\n\n /**\n * @generated from enum value: INGRESS_STARTED = 16;\n */\n INGRESS_STARTED = 16,\n\n /**\n * @generated from enum value: INGRESS_ENDED = 17;\n */\n INGRESS_ENDED = 17,\n\n /**\n * @generated from enum value: INGRESS_UPDATED = 29;\n */\n INGRESS_UPDATED = 29,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30;\n */\n SIP_INBOUND_TRUNK_CREATED = 30,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31;\n */\n SIP_INBOUND_TRUNK_DELETED = 31,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32;\n */\n SIP_OUTBOUND_TRUNK_CREATED = 32,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33;\n */\n SIP_OUTBOUND_TRUNK_DELETED = 33,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34;\n */\n SIP_DISPATCH_RULE_CREATED = 34,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35;\n */\n SIP_DISPATCH_RULE_DELETED = 35,\n\n /**\n * @generated from enum value: SIP_PARTICIPANT_CREATED = 36;\n */\n SIP_PARTICIPANT_CREATED = 36,\n\n /**\n * @generated from enum value: SIP_CALL_INCOMING = 37;\n */\n SIP_CALL_INCOMING = 37,\n\n /**\n * @generated from enum value: SIP_CALL_STARTED = 38;\n */\n SIP_CALL_STARTED = 38,\n\n /**\n * @generated from enum value: SIP_CALL_ENDED = 39;\n */\n SIP_CALL_ENDED = 39,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AnalyticsEventType)\nproto3.util.setEnumType(AnalyticsEventType, \"livekit.AnalyticsEventType\", [\n { no: 0, name: \"ROOM_CREATED\" },\n { no: 1, name: \"ROOM_ENDED\" },\n { no: 2, name: \"PARTICIPANT_JOINED\" },\n { no: 3, name: \"PARTICIPANT_LEFT\" },\n { no: 4, name: \"TRACK_PUBLISHED\" },\n { no: 20, name: \"TRACK_PUBLISH_REQUESTED\" },\n { no: 5, name: \"TRACK_UNPUBLISHED\" },\n { no: 6, name: \"TRACK_SUBSCRIBED\" },\n { no: 21, name: \"TRACK_SUBSCRIBE_REQUESTED\" },\n { no: 25, name: \"TRACK_SUBSCRIBE_FAILED\" },\n { no: 7, name: \"TRACK_UNSUBSCRIBED\" },\n { no: 10, name: \"TRACK_PUBLISHED_UPDATE\" },\n { no: 23, name: \"TRACK_MUTED\" },\n { no: 24, name: \"TRACK_UNMUTED\" },\n { no: 26, name: \"TRACK_PUBLISH_STATS\" },\n { no: 27, name: \"TRACK_SUBSCRIBE_STATS\" },\n { no: 11, name: \"PARTICIPANT_ACTIVE\" },\n { no: 22, name: \"PARTICIPANT_RESUMED\" },\n { no: 12, name: \"EGRESS_STARTED\" },\n { no: 13, name: \"EGRESS_ENDED\" },\n { no: 28, name: \"EGRESS_UPDATED\" },\n { no: 14, name: \"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY\" },\n { no: 15, name: \"RECONNECTED\" },\n { no: 18, name: \"INGRESS_CREATED\" },\n { no: 19, name: \"INGRESS_DELETED\" },\n { no: 16, name: \"INGRESS_STARTED\" },\n { no: 17, name: \"INGRESS_ENDED\" },\n { no: 29, name: \"INGRESS_UPDATED\" },\n { no: 30, name: \"SIP_INBOUND_TRUNK_CREATED\" },\n { no: 31, name: \"SIP_INBOUND_TRUNK_DELETED\" },\n { no: 32, name: \"SIP_OUTBOUND_TRUNK_CREATED\" },\n { no: 33, name: \"SIP_OUTBOUND_TRUNK_DELETED\" },\n { no: 34, name: \"SIP_DISPATCH_RULE_CREATED\" },\n { no: 35, name: \"SIP_DISPATCH_RULE_DELETED\" },\n { no: 36, name: \"SIP_PARTICIPANT_CREATED\" },\n { no: 37, name: \"SIP_CALL_INCOMING\" },\n { no: 38, name: \"SIP_CALL_STARTED\" },\n { no: 39, name: \"SIP_CALL_ENDED\" },\n]);\n\n/**\n * @generated from message livekit.AnalyticsVideoLayer\n */\nexport class AnalyticsVideoLayer extends Message {\n /**\n * @generated from field: int32 layer = 1;\n */\n layer = 0;\n\n /**\n * @generated from field: uint32 packets = 2;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 bytes = 3;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 frames = 4;\n */\n frames = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsVideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsVideoLayer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStream\n */\nexport class AnalyticsStream extends Message {\n /**\n * @generated from field: uint32 ssrc = 1;\n */\n ssrc = 0;\n\n /**\n * @generated from field: uint32 primary_packets = 2;\n */\n primaryPackets = 0;\n\n /**\n * @generated from field: uint64 primary_bytes = 3;\n */\n primaryBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 retransmit_packets = 4;\n */\n retransmitPackets = 0;\n\n /**\n * @generated from field: uint64 retransmit_bytes = 5;\n */\n retransmitBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 padding_packets = 6;\n */\n paddingPackets = 0;\n\n /**\n * @generated from field: uint64 padding_bytes = 7;\n */\n paddingBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: uint32 frames = 9;\n */\n frames = 0;\n\n /**\n * @generated from field: uint32 rtt = 10;\n */\n rtt = 0;\n\n /**\n * @generated from field: uint32 jitter = 11;\n */\n jitter = 0;\n\n /**\n * @generated from field: uint32 nacks = 12;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 plis = 13;\n */\n plis = 0;\n\n /**\n * @generated from field: uint32 firs = 14;\n */\n firs = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15;\n */\n videoLayers: AnalyticsVideoLayer[] = [];\n\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 17;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 18;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"primary_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"primary_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"retransmit_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"retransmit_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"padding_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"padding_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"rtt\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 13, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 15, name: \"video_layers\", kind: \"message\", T: AnalyticsVideoLayer, repeated: true },\n { no: 17, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 18, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStream, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStat\n */\nexport class AnalyticsStat extends Message {\n /**\n * unique id for this stat\n *\n * @generated from field: string id = 14;\n */\n id = \"\";\n\n /**\n * @generated from field: string analytics_key = 1;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.StreamType kind = 2;\n */\n kind = StreamType.UPSTREAM;\n\n /**\n * @generated from field: google.protobuf.Timestamp time_stamp = 3;\n */\n timeStamp?: Timestamp;\n\n /**\n * @generated from field: string node = 4;\n */\n node = \"\";\n\n /**\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 6;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_id = 7;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string track_id = 8;\n */\n trackId = \"\";\n\n /**\n * average score\n *\n * @generated from field: float score = 9;\n */\n score = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsStream streams = 10;\n */\n streams: AnalyticsStream[] = [];\n\n /**\n * @generated from field: string mime = 11;\n */\n mime = \"\";\n\n /**\n * @generated from field: float min_score = 12;\n */\n minScore = 0;\n\n /**\n * @generated from field: float median_score = 13;\n */\n medianScore = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStat\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 14, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(StreamType) },\n { no: 3, name: \"time_stamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 10, name: \"streams\", kind: \"message\", T: AnalyticsStream, repeated: true },\n { no: 11, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"min_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"median_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStat, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStats\n */\nexport class AnalyticsStats extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsStat stats = 1;\n */\n stats: AnalyticsStat[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stats\", kind: \"message\", T: AnalyticsStat, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsClientMeta\n */\nexport class AnalyticsClientMeta extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string node = 2;\n */\n node = \"\";\n\n /**\n * @generated from field: string client_addr = 3;\n */\n clientAddr = \"\";\n\n /**\n * @generated from field: uint32 client_connect_time = 4;\n */\n clientConnectTime = 0;\n\n /**\n * udp, tcp, turn\n *\n * @generated from field: string connection_type = 5;\n */\n connectionType = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 6;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional string geo_hash = 7;\n */\n geoHash?: string;\n\n /**\n * @generated from field: optional string country = 8;\n */\n country?: string;\n\n /**\n * @generated from field: optional uint32 isp_asn = 9;\n */\n ispAsn?: number;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsClientMeta\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"client_addr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"client_connect_time\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"connection_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 7, name: \"geo_hash\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"country\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"isp_asn\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsClientMeta, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvent\n */\nexport class AnalyticsEvent extends Message {\n /**\n * unique id for this event\n *\n * @generated from field: string id = 25;\n */\n id = \"\";\n\n /**\n * @generated from field: livekit.AnalyticsEventType type = 1;\n */\n type = AnalyticsEventType.ROOM_CREATED;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 2;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: string room_id = 3;\n */\n roomId = \"\";\n\n /**\n * @generated from field: livekit.Room room = 4;\n */\n room?: Room;\n\n /**\n * @generated from field: string participant_id = 5;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 6;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string track_id = 7;\n */\n trackId = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * @generated from field: string analytics_key = 10;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.ClientInfo client_info = 11;\n */\n clientInfo?: ClientInfo;\n\n /**\n * @generated from field: livekit.AnalyticsClientMeta client_meta = 12;\n */\n clientMeta?: AnalyticsClientMeta;\n\n /**\n * @generated from field: string egress_id = 13;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string ingress_id = 19;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14;\n */\n maxSubscribedVideoQuality = VideoQuality.LOW;\n\n /**\n * @generated from field: livekit.ParticipantInfo publisher = 15;\n */\n publisher?: ParticipantInfo;\n\n /**\n * @generated from field: string mime = 16;\n */\n mime = \"\";\n\n /**\n * @generated from field: livekit.EgressInfo egress = 17;\n */\n egress?: EgressInfo;\n\n /**\n * @generated from field: livekit.IngressInfo ingress = 18;\n */\n ingress?: IngressInfo;\n\n /**\n * @generated from field: string error = 20;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.RTPStats rtp_stats = 21;\n */\n rtpStats?: RTPStats;\n\n /**\n * @generated from field: int32 video_layer = 22;\n */\n videoLayer = 0;\n\n /**\n * @generated from field: string node_id = 24;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: string sip_call_id = 26;\n */\n sipCallId = \"\";\n\n /**\n * @generated from field: livekit.SIPCallInfo sip_call = 27;\n */\n sipCall?: SIPCallInfo;\n\n /**\n * @generated from field: string sip_trunk_id = 28;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29;\n */\n sipInboundTrunk?: SIPInboundTrunkInfo;\n\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30;\n */\n sipOutboundTrunk?: SIPOutboundTrunkInfo;\n\n /**\n * @generated from field: string sip_dispatch_rule_id = 31;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32;\n */\n sipDispatchRule?: SIPDispatchRuleInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 25, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(AnalyticsEventType) },\n { no: 2, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room\", kind: \"message\", T: Room },\n { no: 5, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 7, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 10, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"client_info\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"client_meta\", kind: \"message\", T: AnalyticsClientMeta },\n { no: 13, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 19, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"max_subscribed_video_quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 15, name: \"publisher\", kind: \"message\", T: ParticipantInfo },\n { no: 16, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"egress\", kind: \"message\", T: EgressInfo },\n { no: 18, name: \"ingress\", kind: \"message\", T: IngressInfo },\n { no: 20, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 21, name: \"rtp_stats\", kind: \"message\", T: RTPStats },\n { no: 22, name: \"video_layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 24, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 26, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 27, name: \"sip_call\", kind: \"message\", T: SIPCallInfo },\n { no: 28, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 29, name: \"sip_inbound_trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n { no: 30, name: \"sip_outbound_trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n { no: 31, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 32, name: \"sip_dispatch_rule\", kind: \"message\", T: SIPDispatchRuleInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvents\n */\nexport class AnalyticsEvents extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsEvent events = 1;\n */\n events: AnalyticsEvent[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvents\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"events\", kind: \"message\", T: AnalyticsEvent, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvents, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoomParticipant\n */\nexport class AnalyticsRoomParticipant extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 4;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: google.protobuf.Timestamp joined_at = 5;\n */\n joinedAt?: Timestamp;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoomParticipant\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 5, name: \"joined_at\", kind: \"message\", T: Timestamp },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoomParticipant, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoom\n */\nexport class AnalyticsRoom extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string project_id = 5;\n */\n projectId = \"\";\n\n /**\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4;\n */\n participants: AnalyticsRoomParticipant[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoom\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"created_at\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"participants\", kind: \"message\", T: AnalyticsRoomParticipant, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoom, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsNodeRooms\n */\nexport class AnalyticsNodeRooms extends Message {\n /**\n * @generated from field: string node_id = 1;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: uint64 sequence_number = 2;\n */\n sequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 3;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoom rooms = 4;\n */\n rooms: AnalyticsRoom[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsNodeRooms\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"rooms\", kind: \"message\", T: AnalyticsRoom, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsNodeRooms, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAuD;AACvD,+BAA6H;AAC7H,+BAA2B;AA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eAAe,UAAU,KAAK;AAC5E,CAAC;AAjCI,IAAM,qBAAN;","names":["StreamType","AnalyticsEventType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.d.ts b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts deleted file mode 100644 index 9a0c7806..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.d.ts +++ /dev/null @@ -1,679 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; -import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; -import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; -/** - * @generated from enum livekit.StreamType - */ -export declare enum StreamType { - /** - * @generated from enum value: UPSTREAM = 0; - */ - UPSTREAM = 0, - /** - * @generated from enum value: DOWNSTREAM = 1; - */ - DOWNSTREAM = 1 -} -/** - * @generated from enum livekit.AnalyticsEventType - */ -export declare enum AnalyticsEventType { - /** - * @generated from enum value: ROOM_CREATED = 0; - */ - ROOM_CREATED = 0, - /** - * @generated from enum value: ROOM_ENDED = 1; - */ - ROOM_ENDED = 1, - /** - * @generated from enum value: PARTICIPANT_JOINED = 2; - */ - PARTICIPANT_JOINED = 2, - /** - * @generated from enum value: PARTICIPANT_LEFT = 3; - */ - PARTICIPANT_LEFT = 3, - /** - * @generated from enum value: TRACK_PUBLISHED = 4; - */ - TRACK_PUBLISHED = 4, - /** - * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20; - */ - TRACK_PUBLISH_REQUESTED = 20, - /** - * @generated from enum value: TRACK_UNPUBLISHED = 5; - */ - TRACK_UNPUBLISHED = 5, - /** - * @generated from enum value: TRACK_SUBSCRIBED = 6; - */ - TRACK_SUBSCRIBED = 6, - /** - * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21; - */ - TRACK_SUBSCRIBE_REQUESTED = 21, - /** - * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25; - */ - TRACK_SUBSCRIBE_FAILED = 25, - /** - * @generated from enum value: TRACK_UNSUBSCRIBED = 7; - */ - TRACK_UNSUBSCRIBED = 7, - /** - * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10; - */ - TRACK_PUBLISHED_UPDATE = 10, - /** - * @generated from enum value: TRACK_MUTED = 23; - */ - TRACK_MUTED = 23, - /** - * @generated from enum value: TRACK_UNMUTED = 24; - */ - TRACK_UNMUTED = 24, - /** - * @generated from enum value: TRACK_PUBLISH_STATS = 26; - */ - TRACK_PUBLISH_STATS = 26, - /** - * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27; - */ - TRACK_SUBSCRIBE_STATS = 27, - /** - * @generated from enum value: PARTICIPANT_ACTIVE = 11; - */ - PARTICIPANT_ACTIVE = 11, - /** - * @generated from enum value: PARTICIPANT_RESUMED = 22; - */ - PARTICIPANT_RESUMED = 22, - /** - * @generated from enum value: EGRESS_STARTED = 12; - */ - EGRESS_STARTED = 12, - /** - * @generated from enum value: EGRESS_ENDED = 13; - */ - EGRESS_ENDED = 13, - /** - * @generated from enum value: EGRESS_UPDATED = 28; - */ - EGRESS_UPDATED = 28, - /** - * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14; - */ - TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14, - /** - * @generated from enum value: RECONNECTED = 15; - */ - RECONNECTED = 15, - /** - * @generated from enum value: INGRESS_CREATED = 18; - */ - INGRESS_CREATED = 18, - /** - * @generated from enum value: INGRESS_DELETED = 19; - */ - INGRESS_DELETED = 19, - /** - * @generated from enum value: INGRESS_STARTED = 16; - */ - INGRESS_STARTED = 16, - /** - * @generated from enum value: INGRESS_ENDED = 17; - */ - INGRESS_ENDED = 17, - /** - * @generated from enum value: INGRESS_UPDATED = 29; - */ - INGRESS_UPDATED = 29, - /** - * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30; - */ - SIP_INBOUND_TRUNK_CREATED = 30, - /** - * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31; - */ - SIP_INBOUND_TRUNK_DELETED = 31, - /** - * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32; - */ - SIP_OUTBOUND_TRUNK_CREATED = 32, - /** - * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33; - */ - SIP_OUTBOUND_TRUNK_DELETED = 33, - /** - * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34; - */ - SIP_DISPATCH_RULE_CREATED = 34, - /** - * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35; - */ - SIP_DISPATCH_RULE_DELETED = 35, - /** - * @generated from enum value: SIP_PARTICIPANT_CREATED = 36; - */ - SIP_PARTICIPANT_CREATED = 36, - /** - * @generated from enum value: SIP_CALL_INCOMING = 37; - */ - SIP_CALL_INCOMING = 37, - /** - * @generated from enum value: SIP_CALL_STARTED = 38; - */ - SIP_CALL_STARTED = 38, - /** - * @generated from enum value: SIP_CALL_ENDED = 39; - */ - SIP_CALL_ENDED = 39 -} -/** - * @generated from message livekit.AnalyticsVideoLayer - */ -export declare class AnalyticsVideoLayer extends Message { - /** - * @generated from field: int32 layer = 1; - */ - layer: number; - /** - * @generated from field: uint32 packets = 2; - */ - packets: number; - /** - * @generated from field: uint64 bytes = 3; - */ - bytes: bigint; - /** - * @generated from field: uint32 frames = 4; - */ - frames: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsVideoLayer"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer; - static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsStream - */ -export declare class AnalyticsStream extends Message { - /** - * @generated from field: uint32 ssrc = 1; - */ - ssrc: number; - /** - * @generated from field: uint32 primary_packets = 2; - */ - primaryPackets: number; - /** - * @generated from field: uint64 primary_bytes = 3; - */ - primaryBytes: bigint; - /** - * @generated from field: uint32 retransmit_packets = 4; - */ - retransmitPackets: number; - /** - * @generated from field: uint64 retransmit_bytes = 5; - */ - retransmitBytes: bigint; - /** - * @generated from field: uint32 padding_packets = 6; - */ - paddingPackets: number; - /** - * @generated from field: uint64 padding_bytes = 7; - */ - paddingBytes: bigint; - /** - * @generated from field: uint32 packets_lost = 8; - */ - packetsLost: number; - /** - * @generated from field: uint32 frames = 9; - */ - frames: number; - /** - * @generated from field: uint32 rtt = 10; - */ - rtt: number; - /** - * @generated from field: uint32 jitter = 11; - */ - jitter: number; - /** - * @generated from field: uint32 nacks = 12; - */ - nacks: number; - /** - * @generated from field: uint32 plis = 13; - */ - plis: number; - /** - * @generated from field: uint32 firs = 14; - */ - firs: number; - /** - * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; - */ - videoLayers: AnalyticsVideoLayer[]; - /** - * @generated from field: google.protobuf.Timestamp start_time = 17; - */ - startTime?: Timestamp; - /** - * @generated from field: google.protobuf.Timestamp end_time = 18; - */ - endTime?: Timestamp; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - packetsOutOfOrder: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStream"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream; - static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsStat - */ -export declare class AnalyticsStat extends Message { - /** - * unique id for this stat - * - * @generated from field: string id = 14; - */ - id: string; - /** - * @generated from field: string analytics_key = 1; - */ - analyticsKey: string; - /** - * @generated from field: livekit.StreamType kind = 2; - */ - kind: StreamType; - /** - * @generated from field: google.protobuf.Timestamp time_stamp = 3; - */ - timeStamp?: Timestamp; - /** - * @generated from field: string node = 4; - */ - node: string; - /** - * @generated from field: string room_id = 5; - */ - roomId: string; - /** - * @generated from field: string room_name = 6; - */ - roomName: string; - /** - * @generated from field: string participant_id = 7; - */ - participantId: string; - /** - * @generated from field: string track_id = 8; - */ - trackId: string; - /** - * average score - * - * @generated from field: float score = 9; - */ - score: number; - /** - * @generated from field: repeated livekit.AnalyticsStream streams = 10; - */ - streams: AnalyticsStream[]; - /** - * @generated from field: string mime = 11; - */ - mime: string; - /** - * @generated from field: float min_score = 12; - */ - minScore: number; - /** - * @generated from field: float median_score = 13; - */ - medianScore: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStat"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat; - static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsStats - */ -export declare class AnalyticsStats extends Message { - /** - * @generated from field: repeated livekit.AnalyticsStat stats = 1; - */ - stats: AnalyticsStat[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStats"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats; - static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsClientMeta - */ -export declare class AnalyticsClientMeta extends Message { - /** - * @generated from field: string region = 1; - */ - region: string; - /** - * @generated from field: string node = 2; - */ - node: string; - /** - * @generated from field: string client_addr = 3; - */ - clientAddr: string; - /** - * @generated from field: uint32 client_connect_time = 4; - */ - clientConnectTime: number; - /** - * udp, tcp, turn - * - * @generated from field: string connection_type = 5; - */ - connectionType: string; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 6; - */ - reconnectReason: ReconnectReason; - /** - * @generated from field: optional string geo_hash = 7; - */ - geoHash?: string; - /** - * @generated from field: optional string country = 8; - */ - country?: string; - /** - * @generated from field: optional uint32 isp_asn = 9; - */ - ispAsn?: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsClientMeta"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta; - static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsEvent - */ -export declare class AnalyticsEvent extends Message { - /** - * unique id for this event - * - * @generated from field: string id = 25; - */ - id: string; - /** - * @generated from field: livekit.AnalyticsEventType type = 1; - */ - type: AnalyticsEventType; - /** - * @generated from field: google.protobuf.Timestamp timestamp = 2; - */ - timestamp?: Timestamp; - /** - * @generated from field: string room_id = 3; - */ - roomId: string; - /** - * @generated from field: livekit.Room room = 4; - */ - room?: Room; - /** - * @generated from field: string participant_id = 5; - */ - participantId: string; - /** - * @generated from field: livekit.ParticipantInfo participant = 6; - */ - participant?: ParticipantInfo; - /** - * @generated from field: string track_id = 7; - */ - trackId: string; - /** - * @generated from field: livekit.TrackInfo track = 8; - */ - track?: TrackInfo; - /** - * @generated from field: string analytics_key = 10; - */ - analyticsKey: string; - /** - * @generated from field: livekit.ClientInfo client_info = 11; - */ - clientInfo?: ClientInfo; - /** - * @generated from field: livekit.AnalyticsClientMeta client_meta = 12; - */ - clientMeta?: AnalyticsClientMeta; - /** - * @generated from field: string egress_id = 13; - */ - egressId: string; - /** - * @generated from field: string ingress_id = 19; - */ - ingressId: string; - /** - * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; - */ - maxSubscribedVideoQuality: VideoQuality; - /** - * @generated from field: livekit.ParticipantInfo publisher = 15; - */ - publisher?: ParticipantInfo; - /** - * @generated from field: string mime = 16; - */ - mime: string; - /** - * @generated from field: livekit.EgressInfo egress = 17; - */ - egress?: EgressInfo; - /** - * @generated from field: livekit.IngressInfo ingress = 18; - */ - ingress?: IngressInfo; - /** - * @generated from field: string error = 20; - */ - error: string; - /** - * @generated from field: livekit.RTPStats rtp_stats = 21; - */ - rtpStats?: RTPStats; - /** - * @generated from field: int32 video_layer = 22; - */ - videoLayer: number; - /** - * @generated from field: string node_id = 24; - */ - nodeId: string; - /** - * @generated from field: string sip_call_id = 26; - */ - sipCallId: string; - /** - * @generated from field: livekit.SIPCallInfo sip_call = 27; - */ - sipCall?: SIPCallInfo; - /** - * @generated from field: string sip_trunk_id = 28; - */ - sipTrunkId: string; - /** - * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29; - */ - sipInboundTrunk?: SIPInboundTrunkInfo; - /** - * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30; - */ - sipOutboundTrunk?: SIPOutboundTrunkInfo; - /** - * @generated from field: string sip_dispatch_rule_id = 31; - */ - sipDispatchRuleId: string; - /** - * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32; - */ - sipDispatchRule?: SIPDispatchRuleInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsEvent"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent; - static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsEvents - */ -export declare class AnalyticsEvents extends Message { - /** - * @generated from field: repeated livekit.AnalyticsEvent events = 1; - */ - events: AnalyticsEvent[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsEvents"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents; - static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsRoomParticipant - */ -export declare class AnalyticsRoomParticipant extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * @generated from field: string name = 3; - */ - name: string; - /** - * @generated from field: livekit.ParticipantInfo.State state = 4; - */ - state: ParticipantInfo_State; - /** - * @generated from field: google.protobuf.Timestamp joined_at = 5; - */ - joinedAt?: Timestamp; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsRoomParticipant"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant; - static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsRoom - */ -export declare class AnalyticsRoom extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * @generated from field: string project_id = 5; - */ - projectId: string; - /** - * @generated from field: google.protobuf.Timestamp created_at = 3; - */ - createdAt?: Timestamp; - /** - * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; - */ - participants: AnalyticsRoomParticipant[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsRoom"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom; - static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AnalyticsNodeRooms - */ -export declare class AnalyticsNodeRooms extends Message { - /** - * @generated from field: string node_id = 1; - */ - nodeId: string; - /** - * @generated from field: uint64 sequence_number = 2; - */ - sequenceNumber: bigint; - /** - * @generated from field: google.protobuf.Timestamp timestamp = 3; - */ - timestamp?: Timestamp; - /** - * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; - */ - rooms: AnalyticsRoom[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsNodeRooms"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms; - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms; - static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms; - static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_analytics_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map b/packages/javascript/dist/gen/livekit_analytics_pb.d.ts.map deleted file mode 100644 index 537b0d2e..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.d.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AG,YAAY,CAAC,aAAa,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/I;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IACjE;;OAEG;IACH,MAAM,SAAM;IAEZ;;OAEG;IACH,cAAc,SAAmB;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,aAAa,EAAE,CAAM;gBAEhB,IAAI,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;IAKrD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,gCAAgC;IACxD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAK9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,kBAAkB;IAI9F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAI7F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.js b/packages/javascript/dist/gen/livekit_analytics_pb.js deleted file mode 100644 index 761855bb..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.js +++ /dev/null @@ -1,1053 +0,0 @@ -import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; -import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; -import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; -var StreamType = /* @__PURE__ */ ((StreamType2) => { - StreamType2[StreamType2["UPSTREAM"] = 0] = "UPSTREAM"; - StreamType2[StreamType2["DOWNSTREAM"] = 1] = "DOWNSTREAM"; - return StreamType2; -})(StreamType || {}); -proto3.util.setEnumType(StreamType, "livekit.StreamType", [ - { no: 0, name: "UPSTREAM" }, - { no: 1, name: "DOWNSTREAM" } -]); -var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => { - AnalyticsEventType2[AnalyticsEventType2["ROOM_CREATED"] = 0] = "ROOM_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["ROOM_ENDED"] = 1] = "ROOM_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_JOINED"] = 2] = "PARTICIPANT_JOINED"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_LEFT"] = 3] = "PARTICIPANT_LEFT"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED"] = 4] = "TRACK_PUBLISHED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_REQUESTED"] = 20] = "TRACK_PUBLISH_REQUESTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNPUBLISHED"] = 5] = "TRACK_UNPUBLISHED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBED"] = 6] = "TRACK_SUBSCRIBED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_REQUESTED"] = 21] = "TRACK_SUBSCRIBE_REQUESTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_FAILED"] = 25] = "TRACK_SUBSCRIBE_FAILED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNSUBSCRIBED"] = 7] = "TRACK_UNSUBSCRIBED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED_UPDATE"] = 10] = "TRACK_PUBLISHED_UPDATE"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_MUTED"] = 23] = "TRACK_MUTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_UNMUTED"] = 24] = "TRACK_UNMUTED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_STATS"] = 26] = "TRACK_PUBLISH_STATS"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_STATS"] = 27] = "TRACK_SUBSCRIBE_STATS"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_ACTIVE"] = 11] = "PARTICIPANT_ACTIVE"; - AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_RESUMED"] = 22] = "PARTICIPANT_RESUMED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_STARTED"] = 12] = "EGRESS_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_ENDED"] = 13] = "EGRESS_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["EGRESS_UPDATED"] = 28] = "EGRESS_UPDATED"; - AnalyticsEventType2[AnalyticsEventType2["TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"] = 14] = "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"; - AnalyticsEventType2[AnalyticsEventType2["RECONNECTED"] = 15] = "RECONNECTED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_CREATED"] = 18] = "INGRESS_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_DELETED"] = 19] = "INGRESS_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_STARTED"] = 16] = "INGRESS_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_ENDED"] = 17] = "INGRESS_ENDED"; - AnalyticsEventType2[AnalyticsEventType2["INGRESS_UPDATED"] = 29] = "INGRESS_UPDATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_CREATED"] = 30] = "SIP_INBOUND_TRUNK_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_DELETED"] = 31] = "SIP_INBOUND_TRUNK_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_CREATED"] = 32] = "SIP_OUTBOUND_TRUNK_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_DELETED"] = 33] = "SIP_OUTBOUND_TRUNK_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_CREATED"] = 34] = "SIP_DISPATCH_RULE_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_DELETED"] = 35] = "SIP_DISPATCH_RULE_DELETED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_PARTICIPANT_CREATED"] = 36] = "SIP_PARTICIPANT_CREATED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_INCOMING"] = 37] = "SIP_CALL_INCOMING"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_STARTED"] = 38] = "SIP_CALL_STARTED"; - AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_ENDED"] = 39] = "SIP_CALL_ENDED"; - return AnalyticsEventType2; -})(AnalyticsEventType || {}); -proto3.util.setEnumType(AnalyticsEventType, "livekit.AnalyticsEventType", [ - { no: 0, name: "ROOM_CREATED" }, - { no: 1, name: "ROOM_ENDED" }, - { no: 2, name: "PARTICIPANT_JOINED" }, - { no: 3, name: "PARTICIPANT_LEFT" }, - { no: 4, name: "TRACK_PUBLISHED" }, - { no: 20, name: "TRACK_PUBLISH_REQUESTED" }, - { no: 5, name: "TRACK_UNPUBLISHED" }, - { no: 6, name: "TRACK_SUBSCRIBED" }, - { no: 21, name: "TRACK_SUBSCRIBE_REQUESTED" }, - { no: 25, name: "TRACK_SUBSCRIBE_FAILED" }, - { no: 7, name: "TRACK_UNSUBSCRIBED" }, - { no: 10, name: "TRACK_PUBLISHED_UPDATE" }, - { no: 23, name: "TRACK_MUTED" }, - { no: 24, name: "TRACK_UNMUTED" }, - { no: 26, name: "TRACK_PUBLISH_STATS" }, - { no: 27, name: "TRACK_SUBSCRIBE_STATS" }, - { no: 11, name: "PARTICIPANT_ACTIVE" }, - { no: 22, name: "PARTICIPANT_RESUMED" }, - { no: 12, name: "EGRESS_STARTED" }, - { no: 13, name: "EGRESS_ENDED" }, - { no: 28, name: "EGRESS_UPDATED" }, - { no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY" }, - { no: 15, name: "RECONNECTED" }, - { no: 18, name: "INGRESS_CREATED" }, - { no: 19, name: "INGRESS_DELETED" }, - { no: 16, name: "INGRESS_STARTED" }, - { no: 17, name: "INGRESS_ENDED" }, - { no: 29, name: "INGRESS_UPDATED" }, - { no: 30, name: "SIP_INBOUND_TRUNK_CREATED" }, - { no: 31, name: "SIP_INBOUND_TRUNK_DELETED" }, - { no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED" }, - { no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED" }, - { no: 34, name: "SIP_DISPATCH_RULE_CREATED" }, - { no: 35, name: "SIP_DISPATCH_RULE_DELETED" }, - { no: 36, name: "SIP_PARTICIPANT_CREATED" }, - { no: 37, name: "SIP_CALL_INCOMING" }, - { no: 38, name: "SIP_CALL_STARTED" }, - { no: 39, name: "SIP_CALL_ENDED" } -]); -const _AnalyticsVideoLayer = class _AnalyticsVideoLayer extends Message { - constructor(data) { - super(); - /** - * @generated from field: int32 layer = 1; - */ - this.layer = 0; - /** - * @generated from field: uint32 packets = 2; - */ - this.packets = 0; - /** - * @generated from field: uint64 bytes = 3; - */ - this.bytes = protoInt64.zero; - /** - * @generated from field: uint32 frames = 4; - */ - this.frames = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsVideoLayer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsVideoLayer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsVideoLayer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsVideoLayer, a, b); - } -}; -_AnalyticsVideoLayer.runtime = proto3; -_AnalyticsVideoLayer.typeName = "livekit.AnalyticsVideoLayer"; -_AnalyticsVideoLayer.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "layer", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let AnalyticsVideoLayer = _AnalyticsVideoLayer; -const _AnalyticsStream = class _AnalyticsStream extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 ssrc = 1; - */ - this.ssrc = 0; - /** - * @generated from field: uint32 primary_packets = 2; - */ - this.primaryPackets = 0; - /** - * @generated from field: uint64 primary_bytes = 3; - */ - this.primaryBytes = protoInt64.zero; - /** - * @generated from field: uint32 retransmit_packets = 4; - */ - this.retransmitPackets = 0; - /** - * @generated from field: uint64 retransmit_bytes = 5; - */ - this.retransmitBytes = protoInt64.zero; - /** - * @generated from field: uint32 padding_packets = 6; - */ - this.paddingPackets = 0; - /** - * @generated from field: uint64 padding_bytes = 7; - */ - this.paddingBytes = protoInt64.zero; - /** - * @generated from field: uint32 packets_lost = 8; - */ - this.packetsLost = 0; - /** - * @generated from field: uint32 frames = 9; - */ - this.frames = 0; - /** - * @generated from field: uint32 rtt = 10; - */ - this.rtt = 0; - /** - * @generated from field: uint32 jitter = 11; - */ - this.jitter = 0; - /** - * @generated from field: uint32 nacks = 12; - */ - this.nacks = 0; - /** - * @generated from field: uint32 plis = 13; - */ - this.plis = 0; - /** - * @generated from field: uint32 firs = 14; - */ - this.firs = 0; - /** - * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; - */ - this.videoLayers = []; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - this.packetsOutOfOrder = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStream().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStream().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStream().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsStream, a, b); - } -}; -_AnalyticsStream.runtime = proto3; -_AnalyticsStream.typeName = "livekit.AnalyticsStream"; -_AnalyticsStream.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ssrc", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "primary_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "primary_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "retransmit_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "retransmit_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 6, - name: "padding_packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "padding_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 8, - name: "packets_lost", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "rtt", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 11, - name: "jitter", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 12, - name: "nacks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 13, - name: "plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 14, - name: "firs", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, - { no: 17, name: "start_time", kind: "message", T: Timestamp }, - { no: 18, name: "end_time", kind: "message", T: Timestamp }, - { - no: 19, - name: "packets_out_of_order", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let AnalyticsStream = _AnalyticsStream; -const _AnalyticsStat = class _AnalyticsStat extends Message { - constructor(data) { - super(); - /** - * unique id for this stat - * - * @generated from field: string id = 14; - */ - this.id = ""; - /** - * @generated from field: string analytics_key = 1; - */ - this.analyticsKey = ""; - /** - * @generated from field: livekit.StreamType kind = 2; - */ - this.kind = 0 /* UPSTREAM */; - /** - * @generated from field: string node = 4; - */ - this.node = ""; - /** - * @generated from field: string room_id = 5; - */ - this.roomId = ""; - /** - * @generated from field: string room_name = 6; - */ - this.roomName = ""; - /** - * @generated from field: string participant_id = 7; - */ - this.participantId = ""; - /** - * @generated from field: string track_id = 8; - */ - this.trackId = ""; - /** - * average score - * - * @generated from field: float score = 9; - */ - this.score = 0; - /** - * @generated from field: repeated livekit.AnalyticsStream streams = 10; - */ - this.streams = []; - /** - * @generated from field: string mime = 11; - */ - this.mime = ""; - /** - * @generated from field: float min_score = 12; - */ - this.minScore = 0; - /** - * @generated from field: float median_score = 13; - */ - this.medianScore = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStat().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStat().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStat().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsStat, a, b); - } -}; -_AnalyticsStat.runtime = proto3; -_AnalyticsStat.typeName = "livekit.AnalyticsStat"; -_AnalyticsStat.fields = proto3.util.newFieldList(() => [ - { - no: 14, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 1, - name: "analytics_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) }, - { no: 3, name: "time_stamp", kind: "message", T: Timestamp }, - { - no: 4, - name: "node", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, - { - no: 11, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "min_score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 13, - name: "median_score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let AnalyticsStat = _AnalyticsStat; -const _AnalyticsStats = class _AnalyticsStats extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AnalyticsStat stats = 1; - */ - this.stats = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsStats, a, b); - } -}; -_AnalyticsStats.runtime = proto3; -_AnalyticsStats.typeName = "livekit.AnalyticsStats"; -_AnalyticsStats.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true } -]); -let AnalyticsStats = _AnalyticsStats; -const _AnalyticsClientMeta = class _AnalyticsClientMeta extends Message { - constructor(data) { - super(); - /** - * @generated from field: string region = 1; - */ - this.region = ""; - /** - * @generated from field: string node = 2; - */ - this.node = ""; - /** - * @generated from field: string client_addr = 3; - */ - this.clientAddr = ""; - /** - * @generated from field: uint32 client_connect_time = 4; - */ - this.clientConnectTime = 0; - /** - * udp, tcp, turn - * - * @generated from field: string connection_type = 5; - */ - this.connectionType = ""; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 6; - */ - this.reconnectReason = ReconnectReason.RR_UNKNOWN; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsClientMeta().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsClientMeta().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsClientMeta().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsClientMeta, a, b); - } -}; -_AnalyticsClientMeta.runtime = proto3; -_AnalyticsClientMeta.typeName = "livekit.AnalyticsClientMeta"; -_AnalyticsClientMeta.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "node", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "client_addr", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "client_connect_time", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "connection_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, - { no: 7, name: "geo_hash", kind: "scalar", T: 9, opt: true }, - { no: 8, name: "country", kind: "scalar", T: 9, opt: true }, - { no: 9, name: "isp_asn", kind: "scalar", T: 13, opt: true } -]); -let AnalyticsClientMeta = _AnalyticsClientMeta; -const _AnalyticsEvent = class _AnalyticsEvent extends Message { - constructor(data) { - super(); - /** - * unique id for this event - * - * @generated from field: string id = 25; - */ - this.id = ""; - /** - * @generated from field: livekit.AnalyticsEventType type = 1; - */ - this.type = 0 /* ROOM_CREATED */; - /** - * @generated from field: string room_id = 3; - */ - this.roomId = ""; - /** - * @generated from field: string participant_id = 5; - */ - this.participantId = ""; - /** - * @generated from field: string track_id = 7; - */ - this.trackId = ""; - /** - * @generated from field: string analytics_key = 10; - */ - this.analyticsKey = ""; - /** - * @generated from field: string egress_id = 13; - */ - this.egressId = ""; - /** - * @generated from field: string ingress_id = 19; - */ - this.ingressId = ""; - /** - * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; - */ - this.maxSubscribedVideoQuality = VideoQuality.LOW; - /** - * @generated from field: string mime = 16; - */ - this.mime = ""; - /** - * @generated from field: string error = 20; - */ - this.error = ""; - /** - * @generated from field: int32 video_layer = 22; - */ - this.videoLayer = 0; - /** - * @generated from field: string node_id = 24; - */ - this.nodeId = ""; - /** - * @generated from field: string sip_call_id = 26; - */ - this.sipCallId = ""; - /** - * @generated from field: string sip_trunk_id = 28; - */ - this.sipTrunkId = ""; - /** - * @generated from field: string sip_dispatch_rule_id = 31; - */ - this.sipDispatchRuleId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsEvent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsEvent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsEvent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsEvent, a, b); - } -}; -_AnalyticsEvent.runtime = proto3; -_AnalyticsEvent.typeName = "livekit.AnalyticsEvent"; -_AnalyticsEvent.fields = proto3.util.newFieldList(() => [ - { - no: 25, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) }, - { no: 2, name: "timestamp", kind: "message", T: Timestamp }, - { - no: 3, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "room", kind: "message", T: Room }, - { - no: 5, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "participant", kind: "message", T: ParticipantInfo }, - { - no: 7, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "track", kind: "message", T: TrackInfo }, - { - no: 10, - name: "analytics_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 11, name: "client_info", kind: "message", T: ClientInfo }, - { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, - { - no: 13, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 19, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { no: 15, name: "publisher", kind: "message", T: ParticipantInfo }, - { - no: 16, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 17, name: "egress", kind: "message", T: EgressInfo }, - { no: 18, name: "ingress", kind: "message", T: IngressInfo }, - { - no: 20, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 21, name: "rtp_stats", kind: "message", T: RTPStats }, - { - no: 22, - name: "video_layer", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 24, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 26, - name: "sip_call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 27, name: "sip_call", kind: "message", T: SIPCallInfo }, - { - no: 28, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo }, - { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo }, - { - no: 31, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo } -]); -let AnalyticsEvent = _AnalyticsEvent; -const _AnalyticsEvents = class _AnalyticsEvents extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.AnalyticsEvent events = 1; - */ - this.events = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsEvents().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsEvents().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsEvents().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsEvents, a, b); - } -}; -_AnalyticsEvents.runtime = proto3; -_AnalyticsEvents.typeName = "livekit.AnalyticsEvents"; -_AnalyticsEvents.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true } -]); -let AnalyticsEvents = _AnalyticsEvents; -const _AnalyticsRoomParticipant = class _AnalyticsRoomParticipant extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: string name = 3; - */ - this.name = ""; - /** - * @generated from field: livekit.ParticipantInfo.State state = 4; - */ - this.state = ParticipantInfo_State.JOINING; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsRoomParticipant().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsRoomParticipant().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsRoomParticipant().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsRoomParticipant, a, b); - } -}; -_AnalyticsRoomParticipant.runtime = proto3; -_AnalyticsRoomParticipant.typeName = "livekit.AnalyticsRoomParticipant"; -_AnalyticsRoomParticipant.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, - { no: 5, name: "joined_at", kind: "message", T: Timestamp } -]); -let AnalyticsRoomParticipant = _AnalyticsRoomParticipant; -const _AnalyticsRoom = class _AnalyticsRoom extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string project_id = 5; - */ - this.projectId = ""; - /** - * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; - */ - this.participants = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsRoom().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsRoom().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsRoom().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsRoom, a, b); - } -}; -_AnalyticsRoom.runtime = proto3; -_AnalyticsRoom.typeName = "livekit.AnalyticsRoom"; -_AnalyticsRoom.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "project_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "created_at", kind: "message", T: Timestamp }, - { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true } -]); -let AnalyticsRoom = _AnalyticsRoom; -const _AnalyticsNodeRooms = class _AnalyticsNodeRooms extends Message { - constructor(data) { - super(); - /** - * @generated from field: string node_id = 1; - */ - this.nodeId = ""; - /** - * @generated from field: uint64 sequence_number = 2; - */ - this.sequenceNumber = protoInt64.zero; - /** - * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; - */ - this.rooms = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AnalyticsNodeRooms().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AnalyticsNodeRooms().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AnalyticsNodeRooms().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AnalyticsNodeRooms, a, b); - } -}; -_AnalyticsNodeRooms.runtime = proto3; -_AnalyticsNodeRooms.typeName = "livekit.AnalyticsNodeRooms"; -_AnalyticsNodeRooms.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { no: 3, name: "timestamp", kind: "message", T: Timestamp }, - { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true } -]); -let AnalyticsNodeRooms = _AnalyticsNodeRooms; -export { - AnalyticsClientMeta, - AnalyticsEvent, - AnalyticsEventType, - AnalyticsEvents, - AnalyticsNodeRooms, - AnalyticsRoom, - AnalyticsRoomParticipant, - AnalyticsStat, - AnalyticsStats, - AnalyticsStream, - AnalyticsVideoLayer, - StreamType -}; -//# sourceMappingURL=livekit_analytics_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_analytics_pb.js.map b/packages/javascript/dist/gen/livekit_analytics_pb.js.map deleted file mode 100644 index 5c575dd4..00000000 --- a/packages/javascript/dist/gen/livekit_analytics_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_analytics_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_analytics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\nimport { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from \"./livekit_sip_pb.js\";\n\n/**\n * @generated from enum livekit.StreamType\n */\nexport enum StreamType {\n /**\n * @generated from enum value: UPSTREAM = 0;\n */\n UPSTREAM = 0,\n\n /**\n * @generated from enum value: DOWNSTREAM = 1;\n */\n DOWNSTREAM = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamType)\nproto3.util.setEnumType(StreamType, \"livekit.StreamType\", [\n { no: 0, name: \"UPSTREAM\" },\n { no: 1, name: \"DOWNSTREAM\" },\n]);\n\n/**\n * @generated from enum livekit.AnalyticsEventType\n */\nexport enum AnalyticsEventType {\n /**\n * @generated from enum value: ROOM_CREATED = 0;\n */\n ROOM_CREATED = 0,\n\n /**\n * @generated from enum value: ROOM_ENDED = 1;\n */\n ROOM_ENDED = 1,\n\n /**\n * @generated from enum value: PARTICIPANT_JOINED = 2;\n */\n PARTICIPANT_JOINED = 2,\n\n /**\n * @generated from enum value: PARTICIPANT_LEFT = 3;\n */\n PARTICIPANT_LEFT = 3,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED = 4;\n */\n TRACK_PUBLISHED = 4,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20;\n */\n TRACK_PUBLISH_REQUESTED = 20,\n\n /**\n * @generated from enum value: TRACK_UNPUBLISHED = 5;\n */\n TRACK_UNPUBLISHED = 5,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBED = 6;\n */\n TRACK_SUBSCRIBED = 6,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21;\n */\n TRACK_SUBSCRIBE_REQUESTED = 21,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25;\n */\n TRACK_SUBSCRIBE_FAILED = 25,\n\n /**\n * @generated from enum value: TRACK_UNSUBSCRIBED = 7;\n */\n TRACK_UNSUBSCRIBED = 7,\n\n /**\n * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10;\n */\n TRACK_PUBLISHED_UPDATE = 10,\n\n /**\n * @generated from enum value: TRACK_MUTED = 23;\n */\n TRACK_MUTED = 23,\n\n /**\n * @generated from enum value: TRACK_UNMUTED = 24;\n */\n TRACK_UNMUTED = 24,\n\n /**\n * @generated from enum value: TRACK_PUBLISH_STATS = 26;\n */\n TRACK_PUBLISH_STATS = 26,\n\n /**\n * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27;\n */\n TRACK_SUBSCRIBE_STATS = 27,\n\n /**\n * @generated from enum value: PARTICIPANT_ACTIVE = 11;\n */\n PARTICIPANT_ACTIVE = 11,\n\n /**\n * @generated from enum value: PARTICIPANT_RESUMED = 22;\n */\n PARTICIPANT_RESUMED = 22,\n\n /**\n * @generated from enum value: EGRESS_STARTED = 12;\n */\n EGRESS_STARTED = 12,\n\n /**\n * @generated from enum value: EGRESS_ENDED = 13;\n */\n EGRESS_ENDED = 13,\n\n /**\n * @generated from enum value: EGRESS_UPDATED = 28;\n */\n EGRESS_UPDATED = 28,\n\n /**\n * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14;\n */\n TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14,\n\n /**\n * @generated from enum value: RECONNECTED = 15;\n */\n RECONNECTED = 15,\n\n /**\n * @generated from enum value: INGRESS_CREATED = 18;\n */\n INGRESS_CREATED = 18,\n\n /**\n * @generated from enum value: INGRESS_DELETED = 19;\n */\n INGRESS_DELETED = 19,\n\n /**\n * @generated from enum value: INGRESS_STARTED = 16;\n */\n INGRESS_STARTED = 16,\n\n /**\n * @generated from enum value: INGRESS_ENDED = 17;\n */\n INGRESS_ENDED = 17,\n\n /**\n * @generated from enum value: INGRESS_UPDATED = 29;\n */\n INGRESS_UPDATED = 29,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30;\n */\n SIP_INBOUND_TRUNK_CREATED = 30,\n\n /**\n * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31;\n */\n SIP_INBOUND_TRUNK_DELETED = 31,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32;\n */\n SIP_OUTBOUND_TRUNK_CREATED = 32,\n\n /**\n * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33;\n */\n SIP_OUTBOUND_TRUNK_DELETED = 33,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34;\n */\n SIP_DISPATCH_RULE_CREATED = 34,\n\n /**\n * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35;\n */\n SIP_DISPATCH_RULE_DELETED = 35,\n\n /**\n * @generated from enum value: SIP_PARTICIPANT_CREATED = 36;\n */\n SIP_PARTICIPANT_CREATED = 36,\n\n /**\n * @generated from enum value: SIP_CALL_INCOMING = 37;\n */\n SIP_CALL_INCOMING = 37,\n\n /**\n * @generated from enum value: SIP_CALL_STARTED = 38;\n */\n SIP_CALL_STARTED = 38,\n\n /**\n * @generated from enum value: SIP_CALL_ENDED = 39;\n */\n SIP_CALL_ENDED = 39,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AnalyticsEventType)\nproto3.util.setEnumType(AnalyticsEventType, \"livekit.AnalyticsEventType\", [\n { no: 0, name: \"ROOM_CREATED\" },\n { no: 1, name: \"ROOM_ENDED\" },\n { no: 2, name: \"PARTICIPANT_JOINED\" },\n { no: 3, name: \"PARTICIPANT_LEFT\" },\n { no: 4, name: \"TRACK_PUBLISHED\" },\n { no: 20, name: \"TRACK_PUBLISH_REQUESTED\" },\n { no: 5, name: \"TRACK_UNPUBLISHED\" },\n { no: 6, name: \"TRACK_SUBSCRIBED\" },\n { no: 21, name: \"TRACK_SUBSCRIBE_REQUESTED\" },\n { no: 25, name: \"TRACK_SUBSCRIBE_FAILED\" },\n { no: 7, name: \"TRACK_UNSUBSCRIBED\" },\n { no: 10, name: \"TRACK_PUBLISHED_UPDATE\" },\n { no: 23, name: \"TRACK_MUTED\" },\n { no: 24, name: \"TRACK_UNMUTED\" },\n { no: 26, name: \"TRACK_PUBLISH_STATS\" },\n { no: 27, name: \"TRACK_SUBSCRIBE_STATS\" },\n { no: 11, name: \"PARTICIPANT_ACTIVE\" },\n { no: 22, name: \"PARTICIPANT_RESUMED\" },\n { no: 12, name: \"EGRESS_STARTED\" },\n { no: 13, name: \"EGRESS_ENDED\" },\n { no: 28, name: \"EGRESS_UPDATED\" },\n { no: 14, name: \"TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY\" },\n { no: 15, name: \"RECONNECTED\" },\n { no: 18, name: \"INGRESS_CREATED\" },\n { no: 19, name: \"INGRESS_DELETED\" },\n { no: 16, name: \"INGRESS_STARTED\" },\n { no: 17, name: \"INGRESS_ENDED\" },\n { no: 29, name: \"INGRESS_UPDATED\" },\n { no: 30, name: \"SIP_INBOUND_TRUNK_CREATED\" },\n { no: 31, name: \"SIP_INBOUND_TRUNK_DELETED\" },\n { no: 32, name: \"SIP_OUTBOUND_TRUNK_CREATED\" },\n { no: 33, name: \"SIP_OUTBOUND_TRUNK_DELETED\" },\n { no: 34, name: \"SIP_DISPATCH_RULE_CREATED\" },\n { no: 35, name: \"SIP_DISPATCH_RULE_DELETED\" },\n { no: 36, name: \"SIP_PARTICIPANT_CREATED\" },\n { no: 37, name: \"SIP_CALL_INCOMING\" },\n { no: 38, name: \"SIP_CALL_STARTED\" },\n { no: 39, name: \"SIP_CALL_ENDED\" },\n]);\n\n/**\n * @generated from message livekit.AnalyticsVideoLayer\n */\nexport class AnalyticsVideoLayer extends Message {\n /**\n * @generated from field: int32 layer = 1;\n */\n layer = 0;\n\n /**\n * @generated from field: uint32 packets = 2;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 bytes = 3;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 frames = 4;\n */\n frames = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsVideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer {\n return new AnalyticsVideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsVideoLayer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStream\n */\nexport class AnalyticsStream extends Message {\n /**\n * @generated from field: uint32 ssrc = 1;\n */\n ssrc = 0;\n\n /**\n * @generated from field: uint32 primary_packets = 2;\n */\n primaryPackets = 0;\n\n /**\n * @generated from field: uint64 primary_bytes = 3;\n */\n primaryBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 retransmit_packets = 4;\n */\n retransmitPackets = 0;\n\n /**\n * @generated from field: uint64 retransmit_bytes = 5;\n */\n retransmitBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 padding_packets = 6;\n */\n paddingPackets = 0;\n\n /**\n * @generated from field: uint64 padding_bytes = 7;\n */\n paddingBytes = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: uint32 frames = 9;\n */\n frames = 0;\n\n /**\n * @generated from field: uint32 rtt = 10;\n */\n rtt = 0;\n\n /**\n * @generated from field: uint32 jitter = 11;\n */\n jitter = 0;\n\n /**\n * @generated from field: uint32 nacks = 12;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 plis = 13;\n */\n plis = 0;\n\n /**\n * @generated from field: uint32 firs = 14;\n */\n firs = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15;\n */\n videoLayers: AnalyticsVideoLayer[] = [];\n\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 17;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 18;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"primary_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"primary_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"retransmit_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"retransmit_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"padding_packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"padding_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"rtt\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 13, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 15, name: \"video_layers\", kind: \"message\", T: AnalyticsVideoLayer, repeated: true },\n { no: 17, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 18, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream {\n return new AnalyticsStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStream, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStat\n */\nexport class AnalyticsStat extends Message {\n /**\n * unique id for this stat\n *\n * @generated from field: string id = 14;\n */\n id = \"\";\n\n /**\n * @generated from field: string analytics_key = 1;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.StreamType kind = 2;\n */\n kind = StreamType.UPSTREAM;\n\n /**\n * @generated from field: google.protobuf.Timestamp time_stamp = 3;\n */\n timeStamp?: Timestamp;\n\n /**\n * @generated from field: string node = 4;\n */\n node = \"\";\n\n /**\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 6;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_id = 7;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string track_id = 8;\n */\n trackId = \"\";\n\n /**\n * average score\n *\n * @generated from field: float score = 9;\n */\n score = 0;\n\n /**\n * @generated from field: repeated livekit.AnalyticsStream streams = 10;\n */\n streams: AnalyticsStream[] = [];\n\n /**\n * @generated from field: string mime = 11;\n */\n mime = \"\";\n\n /**\n * @generated from field: float min_score = 12;\n */\n minScore = 0;\n\n /**\n * @generated from field: float median_score = 13;\n */\n medianScore = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStat\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 14, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(StreamType) },\n { no: 3, name: \"time_stamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 10, name: \"streams\", kind: \"message\", T: AnalyticsStream, repeated: true },\n { no: 11, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"min_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"median_score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat {\n return new AnalyticsStat().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStat, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsStats\n */\nexport class AnalyticsStats extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsStat stats = 1;\n */\n stats: AnalyticsStat[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stats\", kind: \"message\", T: AnalyticsStat, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats {\n return new AnalyticsStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsClientMeta\n */\nexport class AnalyticsClientMeta extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string node = 2;\n */\n node = \"\";\n\n /**\n * @generated from field: string client_addr = 3;\n */\n clientAddr = \"\";\n\n /**\n * @generated from field: uint32 client_connect_time = 4;\n */\n clientConnectTime = 0;\n\n /**\n * udp, tcp, turn\n *\n * @generated from field: string connection_type = 5;\n */\n connectionType = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 6;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional string geo_hash = 7;\n */\n geoHash?: string;\n\n /**\n * @generated from field: optional string country = 8;\n */\n country?: string;\n\n /**\n * @generated from field: optional uint32 isp_asn = 9;\n */\n ispAsn?: number;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsClientMeta\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"node\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"client_addr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"client_connect_time\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"connection_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 7, name: \"geo_hash\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"country\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"isp_asn\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta {\n return new AnalyticsClientMeta().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsClientMeta, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvent\n */\nexport class AnalyticsEvent extends Message {\n /**\n * unique id for this event\n *\n * @generated from field: string id = 25;\n */\n id = \"\";\n\n /**\n * @generated from field: livekit.AnalyticsEventType type = 1;\n */\n type = AnalyticsEventType.ROOM_CREATED;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 2;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: string room_id = 3;\n */\n roomId = \"\";\n\n /**\n * @generated from field: livekit.Room room = 4;\n */\n room?: Room;\n\n /**\n * @generated from field: string participant_id = 5;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 6;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: string track_id = 7;\n */\n trackId = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * @generated from field: string analytics_key = 10;\n */\n analyticsKey = \"\";\n\n /**\n * @generated from field: livekit.ClientInfo client_info = 11;\n */\n clientInfo?: ClientInfo;\n\n /**\n * @generated from field: livekit.AnalyticsClientMeta client_meta = 12;\n */\n clientMeta?: AnalyticsClientMeta;\n\n /**\n * @generated from field: string egress_id = 13;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string ingress_id = 19;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14;\n */\n maxSubscribedVideoQuality = VideoQuality.LOW;\n\n /**\n * @generated from field: livekit.ParticipantInfo publisher = 15;\n */\n publisher?: ParticipantInfo;\n\n /**\n * @generated from field: string mime = 16;\n */\n mime = \"\";\n\n /**\n * @generated from field: livekit.EgressInfo egress = 17;\n */\n egress?: EgressInfo;\n\n /**\n * @generated from field: livekit.IngressInfo ingress = 18;\n */\n ingress?: IngressInfo;\n\n /**\n * @generated from field: string error = 20;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.RTPStats rtp_stats = 21;\n */\n rtpStats?: RTPStats;\n\n /**\n * @generated from field: int32 video_layer = 22;\n */\n videoLayer = 0;\n\n /**\n * @generated from field: string node_id = 24;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: string sip_call_id = 26;\n */\n sipCallId = \"\";\n\n /**\n * @generated from field: livekit.SIPCallInfo sip_call = 27;\n */\n sipCall?: SIPCallInfo;\n\n /**\n * @generated from field: string sip_trunk_id = 28;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29;\n */\n sipInboundTrunk?: SIPInboundTrunkInfo;\n\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30;\n */\n sipOutboundTrunk?: SIPOutboundTrunkInfo;\n\n /**\n * @generated from field: string sip_dispatch_rule_id = 31;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32;\n */\n sipDispatchRule?: SIPDispatchRuleInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 25, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"type\", kind: \"enum\", T: proto3.getEnumType(AnalyticsEventType) },\n { no: 2, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room\", kind: \"message\", T: Room },\n { no: 5, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 7, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 10, name: \"analytics_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"client_info\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"client_meta\", kind: \"message\", T: AnalyticsClientMeta },\n { no: 13, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 19, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"max_subscribed_video_quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 15, name: \"publisher\", kind: \"message\", T: ParticipantInfo },\n { no: 16, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"egress\", kind: \"message\", T: EgressInfo },\n { no: 18, name: \"ingress\", kind: \"message\", T: IngressInfo },\n { no: 20, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 21, name: \"rtp_stats\", kind: \"message\", T: RTPStats },\n { no: 22, name: \"video_layer\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 24, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 26, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 27, name: \"sip_call\", kind: \"message\", T: SIPCallInfo },\n { no: 28, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 29, name: \"sip_inbound_trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n { no: 30, name: \"sip_outbound_trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n { no: 31, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 32, name: \"sip_dispatch_rule\", kind: \"message\", T: SIPDispatchRuleInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent {\n return new AnalyticsEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsEvents\n */\nexport class AnalyticsEvents extends Message {\n /**\n * @generated from field: repeated livekit.AnalyticsEvent events = 1;\n */\n events: AnalyticsEvent[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsEvents\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"events\", kind: \"message\", T: AnalyticsEvent, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents {\n return new AnalyticsEvents().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsEvents, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoomParticipant\n */\nexport class AnalyticsRoomParticipant extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 4;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: google.protobuf.Timestamp joined_at = 5;\n */\n joinedAt?: Timestamp;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoomParticipant\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 5, name: \"joined_at\", kind: \"message\", T: Timestamp },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant {\n return new AnalyticsRoomParticipant().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoomParticipant, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsRoom\n */\nexport class AnalyticsRoom extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string project_id = 5;\n */\n projectId = \"\";\n\n /**\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4;\n */\n participants: AnalyticsRoomParticipant[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsRoom\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"project_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"created_at\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"participants\", kind: \"message\", T: AnalyticsRoomParticipant, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom {\n return new AnalyticsRoom().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean {\n return proto3.util.equals(AnalyticsRoom, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AnalyticsNodeRooms\n */\nexport class AnalyticsNodeRooms extends Message {\n /**\n * @generated from field: string node_id = 1;\n */\n nodeId = \"\";\n\n /**\n * @generated from field: uint64 sequence_number = 2;\n */\n sequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp timestamp = 3;\n */\n timestamp?: Timestamp;\n\n /**\n * @generated from field: repeated livekit.AnalyticsRoom rooms = 4;\n */\n rooms: AnalyticsRoom[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AnalyticsNodeRooms\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"timestamp\", kind: \"message\", T: Timestamp },\n { no: 4, name: \"rooms\", kind: \"message\", T: AnalyticsRoom, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms {\n return new AnalyticsNodeRooms().fromJsonString(jsonString, options);\n }\n\n static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: Anal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,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAC/E,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,WAAW,GAAG,UAAU;AAAA,EAC1D,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,eAAe,UAAU,KAAK;AAC5E,CAAC;AAjCI,IAAM,qBAAN;","names":["StreamType","AnalyticsEventType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.cjs b/packages/javascript/dist/gen/livekit_egress_pb.cjs deleted file mode 100644 index a4ff5c35..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.cjs +++ /dev/null @@ -1,2476 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_egress_pb_exports = {}; -__export(livekit_egress_pb_exports, { - AliOSSUpload: () => AliOSSUpload, - AutoParticipantEgress: () => AutoParticipantEgress, - AutoTrackEgress: () => AutoTrackEgress, - AzureBlobUpload: () => AzureBlobUpload, - DirectFileOutput: () => DirectFileOutput, - EgressInfo: () => EgressInfo, - EgressStatus: () => EgressStatus, - EncodedFileOutput: () => EncodedFileOutput, - EncodedFileType: () => EncodedFileType, - EncodingOptions: () => EncodingOptions, - EncodingOptionsPreset: () => EncodingOptionsPreset, - FileInfo: () => FileInfo, - GCPUpload: () => GCPUpload, - ImageFileSuffix: () => ImageFileSuffix, - ImageOutput: () => ImageOutput, - ImagesInfo: () => ImagesInfo, - ListEgressRequest: () => ListEgressRequest, - ListEgressResponse: () => ListEgressResponse, - ParticipantEgressRequest: () => ParticipantEgressRequest, - ProxyConfig: () => ProxyConfig, - RoomCompositeEgressRequest: () => RoomCompositeEgressRequest, - S3Upload: () => S3Upload, - SegmentedFileOutput: () => SegmentedFileOutput, - SegmentedFileProtocol: () => SegmentedFileProtocol, - SegmentedFileSuffix: () => SegmentedFileSuffix, - SegmentsInfo: () => SegmentsInfo, - StopEgressRequest: () => StopEgressRequest, - StreamInfo: () => StreamInfo, - StreamInfoList: () => StreamInfoList, - StreamInfo_Status: () => StreamInfo_Status, - StreamOutput: () => StreamOutput, - StreamProtocol: () => StreamProtocol, - TrackCompositeEgressRequest: () => TrackCompositeEgressRequest, - TrackEgressRequest: () => TrackEgressRequest, - UpdateLayoutRequest: () => UpdateLayoutRequest, - UpdateStreamRequest: () => UpdateStreamRequest, - WebEgressRequest: () => WebEgressRequest -}); -module.exports = __toCommonJS(livekit_egress_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var EncodedFileType = /* @__PURE__ */ ((EncodedFileType2) => { - EncodedFileType2[EncodedFileType2["DEFAULT_FILETYPE"] = 0] = "DEFAULT_FILETYPE"; - EncodedFileType2[EncodedFileType2["MP4"] = 1] = "MP4"; - EncodedFileType2[EncodedFileType2["OGG"] = 2] = "OGG"; - return EncodedFileType2; -})(EncodedFileType || {}); -import_protobuf.proto3.util.setEnumType(EncodedFileType, "livekit.EncodedFileType", [ - { no: 0, name: "DEFAULT_FILETYPE" }, - { no: 1, name: "MP4" }, - { no: 2, name: "OGG" } -]); -var SegmentedFileProtocol = /* @__PURE__ */ ((SegmentedFileProtocol2) => { - SegmentedFileProtocol2[SegmentedFileProtocol2["DEFAULT_SEGMENTED_FILE_PROTOCOL"] = 0] = "DEFAULT_SEGMENTED_FILE_PROTOCOL"; - SegmentedFileProtocol2[SegmentedFileProtocol2["HLS_PROTOCOL"] = 1] = "HLS_PROTOCOL"; - return SegmentedFileProtocol2; -})(SegmentedFileProtocol || {}); -import_protobuf.proto3.util.setEnumType(SegmentedFileProtocol, "livekit.SegmentedFileProtocol", [ - { no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL" }, - { no: 1, name: "HLS_PROTOCOL" } -]); -var SegmentedFileSuffix = /* @__PURE__ */ ((SegmentedFileSuffix2) => { - SegmentedFileSuffix2[SegmentedFileSuffix2["INDEX"] = 0] = "INDEX"; - SegmentedFileSuffix2[SegmentedFileSuffix2["TIMESTAMP"] = 1] = "TIMESTAMP"; - return SegmentedFileSuffix2; -})(SegmentedFileSuffix || {}); -import_protobuf.proto3.util.setEnumType(SegmentedFileSuffix, "livekit.SegmentedFileSuffix", [ - { no: 0, name: "INDEX" }, - { no: 1, name: "TIMESTAMP" } -]); -var ImageFileSuffix = /* @__PURE__ */ ((ImageFileSuffix2) => { - ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_INDEX"] = 0] = "IMAGE_SUFFIX_INDEX"; - ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_TIMESTAMP"] = 1] = "IMAGE_SUFFIX_TIMESTAMP"; - return ImageFileSuffix2; -})(ImageFileSuffix || {}); -import_protobuf.proto3.util.setEnumType(ImageFileSuffix, "livekit.ImageFileSuffix", [ - { no: 0, name: "IMAGE_SUFFIX_INDEX" }, - { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" } -]); -var StreamProtocol = /* @__PURE__ */ ((StreamProtocol2) => { - StreamProtocol2[StreamProtocol2["DEFAULT_PROTOCOL"] = 0] = "DEFAULT_PROTOCOL"; - StreamProtocol2[StreamProtocol2["RTMP"] = 1] = "RTMP"; - StreamProtocol2[StreamProtocol2["SRT"] = 2] = "SRT"; - return StreamProtocol2; -})(StreamProtocol || {}); -import_protobuf.proto3.util.setEnumType(StreamProtocol, "livekit.StreamProtocol", [ - { no: 0, name: "DEFAULT_PROTOCOL" }, - { no: 1, name: "RTMP" }, - { no: 2, name: "SRT" } -]); -var EncodingOptionsPreset = /* @__PURE__ */ ((EncodingOptionsPreset2) => { - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_30"] = 0] = "H264_720P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_60"] = 1] = "H264_720P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_30"] = 2] = "H264_1080P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_60"] = 3] = "H264_1080P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_30"] = 4] = "PORTRAIT_H264_720P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_60"] = 5] = "PORTRAIT_H264_720P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_30"] = 6] = "PORTRAIT_H264_1080P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_60"] = 7] = "PORTRAIT_H264_1080P_60"; - return EncodingOptionsPreset2; -})(EncodingOptionsPreset || {}); -import_protobuf.proto3.util.setEnumType(EncodingOptionsPreset, "livekit.EncodingOptionsPreset", [ - { no: 0, name: "H264_720P_30" }, - { no: 1, name: "H264_720P_60" }, - { no: 2, name: "H264_1080P_30" }, - { no: 3, name: "H264_1080P_60" }, - { no: 4, name: "PORTRAIT_H264_720P_30" }, - { no: 5, name: "PORTRAIT_H264_720P_60" }, - { no: 6, name: "PORTRAIT_H264_1080P_30" }, - { no: 7, name: "PORTRAIT_H264_1080P_60" } -]); -var EgressStatus = /* @__PURE__ */ ((EgressStatus2) => { - EgressStatus2[EgressStatus2["EGRESS_STARTING"] = 0] = "EGRESS_STARTING"; - EgressStatus2[EgressStatus2["EGRESS_ACTIVE"] = 1] = "EGRESS_ACTIVE"; - EgressStatus2[EgressStatus2["EGRESS_ENDING"] = 2] = "EGRESS_ENDING"; - EgressStatus2[EgressStatus2["EGRESS_COMPLETE"] = 3] = "EGRESS_COMPLETE"; - EgressStatus2[EgressStatus2["EGRESS_FAILED"] = 4] = "EGRESS_FAILED"; - EgressStatus2[EgressStatus2["EGRESS_ABORTED"] = 5] = "EGRESS_ABORTED"; - EgressStatus2[EgressStatus2["EGRESS_LIMIT_REACHED"] = 6] = "EGRESS_LIMIT_REACHED"; - return EgressStatus2; -})(EgressStatus || {}); -import_protobuf.proto3.util.setEnumType(EgressStatus, "livekit.EgressStatus", [ - { no: 0, name: "EGRESS_STARTING" }, - { no: 1, name: "EGRESS_ACTIVE" }, - { no: 2, name: "EGRESS_ENDING" }, - { no: 3, name: "EGRESS_COMPLETE" }, - { no: 4, name: "EGRESS_FAILED" }, - { no: 5, name: "EGRESS_ABORTED" }, - { no: 6, name: "EGRESS_LIMIT_REACHED" } -]); -const _RoomCompositeEgressRequest = class _RoomCompositeEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional) - * - * @generated from field: string layout = 2; - */ - this.layout = ""; - /** - * (default false) - * - * @generated from field: bool audio_only = 3; - */ - this.audioOnly = false; - /** - * (default false) - * - * @generated from field: bool video_only = 4; - */ - this.videoOnly = false; - /** - * template base url (default https://recorder.livekit.io) - * - * @generated from field: string custom_base_url = 5; - */ - this.customBaseUrl = ""; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.RoomCompositeEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.RoomCompositeEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - this.imageOutputs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomCompositeEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomCompositeEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomCompositeEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomCompositeEgressRequest, a, b); - } -}; -_RoomCompositeEgressRequest.runtime = import_protobuf.proto3; -_RoomCompositeEgressRequest.typeName = "livekit.RoomCompositeEgressRequest"; -_RoomCompositeEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "layout", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "audio_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "video_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "custom_base_url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 8, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let RoomCompositeEgressRequest = _RoomCompositeEgressRequest; -const _WebEgressRequest = class _WebEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: bool audio_only = 2; - */ - this.audioOnly = false; - /** - * @generated from field: bool video_only = 3; - */ - this.videoOnly = false; - /** - * @generated from field: bool await_start_signal = 12; - */ - this.awaitStartSignal = false; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.WebEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.WebEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 13; - */ - this.imageOutputs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WebEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WebEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WebEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_WebEgressRequest, a, b); - } -}; -_WebEgressRequest.runtime = import_protobuf.proto3; -_WebEgressRequest.typeName = "livekit.WebEgressRequest"; -_WebEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "audio_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "video_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 12, - name: "await_start_signal", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 7, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let WebEgressRequest = _WebEgressRequest; -const _ParticipantEgressRequest = class _ParticipantEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * required - * - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * (default false) - * - * @generated from field: bool screen_share = 3; - */ - this.screenShare = false; - /** - * @generated from oneof livekit.ParticipantEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 9; - */ - this.imageOutputs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ParticipantEgressRequest, a, b); - } -}; -_ParticipantEgressRequest.runtime = import_protobuf.proto3; -_ParticipantEgressRequest.typeName = "livekit.ParticipantEgressRequest"; -_ParticipantEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "screen_share", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let ParticipantEgressRequest = _ParticipantEgressRequest; -const _TrackCompositeEgressRequest = class _TrackCompositeEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional) - * - * @generated from field: string audio_track_id = 2; - */ - this.audioTrackId = ""; - /** - * (optional) - * - * @generated from field: string video_track_id = 3; - */ - this.videoTrackId = ""; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.TrackCompositeEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.TrackCompositeEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - this.imageOutputs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackCompositeEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackCompositeEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackCompositeEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackCompositeEgressRequest, a, b); - } -}; -_TrackCompositeEgressRequest.runtime = import_protobuf.proto3; -_TrackCompositeEgressRequest.typeName = "livekit.TrackCompositeEgressRequest"; -_TrackCompositeEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "audio_track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "video_track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 6, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let TrackCompositeEgressRequest = _TrackCompositeEgressRequest; -const _TrackEgressRequest = class _TrackEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * required - * - * @generated from field: string track_id = 2; - */ - this.trackId = ""; - /** - * required - * - * @generated from oneof livekit.TrackEgressRequest.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackEgressRequest, a, b); - } -}; -_TrackEgressRequest.runtime = import_protobuf.proto3; -_TrackEgressRequest.typeName = "livekit.TrackEgressRequest"; -_TrackEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, - { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" } -]); -let TrackEgressRequest = _TrackEgressRequest; -const _EncodedFileOutput = class _EncodedFileOutput extends import_protobuf.Message { - constructor(data) { - super(); - /** - * (optional) - * - * @generated from field: livekit.EncodedFileType file_type = 1; - */ - this.fileType = 0 /* DEFAULT_FILETYPE */; - /** - * see egress docs for templating (default {room_name}-{time}) - * - * @generated from field: string filepath = 2; - */ - this.filepath = ""; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 6; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.EncodedFileOutput.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EncodedFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EncodedFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EncodedFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_EncodedFileOutput, a, b); - } -}; -_EncodedFileOutput.runtime = import_protobuf.proto3; -_EncodedFileOutput.typeName = "livekit.EncodedFileOutput"; -_EncodedFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "file_type", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodedFileType) }, - { - no: 2, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let EncodedFileOutput = _EncodedFileOutput; -const _SegmentedFileOutput = class _SegmentedFileOutput extends import_protobuf.Message { - constructor(data) { - super(); - /** - * (optional) - * - * @generated from field: livekit.SegmentedFileProtocol protocol = 1; - */ - this.protocol = 0 /* DEFAULT_SEGMENTED_FILE_PROTOCOL */; - /** - * (optional) - * - * @generated from field: string filename_prefix = 2; - */ - this.filenamePrefix = ""; - /** - * (optional) - * - * @generated from field: string playlist_name = 3; - */ - this.playlistName = ""; - /** - * (optional, disabled if not provided). Path of a live playlist - * - * @generated from field: string live_playlist_name = 11; - */ - this.livePlaylistName = ""; - /** - * in seconds (optional) - * - * @generated from field: uint32 segment_duration = 4; - */ - this.segmentDuration = 0; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; - */ - this.filenameSuffix = 0 /* INDEX */; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 8; - */ - this.disableManifest = false; - /** - * required - * - * @generated from oneof livekit.SegmentedFileOutput.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SegmentedFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SegmentedFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SegmentedFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SegmentedFileOutput, a, b); - } -}; -_SegmentedFileOutput.runtime = import_protobuf.proto3; -_SegmentedFileOutput.typeName = "livekit.SegmentedFileOutput"; -_SegmentedFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(SegmentedFileProtocol) }, - { - no: 2, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "live_playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "segment_duration", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 10, name: "filename_suffix", kind: "enum", T: import_protobuf.proto3.getEnumType(SegmentedFileSuffix) }, - { - no: 8, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let SegmentedFileOutput = _SegmentedFileOutput; -const _DirectFileOutput = class _DirectFileOutput extends import_protobuf.Message { - constructor(data) { - super(); - /** - * see egress docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - this.filepath = ""; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.DirectFileOutput.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DirectFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DirectFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DirectFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DirectFileOutput, a, b); - } -}; -_DirectFileOutput.runtime = import_protobuf.proto3; -_DirectFileOutput.typeName = "livekit.DirectFileOutput"; -_DirectFileOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let DirectFileOutput = _DirectFileOutput; -const _ImageOutput = class _ImageOutput extends import_protobuf.Message { - constructor(data) { - super(); - /** - * in seconds (required) - * - * @generated from field: uint32 capture_interval = 1; - */ - this.captureInterval = 0; - /** - * (optional, defaults to track width) - * - * @generated from field: int32 width = 2; - */ - this.width = 0; - /** - * (optional, defaults to track height) - * - * @generated from field: int32 height = 3; - */ - this.height = 0; - /** - * (optional) - * - * @generated from field: string filename_prefix = 4; - */ - this.filenamePrefix = ""; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; - */ - this.filenameSuffix = 0 /* IMAGE_SUFFIX_INDEX */; - /** - * (optional) - * - * @generated from field: livekit.ImageCodec image_codec = 6; - */ - this.imageCodec = import_livekit_models_pb.ImageCodec.IC_DEFAULT; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 7; - */ - this.disableManifest = false; - /** - * required - * - * @generated from oneof livekit.ImageOutput.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ImageOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ImageOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ImageOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ImageOutput, a, b); - } -}; -_ImageOutput.runtime = import_protobuf.proto3; -_ImageOutput.typeName = "livekit.ImageOutput"; -_ImageOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "capture_interval", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "width", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "filename_suffix", kind: "enum", T: import_protobuf.proto3.getEnumType(ImageFileSuffix) }, - { no: 6, name: "image_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ImageCodec) }, - { - no: 7, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let ImageOutput = _ImageOutput; -const _S3Upload = class _S3Upload extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string access_key = 1; - */ - this.accessKey = ""; - /** - * @generated from field: string secret = 2; - */ - this.secret = ""; - /** - * @generated from field: string session_token = 11; - */ - this.sessionToken = ""; - /** - * @generated from field: string region = 3; - */ - this.region = ""; - /** - * @generated from field: string endpoint = 4; - */ - this.endpoint = ""; - /** - * @generated from field: string bucket = 5; - */ - this.bucket = ""; - /** - * @generated from field: bool force_path_style = 6; - */ - this.forcePathStyle = false; - /** - * @generated from field: map metadata = 7; - */ - this.metadata = {}; - /** - * @generated from field: string tagging = 8; - */ - this.tagging = ""; - /** - * Content-Disposition header - * - * @generated from field: string content_disposition = 9; - */ - this.contentDisposition = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _S3Upload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _S3Upload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _S3Upload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_S3Upload, a, b); - } -}; -_S3Upload.runtime = import_protobuf.proto3; -_S3Upload.typeName = "livekit.S3Upload"; -_S3Upload.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "access_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "secret", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "session_token", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "endpoint", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "force_path_style", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 7, name: "metadata", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 8, - name: "tagging", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "content_disposition", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 10, name: "proxy", kind: "message", T: ProxyConfig } -]); -let S3Upload = _S3Upload; -const _GCPUpload = class _GCPUpload extends import_protobuf.Message { - constructor(data) { - super(); - /** - * service account credentials serialized in JSON "credentials.json" - * - * @generated from field: string credentials = 1; - */ - this.credentials = ""; - /** - * @generated from field: string bucket = 2; - */ - this.bucket = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GCPUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GCPUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GCPUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_GCPUpload, a, b); - } -}; -_GCPUpload.runtime = import_protobuf.proto3; -_GCPUpload.typeName = "livekit.GCPUpload"; -_GCPUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "credentials", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "proxy", kind: "message", T: ProxyConfig } -]); -let GCPUpload = _GCPUpload; -const _AzureBlobUpload = class _AzureBlobUpload extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string account_name = 1; - */ - this.accountName = ""; - /** - * @generated from field: string account_key = 2; - */ - this.accountKey = ""; - /** - * @generated from field: string container_name = 3; - */ - this.containerName = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AzureBlobUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AzureBlobUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AzureBlobUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AzureBlobUpload, a, b); - } -}; -_AzureBlobUpload.runtime = import_protobuf.proto3; -_AzureBlobUpload.typeName = "livekit.AzureBlobUpload"; -_AzureBlobUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "account_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "account_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "container_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AzureBlobUpload = _AzureBlobUpload; -const _AliOSSUpload = class _AliOSSUpload extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string access_key = 1; - */ - this.accessKey = ""; - /** - * @generated from field: string secret = 2; - */ - this.secret = ""; - /** - * @generated from field: string region = 3; - */ - this.region = ""; - /** - * @generated from field: string endpoint = 4; - */ - this.endpoint = ""; - /** - * @generated from field: string bucket = 5; - */ - this.bucket = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AliOSSUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AliOSSUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AliOSSUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AliOSSUpload, a, b); - } -}; -_AliOSSUpload.runtime = import_protobuf.proto3; -_AliOSSUpload.typeName = "livekit.AliOSSUpload"; -_AliOSSUpload.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "access_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "secret", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "endpoint", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AliOSSUpload = _AliOSSUpload; -const _ProxyConfig = class _ProxyConfig extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: string username = 2; - */ - this.username = ""; - /** - * @generated from field: string password = 3; - */ - this.password = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ProxyConfig().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ProxyConfig().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ProxyConfig().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ProxyConfig, a, b); - } -}; -_ProxyConfig.runtime = import_protobuf.proto3; -_ProxyConfig.typeName = "livekit.ProxyConfig"; -_ProxyConfig.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ProxyConfig = _ProxyConfig; -const _StreamOutput = class _StreamOutput extends import_protobuf.Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: livekit.StreamProtocol protocol = 1; - */ - this.protocol = 0 /* DEFAULT_PROTOCOL */; - /** - * required - * - * @generated from field: repeated string urls = 2; - */ - this.urls = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StreamOutput, a, b); - } -}; -_StreamOutput.runtime = import_protobuf.proto3; -_StreamOutput.typeName = "livekit.StreamOutput"; -_StreamOutput.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamProtocol) }, - { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true } -]); -let StreamOutput = _StreamOutput; -const _EncodingOptions = class _EncodingOptions extends import_protobuf.Message { - constructor(data) { - super(); - /** - * (default 1920) - * - * @generated from field: int32 width = 1; - */ - this.width = 0; - /** - * (default 1080) - * - * @generated from field: int32 height = 2; - */ - this.height = 0; - /** - * (default 24) - * - * @generated from field: int32 depth = 3; - */ - this.depth = 0; - /** - * (default 30) - * - * @generated from field: int32 framerate = 4; - */ - this.framerate = 0; - /** - * (default OPUS) - * - * @generated from field: livekit.AudioCodec audio_codec = 5; - */ - this.audioCodec = import_livekit_models_pb.AudioCodec.DEFAULT_AC; - /** - * (default 128) - * - * @generated from field: int32 audio_bitrate = 6; - */ - this.audioBitrate = 0; - /** - * quality setting on audio encoder - * - * @generated from field: int32 audio_quality = 11; - */ - this.audioQuality = 0; - /** - * (default 44100) - * - * @generated from field: int32 audio_frequency = 7; - */ - this.audioFrequency = 0; - /** - * (default H264_MAIN) - * - * @generated from field: livekit.VideoCodec video_codec = 8; - */ - this.videoCodec = import_livekit_models_pb.VideoCodec.DEFAULT_VC; - /** - * (default 4500) - * - * @generated from field: int32 video_bitrate = 9; - */ - this.videoBitrate = 0; - /** - * quality setting on video encoder - * - * @generated from field: int32 video_quality = 12; - */ - this.videoQuality = 0; - /** - * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - * - * @generated from field: double key_frame_interval = 10; - */ - this.keyFrameInterval = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_EncodingOptions, a, b); - } -}; -_EncodingOptions.runtime = import_protobuf.proto3; -_EncodingOptions.typeName = "livekit.EncodingOptions"; -_EncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "width", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "height", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "depth", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "framerate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 5, name: "audio_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioCodec) }, - { - no: 6, - name: "audio_bitrate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 11, - name: "audio_quality", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 7, - name: "audio_frequency", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 8, name: "video_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoCodec) }, - { - no: 9, - name: "video_bitrate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 12, - name: "video_quality", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 10, - name: "key_frame_interval", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let EncodingOptions = _EncodingOptions; -const _UpdateLayoutRequest = class _UpdateLayoutRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: string layout = 2; - */ - this.layout = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLayoutRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLayoutRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLayoutRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateLayoutRequest, a, b); - } -}; -_UpdateLayoutRequest.runtime = import_protobuf.proto3; -_UpdateLayoutRequest.typeName = "livekit.UpdateLayoutRequest"; -_UpdateLayoutRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "layout", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateLayoutRequest = _UpdateLayoutRequest; -const _UpdateStreamRequest = class _UpdateStreamRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: repeated string add_output_urls = 2; - */ - this.addOutputUrls = []; - /** - * @generated from field: repeated string remove_output_urls = 3; - */ - this.removeOutputUrls = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateStreamRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateStreamRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateStreamRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateStreamRequest, a, b); - } -}; -_UpdateStreamRequest.runtime = import_protobuf.proto3; -_UpdateStreamRequest.typeName = "livekit.UpdateStreamRequest"; -_UpdateStreamRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true }, - { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true } -]); -let UpdateStreamRequest = _UpdateStreamRequest; -const _ListEgressRequest = class _ListEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional, filter by egress ID) - * - * @generated from field: string egress_id = 2; - */ - this.egressId = ""; - /** - * (optional, list active egress only) - * - * @generated from field: bool active = 3; - */ - this.active = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListEgressRequest, a, b); - } -}; -_ListEgressRequest.runtime = import_protobuf.proto3; -_ListEgressRequest.typeName = "livekit.ListEgressRequest"; -_ListEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "active", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ListEgressRequest = _ListEgressRequest; -const _ListEgressResponse = class _ListEgressResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.EgressInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListEgressResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListEgressResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListEgressResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListEgressResponse, a, b); - } -}; -_ListEgressResponse.runtime = import_protobuf.proto3; -_ListEgressResponse.typeName = "livekit.ListEgressResponse"; -_ListEgressResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true } -]); -let ListEgressResponse = _ListEgressResponse; -const _StopEgressRequest = class _StopEgressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StopEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StopEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StopEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StopEgressRequest, a, b); - } -}; -_StopEgressRequest.runtime = import_protobuf.proto3; -_StopEgressRequest.typeName = "livekit.StopEgressRequest"; -_StopEgressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let StopEgressRequest = _StopEgressRequest; -const _EgressInfo = class _EgressInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: string room_id = 2; - */ - this.roomId = ""; - /** - * @generated from field: string room_name = 13; - */ - this.roomName = ""; - /** - * @generated from field: livekit.EgressStatus status = 3; - */ - this.status = 0 /* EGRESS_STARTING */; - /** - * @generated from field: int64 started_at = 10; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 11; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 updated_at = 18; - */ - this.updatedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: string details = 21; - */ - this.details = ""; - /** - * @generated from field: string error = 9; - */ - this.error = ""; - /** - * @generated from field: int32 error_code = 22; - */ - this.errorCode = 0; - /** - * @generated from oneof livekit.EgressInfo.request - */ - this.request = { case: void 0 }; - /** - * deprecated (use _result fields) - * - * @generated from oneof livekit.EgressInfo.result - */ - this.result = { case: void 0 }; - /** - * @generated from field: repeated livekit.StreamInfo stream_results = 15; - */ - this.streamResults = []; - /** - * @generated from field: repeated livekit.FileInfo file_results = 16; - */ - this.fileResults = []; - /** - * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; - */ - this.segmentResults = []; - /** - * @generated from field: repeated livekit.ImagesInfo image_results = 20; - */ - this.imageResults = []; - /** - * @generated from field: string manifest_location = 23; - */ - this.manifestLocation = ""; - /** - * next ID: 26 - * - * @generated from field: bool backup_storage_used = 25; - */ - this.backupStorageUsed = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EgressInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EgressInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EgressInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_EgressInfo, a, b); - } -}; -_EgressInfo.runtime = import_protobuf.proto3; -_EgressInfo.typeName = "livekit.EgressInfo"; -_EgressInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 13, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(EgressStatus) }, - { - no: 10, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 18, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 21, - name: "details", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 22, - name: "error_code", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, - { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, - { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, - { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, - { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, - { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, - { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, - { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, - { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, - { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, - { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, - { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, - { - no: 23, - name: "manifest_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 25, - name: "backup_storage_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let EgressInfo = _EgressInfo; -const _StreamInfoList = class _StreamInfoList extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.StreamInfo info = 1; - */ - this.info = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamInfoList().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamInfoList().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamInfoList().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StreamInfoList, a, b); - } -}; -_StreamInfoList.runtime = import_protobuf.proto3; -_StreamInfoList.typeName = "livekit.StreamInfoList"; -_StreamInfoList.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true } -]); -let StreamInfoList = _StreamInfoList; -const _StreamInfo = class _StreamInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 duration = 4; - */ - this.duration = import_protobuf.protoInt64.zero; - /** - * @generated from field: livekit.StreamInfo.Status status = 5; - */ - this.status = 0 /* ACTIVE */; - /** - * @generated from field: string error = 6; - */ - this.error = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StreamInfo, a, b); - } -}; -_StreamInfo.runtime = import_protobuf.proto3; -_StreamInfo.typeName = "livekit.StreamInfo"; -_StreamInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 5, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamInfo_Status) }, - { - no: 6, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let StreamInfo = _StreamInfo; -var StreamInfo_Status = /* @__PURE__ */ ((StreamInfo_Status2) => { - StreamInfo_Status2[StreamInfo_Status2["ACTIVE"] = 0] = "ACTIVE"; - StreamInfo_Status2[StreamInfo_Status2["FINISHED"] = 1] = "FINISHED"; - StreamInfo_Status2[StreamInfo_Status2["FAILED"] = 2] = "FAILED"; - return StreamInfo_Status2; -})(StreamInfo_Status || {}); -import_protobuf.proto3.util.setEnumType(StreamInfo_Status, "livekit.StreamInfo.Status", [ - { no: 0, name: "ACTIVE" }, - { no: 1, name: "FINISHED" }, - { no: 2, name: "FAILED" } -]); -const _FileInfo = class _FileInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string filename = 1; - */ - this.filename = ""; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 duration = 6; - */ - this.duration = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 size = 4; - */ - this.size = import_protobuf.protoInt64.zero; - /** - * @generated from field: string location = 5; - */ - this.location = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _FileInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _FileInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _FileInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_FileInfo, a, b); - } -}; -_FileInfo.runtime = import_protobuf.proto3; -_FileInfo.typeName = "livekit.FileInfo"; -_FileInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "filename", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "size", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let FileInfo = _FileInfo; -const _SegmentsInfo = class _SegmentsInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string playlist_name = 1; - */ - this.playlistName = ""; - /** - * @generated from field: string live_playlist_name = 8; - */ - this.livePlaylistName = ""; - /** - * @generated from field: int64 duration = 2; - */ - this.duration = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 size = 3; - */ - this.size = import_protobuf.protoInt64.zero; - /** - * @generated from field: string playlist_location = 4; - */ - this.playlistLocation = ""; - /** - * @generated from field: string live_playlist_location = 9; - */ - this.livePlaylistLocation = ""; - /** - * @generated from field: int64 segment_count = 5; - */ - this.segmentCount = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 started_at = 6; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 7; - */ - this.endedAt = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SegmentsInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SegmentsInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SegmentsInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SegmentsInfo, a, b); - } -}; -_SegmentsInfo.runtime = import_protobuf.proto3; -_SegmentsInfo.typeName = "livekit.SegmentsInfo"; -_SegmentsInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "live_playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "size", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "playlist_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "live_playlist_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "segment_count", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 7, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let SegmentsInfo = _SegmentsInfo; -const _ImagesInfo = class _ImagesInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string filename_prefix = 4; - */ - this.filenamePrefix = ""; - /** - * @generated from field: int64 image_count = 1; - */ - this.imageCount = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ImagesInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ImagesInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ImagesInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ImagesInfo, a, b); - } -}; -_ImagesInfo.runtime = import_protobuf.proto3; -_ImagesInfo.typeName = "livekit.ImagesInfo"; -_ImagesInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 4, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 1, - name: "image_count", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let ImagesInfo = _ImagesInfo; -const _AutoParticipantEgress = class _AutoParticipantEgress extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.AutoParticipantEgress.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; - */ - this.segmentOutputs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AutoParticipantEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AutoParticipantEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AutoParticipantEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AutoParticipantEgress, a, b); - } -}; -_AutoParticipantEgress.runtime = import_protobuf.proto3; -_AutoParticipantEgress.typeName = "livekit.AutoParticipantEgress"; -_AutoParticipantEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true } -]); -let AutoParticipantEgress = _AutoParticipantEgress; -const _AutoTrackEgress = class _AutoTrackEgress extends import_protobuf.Message { - constructor(data) { - super(); - /** - * see docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - this.filepath = ""; - /** - * disables upload of json manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.AutoTrackEgress.output - */ - this.output = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AutoTrackEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AutoTrackEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AutoTrackEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AutoTrackEgress, a, b); - } -}; -_AutoTrackEgress.runtime = import_protobuf.proto3; -_AutoTrackEgress.typeName = "livekit.AutoTrackEgress"; -_AutoTrackEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let AutoTrackEgress = _AutoTrackEgress; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - AliOSSUpload, - AutoParticipantEgress, - AutoTrackEgress, - AzureBlobUpload, - DirectFileOutput, - EgressInfo, - EgressStatus, - EncodedFileOutput, - EncodedFileType, - EncodingOptions, - EncodingOptionsPreset, - FileInfo, - GCPUpload, - ImageFileSuffix, - ImageOutput, - ImagesInfo, - ListEgressRequest, - ListEgressResponse, - ParticipantEgressRequest, - ProxyConfig, - RoomCompositeEgressRequest, - S3Upload, - SegmentedFileOutput, - SegmentedFileProtocol, - SegmentedFileSuffix, - SegmentsInfo, - StopEgressRequest, - StreamInfo, - StreamInfoList, - StreamInfo_Status, - StreamOutput, - StreamProtocol, - TrackCompositeEgressRequest, - TrackEgressRequest, - UpdateLayoutRequest, - UpdateStreamRequest, - WebEgressRequest -}); -//# sourceMappingURL=livekit_egress_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.cjs.map b/packages/javascript/dist/gen/livekit_egress_pb.cjs.map deleted file mode 100644 index 1a920b54..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_egress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_egress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, ImageCodec, VideoCodec } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.EncodedFileType\n */\nexport enum EncodedFileType {\n /**\n * file type chosen based on codecs\n *\n * @generated from enum value: DEFAULT_FILETYPE = 0;\n */\n DEFAULT_FILETYPE = 0,\n\n /**\n * @generated from enum value: MP4 = 1;\n */\n MP4 = 1,\n\n /**\n * @generated from enum value: OGG = 2;\n */\n OGG = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodedFileType)\nproto3.util.setEnumType(EncodedFileType, \"livekit.EncodedFileType\", [\n { no: 0, name: \"DEFAULT_FILETYPE\" },\n { no: 1, name: \"MP4\" },\n { no: 2, name: \"OGG\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileProtocol\n */\nexport enum SegmentedFileProtocol {\n /**\n * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;\n */\n DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,\n\n /**\n * @generated from enum value: HLS_PROTOCOL = 1;\n */\n HLS_PROTOCOL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileProtocol)\nproto3.util.setEnumType(SegmentedFileProtocol, \"livekit.SegmentedFileProtocol\", [\n { no: 0, name: \"DEFAULT_SEGMENTED_FILE_PROTOCOL\" },\n { no: 1, name: \"HLS_PROTOCOL\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileSuffix\n */\nexport enum SegmentedFileSuffix {\n /**\n * @generated from enum value: INDEX = 0;\n */\n INDEX = 0,\n\n /**\n * @generated from enum value: TIMESTAMP = 1;\n */\n TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileSuffix)\nproto3.util.setEnumType(SegmentedFileSuffix, \"livekit.SegmentedFileSuffix\", [\n { no: 0, name: \"INDEX\" },\n { no: 1, name: \"TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.ImageFileSuffix\n */\nexport enum ImageFileSuffix {\n /**\n * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;\n */\n IMAGE_SUFFIX_INDEX = 0,\n\n /**\n * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;\n */\n IMAGE_SUFFIX_TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageFileSuffix)\nproto3.util.setEnumType(ImageFileSuffix, \"livekit.ImageFileSuffix\", [\n { no: 0, name: \"IMAGE_SUFFIX_INDEX\" },\n { no: 1, name: \"IMAGE_SUFFIX_TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.StreamProtocol\n */\nexport enum StreamProtocol {\n /**\n * protocol chosen based on urls\n *\n * @generated from enum value: DEFAULT_PROTOCOL = 0;\n */\n DEFAULT_PROTOCOL = 0,\n\n /**\n * @generated from enum value: RTMP = 1;\n */\n RTMP = 1,\n\n /**\n * @generated from enum value: SRT = 2;\n */\n SRT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamProtocol)\nproto3.util.setEnumType(StreamProtocol, \"livekit.StreamProtocol\", [\n { no: 0, name: \"DEFAULT_PROTOCOL\" },\n { no: 1, name: \"RTMP\" },\n { no: 2, name: \"SRT\" },\n]);\n\n/**\n * @generated from enum livekit.EncodingOptionsPreset\n */\nexport enum EncodingOptionsPreset {\n /**\n * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_30 = 0;\n */\n H264_720P_30 = 0,\n\n /**\n * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_60 = 1;\n */\n H264_720P_60 = 1,\n\n /**\n * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_30 = 2;\n */\n H264_1080P_30 = 2,\n\n /**\n * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_60 = 3;\n */\n H264_1080P_60 = 3,\n\n /**\n * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_30 = 4;\n */\n PORTRAIT_H264_720P_30 = 4,\n\n /**\n * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_60 = 5;\n */\n PORTRAIT_H264_720P_60 = 5,\n\n /**\n * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;\n */\n PORTRAIT_H264_1080P_30 = 6,\n\n /**\n * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;\n */\n PORTRAIT_H264_1080P_60 = 7,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodingOptionsPreset)\nproto3.util.setEnumType(EncodingOptionsPreset, \"livekit.EncodingOptionsPreset\", [\n { no: 0, name: \"H264_720P_30\" },\n { no: 1, name: \"H264_720P_60\" },\n { no: 2, name: \"H264_1080P_30\" },\n { no: 3, name: \"H264_1080P_60\" },\n { no: 4, name: \"PORTRAIT_H264_720P_30\" },\n { no: 5, name: \"PORTRAIT_H264_720P_60\" },\n { no: 6, name: \"PORTRAIT_H264_1080P_30\" },\n { no: 7, name: \"PORTRAIT_H264_1080P_60\" },\n]);\n\n/**\n * @generated from enum livekit.EgressStatus\n */\nexport enum EgressStatus {\n /**\n * @generated from enum value: EGRESS_STARTING = 0;\n */\n EGRESS_STARTING = 0,\n\n /**\n * @generated from enum value: EGRESS_ACTIVE = 1;\n */\n EGRESS_ACTIVE = 1,\n\n /**\n * @generated from enum value: EGRESS_ENDING = 2;\n */\n EGRESS_ENDING = 2,\n\n /**\n * @generated from enum value: EGRESS_COMPLETE = 3;\n */\n EGRESS_COMPLETE = 3,\n\n /**\n * @generated from enum value: EGRESS_FAILED = 4;\n */\n EGRESS_FAILED = 4,\n\n /**\n * @generated from enum value: EGRESS_ABORTED = 5;\n */\n EGRESS_ABORTED = 5,\n\n /**\n * @generated from enum value: EGRESS_LIMIT_REACHED = 6;\n */\n EGRESS_LIMIT_REACHED = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EgressStatus)\nproto3.util.setEnumType(EgressStatus, \"livekit.EgressStatus\", [\n { no: 0, name: \"EGRESS_STARTING\" },\n { no: 1, name: \"EGRESS_ACTIVE\" },\n { no: 2, name: \"EGRESS_ENDING\" },\n { no: 3, name: \"EGRESS_COMPLETE\" },\n { no: 4, name: \"EGRESS_FAILED\" },\n { no: 5, name: \"EGRESS_ABORTED\" },\n { no: 6, name: \"EGRESS_LIMIT_REACHED\" },\n]);\n\n/**\n * composite using a web browser\n *\n * @generated from message livekit.RoomCompositeEgressRequest\n */\nexport class RoomCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool audio_only = 3;\n */\n audioOnly = false;\n\n /**\n * (default false)\n *\n * @generated from field: bool video_only = 4;\n */\n videoOnly = false;\n\n /**\n * template base url (default https://recorder.livekit.io)\n *\n * @generated from field: string custom_base_url = 5;\n */\n customBaseUrl = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.RoomCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.RoomCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 8;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 9;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"custom_base_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 10, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 8, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 9, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record any website\n *\n * @generated from message livekit.WebEgressRequest\n */\nexport class WebEgressRequest extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: bool audio_only = 2;\n */\n audioOnly = false;\n\n /**\n * @generated from field: bool video_only = 3;\n */\n videoOnly = false;\n\n /**\n * @generated from field: bool await_start_signal = 12;\n */\n awaitStartSignal = false;\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.WebEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.WebEgressRequest.options\n */\n options: {\n /**\n * @generated from field: livekit.EncodingOptionsPreset preset = 7;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.EncodingOptions advanced = 8;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 13;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"await_start_signal\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 6, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 7, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 8, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 9, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 10, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 11, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 13, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebEgressRequest, a, b);\n }\n}\n\n/**\n * record audio and video from a single participant\n *\n * @generated from message livekit.ParticipantEgressRequest\n */\nexport class ParticipantEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool screen_share = 3;\n */\n screenShare = false;\n\n /**\n * @generated from oneof livekit.ParticipantEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 4;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 5;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 9;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"screen_share\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 5, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 6, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 7, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 8, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 9, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantEgressRequest, a, b);\n }\n}\n\n/**\n * containerize up to one audio and one video track\n *\n * @generated from message livekit.TrackCompositeEgressRequest\n */\nexport class TrackCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string audio_track_id = 2;\n */\n audioTrackId = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string video_track_id = 3;\n */\n videoTrackId = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.TrackCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.TrackCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 6;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 7;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 8, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 6, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 7, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record tracks individually, without transcoding\n *\n * @generated from message livekit.TrackEgressRequest\n */\nexport class TrackEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string track_id = 2;\n */\n trackId = \"\";\n\n /**\n * required\n *\n * @generated from oneof livekit.TrackEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.DirectFileOutput file = 3;\n */\n value: DirectFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: string websocket_url = 4;\n */\n value: string;\n case: \"websocketUrl\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"file\", kind: \"message\", T: DirectFileOutput, oneof: \"output\" },\n { no: 4, name: \"websocket_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodedFileOutput\n */\nexport class EncodedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodedFileType file_type = 1;\n */\n fileType = EncodedFileType.DEFAULT_FILETYPE;\n\n /**\n * see egress docs for templating (default {room_name}-{time})\n *\n * @generated from field: string filepath = 2;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 6;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.EncodedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 3;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 4;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 5;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 7;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_type\", kind: \"enum\", T: proto3.getEnumType(EncodedFileType) },\n { no: 2, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 4, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 5, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 7, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodedFileOutput, a, b);\n }\n}\n\n/**\n * Used to generate HLS segments or other kind of segmented output\n *\n * @generated from message livekit.SegmentedFileOutput\n */\nexport class SegmentedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.SegmentedFileProtocol protocol = 1;\n */\n protocol = SegmentedFileProtocol.DEFAULT_SEGMENTED_FILE_PROTOCOL;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 2;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string playlist_name = 3;\n */\n playlistName = \"\";\n\n /**\n * (optional, disabled if not provided). Path of a live playlist\n *\n * @generated from field: string live_playlist_name = 11;\n */\n livePlaylistName = \"\";\n\n /**\n * in seconds (optional)\n *\n * @generated from field: uint32 segment_duration = 4;\n */\n segmentDuration = 0;\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;\n */\n filenameSuffix = SegmentedFileSuffix.INDEX;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 8;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.SegmentedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 5;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 6;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 7;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 9;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileProtocol) },\n { no: 2, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segment_duration\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileSuffix) },\n { no: 8, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 6, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 7, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 9, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentedFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DirectFileOutput\n */\nexport class DirectFileOutput extends Message {\n /**\n * see egress docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.DirectFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DirectFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(DirectFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImageOutput\n */\nexport class ImageOutput extends Message {\n /**\n * in seconds (required)\n *\n * @generated from field: uint32 capture_interval = 1;\n */\n captureInterval = 0;\n\n /**\n * (optional, defaults to track width)\n *\n * @generated from field: int32 width = 2;\n */\n width = 0;\n\n /**\n * (optional, defaults to track height)\n *\n * @generated from field: int32 height = 3;\n */\n height = 0;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.ImageFileSuffix filename_suffix = 5;\n */\n filenameSuffix = ImageFileSuffix.IMAGE_SUFFIX_INDEX;\n\n /**\n * (optional)\n *\n * @generated from field: livekit.ImageCodec image_codec = 6;\n */\n imageCodec = ImageCodec.IC_DEFAULT;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 7;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.ImageOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 8;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 9;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 10;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 11;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImageOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"capture_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(ImageFileSuffix) },\n { no: 6, name: \"image_codec\", kind: \"enum\", T: proto3.getEnumType(ImageCodec) },\n { no: 7, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 9, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 10, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 11, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput {\n return new ImageOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput {\n return new ImageOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImageOutput {\n return new ImageOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImageOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.S3Upload\n */\nexport class S3Upload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string session_token = 11;\n */\n sessionToken = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n /**\n * @generated from field: bool force_path_style = 6;\n */\n forcePathStyle = false;\n\n /**\n * @generated from field: map metadata = 7;\n */\n metadata: { [key: string]: string } = {};\n\n /**\n * @generated from field: string tagging = 8;\n */\n tagging = \"\";\n\n /**\n * Content-Disposition header\n *\n * @generated from field: string content_disposition = 9;\n */\n contentDisposition = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 10;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.S3Upload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"session_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"force_path_style\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"metadata\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 8, name: \"tagging\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"content_disposition\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload {\n return new S3Upload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload {\n return new S3Upload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): S3Upload {\n return new S3Upload().fromJsonString(jsonString, options);\n }\n\n static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean {\n return proto3.util.equals(S3Upload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GCPUpload\n */\nexport class GCPUpload extends Message {\n /**\n * service account credentials serialized in JSON \"credentials.json\"\n *\n * @generated from field: string credentials = 1;\n */\n credentials = \"\";\n\n /**\n * @generated from field: string bucket = 2;\n */\n bucket = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 3;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GCPUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"credentials\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload {\n return new GCPUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload {\n return new GCPUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GCPUpload {\n return new GCPUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(GCPUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AzureBlobUpload\n */\nexport class AzureBlobUpload extends Message {\n /**\n * @generated from field: string account_name = 1;\n */\n accountName = \"\";\n\n /**\n * @generated from field: string account_key = 2;\n */\n accountKey = \"\";\n\n /**\n * @generated from field: string container_name = 3;\n */\n containerName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AzureBlobUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"account_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"account_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"container_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AzureBlobUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AliOSSUpload\n */\nexport class AliOSSUpload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AliOSSUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AliOSSUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ProxyConfig\n */\nexport class ProxyConfig extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string password = 3;\n */\n password = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ProxyConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ProxyConfig, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamOutput\n */\nexport class StreamOutput extends Message {\n /**\n * required\n *\n * @generated from field: livekit.StreamProtocol protocol = 1;\n */\n protocol = StreamProtocol.DEFAULT_PROTOCOL;\n\n /**\n * required\n *\n * @generated from field: repeated string urls = 2;\n */\n urls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(StreamProtocol) },\n { no: 2, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput {\n return new StreamOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput {\n return new StreamOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamOutput {\n return new StreamOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodingOptions\n */\nexport class EncodingOptions extends Message {\n /**\n * (default 1920)\n *\n * @generated from field: int32 width = 1;\n */\n width = 0;\n\n /**\n * (default 1080)\n *\n * @generated from field: int32 height = 2;\n */\n height = 0;\n\n /**\n * (default 24)\n *\n * @generated from field: int32 depth = 3;\n */\n depth = 0;\n\n /**\n * (default 30)\n *\n * @generated from field: int32 framerate = 4;\n */\n framerate = 0;\n\n /**\n * (default OPUS)\n *\n * @generated from field: livekit.AudioCodec audio_codec = 5;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * (default 128)\n *\n * @generated from field: int32 audio_bitrate = 6;\n */\n audioBitrate = 0;\n\n /**\n * quality setting on audio encoder\n *\n * @generated from field: int32 audio_quality = 11;\n */\n audioQuality = 0;\n\n /**\n * (default 44100)\n *\n * @generated from field: int32 audio_frequency = 7;\n */\n audioFrequency = 0;\n\n /**\n * (default H264_MAIN)\n *\n * @generated from field: livekit.VideoCodec video_codec = 8;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * (default 4500)\n *\n * @generated from field: int32 video_bitrate = 9;\n */\n videoBitrate = 0;\n\n /**\n * quality setting on video encoder\n *\n * @generated from field: int32 video_quality = 12;\n */\n videoQuality = 0;\n\n /**\n * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)\n *\n * @generated from field: double key_frame_interval = 10;\n */\n keyFrameInterval = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"depth\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"framerate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 6, name: \"audio_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"audio_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 7, name: \"audio_frequency\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 8, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 9, name: \"video_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"video_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 10, name: \"key_frame_interval\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLayoutRequest\n */\nexport class UpdateLayoutRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLayoutRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLayoutRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateStreamRequest\n */\nexport class UpdateStreamRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: repeated string add_output_urls = 2;\n */\n addOutputUrls: string[] = [];\n\n /**\n * @generated from field: repeated string remove_output_urls = 3;\n */\n removeOutputUrls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateStreamRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"add_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"remove_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateStreamRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressRequest\n */\nexport class ListEgressRequest extends Message {\n /**\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by egress ID)\n *\n * @generated from field: string egress_id = 2;\n */\n egressId = \"\";\n\n /**\n * (optional, list active egress only)\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressResponse\n */\nexport class ListEgressResponse extends Message {\n /**\n * @generated from field: repeated livekit.EgressInfo items = 1;\n */\n items: EgressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: EgressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StopEgressRequest\n */\nexport class StopEgressRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StopEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(StopEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EgressInfo\n */\nexport class EgressInfo extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string room_id = 2;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 13;\n */\n roomName = \"\";\n\n /**\n * @generated from field: livekit.EgressStatus status = 3;\n */\n status = EgressStatus.EGRESS_STARTING;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 18;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string details = 21;\n */\n details = \"\";\n\n /**\n * @generated from field: string error = 9;\n */\n error = \"\";\n\n /**\n * @generated from field: int32 error_code = 22;\n */\n errorCode = 0;\n\n /**\n * @generated from oneof livekit.EgressInfo.request\n */\n request: {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;\n */\n value: RoomCompositeEgressRequest;\n case: \"roomComposite\";\n } | {\n /**\n * @generated from field: livekit.WebEgressRequest web = 14;\n */\n value: WebEgressRequest;\n case: \"web\";\n } | {\n /**\n * @generated from field: livekit.ParticipantEgressRequest participant = 19;\n */\n value: ParticipantEgressRequest;\n case: \"participant\";\n } | {\n /**\n * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;\n */\n value: TrackCompositeEgressRequest;\n case: \"trackComposite\";\n } | {\n /**\n * @generated from field: livekit.TrackEgressRequest track = 6;\n */\n value: TrackEgressRequest;\n case: \"track\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * deprecated (use _result fields)\n *\n * @generated from oneof livekit.EgressInfo.result\n */\n result: {\n /**\n * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamInfoList;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.FileInfo file = 8 [deprecated = true];\n * @deprecated\n */\n value: FileInfo;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];\n * @deprecated\n */\n value: SegmentsInfo;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.StreamInfo stream_results = 15;\n */\n streamResults: StreamInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.FileInfo file_results = 16;\n */\n fileResults: FileInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentsInfo segment_results = 17;\n */\n segmentResults: SegmentsInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.ImagesInfo image_results = 20;\n */\n imageResults: ImagesInfo[] = [];\n\n /**\n * @generated from field: string manifest_location = 23;\n */\n manifestLocation = \"\";\n\n /**\n * next ID: 26\n *\n * @generated from field: bool backup_storage_used = 25;\n */\n backupStorageUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EgressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"status\", kind: \"enum\", T: proto3.getEnumType(EgressStatus) },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 18, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 21, name: \"details\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 22, name: \"error_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"room_composite\", kind: \"message\", T: RoomCompositeEgressRequest, oneof: \"request\" },\n { no: 14, name: \"web\", kind: \"message\", T: WebEgressRequest, oneof: \"request\" },\n { no: 19, name: \"participant\", kind: \"message\", T: ParticipantEgressRequest, oneof: \"request\" },\n { no: 5, name: \"track_composite\", kind: \"message\", T: TrackCompositeEgressRequest, oneof: \"request\" },\n { no: 6, name: \"track\", kind: \"message\", T: TrackEgressRequest, oneof: \"request\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamInfoList, oneof: \"result\" },\n { no: 8, name: \"file\", kind: \"message\", T: FileInfo, oneof: \"result\" },\n { no: 12, name: \"segments\", kind: \"message\", T: SegmentsInfo, oneof: \"result\" },\n { no: 15, name: \"stream_results\", kind: \"message\", T: StreamInfo, repeated: true },\n { no: 16, name: \"file_results\", kind: \"message\", T: FileInfo, repeated: true },\n { no: 17, name: \"segment_results\", kind: \"message\", T: SegmentsInfo, repeated: true },\n { no: 20, name: \"image_results\", kind: \"message\", T: ImagesInfo, repeated: true },\n { no: 23, name: \"manifest_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 25, name: \"backup_storage_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo {\n return new EgressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo {\n return new EgressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EgressInfo {\n return new EgressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(EgressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfoList\n * @deprecated\n */\nexport class StreamInfoList extends Message {\n /**\n * @generated from field: repeated livekit.StreamInfo info = 1;\n */\n info: StreamInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfoList\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"info\", kind: \"message\", T: StreamInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfoList, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfo\n */\nexport class StreamInfo extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 4;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: livekit.StreamInfo.Status status = 5;\n */\n status = StreamInfo_Status.ACTIVE;\n\n /**\n * @generated from field: string error = 6;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"status\", kind: \"enum\", T: proto3.getEnumType(StreamInfo_Status) },\n { no: 6, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo {\n return new StreamInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo {\n return new StreamInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfo {\n return new StreamInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.StreamInfo.Status\n */\nexport enum StreamInfo_Status {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: FINISHED = 1;\n */\n FINISHED = 1,\n\n /**\n * @generated from enum value: FAILED = 2;\n */\n FAILED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamInfo_Status)\nproto3.util.setEnumType(StreamInfo_Status, \"livekit.StreamInfo.Status\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"FINISHED\" },\n { no: 2, name: \"FAILED\" },\n]);\n\n/**\n * @generated from message livekit.FileInfo\n */\nexport class FileInfo extends Message {\n /**\n * @generated from field: string filename = 1;\n */\n filename = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 6;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 4;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string location = 5;\n */\n location = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.FileInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filename\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo {\n return new FileInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo {\n return new FileInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): FileInfo {\n return new FileInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(FileInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SegmentsInfo\n */\nexport class SegmentsInfo extends Message {\n /**\n * @generated from field: string playlist_name = 1;\n */\n playlistName = \"\";\n\n /**\n * @generated from field: string live_playlist_name = 8;\n */\n livePlaylistName = \"\";\n\n /**\n * @generated from field: int64 duration = 2;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string playlist_location = 4;\n */\n playlistLocation = \"\";\n\n /**\n * @generated from field: string live_playlist_location = 9;\n */\n livePlaylistLocation = \"\";\n\n /**\n * @generated from field: int64 segment_count = 5;\n */\n segmentCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 6;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 7;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentsInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"live_playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"segment_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 7, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentsInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImagesInfo\n */\nexport class ImagesInfo extends Message {\n /**\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * @generated from field: int64 image_count = 1;\n */\n imageCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImagesInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"image_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImagesInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoParticipantEgress\n */\nexport class AutoParticipantEgress extends Message {\n /**\n * @generated from oneof livekit.AutoParticipantEgress.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 1;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 2;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoParticipantEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 2, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 3, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 4, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoParticipantEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoTrackEgress\n */\nexport class AutoTrackEgress extends Message {\n /**\n * see docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disables upload of json manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.AutoTrackEgress.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoTrackEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoTrackEgress, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAmD;AAK5C,IAAK,kBAAL,kBAAKA,qBAAL;AAML,EAAAA,kCAAA,sBAAmB,KAAnB;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAhBU,SAAAA;AAAA,GAAA;AAmBZ,uBAAO,KAAK,YAAY,iBAAiB,2BAA2B;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,mBAAmB;AAAA,EAClC,EAAE,IAAI,GAAG,MAAM,MAAM;AAAA,EACrB,EAAE,IAAI,GAAG,MAAM,MAAM;AACvB,CAAC;AAKM,IAAK,wBAAL,kBAAKC,2BAAL;AAIL,EAAAA,8CAAA,qCAAkC,KAAlC;AAKA,EAAAA,8CAAA,kBAAe,KAAf;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,uBAAuB,iCAAiC;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,kCAAkC;AAAA,EACjD,EAAE,IAAI,GAAG,MAAM,eAAe;AAChC,CAAC;AA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B,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,WAAW,GAAG,UAAU,OAAO,SAAS;AAAA,EACnE,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,WAAW,OAAO,SAAS;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,iBAAiB,OAAO,SAAS;AAAA,EAC7E,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,cAAc,OAAO,SAAS;AAC7E,CAAC;AA1DI,IAAM,kBAAN;","names":["EncodedFileType","SegmentedFileProtocol","SegmentedFileSuffix","ImageFileSuffix","StreamProtocol","EncodingOptionsPreset","EgressStatus","StreamInfo_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.d.ts b/packages/javascript/dist/gen/livekit_egress_pb.d.ts deleted file mode 100644 index 29c1c729..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.d.ts +++ /dev/null @@ -1,1720 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; -/** - * @generated from enum livekit.EncodedFileType - */ -export declare enum EncodedFileType { - /** - * file type chosen based on codecs - * - * @generated from enum value: DEFAULT_FILETYPE = 0; - */ - DEFAULT_FILETYPE = 0, - /** - * @generated from enum value: MP4 = 1; - */ - MP4 = 1, - /** - * @generated from enum value: OGG = 2; - */ - OGG = 2 -} -/** - * @generated from enum livekit.SegmentedFileProtocol - */ -export declare enum SegmentedFileProtocol { - /** - * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; - */ - DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, - /** - * @generated from enum value: HLS_PROTOCOL = 1; - */ - HLS_PROTOCOL = 1 -} -/** - * @generated from enum livekit.SegmentedFileSuffix - */ -export declare enum SegmentedFileSuffix { - /** - * @generated from enum value: INDEX = 0; - */ - INDEX = 0, - /** - * @generated from enum value: TIMESTAMP = 1; - */ - TIMESTAMP = 1 -} -/** - * @generated from enum livekit.ImageFileSuffix - */ -export declare enum ImageFileSuffix { - /** - * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; - */ - IMAGE_SUFFIX_INDEX = 0, - /** - * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; - */ - IMAGE_SUFFIX_TIMESTAMP = 1 -} -/** - * @generated from enum livekit.StreamProtocol - */ -export declare enum StreamProtocol { - /** - * protocol chosen based on urls - * - * @generated from enum value: DEFAULT_PROTOCOL = 0; - */ - DEFAULT_PROTOCOL = 0, - /** - * @generated from enum value: RTMP = 1; - */ - RTMP = 1, - /** - * @generated from enum value: SRT = 2; - */ - SRT = 2 -} -/** - * @generated from enum livekit.EncodingOptionsPreset - */ -export declare enum EncodingOptionsPreset { - /** - * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS - * - * @generated from enum value: H264_720P_30 = 0; - */ - H264_720P_30 = 0, - /** - * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_720P_60 = 1; - */ - H264_720P_60 = 1, - /** - * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_1080P_30 = 2; - */ - H264_1080P_30 = 2, - /** - * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_1080P_60 = 3; - */ - H264_1080P_60 = 3, - /** - * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_720P_30 = 4; - */ - PORTRAIT_H264_720P_30 = 4, - /** - * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_720P_60 = 5; - */ - PORTRAIT_H264_720P_60 = 5, - /** - * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; - */ - PORTRAIT_H264_1080P_30 = 6, - /** - * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; - */ - PORTRAIT_H264_1080P_60 = 7 -} -/** - * @generated from enum livekit.EgressStatus - */ -export declare enum EgressStatus { - /** - * @generated from enum value: EGRESS_STARTING = 0; - */ - EGRESS_STARTING = 0, - /** - * @generated from enum value: EGRESS_ACTIVE = 1; - */ - EGRESS_ACTIVE = 1, - /** - * @generated from enum value: EGRESS_ENDING = 2; - */ - EGRESS_ENDING = 2, - /** - * @generated from enum value: EGRESS_COMPLETE = 3; - */ - EGRESS_COMPLETE = 3, - /** - * @generated from enum value: EGRESS_FAILED = 4; - */ - EGRESS_FAILED = 4, - /** - * @generated from enum value: EGRESS_ABORTED = 5; - */ - EGRESS_ABORTED = 5, - /** - * @generated from enum value: EGRESS_LIMIT_REACHED = 6; - */ - EGRESS_LIMIT_REACHED = 6 -} -/** - * composite using a web browser - * - * @generated from message livekit.RoomCompositeEgressRequest - */ -export declare class RoomCompositeEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * (optional) - * - * @generated from field: string layout = 2; - */ - layout: string; - /** - * (default false) - * - * @generated from field: bool audio_only = 3; - */ - audioOnly: boolean; - /** - * (default false) - * - * @generated from field: bool video_only = 4; - */ - videoOnly: boolean; - /** - * template base url (default https://recorder.livekit.io) - * - * @generated from field: string custom_base_url = 5; - */ - customBaseUrl: string; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.RoomCompositeEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from oneof livekit.RoomCompositeEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 8; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 9; - */ - value: EncodingOptions; - case: "advanced"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - fileOutputs: EncodedFileOutput[]; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - streamOutputs: StreamOutput[]; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - segmentOutputs: SegmentedFileOutput[]; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - imageOutputs: ImageOutput[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomCompositeEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; - static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; -} -/** - * record any website - * - * @generated from message livekit.WebEgressRequest - */ -export declare class WebEgressRequest extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - /** - * @generated from field: bool audio_only = 2; - */ - audioOnly: boolean; - /** - * @generated from field: bool video_only = 3; - */ - videoOnly: boolean; - /** - * @generated from field: bool await_start_signal = 12; - */ - awaitStartSignal: boolean; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.WebEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from oneof livekit.WebEgressRequest.options - */ - options: { - /** - * @generated from field: livekit.EncodingOptionsPreset preset = 7; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.EncodingOptions advanced = 8; - */ - value: EncodingOptions; - case: "advanced"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; - */ - fileOutputs: EncodedFileOutput[]; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; - */ - streamOutputs: StreamOutput[]; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; - */ - segmentOutputs: SegmentedFileOutput[]; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 13; - */ - imageOutputs: ImageOutput[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WebEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; - static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; -} -/** - * record audio and video from a single participant - * - * @generated from message livekit.ParticipantEgressRequest - */ -export declare class ParticipantEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * required - * - * @generated from field: string identity = 2; - */ - identity: string; - /** - * (default false) - * - * @generated from field: bool screen_share = 3; - */ - screenShare: boolean; - /** - * @generated from oneof livekit.ParticipantEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 4; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 5; - */ - value: EncodingOptions; - case: "advanced"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; - */ - fileOutputs: EncodedFileOutput[]; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; - */ - streamOutputs: StreamOutput[]; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; - */ - segmentOutputs: SegmentedFileOutput[]; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 9; - */ - imageOutputs: ImageOutput[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; - static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; -} -/** - * containerize up to one audio and one video track - * - * @generated from message livekit.TrackCompositeEgressRequest - */ -export declare class TrackCompositeEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * (optional) - * - * @generated from field: string audio_track_id = 2; - */ - audioTrackId: string; - /** - * (optional) - * - * @generated from field: string video_track_id = 3; - */ - videoTrackId: string; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.TrackCompositeEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from oneof livekit.TrackCompositeEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 6; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 7; - */ - value: EncodingOptions; - case: "advanced"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - fileOutputs: EncodedFileOutput[]; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - streamOutputs: StreamOutput[]; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - segmentOutputs: SegmentedFileOutput[]; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - imageOutputs: ImageOutput[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackCompositeEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; - static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; -} -/** - * record tracks individually, without transcoding - * - * @generated from message livekit.TrackEgressRequest - */ -export declare class TrackEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * required - * - * @generated from field: string track_id = 2; - */ - trackId: string; - /** - * required - * - * @generated from oneof livekit.TrackEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.DirectFileOutput file = 3; - */ - value: DirectFileOutput; - case: "file"; - } | { - /** - * @generated from field: string websocket_url = 4; - */ - value: string; - case: "websocketUrl"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; - static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.EncodedFileOutput - */ -export declare class EncodedFileOutput extends Message { - /** - * (optional) - * - * @generated from field: livekit.EncodedFileType file_type = 1; - */ - fileType: EncodedFileType; - /** - * see egress docs for templating (default {room_name}-{time}) - * - * @generated from field: string filepath = 2; - */ - filepath: string; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 6; - */ - disableManifest: boolean; - /** - * @generated from oneof livekit.EncodedFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 3; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 4; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 5; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 7; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EncodedFileOutput"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; - static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; - static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; - static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; -} -/** - * Used to generate HLS segments or other kind of segmented output - * - * @generated from message livekit.SegmentedFileOutput - */ -export declare class SegmentedFileOutput extends Message { - /** - * (optional) - * - * @generated from field: livekit.SegmentedFileProtocol protocol = 1; - */ - protocol: SegmentedFileProtocol; - /** - * (optional) - * - * @generated from field: string filename_prefix = 2; - */ - filenamePrefix: string; - /** - * (optional) - * - * @generated from field: string playlist_name = 3; - */ - playlistName: string; - /** - * (optional, disabled if not provided). Path of a live playlist - * - * @generated from field: string live_playlist_name = 11; - */ - livePlaylistName: string; - /** - * in seconds (optional) - * - * @generated from field: uint32 segment_duration = 4; - */ - segmentDuration: number; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; - */ - filenameSuffix: SegmentedFileSuffix; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 8; - */ - disableManifest: boolean; - /** - * required - * - * @generated from oneof livekit.SegmentedFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 5; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 6; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 7; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 9; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SegmentedFileOutput"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; - static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; - static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; - static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DirectFileOutput - */ -export declare class DirectFileOutput extends Message { - /** - * see egress docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - filepath: string; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - disableManifest: boolean; - /** - * @generated from oneof livekit.DirectFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 2; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 3; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 4; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 6; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DirectFileOutput"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; - static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; - static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; - static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ImageOutput - */ -export declare class ImageOutput extends Message { - /** - * in seconds (required) - * - * @generated from field: uint32 capture_interval = 1; - */ - captureInterval: number; - /** - * (optional, defaults to track width) - * - * @generated from field: int32 width = 2; - */ - width: number; - /** - * (optional, defaults to track height) - * - * @generated from field: int32 height = 3; - */ - height: number; - /** - * (optional) - * - * @generated from field: string filename_prefix = 4; - */ - filenamePrefix: string; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; - */ - filenameSuffix: ImageFileSuffix; - /** - * (optional) - * - * @generated from field: livekit.ImageCodec image_codec = 6; - */ - imageCodec: ImageCodec; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 7; - */ - disableManifest: boolean; - /** - * required - * - * @generated from oneof livekit.ImageOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 8; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 9; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 10; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 11; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ImageOutput"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; - static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; - static fromJsonString(jsonString: string, options?: Partial): ImageOutput; - static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.S3Upload - */ -export declare class S3Upload extends Message { - /** - * @generated from field: string access_key = 1; - */ - accessKey: string; - /** - * @generated from field: string secret = 2; - */ - secret: string; - /** - * @generated from field: string session_token = 11; - */ - sessionToken: string; - /** - * @generated from field: string region = 3; - */ - region: string; - /** - * @generated from field: string endpoint = 4; - */ - endpoint: string; - /** - * @generated from field: string bucket = 5; - */ - bucket: string; - /** - * @generated from field: bool force_path_style = 6; - */ - forcePathStyle: boolean; - /** - * @generated from field: map metadata = 7; - */ - metadata: { - [key: string]: string; - }; - /** - * @generated from field: string tagging = 8; - */ - tagging: string; - /** - * Content-Disposition header - * - * @generated from field: string content_disposition = 9; - */ - contentDisposition: string; - /** - * @generated from field: livekit.ProxyConfig proxy = 10; - */ - proxy?: ProxyConfig; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.S3Upload"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; - static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; - static fromJsonString(jsonString: string, options?: Partial): S3Upload; - static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.GCPUpload - */ -export declare class GCPUpload extends Message { - /** - * service account credentials serialized in JSON "credentials.json" - * - * @generated from field: string credentials = 1; - */ - credentials: string; - /** - * @generated from field: string bucket = 2; - */ - bucket: string; - /** - * @generated from field: livekit.ProxyConfig proxy = 3; - */ - proxy?: ProxyConfig; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GCPUpload"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; - static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; - static fromJsonString(jsonString: string, options?: Partial): GCPUpload; - static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AzureBlobUpload - */ -export declare class AzureBlobUpload extends Message { - /** - * @generated from field: string account_name = 1; - */ - accountName: string; - /** - * @generated from field: string account_key = 2; - */ - accountKey: string; - /** - * @generated from field: string container_name = 3; - */ - containerName: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AzureBlobUpload"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; - static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; - static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; - static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AliOSSUpload - */ -export declare class AliOSSUpload extends Message { - /** - * @generated from field: string access_key = 1; - */ - accessKey: string; - /** - * @generated from field: string secret = 2; - */ - secret: string; - /** - * @generated from field: string region = 3; - */ - region: string; - /** - * @generated from field: string endpoint = 4; - */ - endpoint: string; - /** - * @generated from field: string bucket = 5; - */ - bucket: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AliOSSUpload"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; - static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; - static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; - static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ProxyConfig - */ -export declare class ProxyConfig extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - /** - * @generated from field: string username = 2; - */ - username: string; - /** - * @generated from field: string password = 3; - */ - password: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ProxyConfig"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; - static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; - static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; - static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StreamOutput - */ -export declare class StreamOutput extends Message { - /** - * required - * - * @generated from field: livekit.StreamProtocol protocol = 1; - */ - protocol: StreamProtocol; - /** - * required - * - * @generated from field: repeated string urls = 2; - */ - urls: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamOutput"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; - static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; - static fromJsonString(jsonString: string, options?: Partial): StreamOutput; - static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.EncodingOptions - */ -export declare class EncodingOptions extends Message { - /** - * (default 1920) - * - * @generated from field: int32 width = 1; - */ - width: number; - /** - * (default 1080) - * - * @generated from field: int32 height = 2; - */ - height: number; - /** - * (default 24) - * - * @generated from field: int32 depth = 3; - */ - depth: number; - /** - * (default 30) - * - * @generated from field: int32 framerate = 4; - */ - framerate: number; - /** - * (default OPUS) - * - * @generated from field: livekit.AudioCodec audio_codec = 5; - */ - audioCodec: AudioCodec; - /** - * (default 128) - * - * @generated from field: int32 audio_bitrate = 6; - */ - audioBitrate: number; - /** - * quality setting on audio encoder - * - * @generated from field: int32 audio_quality = 11; - */ - audioQuality: number; - /** - * (default 44100) - * - * @generated from field: int32 audio_frequency = 7; - */ - audioFrequency: number; - /** - * (default H264_MAIN) - * - * @generated from field: livekit.VideoCodec video_codec = 8; - */ - videoCodec: VideoCodec; - /** - * (default 4500) - * - * @generated from field: int32 video_bitrate = 9; - */ - videoBitrate: number; - /** - * quality setting on video encoder - * - * @generated from field: int32 video_quality = 12; - */ - videoQuality: number; - /** - * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - * - * @generated from field: double key_frame_interval = 10; - */ - keyFrameInterval: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EncodingOptions"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; - static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; - static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; - static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateLayoutRequest - */ -export declare class UpdateLayoutRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - /** - * @generated from field: string layout = 2; - */ - layout: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLayoutRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; - static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateStreamRequest - */ -export declare class UpdateStreamRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - /** - * @generated from field: repeated string add_output_urls = 2; - */ - addOutputUrls: string[]; - /** - * @generated from field: repeated string remove_output_urls = 3; - */ - removeOutputUrls: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateStreamRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; - static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListEgressRequest - */ -export declare class ListEgressRequest extends Message { - /** - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * (optional, filter by egress ID) - * - * @generated from field: string egress_id = 2; - */ - egressId: string; - /** - * (optional, list active egress only) - * - * @generated from field: bool active = 3; - */ - active: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; - static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListEgressResponse - */ -export declare class ListEgressResponse extends Message { - /** - * @generated from field: repeated livekit.EgressInfo items = 1; - */ - items: EgressInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListEgressResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; - static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; - static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StopEgressRequest - */ -export declare class StopEgressRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StopEgressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; - static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; - static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.EgressInfo - */ -export declare class EgressInfo extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - /** - * @generated from field: string room_id = 2; - */ - roomId: string; - /** - * @generated from field: string room_name = 13; - */ - roomName: string; - /** - * @generated from field: livekit.EgressStatus status = 3; - */ - status: EgressStatus; - /** - * @generated from field: int64 started_at = 10; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 11; - */ - endedAt: bigint; - /** - * @generated from field: int64 updated_at = 18; - */ - updatedAt: bigint; - /** - * @generated from field: string details = 21; - */ - details: string; - /** - * @generated from field: string error = 9; - */ - error: string; - /** - * @generated from field: int32 error_code = 22; - */ - errorCode: number; - /** - * @generated from oneof livekit.EgressInfo.request - */ - request: { - /** - * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; - */ - value: RoomCompositeEgressRequest; - case: "roomComposite"; - } | { - /** - * @generated from field: livekit.WebEgressRequest web = 14; - */ - value: WebEgressRequest; - case: "web"; - } | { - /** - * @generated from field: livekit.ParticipantEgressRequest participant = 19; - */ - value: ParticipantEgressRequest; - case: "participant"; - } | { - /** - * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; - */ - value: TrackCompositeEgressRequest; - case: "trackComposite"; - } | { - /** - * @generated from field: livekit.TrackEgressRequest track = 6; - */ - value: TrackEgressRequest; - case: "track"; - } | { - case: undefined; - value?: undefined; - }; - /** - * deprecated (use _result fields) - * - * @generated from oneof livekit.EgressInfo.result - */ - result: { - /** - * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; - * @deprecated - */ - value: StreamInfoList; - case: "stream"; - } | { - /** - * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; - * @deprecated - */ - value: FileInfo; - case: "file"; - } | { - /** - * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; - * @deprecated - */ - value: SegmentsInfo; - case: "segments"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.StreamInfo stream_results = 15; - */ - streamResults: StreamInfo[]; - /** - * @generated from field: repeated livekit.FileInfo file_results = 16; - */ - fileResults: FileInfo[]; - /** - * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; - */ - segmentResults: SegmentsInfo[]; - /** - * @generated from field: repeated livekit.ImagesInfo image_results = 20; - */ - imageResults: ImagesInfo[]; - /** - * @generated from field: string manifest_location = 23; - */ - manifestLocation: string; - /** - * next ID: 26 - * - * @generated from field: bool backup_storage_used = 25; - */ - backupStorageUsed: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EgressInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; - static fromJsonString(jsonString: string, options?: Partial): EgressInfo; - static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StreamInfoList - * @deprecated - */ -export declare class StreamInfoList extends Message { - /** - * @generated from field: repeated livekit.StreamInfo info = 1; - */ - info: StreamInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamInfoList"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; - static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; - static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; - static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StreamInfo - */ -export declare class StreamInfo extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - /** - * @generated from field: int64 duration = 4; - */ - duration: bigint; - /** - * @generated from field: livekit.StreamInfo.Status status = 5; - */ - status: StreamInfo_Status; - /** - * @generated from field: string error = 6; - */ - error: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; - static fromJsonString(jsonString: string, options?: Partial): StreamInfo; - static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.StreamInfo.Status - */ -export declare enum StreamInfo_Status { - /** - * @generated from enum value: ACTIVE = 0; - */ - ACTIVE = 0, - /** - * @generated from enum value: FINISHED = 1; - */ - FINISHED = 1, - /** - * @generated from enum value: FAILED = 2; - */ - FAILED = 2 -} -/** - * @generated from message livekit.FileInfo - */ -export declare class FileInfo extends Message { - /** - * @generated from field: string filename = 1; - */ - filename: string; - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - /** - * @generated from field: int64 duration = 6; - */ - duration: bigint; - /** - * @generated from field: int64 size = 4; - */ - size: bigint; - /** - * @generated from field: string location = 5; - */ - location: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.FileInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; - static fromJsonString(jsonString: string, options?: Partial): FileInfo; - static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SegmentsInfo - */ -export declare class SegmentsInfo extends Message { - /** - * @generated from field: string playlist_name = 1; - */ - playlistName: string; - /** - * @generated from field: string live_playlist_name = 8; - */ - livePlaylistName: string; - /** - * @generated from field: int64 duration = 2; - */ - duration: bigint; - /** - * @generated from field: int64 size = 3; - */ - size: bigint; - /** - * @generated from field: string playlist_location = 4; - */ - playlistLocation: string; - /** - * @generated from field: string live_playlist_location = 9; - */ - livePlaylistLocation: string; - /** - * @generated from field: int64 segment_count = 5; - */ - segmentCount: bigint; - /** - * @generated from field: int64 started_at = 6; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 7; - */ - endedAt: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SegmentsInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; - static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; - static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ImagesInfo - */ -export declare class ImagesInfo extends Message { - /** - * @generated from field: string filename_prefix = 4; - */ - filenamePrefix: string; - /** - * @generated from field: int64 image_count = 1; - */ - imageCount: bigint; - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ImagesInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; - static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; - static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AutoParticipantEgress - */ -export declare class AutoParticipantEgress extends Message { - /** - * @generated from oneof livekit.AutoParticipantEgress.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 1; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 2; - */ - value: EncodingOptions; - case: "advanced"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; - */ - fileOutputs: EncodedFileOutput[]; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; - */ - segmentOutputs: SegmentedFileOutput[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AutoParticipantEgress"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; - static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; - static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; - static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AutoTrackEgress - */ -export declare class AutoTrackEgress extends Message { - /** - * see docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - filepath: string; - /** - * disables upload of json manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - disableManifest: boolean; - /** - * @generated from oneof livekit.AutoTrackEgress.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 2; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 3; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 4; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 6; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AutoTrackEgress"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; - static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; - static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; - static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_egress_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map b/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map deleted file mode 100644 index d9f85573..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_egress_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_egress_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;GAEG;AACH,oBAAY,eAAe;IACzB;;;;OAIG;IACH,gBAAgB,IAAI;IAEpB;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;CACR;AAQD;;GAEG;AACH,oBAAY,qBAAqB;IAC/B;;OAEG;IACH,+BAA+B,IAAI;IAEnC;;OAEG;IACH,YAAY,IAAI;CACjB;AAOD;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,SAAS,IAAI;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G;QACH,KAAK,EAAE,YAAY,CAAC;QACpB,IAAI,EAAE,QAAQ,CAAC;KAChB,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAA;KAAE,CAAuB;gBAErD,IAAI,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC;IAKlD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,6BAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAO9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI1F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI9F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.js b/packages/javascript/dist/gen/livekit_egress_pb.js deleted file mode 100644 index 6ae367dc..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.js +++ /dev/null @@ -1,2417 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; -var EncodedFileType = /* @__PURE__ */ ((EncodedFileType2) => { - EncodedFileType2[EncodedFileType2["DEFAULT_FILETYPE"] = 0] = "DEFAULT_FILETYPE"; - EncodedFileType2[EncodedFileType2["MP4"] = 1] = "MP4"; - EncodedFileType2[EncodedFileType2["OGG"] = 2] = "OGG"; - return EncodedFileType2; -})(EncodedFileType || {}); -proto3.util.setEnumType(EncodedFileType, "livekit.EncodedFileType", [ - { no: 0, name: "DEFAULT_FILETYPE" }, - { no: 1, name: "MP4" }, - { no: 2, name: "OGG" } -]); -var SegmentedFileProtocol = /* @__PURE__ */ ((SegmentedFileProtocol2) => { - SegmentedFileProtocol2[SegmentedFileProtocol2["DEFAULT_SEGMENTED_FILE_PROTOCOL"] = 0] = "DEFAULT_SEGMENTED_FILE_PROTOCOL"; - SegmentedFileProtocol2[SegmentedFileProtocol2["HLS_PROTOCOL"] = 1] = "HLS_PROTOCOL"; - return SegmentedFileProtocol2; -})(SegmentedFileProtocol || {}); -proto3.util.setEnumType(SegmentedFileProtocol, "livekit.SegmentedFileProtocol", [ - { no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL" }, - { no: 1, name: "HLS_PROTOCOL" } -]); -var SegmentedFileSuffix = /* @__PURE__ */ ((SegmentedFileSuffix2) => { - SegmentedFileSuffix2[SegmentedFileSuffix2["INDEX"] = 0] = "INDEX"; - SegmentedFileSuffix2[SegmentedFileSuffix2["TIMESTAMP"] = 1] = "TIMESTAMP"; - return SegmentedFileSuffix2; -})(SegmentedFileSuffix || {}); -proto3.util.setEnumType(SegmentedFileSuffix, "livekit.SegmentedFileSuffix", [ - { no: 0, name: "INDEX" }, - { no: 1, name: "TIMESTAMP" } -]); -var ImageFileSuffix = /* @__PURE__ */ ((ImageFileSuffix2) => { - ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_INDEX"] = 0] = "IMAGE_SUFFIX_INDEX"; - ImageFileSuffix2[ImageFileSuffix2["IMAGE_SUFFIX_TIMESTAMP"] = 1] = "IMAGE_SUFFIX_TIMESTAMP"; - return ImageFileSuffix2; -})(ImageFileSuffix || {}); -proto3.util.setEnumType(ImageFileSuffix, "livekit.ImageFileSuffix", [ - { no: 0, name: "IMAGE_SUFFIX_INDEX" }, - { no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" } -]); -var StreamProtocol = /* @__PURE__ */ ((StreamProtocol2) => { - StreamProtocol2[StreamProtocol2["DEFAULT_PROTOCOL"] = 0] = "DEFAULT_PROTOCOL"; - StreamProtocol2[StreamProtocol2["RTMP"] = 1] = "RTMP"; - StreamProtocol2[StreamProtocol2["SRT"] = 2] = "SRT"; - return StreamProtocol2; -})(StreamProtocol || {}); -proto3.util.setEnumType(StreamProtocol, "livekit.StreamProtocol", [ - { no: 0, name: "DEFAULT_PROTOCOL" }, - { no: 1, name: "RTMP" }, - { no: 2, name: "SRT" } -]); -var EncodingOptionsPreset = /* @__PURE__ */ ((EncodingOptionsPreset2) => { - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_30"] = 0] = "H264_720P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_720P_60"] = 1] = "H264_720P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_30"] = 2] = "H264_1080P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["H264_1080P_60"] = 3] = "H264_1080P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_30"] = 4] = "PORTRAIT_H264_720P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_720P_60"] = 5] = "PORTRAIT_H264_720P_60"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_30"] = 6] = "PORTRAIT_H264_1080P_30"; - EncodingOptionsPreset2[EncodingOptionsPreset2["PORTRAIT_H264_1080P_60"] = 7] = "PORTRAIT_H264_1080P_60"; - return EncodingOptionsPreset2; -})(EncodingOptionsPreset || {}); -proto3.util.setEnumType(EncodingOptionsPreset, "livekit.EncodingOptionsPreset", [ - { no: 0, name: "H264_720P_30" }, - { no: 1, name: "H264_720P_60" }, - { no: 2, name: "H264_1080P_30" }, - { no: 3, name: "H264_1080P_60" }, - { no: 4, name: "PORTRAIT_H264_720P_30" }, - { no: 5, name: "PORTRAIT_H264_720P_60" }, - { no: 6, name: "PORTRAIT_H264_1080P_30" }, - { no: 7, name: "PORTRAIT_H264_1080P_60" } -]); -var EgressStatus = /* @__PURE__ */ ((EgressStatus2) => { - EgressStatus2[EgressStatus2["EGRESS_STARTING"] = 0] = "EGRESS_STARTING"; - EgressStatus2[EgressStatus2["EGRESS_ACTIVE"] = 1] = "EGRESS_ACTIVE"; - EgressStatus2[EgressStatus2["EGRESS_ENDING"] = 2] = "EGRESS_ENDING"; - EgressStatus2[EgressStatus2["EGRESS_COMPLETE"] = 3] = "EGRESS_COMPLETE"; - EgressStatus2[EgressStatus2["EGRESS_FAILED"] = 4] = "EGRESS_FAILED"; - EgressStatus2[EgressStatus2["EGRESS_ABORTED"] = 5] = "EGRESS_ABORTED"; - EgressStatus2[EgressStatus2["EGRESS_LIMIT_REACHED"] = 6] = "EGRESS_LIMIT_REACHED"; - return EgressStatus2; -})(EgressStatus || {}); -proto3.util.setEnumType(EgressStatus, "livekit.EgressStatus", [ - { no: 0, name: "EGRESS_STARTING" }, - { no: 1, name: "EGRESS_ACTIVE" }, - { no: 2, name: "EGRESS_ENDING" }, - { no: 3, name: "EGRESS_COMPLETE" }, - { no: 4, name: "EGRESS_FAILED" }, - { no: 5, name: "EGRESS_ABORTED" }, - { no: 6, name: "EGRESS_LIMIT_REACHED" } -]); -const _RoomCompositeEgressRequest = class _RoomCompositeEgressRequest extends Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional) - * - * @generated from field: string layout = 2; - */ - this.layout = ""; - /** - * (default false) - * - * @generated from field: bool audio_only = 3; - */ - this.audioOnly = false; - /** - * (default false) - * - * @generated from field: bool video_only = 4; - */ - this.videoOnly = false; - /** - * template base url (default https://recorder.livekit.io) - * - * @generated from field: string custom_base_url = 5; - */ - this.customBaseUrl = ""; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.RoomCompositeEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.RoomCompositeEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - this.imageOutputs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomCompositeEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomCompositeEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomCompositeEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomCompositeEgressRequest, a, b); - } -}; -_RoomCompositeEgressRequest.runtime = proto3; -_RoomCompositeEgressRequest.typeName = "livekit.RoomCompositeEgressRequest"; -_RoomCompositeEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "layout", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "audio_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "video_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "custom_base_url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let RoomCompositeEgressRequest = _RoomCompositeEgressRequest; -const _WebEgressRequest = class _WebEgressRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: bool audio_only = 2; - */ - this.audioOnly = false; - /** - * @generated from field: bool video_only = 3; - */ - this.videoOnly = false; - /** - * @generated from field: bool await_start_signal = 12; - */ - this.awaitStartSignal = false; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.WebEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.WebEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 13; - */ - this.imageOutputs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WebEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WebEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WebEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_WebEgressRequest, a, b); - } -}; -_WebEgressRequest.runtime = proto3; -_WebEgressRequest.typeName = "livekit.WebEgressRequest"; -_WebEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "audio_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "video_only", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 12, - name: "await_start_signal", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let WebEgressRequest = _WebEgressRequest; -const _ParticipantEgressRequest = class _ParticipantEgressRequest extends Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * required - * - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * (default false) - * - * @generated from field: bool screen_share = 3; - */ - this.screenShare = false; - /** - * @generated from oneof livekit.ParticipantEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 9; - */ - this.imageOutputs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ParticipantEgressRequest, a, b); - } -}; -_ParticipantEgressRequest.runtime = proto3; -_ParticipantEgressRequest.typeName = "livekit.ParticipantEgressRequest"; -_ParticipantEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "screen_share", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let ParticipantEgressRequest = _ParticipantEgressRequest; -const _TrackCompositeEgressRequest = class _TrackCompositeEgressRequest extends Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional) - * - * @generated from field: string audio_track_id = 2; - */ - this.audioTrackId = ""; - /** - * (optional) - * - * @generated from field: string video_track_id = 3; - */ - this.videoTrackId = ""; - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.TrackCompositeEgressRequest.output - */ - this.output = { case: void 0 }; - /** - * @generated from oneof livekit.TrackCompositeEgressRequest.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - this.streamOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - this.segmentOutputs = []; - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - this.imageOutputs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackCompositeEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackCompositeEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackCompositeEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackCompositeEgressRequest, a, b); - } -}; -_TrackCompositeEgressRequest.runtime = proto3; -_TrackCompositeEgressRequest.typeName = "livekit.TrackCompositeEgressRequest"; -_TrackCompositeEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "audio_track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "video_track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true } -]); -let TrackCompositeEgressRequest = _TrackCompositeEgressRequest; -const _TrackEgressRequest = class _TrackEgressRequest extends Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * required - * - * @generated from field: string track_id = 2; - */ - this.trackId = ""; - /** - * required - * - * @generated from oneof livekit.TrackEgressRequest.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackEgressRequest, a, b); - } -}; -_TrackEgressRequest.runtime = proto3; -_TrackEgressRequest.typeName = "livekit.TrackEgressRequest"; -_TrackEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, - { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" } -]); -let TrackEgressRequest = _TrackEgressRequest; -const _EncodedFileOutput = class _EncodedFileOutput extends Message { - constructor(data) { - super(); - /** - * (optional) - * - * @generated from field: livekit.EncodedFileType file_type = 1; - */ - this.fileType = 0 /* DEFAULT_FILETYPE */; - /** - * see egress docs for templating (default {room_name}-{time}) - * - * @generated from field: string filepath = 2; - */ - this.filepath = ""; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 6; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.EncodedFileOutput.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EncodedFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EncodedFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EncodedFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_EncodedFileOutput, a, b); - } -}; -_EncodedFileOutput.runtime = proto3; -_EncodedFileOutput.typeName = "livekit.EncodedFileOutput"; -_EncodedFileOutput.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) }, - { - no: 2, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let EncodedFileOutput = _EncodedFileOutput; -const _SegmentedFileOutput = class _SegmentedFileOutput extends Message { - constructor(data) { - super(); - /** - * (optional) - * - * @generated from field: livekit.SegmentedFileProtocol protocol = 1; - */ - this.protocol = 0 /* DEFAULT_SEGMENTED_FILE_PROTOCOL */; - /** - * (optional) - * - * @generated from field: string filename_prefix = 2; - */ - this.filenamePrefix = ""; - /** - * (optional) - * - * @generated from field: string playlist_name = 3; - */ - this.playlistName = ""; - /** - * (optional, disabled if not provided). Path of a live playlist - * - * @generated from field: string live_playlist_name = 11; - */ - this.livePlaylistName = ""; - /** - * in seconds (optional) - * - * @generated from field: uint32 segment_duration = 4; - */ - this.segmentDuration = 0; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; - */ - this.filenameSuffix = 0 /* INDEX */; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 8; - */ - this.disableManifest = false; - /** - * required - * - * @generated from oneof livekit.SegmentedFileOutput.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SegmentedFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SegmentedFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SegmentedFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SegmentedFileOutput, a, b); - } -}; -_SegmentedFileOutput.runtime = proto3; -_SegmentedFileOutput.typeName = "livekit.SegmentedFileOutput"; -_SegmentedFileOutput.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) }, - { - no: 2, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "live_playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "segment_duration", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) }, - { - no: 8, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let SegmentedFileOutput = _SegmentedFileOutput; -const _DirectFileOutput = class _DirectFileOutput extends Message { - constructor(data) { - super(); - /** - * see egress docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - this.filepath = ""; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.DirectFileOutput.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DirectFileOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DirectFileOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DirectFileOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DirectFileOutput, a, b); - } -}; -_DirectFileOutput.runtime = proto3; -_DirectFileOutput.typeName = "livekit.DirectFileOutput"; -_DirectFileOutput.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let DirectFileOutput = _DirectFileOutput; -const _ImageOutput = class _ImageOutput extends Message { - constructor(data) { - super(); - /** - * in seconds (required) - * - * @generated from field: uint32 capture_interval = 1; - */ - this.captureInterval = 0; - /** - * (optional, defaults to track width) - * - * @generated from field: int32 width = 2; - */ - this.width = 0; - /** - * (optional, defaults to track height) - * - * @generated from field: int32 height = 3; - */ - this.height = 0; - /** - * (optional) - * - * @generated from field: string filename_prefix = 4; - */ - this.filenamePrefix = ""; - /** - * (optional, default INDEX) - * - * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; - */ - this.filenameSuffix = 0 /* IMAGE_SUFFIX_INDEX */; - /** - * (optional) - * - * @generated from field: livekit.ImageCodec image_codec = 6; - */ - this.imageCodec = ImageCodec.IC_DEFAULT; - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 7; - */ - this.disableManifest = false; - /** - * required - * - * @generated from oneof livekit.ImageOutput.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ImageOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ImageOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ImageOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ImageOutput, a, b); - } -}; -_ImageOutput.runtime = proto3; -_ImageOutput.typeName = "livekit.ImageOutput"; -_ImageOutput.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "capture_interval", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "width", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) }, - { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) }, - { - no: 7, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let ImageOutput = _ImageOutput; -const _S3Upload = class _S3Upload extends Message { - constructor(data) { - super(); - /** - * @generated from field: string access_key = 1; - */ - this.accessKey = ""; - /** - * @generated from field: string secret = 2; - */ - this.secret = ""; - /** - * @generated from field: string session_token = 11; - */ - this.sessionToken = ""; - /** - * @generated from field: string region = 3; - */ - this.region = ""; - /** - * @generated from field: string endpoint = 4; - */ - this.endpoint = ""; - /** - * @generated from field: string bucket = 5; - */ - this.bucket = ""; - /** - * @generated from field: bool force_path_style = 6; - */ - this.forcePathStyle = false; - /** - * @generated from field: map metadata = 7; - */ - this.metadata = {}; - /** - * @generated from field: string tagging = 8; - */ - this.tagging = ""; - /** - * Content-Disposition header - * - * @generated from field: string content_disposition = 9; - */ - this.contentDisposition = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _S3Upload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _S3Upload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _S3Upload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_S3Upload, a, b); - } -}; -_S3Upload.runtime = proto3; -_S3Upload.typeName = "livekit.S3Upload"; -_S3Upload.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "access_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "secret", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "session_token", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "endpoint", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "force_path_style", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 7, name: "metadata", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 8, - name: "tagging", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "content_disposition", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 10, name: "proxy", kind: "message", T: ProxyConfig } -]); -let S3Upload = _S3Upload; -const _GCPUpload = class _GCPUpload extends Message { - constructor(data) { - super(); - /** - * service account credentials serialized in JSON "credentials.json" - * - * @generated from field: string credentials = 1; - */ - this.credentials = ""; - /** - * @generated from field: string bucket = 2; - */ - this.bucket = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GCPUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GCPUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GCPUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_GCPUpload, a, b); - } -}; -_GCPUpload.runtime = proto3; -_GCPUpload.typeName = "livekit.GCPUpload"; -_GCPUpload.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "credentials", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "proxy", kind: "message", T: ProxyConfig } -]); -let GCPUpload = _GCPUpload; -const _AzureBlobUpload = class _AzureBlobUpload extends Message { - constructor(data) { - super(); - /** - * @generated from field: string account_name = 1; - */ - this.accountName = ""; - /** - * @generated from field: string account_key = 2; - */ - this.accountKey = ""; - /** - * @generated from field: string container_name = 3; - */ - this.containerName = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AzureBlobUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AzureBlobUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AzureBlobUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AzureBlobUpload, a, b); - } -}; -_AzureBlobUpload.runtime = proto3; -_AzureBlobUpload.typeName = "livekit.AzureBlobUpload"; -_AzureBlobUpload.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "account_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "account_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "container_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AzureBlobUpload = _AzureBlobUpload; -const _AliOSSUpload = class _AliOSSUpload extends Message { - constructor(data) { - super(); - /** - * @generated from field: string access_key = 1; - */ - this.accessKey = ""; - /** - * @generated from field: string secret = 2; - */ - this.secret = ""; - /** - * @generated from field: string region = 3; - */ - this.region = ""; - /** - * @generated from field: string endpoint = 4; - */ - this.endpoint = ""; - /** - * @generated from field: string bucket = 5; - */ - this.bucket = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AliOSSUpload().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AliOSSUpload().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AliOSSUpload().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AliOSSUpload, a, b); - } -}; -_AliOSSUpload.runtime = proto3; -_AliOSSUpload.typeName = "livekit.AliOSSUpload"; -_AliOSSUpload.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "access_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "secret", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "endpoint", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "bucket", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AliOSSUpload = _AliOSSUpload; -const _ProxyConfig = class _ProxyConfig extends Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: string username = 2; - */ - this.username = ""; - /** - * @generated from field: string password = 3; - */ - this.password = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ProxyConfig().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ProxyConfig().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ProxyConfig().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ProxyConfig, a, b); - } -}; -_ProxyConfig.runtime = proto3; -_ProxyConfig.typeName = "livekit.ProxyConfig"; -_ProxyConfig.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ProxyConfig = _ProxyConfig; -const _StreamOutput = class _StreamOutput extends Message { - constructor(data) { - super(); - /** - * required - * - * @generated from field: livekit.StreamProtocol protocol = 1; - */ - this.protocol = 0 /* DEFAULT_PROTOCOL */; - /** - * required - * - * @generated from field: repeated string urls = 2; - */ - this.urls = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamOutput().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamOutput().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamOutput().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StreamOutput, a, b); - } -}; -_StreamOutput.runtime = proto3; -_StreamOutput.typeName = "livekit.StreamOutput"; -_StreamOutput.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) }, - { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true } -]); -let StreamOutput = _StreamOutput; -const _EncodingOptions = class _EncodingOptions extends Message { - constructor(data) { - super(); - /** - * (default 1920) - * - * @generated from field: int32 width = 1; - */ - this.width = 0; - /** - * (default 1080) - * - * @generated from field: int32 height = 2; - */ - this.height = 0; - /** - * (default 24) - * - * @generated from field: int32 depth = 3; - */ - this.depth = 0; - /** - * (default 30) - * - * @generated from field: int32 framerate = 4; - */ - this.framerate = 0; - /** - * (default OPUS) - * - * @generated from field: livekit.AudioCodec audio_codec = 5; - */ - this.audioCodec = AudioCodec.DEFAULT_AC; - /** - * (default 128) - * - * @generated from field: int32 audio_bitrate = 6; - */ - this.audioBitrate = 0; - /** - * quality setting on audio encoder - * - * @generated from field: int32 audio_quality = 11; - */ - this.audioQuality = 0; - /** - * (default 44100) - * - * @generated from field: int32 audio_frequency = 7; - */ - this.audioFrequency = 0; - /** - * (default H264_MAIN) - * - * @generated from field: livekit.VideoCodec video_codec = 8; - */ - this.videoCodec = VideoCodec.DEFAULT_VC; - /** - * (default 4500) - * - * @generated from field: int32 video_bitrate = 9; - */ - this.videoBitrate = 0; - /** - * quality setting on video encoder - * - * @generated from field: int32 video_quality = 12; - */ - this.videoQuality = 0; - /** - * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - * - * @generated from field: double key_frame_interval = 10; - */ - this.keyFrameInterval = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_EncodingOptions, a, b); - } -}; -_EncodingOptions.runtime = proto3; -_EncodingOptions.typeName = "livekit.EncodingOptions"; -_EncodingOptions.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "width", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "height", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "depth", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "framerate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, - { - no: 6, - name: "audio_bitrate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 11, - name: "audio_quality", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 7, - name: "audio_frequency", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, - { - no: 9, - name: "video_bitrate", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 12, - name: "video_quality", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 10, - name: "key_frame_interval", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let EncodingOptions = _EncodingOptions; -const _UpdateLayoutRequest = class _UpdateLayoutRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: string layout = 2; - */ - this.layout = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLayoutRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLayoutRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLayoutRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateLayoutRequest, a, b); - } -}; -_UpdateLayoutRequest.runtime = proto3; -_UpdateLayoutRequest.typeName = "livekit.UpdateLayoutRequest"; -_UpdateLayoutRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "layout", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateLayoutRequest = _UpdateLayoutRequest; -const _UpdateStreamRequest = class _UpdateStreamRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: repeated string add_output_urls = 2; - */ - this.addOutputUrls = []; - /** - * @generated from field: repeated string remove_output_urls = 3; - */ - this.removeOutputUrls = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateStreamRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateStreamRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateStreamRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateStreamRequest, a, b); - } -}; -_UpdateStreamRequest.runtime = proto3; -_UpdateStreamRequest.typeName = "livekit.UpdateStreamRequest"; -_UpdateStreamRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true }, - { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true } -]); -let UpdateStreamRequest = _UpdateStreamRequest; -const _ListEgressRequest = class _ListEgressRequest extends Message { - constructor(data) { - super(); - /** - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional, filter by egress ID) - * - * @generated from field: string egress_id = 2; - */ - this.egressId = ""; - /** - * (optional, list active egress only) - * - * @generated from field: bool active = 3; - */ - this.active = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListEgressRequest, a, b); - } -}; -_ListEgressRequest.runtime = proto3; -_ListEgressRequest.typeName = "livekit.ListEgressRequest"; -_ListEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "active", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ListEgressRequest = _ListEgressRequest; -const _ListEgressResponse = class _ListEgressResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.EgressInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListEgressResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListEgressResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListEgressResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListEgressResponse, a, b); - } -}; -_ListEgressResponse.runtime = proto3; -_ListEgressResponse.typeName = "livekit.ListEgressResponse"; -_ListEgressResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true } -]); -let ListEgressResponse = _ListEgressResponse; -const _StopEgressRequest = class _StopEgressRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StopEgressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StopEgressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StopEgressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StopEgressRequest, a, b); - } -}; -_StopEgressRequest.runtime = proto3; -_StopEgressRequest.typeName = "livekit.StopEgressRequest"; -_StopEgressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let StopEgressRequest = _StopEgressRequest; -const _EgressInfo = class _EgressInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string egress_id = 1; - */ - this.egressId = ""; - /** - * @generated from field: string room_id = 2; - */ - this.roomId = ""; - /** - * @generated from field: string room_name = 13; - */ - this.roomName = ""; - /** - * @generated from field: livekit.EgressStatus status = 3; - */ - this.status = 0 /* EGRESS_STARTING */; - /** - * @generated from field: int64 started_at = 10; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 11; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: int64 updated_at = 18; - */ - this.updatedAt = protoInt64.zero; - /** - * @generated from field: string details = 21; - */ - this.details = ""; - /** - * @generated from field: string error = 9; - */ - this.error = ""; - /** - * @generated from field: int32 error_code = 22; - */ - this.errorCode = 0; - /** - * @generated from oneof livekit.EgressInfo.request - */ - this.request = { case: void 0 }; - /** - * deprecated (use _result fields) - * - * @generated from oneof livekit.EgressInfo.result - */ - this.result = { case: void 0 }; - /** - * @generated from field: repeated livekit.StreamInfo stream_results = 15; - */ - this.streamResults = []; - /** - * @generated from field: repeated livekit.FileInfo file_results = 16; - */ - this.fileResults = []; - /** - * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; - */ - this.segmentResults = []; - /** - * @generated from field: repeated livekit.ImagesInfo image_results = 20; - */ - this.imageResults = []; - /** - * @generated from field: string manifest_location = 23; - */ - this.manifestLocation = ""; - /** - * next ID: 26 - * - * @generated from field: bool backup_storage_used = 25; - */ - this.backupStorageUsed = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EgressInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EgressInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EgressInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_EgressInfo, a, b); - } -}; -_EgressInfo.runtime = proto3; -_EgressInfo.typeName = "livekit.EgressInfo"; -_EgressInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "egress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 13, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) }, - { - no: 10, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 18, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 21, - name: "details", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 22, - name: "error_code", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, - { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, - { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, - { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, - { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, - { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, - { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, - { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, - { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, - { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, - { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, - { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, - { - no: 23, - name: "manifest_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 25, - name: "backup_storage_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let EgressInfo = _EgressInfo; -const _StreamInfoList = class _StreamInfoList extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.StreamInfo info = 1; - */ - this.info = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamInfoList().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamInfoList().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamInfoList().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StreamInfoList, a, b); - } -}; -_StreamInfoList.runtime = proto3; -_StreamInfoList.typeName = "livekit.StreamInfoList"; -_StreamInfoList.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true } -]); -let StreamInfoList = _StreamInfoList; -const _StreamInfo = class _StreamInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string url = 1; - */ - this.url = ""; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: int64 duration = 4; - */ - this.duration = protoInt64.zero; - /** - * @generated from field: livekit.StreamInfo.Status status = 5; - */ - this.status = 0 /* ACTIVE */; - /** - * @generated from field: string error = 6; - */ - this.error = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StreamInfo, a, b); - } -}; -_StreamInfo.runtime = proto3; -_StreamInfo.typeName = "livekit.StreamInfo"; -_StreamInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) }, - { - no: 6, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let StreamInfo = _StreamInfo; -var StreamInfo_Status = /* @__PURE__ */ ((StreamInfo_Status2) => { - StreamInfo_Status2[StreamInfo_Status2["ACTIVE"] = 0] = "ACTIVE"; - StreamInfo_Status2[StreamInfo_Status2["FINISHED"] = 1] = "FINISHED"; - StreamInfo_Status2[StreamInfo_Status2["FAILED"] = 2] = "FAILED"; - return StreamInfo_Status2; -})(StreamInfo_Status || {}); -proto3.util.setEnumType(StreamInfo_Status, "livekit.StreamInfo.Status", [ - { no: 0, name: "ACTIVE" }, - { no: 1, name: "FINISHED" }, - { no: 2, name: "FAILED" } -]); -const _FileInfo = class _FileInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string filename = 1; - */ - this.filename = ""; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: int64 duration = 6; - */ - this.duration = protoInt64.zero; - /** - * @generated from field: int64 size = 4; - */ - this.size = protoInt64.zero; - /** - * @generated from field: string location = 5; - */ - this.location = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _FileInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _FileInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _FileInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_FileInfo, a, b); - } -}; -_FileInfo.runtime = proto3; -_FileInfo.typeName = "livekit.FileInfo"; -_FileInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "filename", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "size", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let FileInfo = _FileInfo; -const _SegmentsInfo = class _SegmentsInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string playlist_name = 1; - */ - this.playlistName = ""; - /** - * @generated from field: string live_playlist_name = 8; - */ - this.livePlaylistName = ""; - /** - * @generated from field: int64 duration = 2; - */ - this.duration = protoInt64.zero; - /** - * @generated from field: int64 size = 3; - */ - this.size = protoInt64.zero; - /** - * @generated from field: string playlist_location = 4; - */ - this.playlistLocation = ""; - /** - * @generated from field: string live_playlist_location = 9; - */ - this.livePlaylistLocation = ""; - /** - * @generated from field: int64 segment_count = 5; - */ - this.segmentCount = protoInt64.zero; - /** - * @generated from field: int64 started_at = 6; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 7; - */ - this.endedAt = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SegmentsInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SegmentsInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SegmentsInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SegmentsInfo, a, b); - } -}; -_SegmentsInfo.runtime = proto3; -_SegmentsInfo.typeName = "livekit.SegmentsInfo"; -_SegmentsInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "live_playlist_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "duration", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "size", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "playlist_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "live_playlist_location", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "segment_count", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 7, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let SegmentsInfo = _SegmentsInfo; -const _ImagesInfo = class _ImagesInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string filename_prefix = 4; - */ - this.filenamePrefix = ""; - /** - * @generated from field: int64 image_count = 1; - */ - this.imageCount = protoInt64.zero; - /** - * @generated from field: int64 started_at = 2; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 3; - */ - this.endedAt = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ImagesInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ImagesInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ImagesInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ImagesInfo, a, b); - } -}; -_ImagesInfo.runtime = proto3; -_ImagesInfo.typeName = "livekit.ImagesInfo"; -_ImagesInfo.fields = proto3.util.newFieldList(() => [ - { - no: 4, - name: "filename_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 1, - name: "image_count", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let ImagesInfo = _ImagesInfo; -const _AutoParticipantEgress = class _AutoParticipantEgress extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.AutoParticipantEgress.options - */ - this.options = { case: void 0 }; - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; - */ - this.fileOutputs = []; - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; - */ - this.segmentOutputs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AutoParticipantEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AutoParticipantEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AutoParticipantEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AutoParticipantEgress, a, b); - } -}; -_AutoParticipantEgress.runtime = proto3; -_AutoParticipantEgress.typeName = "livekit.AutoParticipantEgress"; -_AutoParticipantEgress.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true } -]); -let AutoParticipantEgress = _AutoParticipantEgress; -const _AutoTrackEgress = class _AutoTrackEgress extends Message { - constructor(data) { - super(); - /** - * see docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - this.filepath = ""; - /** - * disables upload of json manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - this.disableManifest = false; - /** - * @generated from oneof livekit.AutoTrackEgress.output - */ - this.output = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AutoTrackEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AutoTrackEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AutoTrackEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AutoTrackEgress, a, b); - } -}; -_AutoTrackEgress.runtime = proto3; -_AutoTrackEgress.typeName = "livekit.AutoTrackEgress"; -_AutoTrackEgress.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "filepath", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "disable_manifest", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" } -]); -let AutoTrackEgress = _AutoTrackEgress; -export { - AliOSSUpload, - AutoParticipantEgress, - AutoTrackEgress, - AzureBlobUpload, - DirectFileOutput, - EgressInfo, - EgressStatus, - EncodedFileOutput, - EncodedFileType, - EncodingOptions, - EncodingOptionsPreset, - FileInfo, - GCPUpload, - ImageFileSuffix, - ImageOutput, - ImagesInfo, - ListEgressRequest, - ListEgressResponse, - ParticipantEgressRequest, - ProxyConfig, - RoomCompositeEgressRequest, - S3Upload, - SegmentedFileOutput, - SegmentedFileProtocol, - SegmentedFileSuffix, - SegmentsInfo, - StopEgressRequest, - StreamInfo, - StreamInfoList, - StreamInfo_Status, - StreamOutput, - StreamProtocol, - TrackCompositeEgressRequest, - TrackEgressRequest, - UpdateLayoutRequest, - UpdateStreamRequest, - WebEgressRequest -}; -//# sourceMappingURL=livekit_egress_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_egress_pb.js.map b/packages/javascript/dist/gen/livekit_egress_pb.js.map deleted file mode 100644 index 77f768da..00000000 --- a/packages/javascript/dist/gen/livekit_egress_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_egress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_egress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, ImageCodec, VideoCodec } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.EncodedFileType\n */\nexport enum EncodedFileType {\n /**\n * file type chosen based on codecs\n *\n * @generated from enum value: DEFAULT_FILETYPE = 0;\n */\n DEFAULT_FILETYPE = 0,\n\n /**\n * @generated from enum value: MP4 = 1;\n */\n MP4 = 1,\n\n /**\n * @generated from enum value: OGG = 2;\n */\n OGG = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodedFileType)\nproto3.util.setEnumType(EncodedFileType, \"livekit.EncodedFileType\", [\n { no: 0, name: \"DEFAULT_FILETYPE\" },\n { no: 1, name: \"MP4\" },\n { no: 2, name: \"OGG\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileProtocol\n */\nexport enum SegmentedFileProtocol {\n /**\n * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;\n */\n DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,\n\n /**\n * @generated from enum value: HLS_PROTOCOL = 1;\n */\n HLS_PROTOCOL = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileProtocol)\nproto3.util.setEnumType(SegmentedFileProtocol, \"livekit.SegmentedFileProtocol\", [\n { no: 0, name: \"DEFAULT_SEGMENTED_FILE_PROTOCOL\" },\n { no: 1, name: \"HLS_PROTOCOL\" },\n]);\n\n/**\n * @generated from enum livekit.SegmentedFileSuffix\n */\nexport enum SegmentedFileSuffix {\n /**\n * @generated from enum value: INDEX = 0;\n */\n INDEX = 0,\n\n /**\n * @generated from enum value: TIMESTAMP = 1;\n */\n TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SegmentedFileSuffix)\nproto3.util.setEnumType(SegmentedFileSuffix, \"livekit.SegmentedFileSuffix\", [\n { no: 0, name: \"INDEX\" },\n { no: 1, name: \"TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.ImageFileSuffix\n */\nexport enum ImageFileSuffix {\n /**\n * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;\n */\n IMAGE_SUFFIX_INDEX = 0,\n\n /**\n * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;\n */\n IMAGE_SUFFIX_TIMESTAMP = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageFileSuffix)\nproto3.util.setEnumType(ImageFileSuffix, \"livekit.ImageFileSuffix\", [\n { no: 0, name: \"IMAGE_SUFFIX_INDEX\" },\n { no: 1, name: \"IMAGE_SUFFIX_TIMESTAMP\" },\n]);\n\n/**\n * @generated from enum livekit.StreamProtocol\n */\nexport enum StreamProtocol {\n /**\n * protocol chosen based on urls\n *\n * @generated from enum value: DEFAULT_PROTOCOL = 0;\n */\n DEFAULT_PROTOCOL = 0,\n\n /**\n * @generated from enum value: RTMP = 1;\n */\n RTMP = 1,\n\n /**\n * @generated from enum value: SRT = 2;\n */\n SRT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamProtocol)\nproto3.util.setEnumType(StreamProtocol, \"livekit.StreamProtocol\", [\n { no: 0, name: \"DEFAULT_PROTOCOL\" },\n { no: 1, name: \"RTMP\" },\n { no: 2, name: \"SRT\" },\n]);\n\n/**\n * @generated from enum livekit.EncodingOptionsPreset\n */\nexport enum EncodingOptionsPreset {\n /**\n * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_30 = 0;\n */\n H264_720P_30 = 0,\n\n /**\n * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_720P_60 = 1;\n */\n H264_720P_60 = 1,\n\n /**\n * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_30 = 2;\n */\n H264_1080P_30 = 2,\n\n /**\n * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: H264_1080P_60 = 3;\n */\n H264_1080P_60 = 3,\n\n /**\n * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_30 = 4;\n */\n PORTRAIT_H264_720P_30 = 4,\n\n /**\n * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_720P_60 = 5;\n */\n PORTRAIT_H264_720P_60 = 5,\n\n /**\n * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;\n */\n PORTRAIT_H264_1080P_30 = 6,\n\n /**\n * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS\n *\n * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;\n */\n PORTRAIT_H264_1080P_60 = 7,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EncodingOptionsPreset)\nproto3.util.setEnumType(EncodingOptionsPreset, \"livekit.EncodingOptionsPreset\", [\n { no: 0, name: \"H264_720P_30\" },\n { no: 1, name: \"H264_720P_60\" },\n { no: 2, name: \"H264_1080P_30\" },\n { no: 3, name: \"H264_1080P_60\" },\n { no: 4, name: \"PORTRAIT_H264_720P_30\" },\n { no: 5, name: \"PORTRAIT_H264_720P_60\" },\n { no: 6, name: \"PORTRAIT_H264_1080P_30\" },\n { no: 7, name: \"PORTRAIT_H264_1080P_60\" },\n]);\n\n/**\n * @generated from enum livekit.EgressStatus\n */\nexport enum EgressStatus {\n /**\n * @generated from enum value: EGRESS_STARTING = 0;\n */\n EGRESS_STARTING = 0,\n\n /**\n * @generated from enum value: EGRESS_ACTIVE = 1;\n */\n EGRESS_ACTIVE = 1,\n\n /**\n * @generated from enum value: EGRESS_ENDING = 2;\n */\n EGRESS_ENDING = 2,\n\n /**\n * @generated from enum value: EGRESS_COMPLETE = 3;\n */\n EGRESS_COMPLETE = 3,\n\n /**\n * @generated from enum value: EGRESS_FAILED = 4;\n */\n EGRESS_FAILED = 4,\n\n /**\n * @generated from enum value: EGRESS_ABORTED = 5;\n */\n EGRESS_ABORTED = 5,\n\n /**\n * @generated from enum value: EGRESS_LIMIT_REACHED = 6;\n */\n EGRESS_LIMIT_REACHED = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(EgressStatus)\nproto3.util.setEnumType(EgressStatus, \"livekit.EgressStatus\", [\n { no: 0, name: \"EGRESS_STARTING\" },\n { no: 1, name: \"EGRESS_ACTIVE\" },\n { no: 2, name: \"EGRESS_ENDING\" },\n { no: 3, name: \"EGRESS_COMPLETE\" },\n { no: 4, name: \"EGRESS_FAILED\" },\n { no: 5, name: \"EGRESS_ABORTED\" },\n { no: 6, name: \"EGRESS_LIMIT_REACHED\" },\n]);\n\n/**\n * composite using a web browser\n *\n * @generated from message livekit.RoomCompositeEgressRequest\n */\nexport class RoomCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool audio_only = 3;\n */\n audioOnly = false;\n\n /**\n * (default false)\n *\n * @generated from field: bool video_only = 4;\n */\n videoOnly = false;\n\n /**\n * template base url (default https://recorder.livekit.io)\n *\n * @generated from field: string custom_base_url = 5;\n */\n customBaseUrl = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.RoomCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.RoomCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 8;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 9;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"custom_base_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 10, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 8, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 9, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest {\n return new RoomCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record any website\n *\n * @generated from message livekit.WebEgressRequest\n */\nexport class WebEgressRequest extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: bool audio_only = 2;\n */\n audioOnly = false;\n\n /**\n * @generated from field: bool video_only = 3;\n */\n videoOnly = false;\n\n /**\n * @generated from field: bool await_start_signal = 12;\n */\n awaitStartSignal = false;\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.WebEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.WebEgressRequest.options\n */\n options: {\n /**\n * @generated from field: livekit.EncodingOptionsPreset preset = 7;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.EncodingOptions advanced = 8;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 13;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"video_only\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"await_start_signal\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 6, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 7, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 8, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 9, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 10, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 11, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 13, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest {\n return new WebEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebEgressRequest, a, b);\n }\n}\n\n/**\n * record audio and video from a single participant\n *\n * @generated from message livekit.ParticipantEgressRequest\n */\nexport class ParticipantEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * (default false)\n *\n * @generated from field: bool screen_share = 3;\n */\n screenShare = false;\n\n /**\n * @generated from oneof livekit.ParticipantEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 4;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 5;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 9;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"screen_share\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 5, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 6, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 7, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 8, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 9, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest {\n return new ParticipantEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantEgressRequest, a, b);\n }\n}\n\n/**\n * containerize up to one audio and one video track\n *\n * @generated from message livekit.TrackCompositeEgressRequest\n */\nexport class TrackCompositeEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string audio_track_id = 2;\n */\n audioTrackId = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string video_track_id = 3;\n */\n videoTrackId = \"\";\n\n /**\n * deprecated (use _output fields)\n *\n * @generated from oneof livekit.TrackCompositeEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];\n * @deprecated\n */\n value: EncodedFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];\n * @deprecated\n */\n value: StreamOutput;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];\n * @deprecated\n */\n value: SegmentedFileOutput;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from oneof livekit.TrackCompositeEgressRequest.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 6;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 7;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;\n */\n streamOutputs: StreamOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.ImageOutput image_outputs = 14;\n */\n imageOutputs: ImageOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackCompositeEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"audio_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video_track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"file\", kind: \"message\", T: EncodedFileOutput, oneof: \"output\" },\n { no: 5, name: \"stream\", kind: \"message\", T: StreamOutput, oneof: \"output\" },\n { no: 8, name: \"segments\", kind: \"message\", T: SegmentedFileOutput, oneof: \"output\" },\n { no: 6, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 7, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 11, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 12, name: \"stream_outputs\", kind: \"message\", T: StreamOutput, repeated: true },\n { no: 13, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n { no: 14, name: \"image_outputs\", kind: \"message\", T: ImageOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest {\n return new TrackCompositeEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackCompositeEgressRequest, a, b);\n }\n}\n\n/**\n * record tracks individually, without transcoding\n *\n * @generated from message livekit.TrackEgressRequest\n */\nexport class TrackEgressRequest extends Message {\n /**\n * required\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * required\n *\n * @generated from field: string track_id = 2;\n */\n trackId = \"\";\n\n /**\n * required\n *\n * @generated from oneof livekit.TrackEgressRequest.output\n */\n output: {\n /**\n * @generated from field: livekit.DirectFileOutput file = 3;\n */\n value: DirectFileOutput;\n case: \"file\";\n } | {\n /**\n * @generated from field: string websocket_url = 4;\n */\n value: string;\n case: \"websocketUrl\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"file\", kind: \"message\", T: DirectFileOutput, oneof: \"output\" },\n { no: 4, name: \"websocket_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest {\n return new TrackEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodedFileOutput\n */\nexport class EncodedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodedFileType file_type = 1;\n */\n fileType = EncodedFileType.DEFAULT_FILETYPE;\n\n /**\n * see egress docs for templating (default {room_name}-{time})\n *\n * @generated from field: string filepath = 2;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 6;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.EncodedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 3;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 4;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 5;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 7;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_type\", kind: \"enum\", T: proto3.getEnumType(EncodedFileType) },\n { no: 2, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 4, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 5, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 7, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput {\n return new EncodedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodedFileOutput, a, b);\n }\n}\n\n/**\n * Used to generate HLS segments or other kind of segmented output\n *\n * @generated from message livekit.SegmentedFileOutput\n */\nexport class SegmentedFileOutput extends Message {\n /**\n * (optional)\n *\n * @generated from field: livekit.SegmentedFileProtocol protocol = 1;\n */\n protocol = SegmentedFileProtocol.DEFAULT_SEGMENTED_FILE_PROTOCOL;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 2;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional)\n *\n * @generated from field: string playlist_name = 3;\n */\n playlistName = \"\";\n\n /**\n * (optional, disabled if not provided). Path of a live playlist\n *\n * @generated from field: string live_playlist_name = 11;\n */\n livePlaylistName = \"\";\n\n /**\n * in seconds (optional)\n *\n * @generated from field: uint32 segment_duration = 4;\n */\n segmentDuration = 0;\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;\n */\n filenameSuffix = SegmentedFileSuffix.INDEX;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 8;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.SegmentedFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 5;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 6;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 7;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 9;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentedFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileProtocol) },\n { no: 2, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segment_duration\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(SegmentedFileSuffix) },\n { no: 8, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 6, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 7, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 9, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput {\n return new SegmentedFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentedFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DirectFileOutput\n */\nexport class DirectFileOutput extends Message {\n /**\n * see egress docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.DirectFileOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DirectFileOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput {\n return new DirectFileOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(DirectFileOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImageOutput\n */\nexport class ImageOutput extends Message {\n /**\n * in seconds (required)\n *\n * @generated from field: uint32 capture_interval = 1;\n */\n captureInterval = 0;\n\n /**\n * (optional, defaults to track width)\n *\n * @generated from field: int32 width = 2;\n */\n width = 0;\n\n /**\n * (optional, defaults to track height)\n *\n * @generated from field: int32 height = 3;\n */\n height = 0;\n\n /**\n * (optional)\n *\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * (optional, default INDEX)\n *\n * @generated from field: livekit.ImageFileSuffix filename_suffix = 5;\n */\n filenameSuffix = ImageFileSuffix.IMAGE_SUFFIX_INDEX;\n\n /**\n * (optional)\n *\n * @generated from field: livekit.ImageCodec image_codec = 6;\n */\n imageCodec = ImageCodec.IC_DEFAULT;\n\n /**\n * disable upload of manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 7;\n */\n disableManifest = false;\n\n /**\n * required\n *\n * @generated from oneof livekit.ImageOutput.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 8;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 9;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 10;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 11;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImageOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"capture_interval\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"filename_suffix\", kind: \"enum\", T: proto3.getEnumType(ImageFileSuffix) },\n { no: 6, name: \"image_codec\", kind: \"enum\", T: proto3.getEnumType(ImageCodec) },\n { no: 7, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 9, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 10, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 11, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput {\n return new ImageOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput {\n return new ImageOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImageOutput {\n return new ImageOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImageOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.S3Upload\n */\nexport class S3Upload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string session_token = 11;\n */\n sessionToken = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n /**\n * @generated from field: bool force_path_style = 6;\n */\n forcePathStyle = false;\n\n /**\n * @generated from field: map metadata = 7;\n */\n metadata: { [key: string]: string } = {};\n\n /**\n * @generated from field: string tagging = 8;\n */\n tagging = \"\";\n\n /**\n * Content-Disposition header\n *\n * @generated from field: string content_disposition = 9;\n */\n contentDisposition = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 10;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.S3Upload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"session_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"force_path_style\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"metadata\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 8, name: \"tagging\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"content_disposition\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload {\n return new S3Upload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload {\n return new S3Upload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): S3Upload {\n return new S3Upload().fromJsonString(jsonString, options);\n }\n\n static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean {\n return proto3.util.equals(S3Upload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GCPUpload\n */\nexport class GCPUpload extends Message {\n /**\n * service account credentials serialized in JSON \"credentials.json\"\n *\n * @generated from field: string credentials = 1;\n */\n credentials = \"\";\n\n /**\n * @generated from field: string bucket = 2;\n */\n bucket = \"\";\n\n /**\n * @generated from field: livekit.ProxyConfig proxy = 3;\n */\n proxy?: ProxyConfig;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GCPUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"credentials\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"proxy\", kind: \"message\", T: ProxyConfig },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload {\n return new GCPUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload {\n return new GCPUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GCPUpload {\n return new GCPUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(GCPUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AzureBlobUpload\n */\nexport class AzureBlobUpload extends Message {\n /**\n * @generated from field: string account_name = 1;\n */\n accountName = \"\";\n\n /**\n * @generated from field: string account_key = 2;\n */\n accountKey = \"\";\n\n /**\n * @generated from field: string container_name = 3;\n */\n containerName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AzureBlobUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"account_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"account_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"container_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload {\n return new AzureBlobUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AzureBlobUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AliOSSUpload\n */\nexport class AliOSSUpload extends Message {\n /**\n * @generated from field: string access_key = 1;\n */\n accessKey = \"\";\n\n /**\n * @generated from field: string secret = 2;\n */\n secret = \"\";\n\n /**\n * @generated from field: string region = 3;\n */\n region = \"\";\n\n /**\n * @generated from field: string endpoint = 4;\n */\n endpoint = \"\";\n\n /**\n * @generated from field: string bucket = 5;\n */\n bucket = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AliOSSUpload\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"access_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"secret\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"endpoint\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"bucket\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload {\n return new AliOSSUpload().fromJsonString(jsonString, options);\n }\n\n static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean {\n return proto3.util.equals(AliOSSUpload, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ProxyConfig\n */\nexport class ProxyConfig extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string password = 3;\n */\n password = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ProxyConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ProxyConfig {\n return new ProxyConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ProxyConfig, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamOutput\n */\nexport class StreamOutput extends Message {\n /**\n * required\n *\n * @generated from field: livekit.StreamProtocol protocol = 1;\n */\n protocol = StreamProtocol.DEFAULT_PROTOCOL;\n\n /**\n * required\n *\n * @generated from field: repeated string urls = 2;\n */\n urls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamOutput\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"protocol\", kind: \"enum\", T: proto3.getEnumType(StreamProtocol) },\n { no: 2, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput {\n return new StreamOutput().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput {\n return new StreamOutput().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamOutput {\n return new StreamOutput().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamOutput, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EncodingOptions\n */\nexport class EncodingOptions extends Message {\n /**\n * (default 1920)\n *\n * @generated from field: int32 width = 1;\n */\n width = 0;\n\n /**\n * (default 1080)\n *\n * @generated from field: int32 height = 2;\n */\n height = 0;\n\n /**\n * (default 24)\n *\n * @generated from field: int32 depth = 3;\n */\n depth = 0;\n\n /**\n * (default 30)\n *\n * @generated from field: int32 framerate = 4;\n */\n framerate = 0;\n\n /**\n * (default OPUS)\n *\n * @generated from field: livekit.AudioCodec audio_codec = 5;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * (default 128)\n *\n * @generated from field: int32 audio_bitrate = 6;\n */\n audioBitrate = 0;\n\n /**\n * quality setting on audio encoder\n *\n * @generated from field: int32 audio_quality = 11;\n */\n audioQuality = 0;\n\n /**\n * (default 44100)\n *\n * @generated from field: int32 audio_frequency = 7;\n */\n audioFrequency = 0;\n\n /**\n * (default H264_MAIN)\n *\n * @generated from field: livekit.VideoCodec video_codec = 8;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * (default 4500)\n *\n * @generated from field: int32 video_bitrate = 9;\n */\n videoBitrate = 0;\n\n /**\n * quality setting on video encoder\n *\n * @generated from field: int32 video_quality = 12;\n */\n videoQuality = 0;\n\n /**\n * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)\n *\n * @generated from field: double key_frame_interval = 10;\n */\n keyFrameInterval = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"width\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"height\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"depth\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"framerate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 6, name: \"audio_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"audio_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 7, name: \"audio_frequency\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 8, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 9, name: \"video_bitrate\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"video_quality\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 10, name: \"key_frame_interval\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EncodingOptions {\n return new EncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(EncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLayoutRequest\n */\nexport class UpdateLayoutRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string layout = 2;\n */\n layout = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLayoutRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest {\n return new UpdateLayoutRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLayoutRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateStreamRequest\n */\nexport class UpdateStreamRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: repeated string add_output_urls = 2;\n */\n addOutputUrls: string[] = [];\n\n /**\n * @generated from field: repeated string remove_output_urls = 3;\n */\n removeOutputUrls: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateStreamRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"add_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"remove_output_urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest {\n return new UpdateStreamRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateStreamRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressRequest\n */\nexport class ListEgressRequest extends Message {\n /**\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by egress ID)\n *\n * @generated from field: string egress_id = 2;\n */\n egressId = \"\";\n\n /**\n * (optional, list active egress only)\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest {\n return new ListEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListEgressResponse\n */\nexport class ListEgressResponse extends Message {\n /**\n * @generated from field: repeated livekit.EgressInfo items = 1;\n */\n items: EgressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListEgressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: EgressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse {\n return new ListEgressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListEgressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StopEgressRequest\n */\nexport class StopEgressRequest extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StopEgressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest {\n return new StopEgressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(StopEgressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EgressInfo\n */\nexport class EgressInfo extends Message {\n /**\n * @generated from field: string egress_id = 1;\n */\n egressId = \"\";\n\n /**\n * @generated from field: string room_id = 2;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string room_name = 13;\n */\n roomName = \"\";\n\n /**\n * @generated from field: livekit.EgressStatus status = 3;\n */\n status = EgressStatus.EGRESS_STARTING;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 18;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string details = 21;\n */\n details = \"\";\n\n /**\n * @generated from field: string error = 9;\n */\n error = \"\";\n\n /**\n * @generated from field: int32 error_code = 22;\n */\n errorCode = 0;\n\n /**\n * @generated from oneof livekit.EgressInfo.request\n */\n request: {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;\n */\n value: RoomCompositeEgressRequest;\n case: \"roomComposite\";\n } | {\n /**\n * @generated from field: livekit.WebEgressRequest web = 14;\n */\n value: WebEgressRequest;\n case: \"web\";\n } | {\n /**\n * @generated from field: livekit.ParticipantEgressRequest participant = 19;\n */\n value: ParticipantEgressRequest;\n case: \"participant\";\n } | {\n /**\n * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;\n */\n value: TrackCompositeEgressRequest;\n case: \"trackComposite\";\n } | {\n /**\n * @generated from field: livekit.TrackEgressRequest track = 6;\n */\n value: TrackEgressRequest;\n case: \"track\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * deprecated (use _result fields)\n *\n * @generated from oneof livekit.EgressInfo.result\n */\n result: {\n /**\n * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];\n * @deprecated\n */\n value: StreamInfoList;\n case: \"stream\";\n } | {\n /**\n * @generated from field: livekit.FileInfo file = 8 [deprecated = true];\n * @deprecated\n */\n value: FileInfo;\n case: \"file\";\n } | {\n /**\n * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];\n * @deprecated\n */\n value: SegmentsInfo;\n case: \"segments\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.StreamInfo stream_results = 15;\n */\n streamResults: StreamInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.FileInfo file_results = 16;\n */\n fileResults: FileInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentsInfo segment_results = 17;\n */\n segmentResults: SegmentsInfo[] = [];\n\n /**\n * @generated from field: repeated livekit.ImagesInfo image_results = 20;\n */\n imageResults: ImagesInfo[] = [];\n\n /**\n * @generated from field: string manifest_location = 23;\n */\n manifestLocation = \"\";\n\n /**\n * next ID: 26\n *\n * @generated from field: bool backup_storage_used = 25;\n */\n backupStorageUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EgressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"egress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"status\", kind: \"enum\", T: proto3.getEnumType(EgressStatus) },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 18, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 21, name: \"details\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 22, name: \"error_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"room_composite\", kind: \"message\", T: RoomCompositeEgressRequest, oneof: \"request\" },\n { no: 14, name: \"web\", kind: \"message\", T: WebEgressRequest, oneof: \"request\" },\n { no: 19, name: \"participant\", kind: \"message\", T: ParticipantEgressRequest, oneof: \"request\" },\n { no: 5, name: \"track_composite\", kind: \"message\", T: TrackCompositeEgressRequest, oneof: \"request\" },\n { no: 6, name: \"track\", kind: \"message\", T: TrackEgressRequest, oneof: \"request\" },\n { no: 7, name: \"stream\", kind: \"message\", T: StreamInfoList, oneof: \"result\" },\n { no: 8, name: \"file\", kind: \"message\", T: FileInfo, oneof: \"result\" },\n { no: 12, name: \"segments\", kind: \"message\", T: SegmentsInfo, oneof: \"result\" },\n { no: 15, name: \"stream_results\", kind: \"message\", T: StreamInfo, repeated: true },\n { no: 16, name: \"file_results\", kind: \"message\", T: FileInfo, repeated: true },\n { no: 17, name: \"segment_results\", kind: \"message\", T: SegmentsInfo, repeated: true },\n { no: 20, name: \"image_results\", kind: \"message\", T: ImagesInfo, repeated: true },\n { no: 23, name: \"manifest_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 25, name: \"backup_storage_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo {\n return new EgressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo {\n return new EgressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EgressInfo {\n return new EgressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(EgressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfoList\n * @deprecated\n */\nexport class StreamInfoList extends Message {\n /**\n * @generated from field: repeated livekit.StreamInfo info = 1;\n */\n info: StreamInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfoList\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"info\", kind: \"message\", T: StreamInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfoList {\n return new StreamInfoList().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfoList, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamInfo\n */\nexport class StreamInfo extends Message {\n /**\n * @generated from field: string url = 1;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 4;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: livekit.StreamInfo.Status status = 5;\n */\n status = StreamInfo_Status.ACTIVE;\n\n /**\n * @generated from field: string error = 6;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"status\", kind: \"enum\", T: proto3.getEnumType(StreamInfo_Status) },\n { no: 6, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo {\n return new StreamInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo {\n return new StreamInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamInfo {\n return new StreamInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.StreamInfo.Status\n */\nexport enum StreamInfo_Status {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: FINISHED = 1;\n */\n FINISHED = 1,\n\n /**\n * @generated from enum value: FAILED = 2;\n */\n FAILED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamInfo_Status)\nproto3.util.setEnumType(StreamInfo_Status, \"livekit.StreamInfo.Status\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"FINISHED\" },\n { no: 2, name: \"FAILED\" },\n]);\n\n/**\n * @generated from message livekit.FileInfo\n */\nexport class FileInfo extends Message {\n /**\n * @generated from field: string filename = 1;\n */\n filename = \"\";\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 duration = 6;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 4;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string location = 5;\n */\n location = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.FileInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filename\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo {\n return new FileInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo {\n return new FileInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): FileInfo {\n return new FileInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(FileInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SegmentsInfo\n */\nexport class SegmentsInfo extends Message {\n /**\n * @generated from field: string playlist_name = 1;\n */\n playlistName = \"\";\n\n /**\n * @generated from field: string live_playlist_name = 8;\n */\n livePlaylistName = \"\";\n\n /**\n * @generated from field: int64 duration = 2;\n */\n duration = protoInt64.zero;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size = protoInt64.zero;\n\n /**\n * @generated from field: string playlist_location = 4;\n */\n playlistLocation = \"\";\n\n /**\n * @generated from field: string live_playlist_location = 9;\n */\n livePlaylistLocation = \"\";\n\n /**\n * @generated from field: int64 segment_count = 5;\n */\n segmentCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 6;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 7;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SegmentsInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"live_playlist_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"duration\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"size\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"live_playlist_location\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"segment_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 7, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo {\n return new SegmentsInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SegmentsInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ImagesInfo\n */\nexport class ImagesInfo extends Message {\n /**\n * @generated from field: string filename_prefix = 4;\n */\n filenamePrefix = \"\";\n\n /**\n * @generated from field: int64 image_count = 1;\n */\n imageCount = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 2;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 3;\n */\n endedAt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ImagesInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 4, name: \"filename_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 1, name: \"image_count\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ImagesInfo {\n return new ImagesInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ImagesInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoParticipantEgress\n */\nexport class AutoParticipantEgress extends Message {\n /**\n * @generated from oneof livekit.AutoParticipantEgress.options\n */\n options: {\n /**\n * (default H264_720P_30)\n *\n * @generated from field: livekit.EncodingOptionsPreset preset = 1;\n */\n value: EncodingOptionsPreset;\n case: \"preset\";\n } | {\n /**\n * (optional)\n *\n * @generated from field: livekit.EncodingOptions advanced = 2;\n */\n value: EncodingOptions;\n case: \"advanced\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;\n */\n fileOutputs: EncodedFileOutput[] = [];\n\n /**\n * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;\n */\n segmentOutputs: SegmentedFileOutput[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoParticipantEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(EncodingOptionsPreset), oneof: \"options\" },\n { no: 2, name: \"advanced\", kind: \"message\", T: EncodingOptions, oneof: \"options\" },\n { no: 3, name: \"file_outputs\", kind: \"message\", T: EncodedFileOutput, repeated: true },\n { no: 4, name: \"segment_outputs\", kind: \"message\", T: SegmentedFileOutput, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress {\n return new AutoParticipantEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoParticipantEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AutoTrackEgress\n */\nexport class AutoTrackEgress extends Message {\n /**\n * see docs for templating (default {track_id}-{time})\n *\n * @generated from field: string filepath = 1;\n */\n filepath = \"\";\n\n /**\n * disables upload of json manifest file (default false)\n *\n * @generated from field: bool disable_manifest = 5;\n */\n disableManifest = false;\n\n /**\n * @generated from oneof livekit.AutoTrackEgress.output\n */\n output: {\n /**\n * @generated from field: livekit.S3Upload s3 = 2;\n */\n value: S3Upload;\n case: \"s3\";\n } | {\n /**\n * @generated from field: livekit.GCPUpload gcp = 3;\n */\n value: GCPUpload;\n case: \"gcp\";\n } | {\n /**\n * @generated from field: livekit.AzureBlobUpload azure = 4;\n */\n value: AzureBlobUpload;\n case: \"azure\";\n } | {\n /**\n * @generated from field: livekit.AliOSSUpload aliOSS = 6;\n */\n value: AliOSSUpload;\n case: \"aliOSS\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AutoTrackEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"filepath\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"disable_manifest\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"s3\", kind: \"message\", T: S3Upload, oneof: \"output\" },\n { no: 3, name: \"gcp\", kind: \"message\", T: GCPUpload, oneof: \"output\" },\n { no: 4, name: \"azure\", kind: \"message\", T: AzureBlobUpload, oneof: \"output\" },\n { no: 6, name: \"aliOSS\", kind: \"message\", T: AliOSSUpload, oneof: \"output\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress {\n return new AutoTrackEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(AutoTrackEgress, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,YAAY,YAAY,kBAAkB;AAK5C,IAAK,kBAAL,kBAAKA,qBAAL;AAML,EAAAA,kCAAA,sBAAmB,KAAnB;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAKA,EAAAA,kCAAA,SAAM,KAAN;AAhBU,SAAAA;AAAA,GAAA;AAmBZ,OAAO,KAAK,YAAY,iBAAiB,2BAA2B;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,mBAAmB;AAAA,EAClC,EAAE,IAAI,GAAG,MAAM,MAAM;AAAA,EACrB,EAAE,IAAI,GAAG,MAAM,MAAM;AACvB,CAAC;AAKM,IAAK,wBAAL,kBAAKC,2BAAL;AAIL,EAAAA,8CAAA,qCAAkC,KAAlC;AAKA,EAAAA,8CAAA,kBAAe,KAAf;AATU,SAAAA;AAAA,GAAA;AAYZ,OAAO,KAAK,YAAY,uBAAuB,iCAAiC;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,kCAAkC;AAAA,EACjD,EAAE,IAAI,GAAG,MAAM,eAAe;AAChC,CAAC;AAKM,IAAK,sBAAL,kBAAKC,yBAAL;AAIL,EAAAA,0CAAA,WAAQ,KAAR;AAKA,EAAAA,0CAAA,eAAY,KAAZ;AATU,SAAAA;AAAA,GAAA;AAYZ,OAAO,KAAK,YAAY,qBAAqB,+BAA+B;AAAA,EAC1E,EAAE,IAAI,GAAG,MAAM,QAAQ;AAAA,EACvB,EAAE,IAAI,GAAG,MAAM,YAAY;AAC7B,CAAC;AAKM,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gE,GAAyE;AACrJ,WAAO,OAAO,KAAK,OAAO,kBAAiB,GAAG,CAAC;AAAA,EACjD;AACF;AA3Ea,iBAiDK,UAAyB;AAjD9B,iBAkDK,WAAW;AAlDhB,iBAmDK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAoB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC9E,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,WAAW,GAAG,UAAU,OAAO,SAAS;AAAA,EACnE,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,WAAW,OAAO,SAAS;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,iBAAiB,OAAO,SAAS;AAAA,EAC7E,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,cAAc,OAAO,SAAS;AAC7E,CAAC;AA1DI,IAAM,kBAAN;","names":["EncodedFileType","SegmentedFileProtocol","SegmentedFileSuffix","ImageFileSuffix","StreamProtocol","EncodingOptionsPreset","EgressStatus","StreamInfo_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.cjs b/packages/javascript/dist/gen/livekit_ingress_pb.cjs deleted file mode 100644 index 1bf86ca5..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.cjs +++ /dev/null @@ -1,1050 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_ingress_pb_exports = {}; -__export(livekit_ingress_pb_exports, { - CreateIngressRequest: () => CreateIngressRequest, - DeleteIngressRequest: () => DeleteIngressRequest, - IngressAudioEncodingOptions: () => IngressAudioEncodingOptions, - IngressAudioEncodingPreset: () => IngressAudioEncodingPreset, - IngressAudioOptions: () => IngressAudioOptions, - IngressInfo: () => IngressInfo, - IngressInput: () => IngressInput, - IngressState: () => IngressState, - IngressState_Status: () => IngressState_Status, - IngressVideoEncodingOptions: () => IngressVideoEncodingOptions, - IngressVideoEncodingPreset: () => IngressVideoEncodingPreset, - IngressVideoOptions: () => IngressVideoOptions, - InputAudioState: () => InputAudioState, - InputVideoState: () => InputVideoState, - ListIngressRequest: () => ListIngressRequest, - ListIngressResponse: () => ListIngressResponse, - UpdateIngressRequest: () => UpdateIngressRequest -}); -module.exports = __toCommonJS(livekit_ingress_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var IngressInput = /* @__PURE__ */ ((IngressInput2) => { - IngressInput2[IngressInput2["RTMP_INPUT"] = 0] = "RTMP_INPUT"; - IngressInput2[IngressInput2["WHIP_INPUT"] = 1] = "WHIP_INPUT"; - IngressInput2[IngressInput2["URL_INPUT"] = 2] = "URL_INPUT"; - return IngressInput2; -})(IngressInput || {}); -import_protobuf.proto3.util.setEnumType(IngressInput, "livekit.IngressInput", [ - { no: 0, name: "RTMP_INPUT" }, - { no: 1, name: "WHIP_INPUT" }, - { no: 2, name: "URL_INPUT" } -]); -var IngressAudioEncodingPreset = /* @__PURE__ */ ((IngressAudioEncodingPreset2) => { - IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_STEREO_96KBPS"] = 0] = "OPUS_STEREO_96KBPS"; - IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_MONO_64KBS"] = 1] = "OPUS_MONO_64KBS"; - return IngressAudioEncodingPreset2; -})(IngressAudioEncodingPreset || {}); -import_protobuf.proto3.util.setEnumType(IngressAudioEncodingPreset, "livekit.IngressAudioEncodingPreset", [ - { no: 0, name: "OPUS_STEREO_96KBPS" }, - { no: 1, name: "OPUS_MONO_64KBS" } -]); -var IngressVideoEncodingPreset = /* @__PURE__ */ ((IngressVideoEncodingPreset2) => { - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS"] = 0] = "H264_720P_30FPS_3_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS"] = 1] = "H264_1080P_30FPS_3_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS"] = 2] = "H264_540P_25FPS_2_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER"] = 3] = "H264_720P_30FPS_1_LAYER"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER"] = 4] = "H264_1080P_30FPS_1_LAYER"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS_HIGH_MOTION"] = 5] = "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"] = 6] = "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS_HIGH_MOTION"] = 7] = "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER_HIGH_MOTION"] = 8] = "H264_720P_30FPS_1_LAYER_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER_HIGH_MOTION"] = 9] = "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"; - return IngressVideoEncodingPreset2; -})(IngressVideoEncodingPreset || {}); -import_protobuf.proto3.util.setEnumType(IngressVideoEncodingPreset, "livekit.IngressVideoEncodingPreset", [ - { no: 0, name: "H264_720P_30FPS_3_LAYERS" }, - { no: 1, name: "H264_1080P_30FPS_3_LAYERS" }, - { no: 2, name: "H264_540P_25FPS_2_LAYERS" }, - { no: 3, name: "H264_720P_30FPS_1_LAYER" }, - { no: 4, name: "H264_1080P_30FPS_1_LAYER" }, - { no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION" }, - { no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION" }, - { no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION" }, - { no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION" }, - { no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION" } -]); -const _CreateIngressRequest = class _CreateIngressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.IngressInput input_type = 1; - */ - this.inputType = 0 /* RTMP_INPUT */; - /** - * Where to pull media from, only for URL input type - * - * @generated from field: string url = 9; - */ - this.url = ""; - /** - * User provided identifier for the ingress - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * room to publish to - * - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * publish as participant - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * name of publishing participant (used for display only) - * - * @generated from field: string participant_name = 5; - */ - this.participantName = ""; - /** - * metadata associated with the publishing participant - * - * @generated from field: string participant_metadata = 10; - */ - this.participantMetadata = ""; - /** - * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. - * - * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - this.bypassTranscoding = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateIngressRequest, a, b); - } -}; -_CreateIngressRequest.runtime = import_protobuf.proto3; -_CreateIngressRequest.typeName = "livekit.CreateIngressRequest"; -_CreateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) }, - { - no: 9, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "bypass_transcoding", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions } -]); -let CreateIngressRequest = _CreateIngressRequest; -const _IngressAudioOptions = class _IngressAudioOptions extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - this.source = import_livekit_models_pb.TrackSource.UNKNOWN; - /** - * @generated from oneof livekit.IngressAudioOptions.encoding_options - */ - this.encodingOptions = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressAudioOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressAudioOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressAudioOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressAudioOptions, a, b); - } -}; -_IngressAudioOptions.runtime = import_protobuf.proto3; -_IngressAudioOptions.typeName = "livekit.IngressAudioOptions"; -_IngressAudioOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" } -]); -let IngressAudioOptions = _IngressAudioOptions; -const _IngressVideoOptions = class _IngressVideoOptions extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - this.source = import_livekit_models_pb.TrackSource.UNKNOWN; - /** - * @generated from oneof livekit.IngressVideoOptions.encoding_options - */ - this.encodingOptions = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressVideoOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressVideoOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressVideoOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressVideoOptions, a, b); - } -}; -_IngressVideoOptions.runtime = import_protobuf.proto3; -_IngressVideoOptions.typeName = "livekit.IngressVideoOptions"; -_IngressVideoOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" } -]); -let IngressVideoOptions = _IngressVideoOptions; -const _IngressAudioEncodingOptions = class _IngressAudioEncodingOptions extends import_protobuf.Message { - constructor(data) { - super(); - /** - * desired audio codec to publish to room - * - * @generated from field: livekit.AudioCodec audio_codec = 1; - */ - this.audioCodec = import_livekit_models_pb.AudioCodec.DEFAULT_AC; - /** - * @generated from field: uint32 bitrate = 2; - */ - this.bitrate = 0; - /** - * @generated from field: bool disable_dtx = 3; - */ - this.disableDtx = false; - /** - * @generated from field: uint32 channels = 4; - */ - this.channels = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressAudioEncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressAudioEncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressAudioEncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressAudioEncodingOptions, a, b); - } -}; -_IngressAudioEncodingOptions.runtime = import_protobuf.proto3; -_IngressAudioEncodingOptions.typeName = "livekit.IngressAudioEncodingOptions"; -_IngressAudioEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "audio_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioCodec) }, - { - no: 2, - name: "bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "channels", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let IngressAudioEncodingOptions = _IngressAudioEncodingOptions; -const _IngressVideoEncodingOptions = class _IngressVideoEncodingOptions extends import_protobuf.Message { - constructor(data) { - super(); - /** - * desired codec to publish to room - * - * @generated from field: livekit.VideoCodec video_codec = 1; - */ - this.videoCodec = import_livekit_models_pb.VideoCodec.DEFAULT_VC; - /** - * @generated from field: double frame_rate = 2; - */ - this.frameRate = 0; - /** - * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - * - * @generated from field: repeated livekit.VideoLayer layers = 3; - */ - this.layers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressVideoEncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressVideoEncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressVideoEncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressVideoEncodingOptions, a, b); - } -}; -_IngressVideoEncodingOptions.runtime = import_protobuf.proto3; -_IngressVideoEncodingOptions.typeName = "livekit.IngressVideoEncodingOptions"; -_IngressVideoEncodingOptions.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "video_codec", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoCodec) }, - { - no: 2, - name: "frame_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { no: 3, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true } -]); -let IngressVideoEncodingOptions = _IngressVideoEncodingOptions; -const _IngressInfo = class _IngressInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string stream_key = 3; - */ - this.streamKey = ""; - /** - * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) - * - * @generated from field: string url = 4; - */ - this.url = ""; - /** - * for RTMP input, it'll be a rtmp:// URL - * for FILE input, it'll be a http:// URL - * for SRT input, it'll be a srt:// URL - * - * @generated from field: livekit.IngressInput input_type = 5; - */ - this.inputType = 0 /* RTMP_INPUT */; - /** - * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; - * @deprecated - */ - this.bypassTranscoding = false; - /** - * @generated from field: string room_name = 8; - */ - this.roomName = ""; - /** - * @generated from field: string participant_identity = 9; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_name = 10; - */ - this.participantName = ""; - /** - * @generated from field: string participant_metadata = 14; - */ - this.participantMetadata = ""; - /** - * @generated from field: bool reusable = 11; - */ - this.reusable = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressInfo, a, b); - } -}; -_IngressInfo.runtime = import_protobuf.proto3; -_IngressInfo.typeName = "livekit.IngressInfo"; -_IngressInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "stream_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "input_type", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressInput) }, - { - no: 13, - name: "bypass_transcoding", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 15, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, - { - no: 8, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 14, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "reusable", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 12, name: "state", kind: "message", T: IngressState } -]); -let IngressInfo = _IngressInfo; -const _IngressState = class _IngressState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.IngressState.Status status = 1; - */ - this.status = 0 /* ENDPOINT_INACTIVE */; - /** - * Error/non compliance description if any - * - * @generated from field: string error = 2; - */ - this.error = ""; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 5; - */ - this.roomId = ""; - /** - * @generated from field: int64 started_at = 7; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 8; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 updated_at = 10; - */ - this.updatedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: string resource_id = 9; - */ - this.resourceId = ""; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 6; - */ - this.tracks = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_IngressState, a, b); - } -}; -_IngressState.runtime = import_protobuf.proto3; -_IngressState.typeName = "livekit.IngressState"; -_IngressState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: import_protobuf.proto3.getEnumType(IngressState_Status) }, - { - no: 2, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "video", kind: "message", T: InputVideoState }, - { no: 4, name: "audio", kind: "message", T: InputAudioState }, - { - no: 5, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 8, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 10, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 9, - name: "resource_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "tracks", kind: "message", T: import_livekit_models_pb.TrackInfo, repeated: true } -]); -let IngressState = _IngressState; -var IngressState_Status = /* @__PURE__ */ ((IngressState_Status2) => { - IngressState_Status2[IngressState_Status2["ENDPOINT_INACTIVE"] = 0] = "ENDPOINT_INACTIVE"; - IngressState_Status2[IngressState_Status2["ENDPOINT_BUFFERING"] = 1] = "ENDPOINT_BUFFERING"; - IngressState_Status2[IngressState_Status2["ENDPOINT_PUBLISHING"] = 2] = "ENDPOINT_PUBLISHING"; - IngressState_Status2[IngressState_Status2["ENDPOINT_ERROR"] = 3] = "ENDPOINT_ERROR"; - IngressState_Status2[IngressState_Status2["ENDPOINT_COMPLETE"] = 4] = "ENDPOINT_COMPLETE"; - return IngressState_Status2; -})(IngressState_Status || {}); -import_protobuf.proto3.util.setEnumType(IngressState_Status, "livekit.IngressState.Status", [ - { no: 0, name: "ENDPOINT_INACTIVE" }, - { no: 1, name: "ENDPOINT_BUFFERING" }, - { no: 2, name: "ENDPOINT_PUBLISHING" }, - { no: 3, name: "ENDPOINT_ERROR" }, - { no: 4, name: "ENDPOINT_COMPLETE" } -]); -const _InputVideoState = class _InputVideoState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - this.averageBitrate = 0; - /** - * @generated from field: uint32 width = 3; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 4; - */ - this.height = 0; - /** - * @generated from field: double framerate = 5; - */ - this.framerate = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _InputVideoState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _InputVideoState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _InputVideoState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_InputVideoState, a, b); - } -}; -_InputVideoState.runtime = import_protobuf.proto3; -_InputVideoState.typeName = "livekit.InputVideoState"; -_InputVideoState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "average_bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "framerate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let InputVideoState = _InputVideoState; -const _InputAudioState = class _InputAudioState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - this.averageBitrate = 0; - /** - * @generated from field: uint32 channels = 3; - */ - this.channels = 0; - /** - * @generated from field: uint32 sample_rate = 4; - */ - this.sampleRate = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _InputAudioState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _InputAudioState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _InputAudioState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_InputAudioState, a, b); - } -}; -_InputAudioState.runtime = import_protobuf.proto3; -_InputAudioState.typeName = "livekit.InputAudioState"; -_InputAudioState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "average_bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "channels", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "sample_rate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let InputAudioState = _InputAudioState; -const _UpdateIngressRequest = class _UpdateIngressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_name = 5; - */ - this.participantName = ""; - /** - * @generated from field: string participant_metadata = 9; - */ - this.participantMetadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateIngressRequest, a, b); - } -}; -_UpdateIngressRequest.runtime = import_protobuf.proto3; -_UpdateIngressRequest.typeName = "livekit.UpdateIngressRequest"; -_UpdateIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions } -]); -let UpdateIngressRequest = _UpdateIngressRequest; -const _ListIngressRequest = class _ListIngressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * when blank, lists all ingress endpoints - * - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional, filter by ingress ID) - * - * @generated from field: string ingress_id = 2; - */ - this.ingressId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListIngressRequest, a, b); - } -}; -_ListIngressRequest.runtime = import_protobuf.proto3; -_ListIngressRequest.typeName = "livekit.ListIngressRequest"; -_ListIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListIngressRequest = _ListIngressRequest; -const _ListIngressResponse = class _ListIngressResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.IngressInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListIngressResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListIngressResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListIngressResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListIngressResponse, a, b); - } -}; -_ListIngressResponse.runtime = import_protobuf.proto3; -_ListIngressResponse.typeName = "livekit.ListIngressResponse"; -_ListIngressResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true } -]); -let ListIngressResponse = _ListIngressResponse; -const _DeleteIngressRequest = class _DeleteIngressRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteIngressRequest, a, b); - } -}; -_DeleteIngressRequest.runtime = import_protobuf.proto3; -_DeleteIngressRequest.typeName = "livekit.DeleteIngressRequest"; -_DeleteIngressRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteIngressRequest = _DeleteIngressRequest; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - CreateIngressRequest, - DeleteIngressRequest, - IngressAudioEncodingOptions, - IngressAudioEncodingPreset, - IngressAudioOptions, - IngressInfo, - IngressInput, - IngressState, - IngressState_Status, - IngressVideoEncodingOptions, - IngressVideoEncodingPreset, - IngressVideoOptions, - InputAudioState, - InputVideoState, - ListIngressRequest, - ListIngressResponse, - UpdateIngressRequest -}); -//# sourceMappingURL=livekit_ingress_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map b/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map deleted file mode 100644 index 32f66209..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_ingress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_ingress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.IngressInput\n */\nexport enum IngressInput {\n /**\n * @generated from enum value: RTMP_INPUT = 0;\n */\n RTMP_INPUT = 0,\n\n /**\n * @generated from enum value: WHIP_INPUT = 1;\n */\n WHIP_INPUT = 1,\n\n /**\n * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream\n *\n * @generated from enum value: URL_INPUT = 2;\n */\n URL_INPUT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressInput)\nproto3.util.setEnumType(IngressInput, \"livekit.IngressInput\", [\n { no: 0, name: \"RTMP_INPUT\" },\n { no: 1, name: \"WHIP_INPUT\" },\n { no: 2, name: \"URL_INPUT\" },\n]);\n\n/**\n * @generated from enum livekit.IngressAudioEncodingPreset\n */\nexport enum IngressAudioEncodingPreset {\n /**\n * OPUS, 2 channels, 96kbps\n *\n * @generated from enum value: OPUS_STEREO_96KBPS = 0;\n */\n OPUS_STEREO_96KBPS = 0,\n\n /**\n * OPUS, 1 channel, 64kbps\n *\n * @generated from enum value: OPUS_MONO_64KBS = 1;\n */\n OPUS_MONO_64KBS = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressAudioEncodingPreset)\nproto3.util.setEnumType(IngressAudioEncodingPreset, \"livekit.IngressAudioEncodingPreset\", [\n { no: 0, name: \"OPUS_STEREO_96KBPS\" },\n { no: 1, name: \"OPUS_MONO_64KBS\" },\n]);\n\n/**\n * @generated from enum livekit.IngressVideoEncodingPreset\n */\nexport enum IngressVideoEncodingPreset {\n /**\n * 1280x720, 30fps, 1900kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;\n */\n H264_720P_30FPS_3_LAYERS = 0,\n\n /**\n * 1980x1080, 30fps, 3500kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;\n */\n H264_1080P_30FPS_3_LAYERS = 1,\n\n /**\n * 960x540, 25fps, 1000kbps main layer, 2 layers total\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;\n */\n H264_540P_25FPS_2_LAYERS = 2,\n\n /**\n * 1280x720, 30fps, 1900kbps, no simulcast\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;\n */\n H264_720P_30FPS_1_LAYER = 3,\n\n /**\n * 1980x1080, 30fps, 3500kbps, no simulcast\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;\n */\n H264_1080P_30FPS_1_LAYER = 4,\n\n /**\n * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;\n */\n H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,\n\n /**\n * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;\n */\n H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,\n\n /**\n * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;\n */\n H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,\n\n /**\n * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;\n */\n H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,\n\n /**\n * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;\n */\n H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressVideoEncodingPreset)\nproto3.util.setEnumType(IngressVideoEncodingPreset, \"livekit.IngressVideoEncodingPreset\", [\n { no: 0, name: \"H264_720P_30FPS_3_LAYERS\" },\n { no: 1, name: \"H264_1080P_30FPS_3_LAYERS\" },\n { no: 2, name: \"H264_540P_25FPS_2_LAYERS\" },\n { no: 3, name: \"H264_720P_30FPS_1_LAYER\" },\n { no: 4, name: \"H264_1080P_30FPS_1_LAYER\" },\n { no: 5, name: \"H264_720P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 6, name: \"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 7, name: \"H264_540P_25FPS_2_LAYERS_HIGH_MOTION\" },\n { no: 8, name: \"H264_720P_30FPS_1_LAYER_HIGH_MOTION\" },\n { no: 9, name: \"H264_1080P_30FPS_1_LAYER_HIGH_MOTION\" },\n]);\n\n/**\n * @generated from message livekit.CreateIngressRequest\n */\nexport class CreateIngressRequest extends Message {\n /**\n * @generated from field: livekit.IngressInput input_type = 1;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * Where to pull media from, only for URL input type\n *\n * @generated from field: string url = 9;\n */\n url = \"\";\n\n /**\n * User provided identifier for the ingress\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * room to publish to\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * publish as participant\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * name of publishing participant (used for display only)\n *\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * metadata associated with the publishing participant\n *\n * @generated from field: string participant_metadata = 10;\n */\n participantMetadata = \"\";\n\n /**\n * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.\n *\n * @generated from field: bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. \n *\n * @generated from field: optional bool enable_transcoding = 11;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 9, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioOptions\n */\nexport class IngressAudioOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressAudioOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;\n */\n value: IngressAudioEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressAudioEncodingOptions options = 4;\n */\n value: IngressAudioEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressAudioEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoOptions\n */\nexport class IngressVideoOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressVideoOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;\n */\n value: IngressVideoEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressVideoEncodingOptions options = 4;\n */\n value: IngressVideoEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressVideoEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioEncodingOptions\n */\nexport class IngressAudioEncodingOptions extends Message {\n /**\n * desired audio codec to publish to room\n *\n * @generated from field: livekit.AudioCodec audio_codec = 1;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * @generated from field: uint32 bitrate = 2;\n */\n bitrate = 0;\n\n /**\n * @generated from field: bool disable_dtx = 3;\n */\n disableDtx = false;\n\n /**\n * @generated from field: uint32 channels = 4;\n */\n channels = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 2, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoEncodingOptions\n */\nexport class IngressVideoEncodingOptions extends Message {\n /**\n * desired codec to publish to room\n *\n * @generated from field: livekit.VideoCodec video_codec = 1;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * @generated from field: double frame_rate = 2;\n */\n frameRate = 0;\n\n /**\n * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions\n *\n * @generated from field: repeated livekit.VideoLayer layers = 3;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 2, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 3, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressInfo\n */\nexport class IngressInfo extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string stream_key = 3;\n */\n streamKey = \"\";\n\n /**\n * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)\n *\n * @generated from field: string url = 4;\n */\n url = \"\";\n\n /**\n * for RTMP input, it'll be a rtmp:// URL\n * for FILE input, it'll be a http:// URL\n * for SRT input, it'll be a srt:// URL\n *\n * @generated from field: livekit.IngressInput input_type = 5;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * @generated from field: bool bypass_transcoding = 13 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * @generated from field: optional bool enable_transcoding = 15;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n /**\n * @generated from field: string room_name = 8;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 9;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 10;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 14;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: bool reusable = 11;\n */\n reusable = false;\n\n /**\n * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)\n *\n * @generated from field: livekit.IngressState state = 12;\n */\n state?: IngressState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"stream_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 13, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n { no: 8, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"reusable\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"state\", kind: \"message\", T: IngressState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo {\n return new IngressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo {\n return new IngressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressInfo {\n return new IngressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressState\n */\nexport class IngressState extends Message {\n /**\n * @generated from field: livekit.IngressState.Status status = 1;\n */\n status = IngressState_Status.ENDPOINT_INACTIVE;\n\n /**\n * Error/non compliance description if any\n *\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.InputVideoState video = 3;\n */\n video?: InputVideoState;\n\n /**\n * @generated from field: livekit.InputAudioState audio = 4;\n */\n audio?: InputAudioState;\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: int64 started_at = 7;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 8;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 10;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string resource_id = 9;\n */\n resourceId = \"\";\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 6;\n */\n tracks: TrackInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(IngressState_Status) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video\", kind: \"message\", T: InputVideoState },\n { no: 4, name: \"audio\", kind: \"message\", T: InputAudioState },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"resource_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressState {\n return new IngressState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressState {\n return new IngressState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressState {\n return new IngressState().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressState, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.IngressState.Status\n */\nexport enum IngressState_Status {\n /**\n * @generated from enum value: ENDPOINT_INACTIVE = 0;\n */\n ENDPOINT_INACTIVE = 0,\n\n /**\n * @generated from enum value: ENDPOINT_BUFFERING = 1;\n */\n ENDPOINT_BUFFERING = 1,\n\n /**\n * @generated from enum value: ENDPOINT_PUBLISHING = 2;\n */\n ENDPOINT_PUBLISHING = 2,\n\n /**\n * @generated from enum value: ENDPOINT_ERROR = 3;\n */\n ENDPOINT_ERROR = 3,\n\n /**\n * @generated from enum value: ENDPOINT_COMPLETE = 4;\n */\n ENDPOINT_COMPLETE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressState_Status)\nproto3.util.setEnumType(IngressState_Status, \"livekit.IngressState.Status\", [\n { no: 0, name: \"ENDPOINT_INACTIVE\" },\n { no: 1, name: \"ENDPOINT_BUFFERING\" },\n { no: 2, name: \"ENDPOINT_PUBLISHING\" },\n { no: 3, name: \"ENDPOINT_ERROR\" },\n { no: 4, name: \"ENDPOINT_COMPLETE\" },\n]);\n\n/**\n * @generated from message livekit.InputVideoState\n */\nexport class InputVideoState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 width = 3;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 4;\n */\n height = 0;\n\n /**\n * @generated from field: double framerate = 5;\n */\n framerate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputVideoState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"framerate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState {\n return new InputVideoState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState {\n return new InputVideoState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputVideoState {\n return new InputVideoState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputVideoState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.InputAudioState\n */\nexport class InputAudioState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 channels = 3;\n */\n channels = 0;\n\n /**\n * @generated from field: uint32 sample_rate = 4;\n */\n sampleRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputAudioState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"sample_rate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState {\n return new InputAudioState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState {\n return new InputAudioState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputAudioState {\n return new InputAudioState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputAudioState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateIngressRequest\n */\nexport class UpdateIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 9;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding?: boolean;\n\n /**\n * @generated from field: optional bool enable_transcoding = 10;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 10, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressRequest\n */\nexport class ListIngressRequest extends Message {\n /**\n * when blank, lists all ingress endpoints\n *\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by ingress ID)\n *\n * @generated from field: string ingress_id = 2;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressResponse\n */\nexport class ListIngressResponse extends Message {\n /**\n * @generated from field: repeated livekit.IngressInfo items = 1;\n */\n items: IngressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: IngressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteIngressRequest\n */\nexport class DeleteIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteIngressRequest, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAA2E;AAKpE,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA,gBAAa,KAAb;AAKA,EAAAA,4BAA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EA,OAAO,OAAO,GAA0E,GAAmF;AACzK,WAAO,uBAAO,KAAK,OAAO,uBAAsB,GAAG,CAAC;AAAA,EACtD;AACF;AAhCa,sBAWK,UAAyB;AAX9B,sBAYK,WAAW;AAZhB,sBAaK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC5E,CAAC;AAfI,IAAM,uBAAN;","names":["IngressInput","IngressAudioEncodingPreset","IngressVideoEncodingPreset","IngressState_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts deleted file mode 100644 index 52478b97..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts +++ /dev/null @@ -1,660 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; -/** - * @generated from enum livekit.IngressInput - */ -export declare enum IngressInput { - /** - * @generated from enum value: RTMP_INPUT = 0; - */ - RTMP_INPUT = 0, - /** - * @generated from enum value: WHIP_INPUT = 1; - */ - WHIP_INPUT = 1, - /** - * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream - * - * @generated from enum value: URL_INPUT = 2; - */ - URL_INPUT = 2 -} -/** - * @generated from enum livekit.IngressAudioEncodingPreset - */ -export declare enum IngressAudioEncodingPreset { - /** - * OPUS, 2 channels, 96kbps - * - * @generated from enum value: OPUS_STEREO_96KBPS = 0; - */ - OPUS_STEREO_96KBPS = 0, - /** - * OPUS, 1 channel, 64kbps - * - * @generated from enum value: OPUS_MONO_64KBS = 1; - */ - OPUS_MONO_64KBS = 1 -} -/** - * @generated from enum livekit.IngressVideoEncodingPreset - */ -export declare enum IngressVideoEncodingPreset { - /** - * 1280x720, 30fps, 1900kbps main layer, 3 layers total - * - * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0; - */ - H264_720P_30FPS_3_LAYERS = 0, - /** - * 1980x1080, 30fps, 3500kbps main layer, 3 layers total - * - * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1; - */ - H264_1080P_30FPS_3_LAYERS = 1, - /** - * 960x540, 25fps, 1000kbps main layer, 2 layers total - * - * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2; - */ - H264_540P_25FPS_2_LAYERS = 2, - /** - * 1280x720, 30fps, 1900kbps, no simulcast - * - * @generated from enum value: H264_720P_30FPS_1_LAYER = 3; - */ - H264_720P_30FPS_1_LAYER = 3, - /** - * 1980x1080, 30fps, 3500kbps, no simulcast - * - * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4; - */ - H264_1080P_30FPS_1_LAYER = 4, - /** - * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5; - */ - H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5, - /** - * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6; - */ - H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6, - /** - * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7; - */ - H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7, - /** - * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8; - */ - H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8, - /** - * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9; - */ - H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9 -} -/** - * @generated from message livekit.CreateIngressRequest - */ -export declare class CreateIngressRequest extends Message { - /** - * @generated from field: livekit.IngressInput input_type = 1; - */ - inputType: IngressInput; - /** - * Where to pull media from, only for URL input type - * - * @generated from field: string url = 9; - */ - url: string; - /** - * User provided identifier for the ingress - * - * @generated from field: string name = 2; - */ - name: string; - /** - * room to publish to - * - * @generated from field: string room_name = 3; - */ - roomName: string; - /** - * publish as participant - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - /** - * name of publishing participant (used for display only) - * - * @generated from field: string participant_name = 5; - */ - participantName: string; - /** - * metadata associated with the publishing participant - * - * @generated from field: string participant_metadata = 10; - */ - participantMetadata: string; - /** - * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. - * - * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - bypassTranscoding: boolean; - /** - * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. - * - * @generated from field: optional bool enable_transcoding = 11; - */ - enableTranscoding?: boolean; - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateIngressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest; - static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressAudioOptions - */ -export declare class IngressAudioOptions extends Message { - /** - * @generated from field: string name = 1; - */ - name: string; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - source: TrackSource; - /** - * @generated from oneof livekit.IngressAudioOptions.encoding_options - */ - encodingOptions: { - /** - * @generated from field: livekit.IngressAudioEncodingPreset preset = 3; - */ - value: IngressAudioEncodingPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.IngressAudioEncodingOptions options = 4; - */ - value: IngressAudioEncodingOptions; - case: "options"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressAudioOptions"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions; - static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions; - static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressVideoOptions - */ -export declare class IngressVideoOptions extends Message { - /** - * @generated from field: string name = 1; - */ - name: string; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - source: TrackSource; - /** - * @generated from oneof livekit.IngressVideoOptions.encoding_options - */ - encodingOptions: { - /** - * @generated from field: livekit.IngressVideoEncodingPreset preset = 3; - */ - value: IngressVideoEncodingPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.IngressVideoEncodingOptions options = 4; - */ - value: IngressVideoEncodingOptions; - case: "options"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressVideoOptions"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions; - static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions; - static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressAudioEncodingOptions - */ -export declare class IngressAudioEncodingOptions extends Message { - /** - * desired audio codec to publish to room - * - * @generated from field: livekit.AudioCodec audio_codec = 1; - */ - audioCodec: AudioCodec; - /** - * @generated from field: uint32 bitrate = 2; - */ - bitrate: number; - /** - * @generated from field: bool disable_dtx = 3; - */ - disableDtx: boolean; - /** - * @generated from field: uint32 channels = 4; - */ - channels: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressAudioEncodingOptions"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions; - static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions; - static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressVideoEncodingOptions - */ -export declare class IngressVideoEncodingOptions extends Message { - /** - * desired codec to publish to room - * - * @generated from field: livekit.VideoCodec video_codec = 1; - */ - videoCodec: VideoCodec; - /** - * @generated from field: double frame_rate = 2; - */ - frameRate: number; - /** - * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - * - * @generated from field: repeated livekit.VideoLayer layers = 3; - */ - layers: VideoLayer[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressVideoEncodingOptions"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions; - static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions; - static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressInfo - */ -export declare class IngressInfo extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * @generated from field: string stream_key = 3; - */ - streamKey: string; - /** - * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) - * - * @generated from field: string url = 4; - */ - url: string; - /** - * for RTMP input, it'll be a rtmp:// URL - * for FILE input, it'll be a http:// URL - * for SRT input, it'll be a srt:// URL - * - * @generated from field: livekit.IngressInput input_type = 5; - */ - inputType: IngressInput; - /** - * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; - * @deprecated - */ - bypassTranscoding: boolean; - /** - * @generated from field: optional bool enable_transcoding = 15; - */ - enableTranscoding?: boolean; - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - /** - * @generated from field: string room_name = 8; - */ - roomName: string; - /** - * @generated from field: string participant_identity = 9; - */ - participantIdentity: string; - /** - * @generated from field: string participant_name = 10; - */ - participantName: string; - /** - * @generated from field: string participant_metadata = 14; - */ - participantMetadata: string; - /** - * @generated from field: bool reusable = 11; - */ - reusable: boolean; - /** - * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) - * - * @generated from field: livekit.IngressState state = 12; - */ - state?: IngressState; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo; - static fromJsonString(jsonString: string, options?: Partial): IngressInfo; - static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.IngressState - */ -export declare class IngressState extends Message { - /** - * @generated from field: livekit.IngressState.Status status = 1; - */ - status: IngressState_Status; - /** - * Error/non compliance description if any - * - * @generated from field: string error = 2; - */ - error: string; - /** - * @generated from field: livekit.InputVideoState video = 3; - */ - video?: InputVideoState; - /** - * @generated from field: livekit.InputAudioState audio = 4; - */ - audio?: InputAudioState; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 5; - */ - roomId: string; - /** - * @generated from field: int64 started_at = 7; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 8; - */ - endedAt: bigint; - /** - * @generated from field: int64 updated_at = 10; - */ - updatedAt: bigint; - /** - * @generated from field: string resource_id = 9; - */ - resourceId: string; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 6; - */ - tracks: TrackInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): IngressState; - static fromJson(jsonValue: JsonValue, options?: Partial): IngressState; - static fromJsonString(jsonString: string, options?: Partial): IngressState; - static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.IngressState.Status - */ -export declare enum IngressState_Status { - /** - * @generated from enum value: ENDPOINT_INACTIVE = 0; - */ - ENDPOINT_INACTIVE = 0, - /** - * @generated from enum value: ENDPOINT_BUFFERING = 1; - */ - ENDPOINT_BUFFERING = 1, - /** - * @generated from enum value: ENDPOINT_PUBLISHING = 2; - */ - ENDPOINT_PUBLISHING = 2, - /** - * @generated from enum value: ENDPOINT_ERROR = 3; - */ - ENDPOINT_ERROR = 3, - /** - * @generated from enum value: ENDPOINT_COMPLETE = 4; - */ - ENDPOINT_COMPLETE = 4 -} -/** - * @generated from message livekit.InputVideoState - */ -export declare class InputVideoState extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - averageBitrate: number; - /** - * @generated from field: uint32 width = 3; - */ - width: number; - /** - * @generated from field: uint32 height = 4; - */ - height: number; - /** - * @generated from field: double framerate = 5; - */ - framerate: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.InputVideoState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState; - static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState; - static fromJsonString(jsonString: string, options?: Partial): InputVideoState; - static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.InputAudioState - */ -export declare class InputAudioState extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - averageBitrate: number; - /** - * @generated from field: uint32 channels = 3; - */ - channels: number; - /** - * @generated from field: uint32 sample_rate = 4; - */ - sampleRate: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.InputAudioState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState; - static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState; - static fromJsonString(jsonString: string, options?: Partial): InputAudioState; - static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateIngressRequest - */ -export declare class UpdateIngressRequest extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - /** - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - /** - * @generated from field: string participant_name = 5; - */ - participantName: string; - /** - * @generated from field: string participant_metadata = 9; - */ - participantMetadata: string; - /** - * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - bypassTranscoding?: boolean; - /** - * @generated from field: optional bool enable_transcoding = 10; - */ - enableTranscoding?: boolean; - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateIngressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest; - static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListIngressRequest - */ -export declare class ListIngressRequest extends Message { - /** - * when blank, lists all ingress endpoints - * - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * (optional, filter by ingress ID) - * - * @generated from field: string ingress_id = 2; - */ - ingressId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListIngressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest; - static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest; - static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListIngressResponse - */ -export declare class ListIngressResponse extends Message { - /** - * @generated from field: repeated livekit.IngressInfo items = 1; - */ - items: IngressInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListIngressResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse; - static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse; - static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteIngressRequest - */ -export declare class DeleteIngressRequest extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteIngressRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest; - static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest; - static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_ingress_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map b/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map deleted file mode 100644 index 404d6ad9..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_ingress_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_ingress_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpG;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,UAAU,IAAI;IAEd;;;;OAIG;IACH,SAAS,IAAI;CACd;AAQD;;GAEG;AACH,oBAAY,0BAA0B;IACpC;;;;OAIG;IACH,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,eAAe,IAAI;CACpB;AAOD;;GAEG;AACH,oBAAY,0BAA0B;IACpC;;;;OAIG;IACH,wBAAwB,IAAI;IAE5B;;;;OAIG;IACH,yBAAyB,IAAI;IAE7B;;;;OAIG;IACH,wBAAwB,IAAI;IAE5B;;;;OAIG;IACH,uBAAuB,IAAI;I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,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,oBAAoB;IAI/F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,oBAAoB;IAInG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3K"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.js b/packages/javascript/dist/gen/livekit_ingress_pb.js deleted file mode 100644 index e1216ac1..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.js +++ /dev/null @@ -1,1011 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; -var IngressInput = /* @__PURE__ */ ((IngressInput2) => { - IngressInput2[IngressInput2["RTMP_INPUT"] = 0] = "RTMP_INPUT"; - IngressInput2[IngressInput2["WHIP_INPUT"] = 1] = "WHIP_INPUT"; - IngressInput2[IngressInput2["URL_INPUT"] = 2] = "URL_INPUT"; - return IngressInput2; -})(IngressInput || {}); -proto3.util.setEnumType(IngressInput, "livekit.IngressInput", [ - { no: 0, name: "RTMP_INPUT" }, - { no: 1, name: "WHIP_INPUT" }, - { no: 2, name: "URL_INPUT" } -]); -var IngressAudioEncodingPreset = /* @__PURE__ */ ((IngressAudioEncodingPreset2) => { - IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_STEREO_96KBPS"] = 0] = "OPUS_STEREO_96KBPS"; - IngressAudioEncodingPreset2[IngressAudioEncodingPreset2["OPUS_MONO_64KBS"] = 1] = "OPUS_MONO_64KBS"; - return IngressAudioEncodingPreset2; -})(IngressAudioEncodingPreset || {}); -proto3.util.setEnumType(IngressAudioEncodingPreset, "livekit.IngressAudioEncodingPreset", [ - { no: 0, name: "OPUS_STEREO_96KBPS" }, - { no: 1, name: "OPUS_MONO_64KBS" } -]); -var IngressVideoEncodingPreset = /* @__PURE__ */ ((IngressVideoEncodingPreset2) => { - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS"] = 0] = "H264_720P_30FPS_3_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS"] = 1] = "H264_1080P_30FPS_3_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS"] = 2] = "H264_540P_25FPS_2_LAYERS"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER"] = 3] = "H264_720P_30FPS_1_LAYER"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER"] = 4] = "H264_1080P_30FPS_1_LAYER"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_3_LAYERS_HIGH_MOTION"] = 5] = "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"] = 6] = "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_540P_25FPS_2_LAYERS_HIGH_MOTION"] = 7] = "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_720P_30FPS_1_LAYER_HIGH_MOTION"] = 8] = "H264_720P_30FPS_1_LAYER_HIGH_MOTION"; - IngressVideoEncodingPreset2[IngressVideoEncodingPreset2["H264_1080P_30FPS_1_LAYER_HIGH_MOTION"] = 9] = "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"; - return IngressVideoEncodingPreset2; -})(IngressVideoEncodingPreset || {}); -proto3.util.setEnumType(IngressVideoEncodingPreset, "livekit.IngressVideoEncodingPreset", [ - { no: 0, name: "H264_720P_30FPS_3_LAYERS" }, - { no: 1, name: "H264_1080P_30FPS_3_LAYERS" }, - { no: 2, name: "H264_540P_25FPS_2_LAYERS" }, - { no: 3, name: "H264_720P_30FPS_1_LAYER" }, - { no: 4, name: "H264_1080P_30FPS_1_LAYER" }, - { no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION" }, - { no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION" }, - { no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION" }, - { no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION" }, - { no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION" } -]); -const _CreateIngressRequest = class _CreateIngressRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.IngressInput input_type = 1; - */ - this.inputType = 0 /* RTMP_INPUT */; - /** - * Where to pull media from, only for URL input type - * - * @generated from field: string url = 9; - */ - this.url = ""; - /** - * User provided identifier for the ingress - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * room to publish to - * - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * publish as participant - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * name of publishing participant (used for display only) - * - * @generated from field: string participant_name = 5; - */ - this.participantName = ""; - /** - * metadata associated with the publishing participant - * - * @generated from field: string participant_metadata = 10; - */ - this.participantMetadata = ""; - /** - * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. - * - * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - this.bypassTranscoding = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateIngressRequest, a, b); - } -}; -_CreateIngressRequest.runtime = proto3; -_CreateIngressRequest.typeName = "livekit.CreateIngressRequest"; -_CreateIngressRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, - { - no: 9, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "bypass_transcoding", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions } -]); -let CreateIngressRequest = _CreateIngressRequest; -const _IngressAudioOptions = class _IngressAudioOptions extends Message { - constructor(data) { - super(); - /** - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - this.source = TrackSource.UNKNOWN; - /** - * @generated from oneof livekit.IngressAudioOptions.encoding_options - */ - this.encodingOptions = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressAudioOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressAudioOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressAudioOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressAudioOptions, a, b); - } -}; -_IngressAudioOptions.runtime = proto3; -_IngressAudioOptions.typeName = "livekit.IngressAudioOptions"; -_IngressAudioOptions.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" } -]); -let IngressAudioOptions = _IngressAudioOptions; -const _IngressVideoOptions = class _IngressVideoOptions extends Message { - constructor(data) { - super(); - /** - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackSource source = 2; - */ - this.source = TrackSource.UNKNOWN; - /** - * @generated from oneof livekit.IngressVideoOptions.encoding_options - */ - this.encodingOptions = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressVideoOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressVideoOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressVideoOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressVideoOptions, a, b); - } -}; -_IngressVideoOptions.runtime = proto3; -_IngressVideoOptions.typeName = "livekit.IngressVideoOptions"; -_IngressVideoOptions.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" } -]); -let IngressVideoOptions = _IngressVideoOptions; -const _IngressAudioEncodingOptions = class _IngressAudioEncodingOptions extends Message { - constructor(data) { - super(); - /** - * desired audio codec to publish to room - * - * @generated from field: livekit.AudioCodec audio_codec = 1; - */ - this.audioCodec = AudioCodec.DEFAULT_AC; - /** - * @generated from field: uint32 bitrate = 2; - */ - this.bitrate = 0; - /** - * @generated from field: bool disable_dtx = 3; - */ - this.disableDtx = false; - /** - * @generated from field: uint32 channels = 4; - */ - this.channels = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressAudioEncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressAudioEncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressAudioEncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressAudioEncodingOptions, a, b); - } -}; -_IngressAudioEncodingOptions.runtime = proto3; -_IngressAudioEncodingOptions.typeName = "livekit.IngressAudioEncodingOptions"; -_IngressAudioEncodingOptions.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, - { - no: 2, - name: "bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 4, - name: "channels", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let IngressAudioEncodingOptions = _IngressAudioEncodingOptions; -const _IngressVideoEncodingOptions = class _IngressVideoEncodingOptions extends Message { - constructor(data) { - super(); - /** - * desired codec to publish to room - * - * @generated from field: livekit.VideoCodec video_codec = 1; - */ - this.videoCodec = VideoCodec.DEFAULT_VC; - /** - * @generated from field: double frame_rate = 2; - */ - this.frameRate = 0; - /** - * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - * - * @generated from field: repeated livekit.VideoLayer layers = 3; - */ - this.layers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressVideoEncodingOptions().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressVideoEncodingOptions().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressVideoEncodingOptions().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressVideoEncodingOptions, a, b); - } -}; -_IngressVideoEncodingOptions.runtime = proto3; -_IngressVideoEncodingOptions.typeName = "livekit.IngressVideoEncodingOptions"; -_IngressVideoEncodingOptions.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, - { - no: 2, - name: "frame_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { no: 3, name: "layers", kind: "message", T: VideoLayer, repeated: true } -]); -let IngressVideoEncodingOptions = _IngressVideoEncodingOptions; -const _IngressInfo = class _IngressInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string stream_key = 3; - */ - this.streamKey = ""; - /** - * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) - * - * @generated from field: string url = 4; - */ - this.url = ""; - /** - * for RTMP input, it'll be a rtmp:// URL - * for FILE input, it'll be a http:// URL - * for SRT input, it'll be a srt:// URL - * - * @generated from field: livekit.IngressInput input_type = 5; - */ - this.inputType = 0 /* RTMP_INPUT */; - /** - * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; - * @deprecated - */ - this.bypassTranscoding = false; - /** - * @generated from field: string room_name = 8; - */ - this.roomName = ""; - /** - * @generated from field: string participant_identity = 9; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_name = 10; - */ - this.participantName = ""; - /** - * @generated from field: string participant_metadata = 14; - */ - this.participantMetadata = ""; - /** - * @generated from field: bool reusable = 11; - */ - this.reusable = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressInfo, a, b); - } -}; -_IngressInfo.runtime = proto3; -_IngressInfo.typeName = "livekit.IngressInfo"; -_IngressInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "stream_key", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, - { - no: 13, - name: "bypass_transcoding", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 15, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, - { - no: 8, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 14, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "reusable", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 12, name: "state", kind: "message", T: IngressState } -]); -let IngressInfo = _IngressInfo; -const _IngressState = class _IngressState extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.IngressState.Status status = 1; - */ - this.status = 0 /* ENDPOINT_INACTIVE */; - /** - * Error/non compliance description if any - * - * @generated from field: string error = 2; - */ - this.error = ""; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 5; - */ - this.roomId = ""; - /** - * @generated from field: int64 started_at = 7; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 8; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: int64 updated_at = 10; - */ - this.updatedAt = protoInt64.zero; - /** - * @generated from field: string resource_id = 9; - */ - this.resourceId = ""; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 6; - */ - this.tracks = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _IngressState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _IngressState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _IngressState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_IngressState, a, b); - } -}; -_IngressState.runtime = proto3; -_IngressState.typeName = "livekit.IngressState"; -_IngressState.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(IngressState_Status) }, - { - no: 2, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "video", kind: "message", T: InputVideoState }, - { no: 4, name: "audio", kind: "message", T: InputAudioState }, - { - no: 5, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 8, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 10, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 9, - name: "resource_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true } -]); -let IngressState = _IngressState; -var IngressState_Status = /* @__PURE__ */ ((IngressState_Status2) => { - IngressState_Status2[IngressState_Status2["ENDPOINT_INACTIVE"] = 0] = "ENDPOINT_INACTIVE"; - IngressState_Status2[IngressState_Status2["ENDPOINT_BUFFERING"] = 1] = "ENDPOINT_BUFFERING"; - IngressState_Status2[IngressState_Status2["ENDPOINT_PUBLISHING"] = 2] = "ENDPOINT_PUBLISHING"; - IngressState_Status2[IngressState_Status2["ENDPOINT_ERROR"] = 3] = "ENDPOINT_ERROR"; - IngressState_Status2[IngressState_Status2["ENDPOINT_COMPLETE"] = 4] = "ENDPOINT_COMPLETE"; - return IngressState_Status2; -})(IngressState_Status || {}); -proto3.util.setEnumType(IngressState_Status, "livekit.IngressState.Status", [ - { no: 0, name: "ENDPOINT_INACTIVE" }, - { no: 1, name: "ENDPOINT_BUFFERING" }, - { no: 2, name: "ENDPOINT_PUBLISHING" }, - { no: 3, name: "ENDPOINT_ERROR" }, - { no: 4, name: "ENDPOINT_COMPLETE" } -]); -const _InputVideoState = class _InputVideoState extends Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - this.averageBitrate = 0; - /** - * @generated from field: uint32 width = 3; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 4; - */ - this.height = 0; - /** - * @generated from field: double framerate = 5; - */ - this.framerate = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _InputVideoState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _InputVideoState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _InputVideoState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_InputVideoState, a, b); - } -}; -_InputVideoState.runtime = proto3; -_InputVideoState.typeName = "livekit.InputVideoState"; -_InputVideoState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "average_bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "framerate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let InputVideoState = _InputVideoState; -const _InputAudioState = class _InputAudioState extends Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: uint32 average_bitrate = 2; - */ - this.averageBitrate = 0; - /** - * @generated from field: uint32 channels = 3; - */ - this.channels = 0; - /** - * @generated from field: uint32 sample_rate = 4; - */ - this.sampleRate = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _InputAudioState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _InputAudioState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _InputAudioState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_InputAudioState, a, b); - } -}; -_InputAudioState.runtime = proto3; -_InputAudioState.typeName = "livekit.InputAudioState"; -_InputAudioState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "average_bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "channels", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "sample_rate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let InputAudioState = _InputAudioState; -const _UpdateIngressRequest = class _UpdateIngressRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * @generated from field: string participant_name = 5; - */ - this.participantName = ""; - /** - * @generated from field: string participant_metadata = 9; - */ - this.participantMetadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateIngressRequest, a, b); - } -}; -_UpdateIngressRequest.runtime = proto3; -_UpdateIngressRequest.typeName = "livekit.UpdateIngressRequest"; -_UpdateIngressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions } -]); -let UpdateIngressRequest = _UpdateIngressRequest; -const _ListIngressRequest = class _ListIngressRequest extends Message { - constructor(data) { - super(); - /** - * when blank, lists all ingress endpoints - * - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * (optional, filter by ingress ID) - * - * @generated from field: string ingress_id = 2; - */ - this.ingressId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListIngressRequest, a, b); - } -}; -_ListIngressRequest.runtime = proto3; -_ListIngressRequest.typeName = "livekit.ListIngressRequest"; -_ListIngressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListIngressRequest = _ListIngressRequest; -const _ListIngressResponse = class _ListIngressResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.IngressInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListIngressResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListIngressResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListIngressResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListIngressResponse, a, b); - } -}; -_ListIngressResponse.runtime = proto3; -_ListIngressResponse.typeName = "livekit.ListIngressResponse"; -_ListIngressResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true } -]); -let ListIngressResponse = _ListIngressResponse; -const _DeleteIngressRequest = class _DeleteIngressRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string ingress_id = 1; - */ - this.ingressId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteIngressRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteIngressRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteIngressRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteIngressRequest, a, b); - } -}; -_DeleteIngressRequest.runtime = proto3; -_DeleteIngressRequest.typeName = "livekit.DeleteIngressRequest"; -_DeleteIngressRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ingress_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteIngressRequest = _DeleteIngressRequest; -export { - CreateIngressRequest, - DeleteIngressRequest, - IngressAudioEncodingOptions, - IngressAudioEncodingPreset, - IngressAudioOptions, - IngressInfo, - IngressInput, - IngressState, - IngressState_Status, - IngressVideoEncodingOptions, - IngressVideoEncodingPreset, - IngressVideoOptions, - InputAudioState, - InputVideoState, - ListIngressRequest, - ListIngressResponse, - UpdateIngressRequest -}; -//# sourceMappingURL=livekit_ingress_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_ingress_pb.js.map b/packages/javascript/dist/gen/livekit_ingress_pb.js.map deleted file mode 100644 index 80c814b0..00000000 --- a/packages/javascript/dist/gen/livekit_ingress_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_ingress_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_ingress.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.IngressInput\n */\nexport enum IngressInput {\n /**\n * @generated from enum value: RTMP_INPUT = 0;\n */\n RTMP_INPUT = 0,\n\n /**\n * @generated from enum value: WHIP_INPUT = 1;\n */\n WHIP_INPUT = 1,\n\n /**\n * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream\n *\n * @generated from enum value: URL_INPUT = 2;\n */\n URL_INPUT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressInput)\nproto3.util.setEnumType(IngressInput, \"livekit.IngressInput\", [\n { no: 0, name: \"RTMP_INPUT\" },\n { no: 1, name: \"WHIP_INPUT\" },\n { no: 2, name: \"URL_INPUT\" },\n]);\n\n/**\n * @generated from enum livekit.IngressAudioEncodingPreset\n */\nexport enum IngressAudioEncodingPreset {\n /**\n * OPUS, 2 channels, 96kbps\n *\n * @generated from enum value: OPUS_STEREO_96KBPS = 0;\n */\n OPUS_STEREO_96KBPS = 0,\n\n /**\n * OPUS, 1 channel, 64kbps\n *\n * @generated from enum value: OPUS_MONO_64KBS = 1;\n */\n OPUS_MONO_64KBS = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressAudioEncodingPreset)\nproto3.util.setEnumType(IngressAudioEncodingPreset, \"livekit.IngressAudioEncodingPreset\", [\n { no: 0, name: \"OPUS_STEREO_96KBPS\" },\n { no: 1, name: \"OPUS_MONO_64KBS\" },\n]);\n\n/**\n * @generated from enum livekit.IngressVideoEncodingPreset\n */\nexport enum IngressVideoEncodingPreset {\n /**\n * 1280x720, 30fps, 1900kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0;\n */\n H264_720P_30FPS_3_LAYERS = 0,\n\n /**\n * 1980x1080, 30fps, 3500kbps main layer, 3 layers total\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1;\n */\n H264_1080P_30FPS_3_LAYERS = 1,\n\n /**\n * 960x540, 25fps, 1000kbps main layer, 2 layers total\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2;\n */\n H264_540P_25FPS_2_LAYERS = 2,\n\n /**\n * 1280x720, 30fps, 1900kbps, no simulcast\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER = 3;\n */\n H264_720P_30FPS_1_LAYER = 3,\n\n /**\n * 1980x1080, 30fps, 3500kbps, no simulcast\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4;\n */\n H264_1080P_30FPS_1_LAYER = 4,\n\n /**\n * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5;\n */\n H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5,\n\n /**\n * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6;\n */\n H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6,\n\n /**\n * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7;\n */\n H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7,\n\n /**\n * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8;\n */\n H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8,\n\n /**\n * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content\n *\n * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9;\n */\n H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressVideoEncodingPreset)\nproto3.util.setEnumType(IngressVideoEncodingPreset, \"livekit.IngressVideoEncodingPreset\", [\n { no: 0, name: \"H264_720P_30FPS_3_LAYERS\" },\n { no: 1, name: \"H264_1080P_30FPS_3_LAYERS\" },\n { no: 2, name: \"H264_540P_25FPS_2_LAYERS\" },\n { no: 3, name: \"H264_720P_30FPS_1_LAYER\" },\n { no: 4, name: \"H264_1080P_30FPS_1_LAYER\" },\n { no: 5, name: \"H264_720P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 6, name: \"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\" },\n { no: 7, name: \"H264_540P_25FPS_2_LAYERS_HIGH_MOTION\" },\n { no: 8, name: \"H264_720P_30FPS_1_LAYER_HIGH_MOTION\" },\n { no: 9, name: \"H264_1080P_30FPS_1_LAYER_HIGH_MOTION\" },\n]);\n\n/**\n * @generated from message livekit.CreateIngressRequest\n */\nexport class CreateIngressRequest extends Message {\n /**\n * @generated from field: livekit.IngressInput input_type = 1;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * Where to pull media from, only for URL input type\n *\n * @generated from field: string url = 9;\n */\n url = \"\";\n\n /**\n * User provided identifier for the ingress\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * room to publish to\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * publish as participant\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * name of publishing participant (used for display only)\n *\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * metadata associated with the publishing participant\n *\n * @generated from field: string participant_metadata = 10;\n */\n participantMetadata = \"\";\n\n /**\n * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead.\n *\n * @generated from field: bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. \n *\n * @generated from field: optional bool enable_transcoding = 11;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 9, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest {\n return new CreateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioOptions\n */\nexport class IngressAudioOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressAudioOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressAudioEncodingPreset preset = 3;\n */\n value: IngressAudioEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressAudioEncodingOptions options = 4;\n */\n value: IngressAudioEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressAudioEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions {\n return new IngressAudioOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoOptions\n */\nexport class IngressVideoOptions extends Message {\n /**\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackSource source = 2;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from oneof livekit.IngressVideoOptions.encoding_options\n */\n encodingOptions: {\n /**\n * @generated from field: livekit.IngressVideoEncodingPreset preset = 3;\n */\n value: IngressVideoEncodingPreset;\n case: \"preset\";\n } | {\n /**\n * @generated from field: livekit.IngressVideoEncodingOptions options = 4;\n */\n value: IngressVideoEncodingOptions;\n case: \"options\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 3, name: \"preset\", kind: \"enum\", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: \"encoding_options\" },\n { no: 4, name: \"options\", kind: \"message\", T: IngressVideoEncodingOptions, oneof: \"encoding_options\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions {\n return new IngressVideoOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressAudioEncodingOptions\n */\nexport class IngressAudioEncodingOptions extends Message {\n /**\n * desired audio codec to publish to room\n *\n * @generated from field: livekit.AudioCodec audio_codec = 1;\n */\n audioCodec = AudioCodec.DEFAULT_AC;\n\n /**\n * @generated from field: uint32 bitrate = 2;\n */\n bitrate = 0;\n\n /**\n * @generated from field: bool disable_dtx = 3;\n */\n disableDtx = false;\n\n /**\n * @generated from field: uint32 channels = 4;\n */\n channels = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressAudioEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"audio_codec\", kind: \"enum\", T: proto3.getEnumType(AudioCodec) },\n { no: 2, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions {\n return new IngressAudioEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressAudioEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressVideoEncodingOptions\n */\nexport class IngressVideoEncodingOptions extends Message {\n /**\n * desired codec to publish to room\n *\n * @generated from field: livekit.VideoCodec video_codec = 1;\n */\n videoCodec = VideoCodec.DEFAULT_VC;\n\n /**\n * @generated from field: double frame_rate = 2;\n */\n frameRate = 0;\n\n /**\n * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions\n *\n * @generated from field: repeated livekit.VideoLayer layers = 3;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressVideoEncodingOptions\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video_codec\", kind: \"enum\", T: proto3.getEnumType(VideoCodec) },\n { no: 2, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 3, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions {\n return new IngressVideoEncodingOptions().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressVideoEncodingOptions, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressInfo\n */\nexport class IngressInfo extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string stream_key = 3;\n */\n streamKey = \"\";\n\n /**\n * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)\n *\n * @generated from field: string url = 4;\n */\n url = \"\";\n\n /**\n * for RTMP input, it'll be a rtmp:// URL\n * for FILE input, it'll be a http:// URL\n * for SRT input, it'll be a srt:// URL\n *\n * @generated from field: livekit.IngressInput input_type = 5;\n */\n inputType = IngressInput.RTMP_INPUT;\n\n /**\n * @generated from field: bool bypass_transcoding = 13 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding = false;\n\n /**\n * @generated from field: optional bool enable_transcoding = 15;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n /**\n * @generated from field: string room_name = 8;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 9;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 10;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 14;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: bool reusable = 11;\n */\n reusable = false;\n\n /**\n * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)\n *\n * @generated from field: livekit.IngressState state = 12;\n */\n state?: IngressState;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"stream_key\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"input_type\", kind: \"enum\", T: proto3.getEnumType(IngressInput) },\n { no: 13, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n { no: 8, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"reusable\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"state\", kind: \"message\", T: IngressState },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo {\n return new IngressInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo {\n return new IngressInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressInfo {\n return new IngressInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.IngressState\n */\nexport class IngressState extends Message {\n /**\n * @generated from field: livekit.IngressState.Status status = 1;\n */\n status = IngressState_Status.ENDPOINT_INACTIVE;\n\n /**\n * Error/non compliance description if any\n *\n * @generated from field: string error = 2;\n */\n error = \"\";\n\n /**\n * @generated from field: livekit.InputVideoState video = 3;\n */\n video?: InputVideoState;\n\n /**\n * @generated from field: livekit.InputAudioState audio = 4;\n */\n audio?: InputAudioState;\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 5;\n */\n roomId = \"\";\n\n /**\n * @generated from field: int64 started_at = 7;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 8;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 updated_at = 10;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * @generated from field: string resource_id = 9;\n */\n resourceId = \"\";\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 6;\n */\n tracks: TrackInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.IngressState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"status\", kind: \"enum\", T: proto3.getEnumType(IngressState_Status) },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"video\", kind: \"message\", T: InputVideoState },\n { no: 4, name: \"audio\", kind: \"message\", T: InputAudioState },\n { no: 5, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"resource_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): IngressState {\n return new IngressState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): IngressState {\n return new IngressState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): IngressState {\n return new IngressState().fromJsonString(jsonString, options);\n }\n\n static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean {\n return proto3.util.equals(IngressState, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.IngressState.Status\n */\nexport enum IngressState_Status {\n /**\n * @generated from enum value: ENDPOINT_INACTIVE = 0;\n */\n ENDPOINT_INACTIVE = 0,\n\n /**\n * @generated from enum value: ENDPOINT_BUFFERING = 1;\n */\n ENDPOINT_BUFFERING = 1,\n\n /**\n * @generated from enum value: ENDPOINT_PUBLISHING = 2;\n */\n ENDPOINT_PUBLISHING = 2,\n\n /**\n * @generated from enum value: ENDPOINT_ERROR = 3;\n */\n ENDPOINT_ERROR = 3,\n\n /**\n * @generated from enum value: ENDPOINT_COMPLETE = 4;\n */\n ENDPOINT_COMPLETE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(IngressState_Status)\nproto3.util.setEnumType(IngressState_Status, \"livekit.IngressState.Status\", [\n { no: 0, name: \"ENDPOINT_INACTIVE\" },\n { no: 1, name: \"ENDPOINT_BUFFERING\" },\n { no: 2, name: \"ENDPOINT_PUBLISHING\" },\n { no: 3, name: \"ENDPOINT_ERROR\" },\n { no: 4, name: \"ENDPOINT_COMPLETE\" },\n]);\n\n/**\n * @generated from message livekit.InputVideoState\n */\nexport class InputVideoState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 width = 3;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 4;\n */\n height = 0;\n\n /**\n * @generated from field: double framerate = 5;\n */\n framerate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputVideoState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"framerate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState {\n return new InputVideoState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState {\n return new InputVideoState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputVideoState {\n return new InputVideoState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputVideoState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.InputAudioState\n */\nexport class InputAudioState extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: uint32 average_bitrate = 2;\n */\n averageBitrate = 0;\n\n /**\n * @generated from field: uint32 channels = 3;\n */\n channels = 0;\n\n /**\n * @generated from field: uint32 sample_rate = 4;\n */\n sampleRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.InputAudioState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"average_bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"channels\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"sample_rate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState {\n return new InputAudioState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState {\n return new InputAudioState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): InputAudioState {\n return new InputAudioState().fromJsonString(jsonString, options);\n }\n\n static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean {\n return proto3.util.equals(InputAudioState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateIngressRequest\n */\nexport class UpdateIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string participant_name = 5;\n */\n participantName = \"\";\n\n /**\n * @generated from field: string participant_metadata = 9;\n */\n participantMetadata = \"\";\n\n /**\n * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true];\n * @deprecated\n */\n bypassTranscoding?: boolean;\n\n /**\n * @generated from field: optional bool enable_transcoding = 10;\n */\n enableTranscoding?: boolean;\n\n /**\n * @generated from field: livekit.IngressAudioOptions audio = 6;\n */\n audio?: IngressAudioOptions;\n\n /**\n * @generated from field: livekit.IngressVideoOptions video = 7;\n */\n video?: IngressVideoOptions;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"bypass_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 10, name: \"enable_transcoding\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 6, name: \"audio\", kind: \"message\", T: IngressAudioOptions },\n { no: 7, name: \"video\", kind: \"message\", T: IngressVideoOptions },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest {\n return new UpdateIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressRequest\n */\nexport class ListIngressRequest extends Message {\n /**\n * when blank, lists all ingress endpoints\n *\n * (optional, filter by room name)\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * (optional, filter by ingress ID)\n *\n * @generated from field: string ingress_id = 2;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest {\n return new ListIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListIngressResponse\n */\nexport class ListIngressResponse extends Message {\n /**\n * @generated from field: repeated livekit.IngressInfo items = 1;\n */\n items: IngressInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListIngressResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: IngressInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse {\n return new ListIngressResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListIngressResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteIngressRequest\n */\nexport class DeleteIngressRequest extends Message {\n /**\n * @generated from field: string ingress_id = 1;\n */\n ingressId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteIngressRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ingress_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest {\n return new DeleteIngressRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteIngressRequest, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SA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,IAAI,sBAAqB,EAAE,eAAe,YAAY,OAAO;AAAA,EACtE;AAAA,EAEA,OAAO,OAAO,GAA0E,GAAmF;AACzK,WAAO,OAAO,KAAK,OAAO,uBAAsB,GAAG,CAAC;AAAA,EACtD;AACF;AAhCa,sBAWK,UAAyB;AAX9B,sBAYK,WAAW;AAZhB,sBAaK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC5E,CAAC;AAfI,IAAM,uBAAN;","names":["IngressInput","IngressAudioEncodingPreset","IngressVideoEncodingPreset","IngressState_Status"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.cjs b/packages/javascript/dist/gen/livekit_internal_pb.cjs deleted file mode 100644 index 9deaeba6..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.cjs +++ /dev/null @@ -1,998 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_internal_pb_exports = {}; -__export(livekit_internal_pb_exports, { - ICECandidateType: () => ICECandidateType, - ICEConfig: () => ICEConfig, - Node: () => Node, - NodeState: () => NodeState, - NodeStats: () => NodeStats, - NodeType: () => NodeType, - RoomInternal: () => RoomInternal, - StartSession: () => StartSession -}); -module.exports = __toCommonJS(livekit_internal_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var import_livekit_room_pb = require("./livekit_room_pb.cjs"); -var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); -var import_livekit_agent_dispatch_pb = require("./livekit_agent_dispatch_pb.cjs"); -var NodeType = /* @__PURE__ */ ((NodeType2) => { - NodeType2[NodeType2["SERVER"] = 0] = "SERVER"; - NodeType2[NodeType2["CONTROLLER"] = 1] = "CONTROLLER"; - NodeType2[NodeType2["MEDIA"] = 2] = "MEDIA"; - NodeType2[NodeType2["TURN"] = 4] = "TURN"; - NodeType2[NodeType2["SWEEPER"] = 5] = "SWEEPER"; - NodeType2[NodeType2["DIRECTOR"] = 6] = "DIRECTOR"; - return NodeType2; -})(NodeType || {}); -import_protobuf.proto3.util.setEnumType(NodeType, "livekit.NodeType", [ - { no: 0, name: "SERVER" }, - { no: 1, name: "CONTROLLER" }, - { no: 2, name: "MEDIA" }, - { no: 4, name: "TURN" }, - { no: 5, name: "SWEEPER" }, - { no: 6, name: "DIRECTOR" } -]); -var NodeState = /* @__PURE__ */ ((NodeState2) => { - NodeState2[NodeState2["STARTING_UP"] = 0] = "STARTING_UP"; - NodeState2[NodeState2["SERVING"] = 1] = "SERVING"; - NodeState2[NodeState2["SHUTTING_DOWN"] = 2] = "SHUTTING_DOWN"; - return NodeState2; -})(NodeState || {}); -import_protobuf.proto3.util.setEnumType(NodeState, "livekit.NodeState", [ - { no: 0, name: "STARTING_UP" }, - { no: 1, name: "SERVING" }, - { no: 2, name: "SHUTTING_DOWN" } -]); -var ICECandidateType = /* @__PURE__ */ ((ICECandidateType2) => { - ICECandidateType2[ICECandidateType2["ICT_NONE"] = 0] = "ICT_NONE"; - ICECandidateType2[ICECandidateType2["ICT_TCP"] = 1] = "ICT_TCP"; - ICECandidateType2[ICECandidateType2["ICT_TLS"] = 2] = "ICT_TLS"; - return ICECandidateType2; -})(ICECandidateType || {}); -import_protobuf.proto3.util.setEnumType(ICECandidateType, "livekit.ICECandidateType", [ - { no: 0, name: "ICT_NONE" }, - { no: 1, name: "ICT_TCP" }, - { no: 2, name: "ICT_TLS" } -]); -const _Node = class _Node extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string ip = 2; - */ - this.ip = ""; - /** - * @generated from field: uint32 num_cpus = 3; - */ - this.numCpus = 0; - /** - * @generated from field: livekit.NodeType type = 5; - */ - this.type = 0 /* SERVER */; - /** - * @generated from field: livekit.NodeState state = 6; - */ - this.state = 0 /* STARTING_UP */; - /** - * @generated from field: string region = 7; - */ - this.region = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Node().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Node().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Node().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Node, a, b); - } -}; -_Node.runtime = import_protobuf.proto3; -_Node.typeName = "livekit.Node"; -_Node.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "ip", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "num_cpus", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 4, name: "stats", kind: "message", T: NodeStats }, - { no: 5, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(NodeType) }, - { no: 6, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(NodeState) }, - { - no: 7, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let Node = _Node; -const _NodeStats = class _NodeStats extends import_protobuf.Message { - constructor(data) { - super(); - /** - * when server was started - * - * @generated from field: int64 started_at = 1; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * when server last reported its status - * - * @generated from field: int64 updated_at = 2; - */ - this.updatedAt = import_protobuf.protoInt64.zero; - /** - * room - * - * @generated from field: int32 num_rooms = 3; - */ - this.numRooms = 0; - /** - * @generated from field: int32 num_clients = 4; - */ - this.numClients = 0; - /** - * @generated from field: int32 num_tracks_in = 5; - */ - this.numTracksIn = 0; - /** - * @generated from field: int32 num_tracks_out = 6; - */ - this.numTracksOut = 0; - /** - * @generated from field: int32 num_track_publish_attempts = 36; - */ - this.numTrackPublishAttempts = 0; - /** - * @generated from field: float track_publish_attempts_per_sec = 37; - */ - this.trackPublishAttemptsPerSec = 0; - /** - * @generated from field: int32 num_track_publish_success = 38; - */ - this.numTrackPublishSuccess = 0; - /** - * @generated from field: float track_publish_success_per_sec = 39; - */ - this.trackPublishSuccessPerSec = 0; - /** - * @generated from field: int32 num_track_subscribe_attempts = 40; - */ - this.numTrackSubscribeAttempts = 0; - /** - * @generated from field: float track_subscribe_attempts_per_sec = 41; - */ - this.trackSubscribeAttemptsPerSec = 0; - /** - * @generated from field: int32 num_track_subscribe_success = 42; - */ - this.numTrackSubscribeSuccess = 0; - /** - * @generated from field: float track_subscribe_success_per_sec = 43; - */ - this.trackSubscribeSuccessPerSec = 0; - /** - * packet - * - * @generated from field: uint64 bytes_in = 7; - */ - this.bytesIn = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 bytes_out = 8; - */ - this.bytesOut = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 packets_in = 9; - */ - this.packetsIn = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 packets_out = 10; - */ - this.packetsOut = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 nack_total = 11; - */ - this.nackTotal = import_protobuf.protoInt64.zero; - /** - * @generated from field: float bytes_in_per_sec = 12; - */ - this.bytesInPerSec = 0; - /** - * @generated from field: float bytes_out_per_sec = 13; - */ - this.bytesOutPerSec = 0; - /** - * @generated from field: float packets_in_per_sec = 14; - */ - this.packetsInPerSec = 0; - /** - * @generated from field: float packets_out_per_sec = 15; - */ - this.packetsOutPerSec = 0; - /** - * @generated from field: float nack_per_sec = 16; - */ - this.nackPerSec = 0; - /** - * system - * - * @generated from field: uint32 num_cpus = 17; - */ - this.numCpus = 0; - /** - * @generated from field: float load_avg_last1min = 18; - */ - this.loadAvgLast1min = 0; - /** - * @generated from field: float load_avg_last5min = 19; - */ - this.loadAvgLast5min = 0; - /** - * @generated from field: float load_avg_last15min = 20; - */ - this.loadAvgLast15min = 0; - /** - * @generated from field: float cpu_load = 21; - */ - this.cpuLoad = 0; - /** - * deprecated - * - * @generated from field: float memory_load = 33; - */ - this.memoryLoad = 0; - /** - * @generated from field: uint64 memory_total = 34; - */ - this.memoryTotal = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 memory_used = 35; - */ - this.memoryUsed = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 sys_packets_out = 28; - */ - this.sysPacketsOut = 0; - /** - * @generated from field: uint32 sys_packets_dropped = 29; - */ - this.sysPacketsDropped = 0; - /** - * @generated from field: float sys_packets_out_per_sec = 30; - */ - this.sysPacketsOutPerSec = 0; - /** - * @generated from field: float sys_packets_dropped_per_sec = 31; - */ - this.sysPacketsDroppedPerSec = 0; - /** - * @generated from field: float sys_packets_dropped_pct_per_sec = 32; - */ - this.sysPacketsDroppedPctPerSec = 0; - /** - * retransmissions - * - * @generated from field: uint64 retransmit_bytes_out = 22; - */ - this.retransmitBytesOut = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 retransmit_packets_out = 23; - */ - this.retransmitPacketsOut = import_protobuf.protoInt64.zero; - /** - * @generated from field: float retransmit_bytes_out_per_sec = 24; - */ - this.retransmitBytesOutPerSec = 0; - /** - * @generated from field: float retransmit_packets_out_per_sec = 25; - */ - this.retransmitPacketsOutPerSec = 0; - /** - * participant joins - * - * @generated from field: uint64 participant_signal_connected = 26; - */ - this.participantSignalConnected = import_protobuf.protoInt64.zero; - /** - * @generated from field: float participant_signal_connected_per_sec = 27; - */ - this.participantSignalConnectedPerSec = 0; - /** - * @generated from field: uint64 participant_rtc_connected = 44; - */ - this.participantRtcConnected = import_protobuf.protoInt64.zero; - /** - * @generated from field: float participant_rtc_connected_per_sec = 45; - */ - this.participantRtcConnectedPerSec = 0; - /** - * @generated from field: uint64 participant_rtc_init = 46; - */ - this.participantRtcInit = import_protobuf.protoInt64.zero; - /** - * @generated from field: float participant_rtc_init_per_sec = 47; - */ - this.participantRtcInitPerSec = 0; - /** - * forward metrics - * - * @generated from field: uint32 forward_latency = 48; - */ - this.forwardLatency = 0; - /** - * @generated from field: uint32 forward_jitter = 49; - */ - this.forwardJitter = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _NodeStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _NodeStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _NodeStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_NodeStats, a, b); - } -}; -_NodeStats.runtime = import_protobuf.proto3; -_NodeStats.typeName = "livekit.NodeStats"; -_NodeStats.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "num_rooms", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "num_clients", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 5, - name: "num_tracks_in", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 6, - name: "num_tracks_out", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 36, - name: "num_track_publish_attempts", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 37, - name: "track_publish_attempts_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 38, - name: "num_track_publish_success", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 39, - name: "track_publish_success_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 40, - name: "num_track_subscribe_attempts", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 41, - name: "track_subscribe_attempts_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 42, - name: "num_track_subscribe_success", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 43, - name: "track_subscribe_success_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 7, - name: "bytes_in", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 8, - name: "bytes_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 9, - name: "packets_in", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 10, - name: "packets_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 11, - name: "nack_total", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 12, - name: "bytes_in_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 13, - name: "bytes_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 14, - name: "packets_in_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 15, - name: "packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 16, - name: "nack_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 17, - name: "num_cpus", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 18, - name: "load_avg_last1min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 19, - name: "load_avg_last5min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 20, - name: "load_avg_last15min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 21, - name: "cpu_load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 33, - name: "memory_load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 34, - name: "memory_total", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 35, - name: "memory_used", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 28, - name: "sys_packets_out", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 29, - name: "sys_packets_dropped", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 30, - name: "sys_packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 31, - name: "sys_packets_dropped_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 32, - name: "sys_packets_dropped_pct_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 22, - name: "retransmit_bytes_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 23, - name: "retransmit_packets_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 24, - name: "retransmit_bytes_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 25, - name: "retransmit_packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 26, - name: "participant_signal_connected", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 27, - name: "participant_signal_connected_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 44, - name: "participant_rtc_connected", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 45, - name: "participant_rtc_connected_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 46, - name: "participant_rtc_init", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 47, - name: "participant_rtc_init_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 48, - name: "forward_latency", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 49, - name: "forward_jitter", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let NodeStats = _NodeStats; -const _StartSession = class _StartSession extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: string connection_id = 3; - */ - this.connectionId = ""; - /** - * if a client is reconnecting (i.e. resume instead of restart) - * - * @generated from field: bool reconnect = 4; - */ - this.reconnect = false; - /** - * @generated from field: bool auto_subscribe = 9; - */ - this.autoSubscribe = false; - /** - * @generated from field: bool hidden = 10; - */ - this.hidden = false; - /** - * @generated from field: bool recorder = 12; - */ - this.recorder = false; - /** - * @generated from field: string name = 13; - */ - this.name = ""; - /** - * A user's ClaimGrants serialized in JSON - * - * @generated from field: string grants_json = 14; - */ - this.grantsJson = ""; - /** - * @generated from field: bool adaptive_stream = 15; - */ - this.adaptiveStream = false; - /** - * if reconnect, client will set current sid - * - * @generated from field: string participant_id = 16; - */ - this.participantId = ""; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 17; - */ - this.reconnectReason = import_livekit_models_pb.ReconnectReason.RR_UNKNOWN; - /** - * @generated from field: bool disable_ice_lite = 19; - */ - this.disableIceLite = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StartSession().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StartSession().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StartSession().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StartSession, a, b); - } -}; -_StartSession.runtime = import_protobuf.proto3; -_StartSession.typeName = "livekit.StartSession"; -_StartSession.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "connection_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "reconnect", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 9, - name: "auto_subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "hidden", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "client", kind: "message", T: import_livekit_models_pb.ClientInfo }, - { - no: 12, - name: "recorder", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 14, - name: "grants_json", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 15, - name: "adaptive_stream", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 16, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 17, name: "reconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ReconnectReason) }, - { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true }, - { - no: 19, - name: "disable_ice_lite", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 20, name: "create_room", kind: "message", T: import_livekit_room_pb.CreateRoomRequest } -]); -let StartSession = _StartSession; -const _RoomInternal = class _RoomInternal extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; - */ - this.agentDispatches = []; - /** - * @generated from field: bool sync_streams = 4; - */ - this.syncStreams = false; - /** - * @generated from field: bool replay_enabled = 6; - */ - this.replayEnabled = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomInternal().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomInternal().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomInternal().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomInternal, a, b); - } -}; -_RoomInternal.runtime = import_protobuf.proto3; -_RoomInternal.typeName = "livekit.RoomInternal"; -_RoomInternal.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "track_egress", kind: "message", T: import_livekit_egress_pb.AutoTrackEgress }, - { no: 2, name: "participant_egress", kind: "message", T: import_livekit_egress_pb.AutoParticipantEgress }, - { no: 3, name: "playout_delay", kind: "message", T: import_livekit_models_pb.PlayoutDelay }, - { no: 5, name: "agent_dispatches", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true }, - { - no: 4, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "replay_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let RoomInternal = _RoomInternal; -const _ICEConfig = class _ICEConfig extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ICECandidateType preference_subscriber = 1; - */ - this.preferenceSubscriber = 0 /* ICT_NONE */; - /** - * @generated from field: livekit.ICECandidateType preference_publisher = 2; - */ - this.preferencePublisher = 0 /* ICT_NONE */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ICEConfig().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ICEConfig().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ICEConfig().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ICEConfig, a, b); - } -}; -_ICEConfig.runtime = import_protobuf.proto3; -_ICEConfig.typeName = "livekit.ICEConfig"; -_ICEConfig.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "preference_subscriber", kind: "enum", T: import_protobuf.proto3.getEnumType(ICECandidateType) }, - { no: 2, name: "preference_publisher", kind: "enum", T: import_protobuf.proto3.getEnumType(ICECandidateType) } -]); -let ICEConfig = _ICEConfig; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - ICECandidateType, - ICEConfig, - Node, - NodeState, - NodeStats, - NodeType, - RoomInternal, - StartSession -}); -//# sourceMappingURL=livekit_internal_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.cjs.map b/packages/javascript/dist/gen/livekit_internal_pb.cjs.map deleted file mode 100644 index 1a52ed39..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_internal_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_internal.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ClientInfo, PlayoutDelay, ReconnectReason } from \"./livekit_models_pb.js\";\nimport { CreateRoomRequest } from \"./livekit_room_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress } from \"./livekit_egress_pb.js\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\n\n/**\n * @generated from enum livekit.NodeType\n */\nexport enum NodeType {\n /**\n * @generated from enum value: SERVER = 0;\n */\n SERVER = 0,\n\n /**\n * @generated from enum value: CONTROLLER = 1;\n */\n CONTROLLER = 1,\n\n /**\n * @generated from enum value: MEDIA = 2;\n */\n MEDIA = 2,\n\n /**\n * @generated from enum value: TURN = 4;\n */\n TURN = 4,\n\n /**\n * @generated from enum value: SWEEPER = 5;\n */\n SWEEPER = 5,\n\n /**\n * @generated from enum value: DIRECTOR = 6;\n */\n DIRECTOR = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeType)\nproto3.util.setEnumType(NodeType, \"livekit.NodeType\", [\n { no: 0, name: \"SERVER\" },\n { no: 1, name: \"CONTROLLER\" },\n { no: 2, name: \"MEDIA\" },\n { no: 4, name: \"TURN\" },\n { no: 5, name: \"SWEEPER\" },\n { no: 6, name: \"DIRECTOR\" },\n]);\n\n/**\n * @generated from enum livekit.NodeState\n */\nexport enum NodeState {\n /**\n * @generated from enum value: STARTING_UP = 0;\n */\n STARTING_UP = 0,\n\n /**\n * @generated from enum value: SERVING = 1;\n */\n SERVING = 1,\n\n /**\n * @generated from enum value: SHUTTING_DOWN = 2;\n */\n SHUTTING_DOWN = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeState)\nproto3.util.setEnumType(NodeState, \"livekit.NodeState\", [\n { no: 0, name: \"STARTING_UP\" },\n { no: 1, name: \"SERVING\" },\n { no: 2, name: \"SHUTTING_DOWN\" },\n]);\n\n/**\n * @generated from enum livekit.ICECandidateType\n */\nexport enum ICECandidateType {\n /**\n * @generated from enum value: ICT_NONE = 0;\n */\n ICT_NONE = 0,\n\n /**\n * @generated from enum value: ICT_TCP = 1;\n */\n ICT_TCP = 1,\n\n /**\n * @generated from enum value: ICT_TLS = 2;\n */\n ICT_TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ICECandidateType)\nproto3.util.setEnumType(ICECandidateType, \"livekit.ICECandidateType\", [\n { no: 0, name: \"ICT_NONE\" },\n { no: 1, name: \"ICT_TCP\" },\n { no: 2, name: \"ICT_TLS\" },\n]);\n\n/**\n * @generated from message livekit.Node\n */\nexport class Node extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string ip = 2;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 num_cpus = 3;\n */\n numCpus = 0;\n\n /**\n * @generated from field: livekit.NodeStats stats = 4;\n */\n stats?: NodeStats;\n\n /**\n * @generated from field: livekit.NodeType type = 5;\n */\n type = NodeType.SERVER;\n\n /**\n * @generated from field: livekit.NodeState state = 6;\n */\n state = NodeState.STARTING_UP;\n\n /**\n * @generated from field: string region = 7;\n */\n region = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Node\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"stats\", kind: \"message\", T: NodeStats },\n { no: 5, name: \"type\", kind: \"enum\", T: proto3.getEnumType(NodeType) },\n { no: 6, name: \"state\", kind: \"enum\", T: proto3.getEnumType(NodeState) },\n { no: 7, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Node {\n return new Node().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Node {\n return new Node().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Node {\n return new Node().fromJsonString(jsonString, options);\n }\n\n static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean {\n return proto3.util.equals(Node, a, b);\n }\n}\n\n/**\n * @generated from message livekit.NodeStats\n */\nexport class NodeStats extends Message {\n /**\n * when server was started\n *\n * @generated from field: int64 started_at = 1;\n */\n startedAt = protoInt64.zero;\n\n /**\n * when server last reported its status\n *\n * @generated from field: int64 updated_at = 2;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * room\n *\n * @generated from field: int32 num_rooms = 3;\n */\n numRooms = 0;\n\n /**\n * @generated from field: int32 num_clients = 4;\n */\n numClients = 0;\n\n /**\n * @generated from field: int32 num_tracks_in = 5;\n */\n numTracksIn = 0;\n\n /**\n * @generated from field: int32 num_tracks_out = 6;\n */\n numTracksOut = 0;\n\n /**\n * @generated from field: int32 num_track_publish_attempts = 36;\n */\n numTrackPublishAttempts = 0;\n\n /**\n * @generated from field: float track_publish_attempts_per_sec = 37;\n */\n trackPublishAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_publish_success = 38;\n */\n numTrackPublishSuccess = 0;\n\n /**\n * @generated from field: float track_publish_success_per_sec = 39;\n */\n trackPublishSuccessPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_attempts = 40;\n */\n numTrackSubscribeAttempts = 0;\n\n /**\n * @generated from field: float track_subscribe_attempts_per_sec = 41;\n */\n trackSubscribeAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_success = 42;\n */\n numTrackSubscribeSuccess = 0;\n\n /**\n * @generated from field: float track_subscribe_success_per_sec = 43;\n */\n trackSubscribeSuccessPerSec = 0;\n\n /**\n * packet\n *\n * @generated from field: uint64 bytes_in = 7;\n */\n bytesIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 bytes_out = 8;\n */\n bytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_in = 9;\n */\n packetsIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_out = 10;\n */\n packetsOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 nack_total = 11;\n */\n nackTotal = protoInt64.zero;\n\n /**\n * @generated from field: float bytes_in_per_sec = 12;\n */\n bytesInPerSec = 0;\n\n /**\n * @generated from field: float bytes_out_per_sec = 13;\n */\n bytesOutPerSec = 0;\n\n /**\n * @generated from field: float packets_in_per_sec = 14;\n */\n packetsInPerSec = 0;\n\n /**\n * @generated from field: float packets_out_per_sec = 15;\n */\n packetsOutPerSec = 0;\n\n /**\n * @generated from field: float nack_per_sec = 16;\n */\n nackPerSec = 0;\n\n /**\n * system\n *\n * @generated from field: uint32 num_cpus = 17;\n */\n numCpus = 0;\n\n /**\n * @generated from field: float load_avg_last1min = 18;\n */\n loadAvgLast1min = 0;\n\n /**\n * @generated from field: float load_avg_last5min = 19;\n */\n loadAvgLast5min = 0;\n\n /**\n * @generated from field: float load_avg_last15min = 20;\n */\n loadAvgLast15min = 0;\n\n /**\n * @generated from field: float cpu_load = 21;\n */\n cpuLoad = 0;\n\n /**\n * deprecated\n *\n * @generated from field: float memory_load = 33;\n */\n memoryLoad = 0;\n\n /**\n * @generated from field: uint64 memory_total = 34;\n */\n memoryTotal = protoInt64.zero;\n\n /**\n * @generated from field: uint64 memory_used = 35;\n */\n memoryUsed = protoInt64.zero;\n\n /**\n * @generated from field: uint32 sys_packets_out = 28;\n */\n sysPacketsOut = 0;\n\n /**\n * @generated from field: uint32 sys_packets_dropped = 29;\n */\n sysPacketsDropped = 0;\n\n /**\n * @generated from field: float sys_packets_out_per_sec = 30;\n */\n sysPacketsOutPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_per_sec = 31;\n */\n sysPacketsDroppedPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_pct_per_sec = 32;\n */\n sysPacketsDroppedPctPerSec = 0;\n\n /**\n * retransmissions\n *\n * @generated from field: uint64 retransmit_bytes_out = 22;\n */\n retransmitBytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 retransmit_packets_out = 23;\n */\n retransmitPacketsOut = protoInt64.zero;\n\n /**\n * @generated from field: float retransmit_bytes_out_per_sec = 24;\n */\n retransmitBytesOutPerSec = 0;\n\n /**\n * @generated from field: float retransmit_packets_out_per_sec = 25;\n */\n retransmitPacketsOutPerSec = 0;\n\n /**\n * participant joins\n *\n * @generated from field: uint64 participant_signal_connected = 26;\n */\n participantSignalConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_signal_connected_per_sec = 27;\n */\n participantSignalConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_connected = 44;\n */\n participantRtcConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_connected_per_sec = 45;\n */\n participantRtcConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_init = 46;\n */\n participantRtcInit = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_init_per_sec = 47;\n */\n participantRtcInitPerSec = 0;\n\n /**\n * forward metrics\n *\n * @generated from field: uint32 forward_latency = 48;\n */\n forwardLatency = 0;\n\n /**\n * @generated from field: uint32 forward_jitter = 49;\n */\n forwardJitter = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.NodeStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"num_rooms\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"num_clients\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"num_tracks_in\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"num_tracks_out\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 36, name: \"num_track_publish_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 37, name: \"track_publish_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 38, name: \"num_track_publish_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 39, name: \"track_publish_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 40, name: \"num_track_subscribe_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 41, name: \"track_subscribe_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 42, name: \"num_track_subscribe_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 43, name: \"track_subscribe_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 7, name: \"bytes_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 9, name: \"packets_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 10, name: \"packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 11, name: \"nack_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 12, name: \"bytes_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 14, name: \"packets_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 15, name: \"packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 16, name: \"nack_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 17, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 18, name: \"load_avg_last1min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 19, name: \"load_avg_last5min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 20, name: \"load_avg_last15min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 21, name: \"cpu_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 33, name: \"memory_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 34, name: \"memory_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 35, name: \"memory_used\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 28, name: \"sys_packets_out\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 29, name: \"sys_packets_dropped\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"sys_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 31, name: \"sys_packets_dropped_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 32, name: \"sys_packets_dropped_pct_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 22, name: \"retransmit_bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 23, name: \"retransmit_packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 24, name: \"retransmit_bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 25, name: \"retransmit_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 26, name: \"participant_signal_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 27, name: \"participant_signal_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 44, name: \"participant_rtc_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 45, name: \"participant_rtc_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 46, name: \"participant_rtc_init\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 47, name: \"participant_rtc_init_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 48, name: \"forward_latency\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 49, name: \"forward_jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats {\n return new NodeStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats {\n return new NodeStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): NodeStats {\n return new NodeStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(NodeStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StartSession\n */\nexport class StartSession extends Message {\n /**\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string connection_id = 3;\n */\n connectionId = \"\";\n\n /**\n * if a client is reconnecting (i.e. resume instead of restart)\n *\n * @generated from field: bool reconnect = 4;\n */\n reconnect = false;\n\n /**\n * @generated from field: bool auto_subscribe = 9;\n */\n autoSubscribe = false;\n\n /**\n * @generated from field: bool hidden = 10;\n */\n hidden = false;\n\n /**\n * @generated from field: livekit.ClientInfo client = 11;\n */\n client?: ClientInfo;\n\n /**\n * @generated from field: bool recorder = 12;\n */\n recorder = false;\n\n /**\n * @generated from field: string name = 13;\n */\n name = \"\";\n\n /**\n * A user's ClaimGrants serialized in JSON\n *\n * @generated from field: string grants_json = 14;\n */\n grantsJson = \"\";\n\n /**\n * @generated from field: bool adaptive_stream = 15;\n */\n adaptiveStream = false;\n\n /**\n * if reconnect, client will set current sid\n *\n * @generated from field: string participant_id = 16;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 17;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional bool subscriber_allow_pause = 18;\n */\n subscriberAllowPause?: boolean;\n\n /**\n * @generated from field: bool disable_ice_lite = 19;\n */\n disableIceLite = false;\n\n /**\n * @generated from field: livekit.CreateRoomRequest create_room = 20;\n */\n createRoom?: CreateRoomRequest;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StartSession\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"connection_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"auto_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"client\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"grants_json\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"adaptive_stream\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 18, name: \"subscriber_allow_pause\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 19, name: \"disable_ice_lite\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 20, name: \"create_room\", kind: \"message\", T: CreateRoomRequest },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StartSession {\n return new StartSession().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StartSession {\n return new StartSession().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StartSession {\n return new StartSession().fromJsonString(jsonString, options);\n }\n\n static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean {\n return proto3.util.equals(StartSession, a, b);\n }\n}\n\n/**\n * room info that should not be returned to clients\n *\n * @generated from message livekit.RoomInternal\n */\nexport class RoomInternal extends Message {\n /**\n * @generated from field: livekit.AutoTrackEgress track_egress = 1;\n */\n trackEgress?: AutoTrackEgress;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant_egress = 2;\n */\n participantEgress?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.PlayoutDelay playout_delay = 3;\n */\n playoutDelay?: PlayoutDelay;\n\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5;\n */\n agentDispatches: RoomAgentDispatch[] = [];\n\n /**\n * @generated from field: bool sync_streams = 4;\n */\n syncStreams = false;\n\n /**\n * @generated from field: bool replay_enabled = 6;\n */\n replayEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomInternal\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_egress\", kind: \"message\", T: AutoTrackEgress },\n { no: 2, name: \"participant_egress\", kind: \"message\", T: AutoParticipantEgress },\n { no: 3, name: \"playout_delay\", kind: \"message\", T: PlayoutDelay },\n { no: 5, name: \"agent_dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n { no: 4, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal {\n return new RoomInternal().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal {\n return new RoomInternal().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomInternal {\n return new RoomInternal().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomInternal, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEConfig\n */\nexport class ICEConfig extends Message {\n /**\n * @generated from field: livekit.ICECandidateType preference_subscriber = 1;\n */\n preferenceSubscriber = ICECandidateType.ICT_NONE;\n\n /**\n * @generated from field: livekit.ICECandidateType preference_publisher = 2;\n */\n preferencePublisher = ICECandidateType.ICT_NONE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preference_subscriber\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n { no: 2, name: \"preference_publisher\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig {\n return new ICEConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig {\n return new ICEConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEConfig {\n return new ICEConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEConfig, a, b);\n }\n}\n\n"],"mappings":";;;;;;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AAA,EAClD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA+C;AACnF,WAAO,IAAI,WAAU,EAAE,SAAS,WAAW,OAAO;AAAA,EACpD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA+C;AACvF,WAAO,IAAI,WAAU,EAAE,eAAe,YAAY,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,OAAO,GAAoD,GAA6D;AAC7H,WAAO,uBAAO,KAAK,OAAO,YAAW,GAAG,CAAC;AAAA,EAC3C;AACF;AAtCa,WAgBK,UAAyB;AAhB9B,WAiBK,WAAW;AAjBhB,WAkBK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,yBAAyB,MAAM,QAAQ,GAAG,uBAAO,YAAY,gBAAgB,EAAE;AAAA,EAC9F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,QAAQ,GAAG,uBAAO,YAAY,gBAAgB,EAAE;AAC/F,CAAC;AArBI,IAAM,YAAN;","names":["NodeType","NodeState","ICECandidateType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.d.ts b/packages/javascript/dist/gen/livekit_internal_pb.d.ts deleted file mode 100644 index cb4ed07f..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.d.ts +++ /dev/null @@ -1,481 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; -import { CreateRoomRequest } from "./livekit_room_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -/** - * @generated from enum livekit.NodeType - */ -export declare enum NodeType { - /** - * @generated from enum value: SERVER = 0; - */ - SERVER = 0, - /** - * @generated from enum value: CONTROLLER = 1; - */ - CONTROLLER = 1, - /** - * @generated from enum value: MEDIA = 2; - */ - MEDIA = 2, - /** - * @generated from enum value: TURN = 4; - */ - TURN = 4, - /** - * @generated from enum value: SWEEPER = 5; - */ - SWEEPER = 5, - /** - * @generated from enum value: DIRECTOR = 6; - */ - DIRECTOR = 6 -} -/** - * @generated from enum livekit.NodeState - */ -export declare enum NodeState { - /** - * @generated from enum value: STARTING_UP = 0; - */ - STARTING_UP = 0, - /** - * @generated from enum value: SERVING = 1; - */ - SERVING = 1, - /** - * @generated from enum value: SHUTTING_DOWN = 2; - */ - SHUTTING_DOWN = 2 -} -/** - * @generated from enum livekit.ICECandidateType - */ -export declare enum ICECandidateType { - /** - * @generated from enum value: ICT_NONE = 0; - */ - ICT_NONE = 0, - /** - * @generated from enum value: ICT_TCP = 1; - */ - ICT_TCP = 1, - /** - * @generated from enum value: ICT_TLS = 2; - */ - ICT_TLS = 2 -} -/** - * @generated from message livekit.Node - */ -export declare class Node extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string ip = 2; - */ - ip: string; - /** - * @generated from field: uint32 num_cpus = 3; - */ - numCpus: number; - /** - * @generated from field: livekit.NodeStats stats = 4; - */ - stats?: NodeStats; - /** - * @generated from field: livekit.NodeType type = 5; - */ - type: NodeType; - /** - * @generated from field: livekit.NodeState state = 6; - */ - state: NodeState; - /** - * @generated from field: string region = 7; - */ - region: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Node"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Node; - static fromJson(jsonValue: JsonValue, options?: Partial): Node; - static fromJsonString(jsonString: string, options?: Partial): Node; - static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.NodeStats - */ -export declare class NodeStats extends Message { - /** - * when server was started - * - * @generated from field: int64 started_at = 1; - */ - startedAt: bigint; - /** - * when server last reported its status - * - * @generated from field: int64 updated_at = 2; - */ - updatedAt: bigint; - /** - * room - * - * @generated from field: int32 num_rooms = 3; - */ - numRooms: number; - /** - * @generated from field: int32 num_clients = 4; - */ - numClients: number; - /** - * @generated from field: int32 num_tracks_in = 5; - */ - numTracksIn: number; - /** - * @generated from field: int32 num_tracks_out = 6; - */ - numTracksOut: number; - /** - * @generated from field: int32 num_track_publish_attempts = 36; - */ - numTrackPublishAttempts: number; - /** - * @generated from field: float track_publish_attempts_per_sec = 37; - */ - trackPublishAttemptsPerSec: number; - /** - * @generated from field: int32 num_track_publish_success = 38; - */ - numTrackPublishSuccess: number; - /** - * @generated from field: float track_publish_success_per_sec = 39; - */ - trackPublishSuccessPerSec: number; - /** - * @generated from field: int32 num_track_subscribe_attempts = 40; - */ - numTrackSubscribeAttempts: number; - /** - * @generated from field: float track_subscribe_attempts_per_sec = 41; - */ - trackSubscribeAttemptsPerSec: number; - /** - * @generated from field: int32 num_track_subscribe_success = 42; - */ - numTrackSubscribeSuccess: number; - /** - * @generated from field: float track_subscribe_success_per_sec = 43; - */ - trackSubscribeSuccessPerSec: number; - /** - * packet - * - * @generated from field: uint64 bytes_in = 7; - */ - bytesIn: bigint; - /** - * @generated from field: uint64 bytes_out = 8; - */ - bytesOut: bigint; - /** - * @generated from field: uint64 packets_in = 9; - */ - packetsIn: bigint; - /** - * @generated from field: uint64 packets_out = 10; - */ - packetsOut: bigint; - /** - * @generated from field: uint64 nack_total = 11; - */ - nackTotal: bigint; - /** - * @generated from field: float bytes_in_per_sec = 12; - */ - bytesInPerSec: number; - /** - * @generated from field: float bytes_out_per_sec = 13; - */ - bytesOutPerSec: number; - /** - * @generated from field: float packets_in_per_sec = 14; - */ - packetsInPerSec: number; - /** - * @generated from field: float packets_out_per_sec = 15; - */ - packetsOutPerSec: number; - /** - * @generated from field: float nack_per_sec = 16; - */ - nackPerSec: number; - /** - * system - * - * @generated from field: uint32 num_cpus = 17; - */ - numCpus: number; - /** - * @generated from field: float load_avg_last1min = 18; - */ - loadAvgLast1min: number; - /** - * @generated from field: float load_avg_last5min = 19; - */ - loadAvgLast5min: number; - /** - * @generated from field: float load_avg_last15min = 20; - */ - loadAvgLast15min: number; - /** - * @generated from field: float cpu_load = 21; - */ - cpuLoad: number; - /** - * deprecated - * - * @generated from field: float memory_load = 33; - */ - memoryLoad: number; - /** - * @generated from field: uint64 memory_total = 34; - */ - memoryTotal: bigint; - /** - * @generated from field: uint64 memory_used = 35; - */ - memoryUsed: bigint; - /** - * @generated from field: uint32 sys_packets_out = 28; - */ - sysPacketsOut: number; - /** - * @generated from field: uint32 sys_packets_dropped = 29; - */ - sysPacketsDropped: number; - /** - * @generated from field: float sys_packets_out_per_sec = 30; - */ - sysPacketsOutPerSec: number; - /** - * @generated from field: float sys_packets_dropped_per_sec = 31; - */ - sysPacketsDroppedPerSec: number; - /** - * @generated from field: float sys_packets_dropped_pct_per_sec = 32; - */ - sysPacketsDroppedPctPerSec: number; - /** - * retransmissions - * - * @generated from field: uint64 retransmit_bytes_out = 22; - */ - retransmitBytesOut: bigint; - /** - * @generated from field: uint64 retransmit_packets_out = 23; - */ - retransmitPacketsOut: bigint; - /** - * @generated from field: float retransmit_bytes_out_per_sec = 24; - */ - retransmitBytesOutPerSec: number; - /** - * @generated from field: float retransmit_packets_out_per_sec = 25; - */ - retransmitPacketsOutPerSec: number; - /** - * participant joins - * - * @generated from field: uint64 participant_signal_connected = 26; - */ - participantSignalConnected: bigint; - /** - * @generated from field: float participant_signal_connected_per_sec = 27; - */ - participantSignalConnectedPerSec: number; - /** - * @generated from field: uint64 participant_rtc_connected = 44; - */ - participantRtcConnected: bigint; - /** - * @generated from field: float participant_rtc_connected_per_sec = 45; - */ - participantRtcConnectedPerSec: number; - /** - * @generated from field: uint64 participant_rtc_init = 46; - */ - participantRtcInit: bigint; - /** - * @generated from field: float participant_rtc_init_per_sec = 47; - */ - participantRtcInitPerSec: number; - /** - * forward metrics - * - * @generated from field: uint32 forward_latency = 48; - */ - forwardLatency: number; - /** - * @generated from field: uint32 forward_jitter = 49; - */ - forwardJitter: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.NodeStats"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats; - static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats; - static fromJsonString(jsonString: string, options?: Partial): NodeStats; - static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StartSession - */ -export declare class StartSession extends Message { - /** - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * @generated from field: string connection_id = 3; - */ - connectionId: string; - /** - * if a client is reconnecting (i.e. resume instead of restart) - * - * @generated from field: bool reconnect = 4; - */ - reconnect: boolean; - /** - * @generated from field: bool auto_subscribe = 9; - */ - autoSubscribe: boolean; - /** - * @generated from field: bool hidden = 10; - */ - hidden: boolean; - /** - * @generated from field: livekit.ClientInfo client = 11; - */ - client?: ClientInfo; - /** - * @generated from field: bool recorder = 12; - */ - recorder: boolean; - /** - * @generated from field: string name = 13; - */ - name: string; - /** - * A user's ClaimGrants serialized in JSON - * - * @generated from field: string grants_json = 14; - */ - grantsJson: string; - /** - * @generated from field: bool adaptive_stream = 15; - */ - adaptiveStream: boolean; - /** - * if reconnect, client will set current sid - * - * @generated from field: string participant_id = 16; - */ - participantId: string; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 17; - */ - reconnectReason: ReconnectReason; - /** - * @generated from field: optional bool subscriber_allow_pause = 18; - */ - subscriberAllowPause?: boolean; - /** - * @generated from field: bool disable_ice_lite = 19; - */ - disableIceLite: boolean; - /** - * @generated from field: livekit.CreateRoomRequest create_room = 20; - */ - createRoom?: CreateRoomRequest; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StartSession"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StartSession; - static fromJson(jsonValue: JsonValue, options?: Partial): StartSession; - static fromJsonString(jsonString: string, options?: Partial): StartSession; - static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean; -} -/** - * room info that should not be returned to clients - * - * @generated from message livekit.RoomInternal - */ -export declare class RoomInternal extends Message { - /** - * @generated from field: livekit.AutoTrackEgress track_egress = 1; - */ - trackEgress?: AutoTrackEgress; - /** - * @generated from field: livekit.AutoParticipantEgress participant_egress = 2; - */ - participantEgress?: AutoParticipantEgress; - /** - * @generated from field: livekit.PlayoutDelay playout_delay = 3; - */ - playoutDelay?: PlayoutDelay; - /** - * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; - */ - agentDispatches: RoomAgentDispatch[]; - /** - * @generated from field: bool sync_streams = 4; - */ - syncStreams: boolean; - /** - * @generated from field: bool replay_enabled = 6; - */ - replayEnabled: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomInternal"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal; - static fromJsonString(jsonString: string, options?: Partial): RoomInternal; - static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ICEConfig - */ -export declare class ICEConfig extends Message { - /** - * @generated from field: livekit.ICECandidateType preference_subscriber = 1; - */ - preferenceSubscriber: ICECandidateType; - /** - * @generated from field: livekit.ICECandidateType preference_publisher = 2; - */ - preferencePublisher: ICECandidateType; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ICEConfig"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig; - static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig; - static fromJsonString(jsonString: string, options?: Partial): ICEConfig; - static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_internal_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map b/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map deleted file mode 100644 index 3d350642..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_internal_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_internal_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE;;GAEG;AACH,oBAAY,QAAQ;IAClB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,QAAQ,IAAI;CACb;AAWD;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,aAAa,IAAI;CAClB;AAQD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,OAAO,IAAI;CACZ;AAQD;;GAEG;AACH,qBAAa,IAAK,SAAQ,OAAO,CAAC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AK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAS;IAIrF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS;IAIpF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/H"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.js b/packages/javascript/dist/gen/livekit_internal_pb.js deleted file mode 100644 index 3d75154e..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.js +++ /dev/null @@ -1,968 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; -import { CreateRoomRequest } from "./livekit_room_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -var NodeType = /* @__PURE__ */ ((NodeType2) => { - NodeType2[NodeType2["SERVER"] = 0] = "SERVER"; - NodeType2[NodeType2["CONTROLLER"] = 1] = "CONTROLLER"; - NodeType2[NodeType2["MEDIA"] = 2] = "MEDIA"; - NodeType2[NodeType2["TURN"] = 4] = "TURN"; - NodeType2[NodeType2["SWEEPER"] = 5] = "SWEEPER"; - NodeType2[NodeType2["DIRECTOR"] = 6] = "DIRECTOR"; - return NodeType2; -})(NodeType || {}); -proto3.util.setEnumType(NodeType, "livekit.NodeType", [ - { no: 0, name: "SERVER" }, - { no: 1, name: "CONTROLLER" }, - { no: 2, name: "MEDIA" }, - { no: 4, name: "TURN" }, - { no: 5, name: "SWEEPER" }, - { no: 6, name: "DIRECTOR" } -]); -var NodeState = /* @__PURE__ */ ((NodeState2) => { - NodeState2[NodeState2["STARTING_UP"] = 0] = "STARTING_UP"; - NodeState2[NodeState2["SERVING"] = 1] = "SERVING"; - NodeState2[NodeState2["SHUTTING_DOWN"] = 2] = "SHUTTING_DOWN"; - return NodeState2; -})(NodeState || {}); -proto3.util.setEnumType(NodeState, "livekit.NodeState", [ - { no: 0, name: "STARTING_UP" }, - { no: 1, name: "SERVING" }, - { no: 2, name: "SHUTTING_DOWN" } -]); -var ICECandidateType = /* @__PURE__ */ ((ICECandidateType2) => { - ICECandidateType2[ICECandidateType2["ICT_NONE"] = 0] = "ICT_NONE"; - ICECandidateType2[ICECandidateType2["ICT_TCP"] = 1] = "ICT_TCP"; - ICECandidateType2[ICECandidateType2["ICT_TLS"] = 2] = "ICT_TLS"; - return ICECandidateType2; -})(ICECandidateType || {}); -proto3.util.setEnumType(ICECandidateType, "livekit.ICECandidateType", [ - { no: 0, name: "ICT_NONE" }, - { no: 1, name: "ICT_TCP" }, - { no: 2, name: "ICT_TLS" } -]); -const _Node = class _Node extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string ip = 2; - */ - this.ip = ""; - /** - * @generated from field: uint32 num_cpus = 3; - */ - this.numCpus = 0; - /** - * @generated from field: livekit.NodeType type = 5; - */ - this.type = 0 /* SERVER */; - /** - * @generated from field: livekit.NodeState state = 6; - */ - this.state = 0 /* STARTING_UP */; - /** - * @generated from field: string region = 7; - */ - this.region = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Node().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Node().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Node().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Node, a, b); - } -}; -_Node.runtime = proto3; -_Node.typeName = "livekit.Node"; -_Node.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "ip", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "num_cpus", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 4, name: "stats", kind: "message", T: NodeStats }, - { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) }, - { no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) }, - { - no: 7, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let Node = _Node; -const _NodeStats = class _NodeStats extends Message { - constructor(data) { - super(); - /** - * when server was started - * - * @generated from field: int64 started_at = 1; - */ - this.startedAt = protoInt64.zero; - /** - * when server last reported its status - * - * @generated from field: int64 updated_at = 2; - */ - this.updatedAt = protoInt64.zero; - /** - * room - * - * @generated from field: int32 num_rooms = 3; - */ - this.numRooms = 0; - /** - * @generated from field: int32 num_clients = 4; - */ - this.numClients = 0; - /** - * @generated from field: int32 num_tracks_in = 5; - */ - this.numTracksIn = 0; - /** - * @generated from field: int32 num_tracks_out = 6; - */ - this.numTracksOut = 0; - /** - * @generated from field: int32 num_track_publish_attempts = 36; - */ - this.numTrackPublishAttempts = 0; - /** - * @generated from field: float track_publish_attempts_per_sec = 37; - */ - this.trackPublishAttemptsPerSec = 0; - /** - * @generated from field: int32 num_track_publish_success = 38; - */ - this.numTrackPublishSuccess = 0; - /** - * @generated from field: float track_publish_success_per_sec = 39; - */ - this.trackPublishSuccessPerSec = 0; - /** - * @generated from field: int32 num_track_subscribe_attempts = 40; - */ - this.numTrackSubscribeAttempts = 0; - /** - * @generated from field: float track_subscribe_attempts_per_sec = 41; - */ - this.trackSubscribeAttemptsPerSec = 0; - /** - * @generated from field: int32 num_track_subscribe_success = 42; - */ - this.numTrackSubscribeSuccess = 0; - /** - * @generated from field: float track_subscribe_success_per_sec = 43; - */ - this.trackSubscribeSuccessPerSec = 0; - /** - * packet - * - * @generated from field: uint64 bytes_in = 7; - */ - this.bytesIn = protoInt64.zero; - /** - * @generated from field: uint64 bytes_out = 8; - */ - this.bytesOut = protoInt64.zero; - /** - * @generated from field: uint64 packets_in = 9; - */ - this.packetsIn = protoInt64.zero; - /** - * @generated from field: uint64 packets_out = 10; - */ - this.packetsOut = protoInt64.zero; - /** - * @generated from field: uint64 nack_total = 11; - */ - this.nackTotal = protoInt64.zero; - /** - * @generated from field: float bytes_in_per_sec = 12; - */ - this.bytesInPerSec = 0; - /** - * @generated from field: float bytes_out_per_sec = 13; - */ - this.bytesOutPerSec = 0; - /** - * @generated from field: float packets_in_per_sec = 14; - */ - this.packetsInPerSec = 0; - /** - * @generated from field: float packets_out_per_sec = 15; - */ - this.packetsOutPerSec = 0; - /** - * @generated from field: float nack_per_sec = 16; - */ - this.nackPerSec = 0; - /** - * system - * - * @generated from field: uint32 num_cpus = 17; - */ - this.numCpus = 0; - /** - * @generated from field: float load_avg_last1min = 18; - */ - this.loadAvgLast1min = 0; - /** - * @generated from field: float load_avg_last5min = 19; - */ - this.loadAvgLast5min = 0; - /** - * @generated from field: float load_avg_last15min = 20; - */ - this.loadAvgLast15min = 0; - /** - * @generated from field: float cpu_load = 21; - */ - this.cpuLoad = 0; - /** - * deprecated - * - * @generated from field: float memory_load = 33; - */ - this.memoryLoad = 0; - /** - * @generated from field: uint64 memory_total = 34; - */ - this.memoryTotal = protoInt64.zero; - /** - * @generated from field: uint64 memory_used = 35; - */ - this.memoryUsed = protoInt64.zero; - /** - * @generated from field: uint32 sys_packets_out = 28; - */ - this.sysPacketsOut = 0; - /** - * @generated from field: uint32 sys_packets_dropped = 29; - */ - this.sysPacketsDropped = 0; - /** - * @generated from field: float sys_packets_out_per_sec = 30; - */ - this.sysPacketsOutPerSec = 0; - /** - * @generated from field: float sys_packets_dropped_per_sec = 31; - */ - this.sysPacketsDroppedPerSec = 0; - /** - * @generated from field: float sys_packets_dropped_pct_per_sec = 32; - */ - this.sysPacketsDroppedPctPerSec = 0; - /** - * retransmissions - * - * @generated from field: uint64 retransmit_bytes_out = 22; - */ - this.retransmitBytesOut = protoInt64.zero; - /** - * @generated from field: uint64 retransmit_packets_out = 23; - */ - this.retransmitPacketsOut = protoInt64.zero; - /** - * @generated from field: float retransmit_bytes_out_per_sec = 24; - */ - this.retransmitBytesOutPerSec = 0; - /** - * @generated from field: float retransmit_packets_out_per_sec = 25; - */ - this.retransmitPacketsOutPerSec = 0; - /** - * participant joins - * - * @generated from field: uint64 participant_signal_connected = 26; - */ - this.participantSignalConnected = protoInt64.zero; - /** - * @generated from field: float participant_signal_connected_per_sec = 27; - */ - this.participantSignalConnectedPerSec = 0; - /** - * @generated from field: uint64 participant_rtc_connected = 44; - */ - this.participantRtcConnected = protoInt64.zero; - /** - * @generated from field: float participant_rtc_connected_per_sec = 45; - */ - this.participantRtcConnectedPerSec = 0; - /** - * @generated from field: uint64 participant_rtc_init = 46; - */ - this.participantRtcInit = protoInt64.zero; - /** - * @generated from field: float participant_rtc_init_per_sec = 47; - */ - this.participantRtcInitPerSec = 0; - /** - * forward metrics - * - * @generated from field: uint32 forward_latency = 48; - */ - this.forwardLatency = 0; - /** - * @generated from field: uint32 forward_jitter = 49; - */ - this.forwardJitter = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _NodeStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _NodeStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _NodeStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_NodeStats, a, b); - } -}; -_NodeStats.runtime = proto3; -_NodeStats.typeName = "livekit.NodeStats"; -_NodeStats.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "updated_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "num_rooms", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "num_clients", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 5, - name: "num_tracks_in", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 6, - name: "num_tracks_out", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 36, - name: "num_track_publish_attempts", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 37, - name: "track_publish_attempts_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 38, - name: "num_track_publish_success", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 39, - name: "track_publish_success_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 40, - name: "num_track_subscribe_attempts", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 41, - name: "track_subscribe_attempts_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 42, - name: "num_track_subscribe_success", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 43, - name: "track_subscribe_success_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 7, - name: "bytes_in", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 8, - name: "bytes_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 9, - name: "packets_in", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 10, - name: "packets_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 11, - name: "nack_total", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 12, - name: "bytes_in_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 13, - name: "bytes_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 14, - name: "packets_in_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 15, - name: "packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 16, - name: "nack_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 17, - name: "num_cpus", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 18, - name: "load_avg_last1min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 19, - name: "load_avg_last5min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 20, - name: "load_avg_last15min", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 21, - name: "cpu_load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 33, - name: "memory_load", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 34, - name: "memory_total", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 35, - name: "memory_used", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 28, - name: "sys_packets_out", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 29, - name: "sys_packets_dropped", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 30, - name: "sys_packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 31, - name: "sys_packets_dropped_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 32, - name: "sys_packets_dropped_pct_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 22, - name: "retransmit_bytes_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 23, - name: "retransmit_packets_out", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 24, - name: "retransmit_bytes_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 25, - name: "retransmit_packets_out_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 26, - name: "participant_signal_connected", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 27, - name: "participant_signal_connected_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 44, - name: "participant_rtc_connected", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 45, - name: "participant_rtc_connected_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 46, - name: "participant_rtc_init", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 47, - name: "participant_rtc_init_per_sec", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 48, - name: "forward_latency", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 49, - name: "forward_jitter", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let NodeStats = _NodeStats; -const _StartSession = class _StartSession extends Message { - constructor(data) { - super(); - /** - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: string connection_id = 3; - */ - this.connectionId = ""; - /** - * if a client is reconnecting (i.e. resume instead of restart) - * - * @generated from field: bool reconnect = 4; - */ - this.reconnect = false; - /** - * @generated from field: bool auto_subscribe = 9; - */ - this.autoSubscribe = false; - /** - * @generated from field: bool hidden = 10; - */ - this.hidden = false; - /** - * @generated from field: bool recorder = 12; - */ - this.recorder = false; - /** - * @generated from field: string name = 13; - */ - this.name = ""; - /** - * A user's ClaimGrants serialized in JSON - * - * @generated from field: string grants_json = 14; - */ - this.grantsJson = ""; - /** - * @generated from field: bool adaptive_stream = 15; - */ - this.adaptiveStream = false; - /** - * if reconnect, client will set current sid - * - * @generated from field: string participant_id = 16; - */ - this.participantId = ""; - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 17; - */ - this.reconnectReason = ReconnectReason.RR_UNKNOWN; - /** - * @generated from field: bool disable_ice_lite = 19; - */ - this.disableIceLite = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StartSession().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StartSession().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StartSession().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StartSession, a, b); - } -}; -_StartSession.runtime = proto3; -_StartSession.typeName = "livekit.StartSession"; -_StartSession.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "connection_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "reconnect", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 9, - name: "auto_subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "hidden", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "client", kind: "message", T: ClientInfo }, - { - no: 12, - name: "recorder", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 14, - name: "grants_json", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 15, - name: "adaptive_stream", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 16, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, - { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true }, - { - no: 19, - name: "disable_ice_lite", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest } -]); -let StartSession = _StartSession; -const _RoomInternal = class _RoomInternal extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; - */ - this.agentDispatches = []; - /** - * @generated from field: bool sync_streams = 4; - */ - this.syncStreams = false; - /** - * @generated from field: bool replay_enabled = 6; - */ - this.replayEnabled = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomInternal().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomInternal().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomInternal().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomInternal, a, b); - } -}; -_RoomInternal.runtime = proto3; -_RoomInternal.typeName = "livekit.RoomInternal"; -_RoomInternal.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress }, - { no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress }, - { no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay }, - { no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, - { - no: 4, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "replay_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let RoomInternal = _RoomInternal; -const _ICEConfig = class _ICEConfig extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ICECandidateType preference_subscriber = 1; - */ - this.preferenceSubscriber = 0 /* ICT_NONE */; - /** - * @generated from field: livekit.ICECandidateType preference_publisher = 2; - */ - this.preferencePublisher = 0 /* ICT_NONE */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ICEConfig().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ICEConfig().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ICEConfig().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ICEConfig, a, b); - } -}; -_ICEConfig.runtime = proto3; -_ICEConfig.typeName = "livekit.ICEConfig"; -_ICEConfig.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, - { no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) } -]); -let ICEConfig = _ICEConfig; -export { - ICECandidateType, - ICEConfig, - Node, - NodeState, - NodeStats, - NodeType, - RoomInternal, - StartSession -}; -//# sourceMappingURL=livekit_internal_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_internal_pb.js.map b/packages/javascript/dist/gen/livekit_internal_pb.js.map deleted file mode 100644 index 41ec1df2..00000000 --- a/packages/javascript/dist/gen/livekit_internal_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_internal_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_internal.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ClientInfo, PlayoutDelay, ReconnectReason } from \"./livekit_models_pb.js\";\nimport { CreateRoomRequest } from \"./livekit_room_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress } from \"./livekit_egress_pb.js\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\n\n/**\n * @generated from enum livekit.NodeType\n */\nexport enum NodeType {\n /**\n * @generated from enum value: SERVER = 0;\n */\n SERVER = 0,\n\n /**\n * @generated from enum value: CONTROLLER = 1;\n */\n CONTROLLER = 1,\n\n /**\n * @generated from enum value: MEDIA = 2;\n */\n MEDIA = 2,\n\n /**\n * @generated from enum value: TURN = 4;\n */\n TURN = 4,\n\n /**\n * @generated from enum value: SWEEPER = 5;\n */\n SWEEPER = 5,\n\n /**\n * @generated from enum value: DIRECTOR = 6;\n */\n DIRECTOR = 6,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeType)\nproto3.util.setEnumType(NodeType, \"livekit.NodeType\", [\n { no: 0, name: \"SERVER\" },\n { no: 1, name: \"CONTROLLER\" },\n { no: 2, name: \"MEDIA\" },\n { no: 4, name: \"TURN\" },\n { no: 5, name: \"SWEEPER\" },\n { no: 6, name: \"DIRECTOR\" },\n]);\n\n/**\n * @generated from enum livekit.NodeState\n */\nexport enum NodeState {\n /**\n * @generated from enum value: STARTING_UP = 0;\n */\n STARTING_UP = 0,\n\n /**\n * @generated from enum value: SERVING = 1;\n */\n SERVING = 1,\n\n /**\n * @generated from enum value: SHUTTING_DOWN = 2;\n */\n SHUTTING_DOWN = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(NodeState)\nproto3.util.setEnumType(NodeState, \"livekit.NodeState\", [\n { no: 0, name: \"STARTING_UP\" },\n { no: 1, name: \"SERVING\" },\n { no: 2, name: \"SHUTTING_DOWN\" },\n]);\n\n/**\n * @generated from enum livekit.ICECandidateType\n */\nexport enum ICECandidateType {\n /**\n * @generated from enum value: ICT_NONE = 0;\n */\n ICT_NONE = 0,\n\n /**\n * @generated from enum value: ICT_TCP = 1;\n */\n ICT_TCP = 1,\n\n /**\n * @generated from enum value: ICT_TLS = 2;\n */\n ICT_TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ICECandidateType)\nproto3.util.setEnumType(ICECandidateType, \"livekit.ICECandidateType\", [\n { no: 0, name: \"ICT_NONE\" },\n { no: 1, name: \"ICT_TCP\" },\n { no: 2, name: \"ICT_TLS\" },\n]);\n\n/**\n * @generated from message livekit.Node\n */\nexport class Node extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string ip = 2;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 num_cpus = 3;\n */\n numCpus = 0;\n\n /**\n * @generated from field: livekit.NodeStats stats = 4;\n */\n stats?: NodeStats;\n\n /**\n * @generated from field: livekit.NodeType type = 5;\n */\n type = NodeType.SERVER;\n\n /**\n * @generated from field: livekit.NodeState state = 6;\n */\n state = NodeState.STARTING_UP;\n\n /**\n * @generated from field: string region = 7;\n */\n region = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Node\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"stats\", kind: \"message\", T: NodeStats },\n { no: 5, name: \"type\", kind: \"enum\", T: proto3.getEnumType(NodeType) },\n { no: 6, name: \"state\", kind: \"enum\", T: proto3.getEnumType(NodeState) },\n { no: 7, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Node {\n return new Node().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Node {\n return new Node().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Node {\n return new Node().fromJsonString(jsonString, options);\n }\n\n static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean {\n return proto3.util.equals(Node, a, b);\n }\n}\n\n/**\n * @generated from message livekit.NodeStats\n */\nexport class NodeStats extends Message {\n /**\n * when server was started\n *\n * @generated from field: int64 started_at = 1;\n */\n startedAt = protoInt64.zero;\n\n /**\n * when server last reported its status\n *\n * @generated from field: int64 updated_at = 2;\n */\n updatedAt = protoInt64.zero;\n\n /**\n * room\n *\n * @generated from field: int32 num_rooms = 3;\n */\n numRooms = 0;\n\n /**\n * @generated from field: int32 num_clients = 4;\n */\n numClients = 0;\n\n /**\n * @generated from field: int32 num_tracks_in = 5;\n */\n numTracksIn = 0;\n\n /**\n * @generated from field: int32 num_tracks_out = 6;\n */\n numTracksOut = 0;\n\n /**\n * @generated from field: int32 num_track_publish_attempts = 36;\n */\n numTrackPublishAttempts = 0;\n\n /**\n * @generated from field: float track_publish_attempts_per_sec = 37;\n */\n trackPublishAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_publish_success = 38;\n */\n numTrackPublishSuccess = 0;\n\n /**\n * @generated from field: float track_publish_success_per_sec = 39;\n */\n trackPublishSuccessPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_attempts = 40;\n */\n numTrackSubscribeAttempts = 0;\n\n /**\n * @generated from field: float track_subscribe_attempts_per_sec = 41;\n */\n trackSubscribeAttemptsPerSec = 0;\n\n /**\n * @generated from field: int32 num_track_subscribe_success = 42;\n */\n numTrackSubscribeSuccess = 0;\n\n /**\n * @generated from field: float track_subscribe_success_per_sec = 43;\n */\n trackSubscribeSuccessPerSec = 0;\n\n /**\n * packet\n *\n * @generated from field: uint64 bytes_in = 7;\n */\n bytesIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 bytes_out = 8;\n */\n bytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_in = 9;\n */\n packetsIn = protoInt64.zero;\n\n /**\n * @generated from field: uint64 packets_out = 10;\n */\n packetsOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 nack_total = 11;\n */\n nackTotal = protoInt64.zero;\n\n /**\n * @generated from field: float bytes_in_per_sec = 12;\n */\n bytesInPerSec = 0;\n\n /**\n * @generated from field: float bytes_out_per_sec = 13;\n */\n bytesOutPerSec = 0;\n\n /**\n * @generated from field: float packets_in_per_sec = 14;\n */\n packetsInPerSec = 0;\n\n /**\n * @generated from field: float packets_out_per_sec = 15;\n */\n packetsOutPerSec = 0;\n\n /**\n * @generated from field: float nack_per_sec = 16;\n */\n nackPerSec = 0;\n\n /**\n * system\n *\n * @generated from field: uint32 num_cpus = 17;\n */\n numCpus = 0;\n\n /**\n * @generated from field: float load_avg_last1min = 18;\n */\n loadAvgLast1min = 0;\n\n /**\n * @generated from field: float load_avg_last5min = 19;\n */\n loadAvgLast5min = 0;\n\n /**\n * @generated from field: float load_avg_last15min = 20;\n */\n loadAvgLast15min = 0;\n\n /**\n * @generated from field: float cpu_load = 21;\n */\n cpuLoad = 0;\n\n /**\n * deprecated\n *\n * @generated from field: float memory_load = 33;\n */\n memoryLoad = 0;\n\n /**\n * @generated from field: uint64 memory_total = 34;\n */\n memoryTotal = protoInt64.zero;\n\n /**\n * @generated from field: uint64 memory_used = 35;\n */\n memoryUsed = protoInt64.zero;\n\n /**\n * @generated from field: uint32 sys_packets_out = 28;\n */\n sysPacketsOut = 0;\n\n /**\n * @generated from field: uint32 sys_packets_dropped = 29;\n */\n sysPacketsDropped = 0;\n\n /**\n * @generated from field: float sys_packets_out_per_sec = 30;\n */\n sysPacketsOutPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_per_sec = 31;\n */\n sysPacketsDroppedPerSec = 0;\n\n /**\n * @generated from field: float sys_packets_dropped_pct_per_sec = 32;\n */\n sysPacketsDroppedPctPerSec = 0;\n\n /**\n * retransmissions\n *\n * @generated from field: uint64 retransmit_bytes_out = 22;\n */\n retransmitBytesOut = protoInt64.zero;\n\n /**\n * @generated from field: uint64 retransmit_packets_out = 23;\n */\n retransmitPacketsOut = protoInt64.zero;\n\n /**\n * @generated from field: float retransmit_bytes_out_per_sec = 24;\n */\n retransmitBytesOutPerSec = 0;\n\n /**\n * @generated from field: float retransmit_packets_out_per_sec = 25;\n */\n retransmitPacketsOutPerSec = 0;\n\n /**\n * participant joins\n *\n * @generated from field: uint64 participant_signal_connected = 26;\n */\n participantSignalConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_signal_connected_per_sec = 27;\n */\n participantSignalConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_connected = 44;\n */\n participantRtcConnected = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_connected_per_sec = 45;\n */\n participantRtcConnectedPerSec = 0;\n\n /**\n * @generated from field: uint64 participant_rtc_init = 46;\n */\n participantRtcInit = protoInt64.zero;\n\n /**\n * @generated from field: float participant_rtc_init_per_sec = 47;\n */\n participantRtcInitPerSec = 0;\n\n /**\n * forward metrics\n *\n * @generated from field: uint32 forward_latency = 48;\n */\n forwardLatency = 0;\n\n /**\n * @generated from field: uint32 forward_jitter = 49;\n */\n forwardJitter = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.NodeStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"updated_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"num_rooms\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"num_clients\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 5, name: \"num_tracks_in\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"num_tracks_out\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 36, name: \"num_track_publish_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 37, name: \"track_publish_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 38, name: \"num_track_publish_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 39, name: \"track_publish_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 40, name: \"num_track_subscribe_attempts\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 41, name: \"track_subscribe_attempts_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 42, name: \"num_track_subscribe_success\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 43, name: \"track_subscribe_success_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 7, name: \"bytes_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 8, name: \"bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 9, name: \"packets_in\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 10, name: \"packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 11, name: \"nack_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 12, name: \"bytes_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 13, name: \"bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 14, name: \"packets_in_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 15, name: \"packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 16, name: \"nack_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 17, name: \"num_cpus\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 18, name: \"load_avg_last1min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 19, name: \"load_avg_last5min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 20, name: \"load_avg_last15min\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 21, name: \"cpu_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 33, name: \"memory_load\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 34, name: \"memory_total\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 35, name: \"memory_used\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 28, name: \"sys_packets_out\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 29, name: \"sys_packets_dropped\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"sys_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 31, name: \"sys_packets_dropped_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 32, name: \"sys_packets_dropped_pct_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 22, name: \"retransmit_bytes_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 23, name: \"retransmit_packets_out\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 24, name: \"retransmit_bytes_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 25, name: \"retransmit_packets_out_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 26, name: \"participant_signal_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 27, name: \"participant_signal_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 44, name: \"participant_rtc_connected\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 45, name: \"participant_rtc_connected_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 46, name: \"participant_rtc_init\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 47, name: \"participant_rtc_init_per_sec\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 48, name: \"forward_latency\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 49, name: \"forward_jitter\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats {\n return new NodeStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats {\n return new NodeStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): NodeStats {\n return new NodeStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(NodeStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StartSession\n */\nexport class StartSession extends Message {\n /**\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: string connection_id = 3;\n */\n connectionId = \"\";\n\n /**\n * if a client is reconnecting (i.e. resume instead of restart)\n *\n * @generated from field: bool reconnect = 4;\n */\n reconnect = false;\n\n /**\n * @generated from field: bool auto_subscribe = 9;\n */\n autoSubscribe = false;\n\n /**\n * @generated from field: bool hidden = 10;\n */\n hidden = false;\n\n /**\n * @generated from field: livekit.ClientInfo client = 11;\n */\n client?: ClientInfo;\n\n /**\n * @generated from field: bool recorder = 12;\n */\n recorder = false;\n\n /**\n * @generated from field: string name = 13;\n */\n name = \"\";\n\n /**\n * A user's ClaimGrants serialized in JSON\n *\n * @generated from field: string grants_json = 14;\n */\n grantsJson = \"\";\n\n /**\n * @generated from field: bool adaptive_stream = 15;\n */\n adaptiveStream = false;\n\n /**\n * if reconnect, client will set current sid\n *\n * @generated from field: string participant_id = 16;\n */\n participantId = \"\";\n\n /**\n * @generated from field: livekit.ReconnectReason reconnect_reason = 17;\n */\n reconnectReason = ReconnectReason.RR_UNKNOWN;\n\n /**\n * @generated from field: optional bool subscriber_allow_pause = 18;\n */\n subscriberAllowPause?: boolean;\n\n /**\n * @generated from field: bool disable_ice_lite = 19;\n */\n disableIceLite = false;\n\n /**\n * @generated from field: livekit.CreateRoomRequest create_room = 20;\n */\n createRoom?: CreateRoomRequest;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StartSession\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"connection_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"auto_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"client\", kind: \"message\", T: ClientInfo },\n { no: 12, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"grants_json\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"adaptive_stream\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 17, name: \"reconnect_reason\", kind: \"enum\", T: proto3.getEnumType(ReconnectReason) },\n { no: 18, name: \"subscriber_allow_pause\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, opt: true },\n { no: 19, name: \"disable_ice_lite\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 20, name: \"create_room\", kind: \"message\", T: CreateRoomRequest },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StartSession {\n return new StartSession().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StartSession {\n return new StartSession().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StartSession {\n return new StartSession().fromJsonString(jsonString, options);\n }\n\n static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean {\n return proto3.util.equals(StartSession, a, b);\n }\n}\n\n/**\n * room info that should not be returned to clients\n *\n * @generated from message livekit.RoomInternal\n */\nexport class RoomInternal extends Message {\n /**\n * @generated from field: livekit.AutoTrackEgress track_egress = 1;\n */\n trackEgress?: AutoTrackEgress;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant_egress = 2;\n */\n participantEgress?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.PlayoutDelay playout_delay = 3;\n */\n playoutDelay?: PlayoutDelay;\n\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5;\n */\n agentDispatches: RoomAgentDispatch[] = [];\n\n /**\n * @generated from field: bool sync_streams = 4;\n */\n syncStreams = false;\n\n /**\n * @generated from field: bool replay_enabled = 6;\n */\n replayEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomInternal\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_egress\", kind: \"message\", T: AutoTrackEgress },\n { no: 2, name: \"participant_egress\", kind: \"message\", T: AutoParticipantEgress },\n { no: 3, name: \"playout_delay\", kind: \"message\", T: PlayoutDelay },\n { no: 5, name: \"agent_dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n { no: 4, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal {\n return new RoomInternal().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal {\n return new RoomInternal().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomInternal {\n return new RoomInternal().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomInternal, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEConfig\n */\nexport class ICEConfig extends Message {\n /**\n * @generated from field: livekit.ICECandidateType preference_subscriber = 1;\n */\n preferenceSubscriber = ICECandidateType.ICT_NONE;\n\n /**\n * @generated from field: livekit.ICECandidateType preference_publisher = 2;\n */\n preferencePublisher = ICECandidateType.ICT_NONE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEConfig\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"preference_subscriber\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n { no: 2, name: \"preference_publisher\", kind: \"enum\", T: proto3.getEnumType(ICECandidateType) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig {\n return new ICEConfig().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig {\n return new ICEConfig().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEConfig {\n return new ICEConfig().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEConfig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E,WAAW,OAAO,OAAO;AAAA,EAClD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA+C;AACnF,WAAO,IAAI,WAAU,EAAE,SAAS,WAAW,OAAO;AAAA,EACpD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA+C;AACvF,WAAO,IAAI,WAAU,EAAE,eAAe,YAAY,OAAO;AAAA,EAC3D;AAAA,EAEA,OAAO,OAAO,GAAoD,GAA6D;AAC7H,WAAO,OAAO,KAAK,OAAO,YAAW,GAAG,CAAC;AAAA,EAC3C;AACF;AAtCa,WAgBK,UAAyB;AAhB9B,WAiBK,WAAW;AAjBhB,WAkBK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE,EAAE,IAAI,GAAG,MAAM,yBAAyB,MAAM,QAAQ,GAAG,OAAO,YAAY,gBAAgB,EAAE;AAAA,EAC9F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,QAAQ,GAAG,OAAO,YAAY,gBAAgB,EAAE;AAC/F,CAAC;AArBI,IAAM,YAAN;","names":["NodeType","NodeState","ICECandidateType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.cjs b/packages/javascript/dist/gen/livekit_metrics_pb.cjs deleted file mode 100644 index d242dfaf..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.cjs +++ /dev/null @@ -1,371 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_metrics_pb_exports = {}; -__export(livekit_metrics_pb_exports, { - EventMetric: () => EventMetric, - MetricLabel: () => MetricLabel, - MetricSample: () => MetricSample, - MetricsBatch: () => MetricsBatch, - TimeSeriesMetric: () => TimeSeriesMetric -}); -module.exports = __toCommonJS(livekit_metrics_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var MetricLabel = /* @__PURE__ */ ((MetricLabel2) => { - MetricLabel2[MetricLabel2["AGENTS_LLM_TTFT"] = 0] = "AGENTS_LLM_TTFT"; - MetricLabel2[MetricLabel2["AGENTS_STT_TTFT"] = 1] = "AGENTS_STT_TTFT"; - MetricLabel2[MetricLabel2["AGENTS_TTS_TTFB"] = 2] = "AGENTS_TTS_TTFB"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"] = 3] = "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"] = 4] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"] = 5] = "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"] = 6] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"] = 7] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"] = 8] = "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"] = 9] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"] = 10] = "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"] = 11] = "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"] = 12] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"; - MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"] = 13] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"] = 14] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"] = 15] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"] = 16] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"; - MetricLabel2[MetricLabel2["PUBLISHER_RTT"] = 17] = "PUBLISHER_RTT"; - MetricLabel2[MetricLabel2["SERVER_MESH_RTT"] = 18] = "SERVER_MESH_RTT"; - MetricLabel2[MetricLabel2["SUBSCRIBER_RTT"] = 19] = "SUBSCRIBER_RTT"; - MetricLabel2[MetricLabel2["METRIC_LABEL_PREDEFINED_MAX_VALUE"] = 4096] = "METRIC_LABEL_PREDEFINED_MAX_VALUE"; - return MetricLabel2; -})(MetricLabel || {}); -import_protobuf.proto3.util.setEnumType(MetricLabel, "livekit.MetricLabel", [ - { no: 0, name: "AGENTS_LLM_TTFT" }, - { no: 1, name: "AGENTS_STT_TTFT" }, - { no: 2, name: "AGENTS_TTS_TTFB" }, - { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" }, - { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" }, - { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" }, - { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" }, - { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" }, - { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" }, - { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" }, - { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" }, - { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" }, - { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" }, - { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" }, - { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" }, - { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" }, - { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" }, - { no: 17, name: "PUBLISHER_RTT" }, - { no: 18, name: "SERVER_MESH_RTT" }, - { no: 19, name: "SUBSCRIBER_RTT" }, - { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" } -]); -const _MetricsBatch = class _MetricsBatch extends import_protobuf.Message { - constructor(data) { - super(); - /** - * time at which this batch is sent based on a monotonic clock (millisecond resolution) - * - * @generated from field: int64 timestamp_ms = 1; - */ - this.timestampMs = import_protobuf.protoInt64.zero; - /** - * To avoid repeating string values, we store them in a separate list and reference them by index - * This is useful for storing participant identities, track names, etc. - * There is also a predefined list of labels that can be used to reference common metrics. - * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). - * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, - * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - * - * @generated from field: repeated string str_data = 3; - */ - this.strData = []; - /** - * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; - */ - this.timeSeries = []; - /** - * @generated from field: repeated livekit.EventMetric events = 5; - */ - this.events = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MetricsBatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MetricsBatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MetricsBatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MetricsBatch, a, b); - } -}; -_MetricsBatch.runtime = import_protobuf.proto3; -_MetricsBatch.typeName = "livekit.MetricsBatch"; -_MetricsBatch.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 2, name: "normalized_timestamp", kind: "message", T: import_protobuf.Timestamp }, - { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true }, - { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, - { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true } -]); -let MetricsBatch = _MetricsBatch; -const _TimeSeriesMetric = class _TimeSeriesMetric extends import_protobuf.Message { - constructor(data) { - super(); - /** - * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index - * in the `str_data` field of `MetricsBatch` - * - * @generated from field: uint32 label = 1; - */ - this.label = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - this.participantIdentity = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - this.trackSid = 0; - /** - * @generated from field: repeated livekit.MetricSample samples = 4; - */ - this.samples = []; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 5; - */ - this.rid = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TimeSeriesMetric().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TimeSeriesMetric().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TimeSeriesMetric().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TimeSeriesMetric, a, b); - } -}; -_TimeSeriesMetric.runtime = import_protobuf.proto3; -_TimeSeriesMetric.typeName = "livekit.TimeSeriesMetric"; -_TimeSeriesMetric.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, - { - no: 5, - name: "rid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let TimeSeriesMetric = _TimeSeriesMetric; -const _MetricSample = class _MetricSample extends import_protobuf.Message { - constructor(data) { - super(); - /** - * time of metric based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 timestamp_ms = 1; - */ - this.timestampMs = import_protobuf.protoInt64.zero; - /** - * @generated from field: float value = 3; - */ - this.value = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MetricSample().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MetricSample().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MetricSample().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MetricSample, a, b); - } -}; -_MetricSample.runtime = import_protobuf.proto3; -_MetricSample.typeName = "livekit.MetricSample"; -_MetricSample.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 2, name: "normalized_timestamp", kind: "message", T: import_protobuf.Timestamp }, - { - no: 3, - name: "value", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let MetricSample = _MetricSample; -const _EventMetric = class _EventMetric extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 label = 1; - */ - this.label = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - this.participantIdentity = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - this.trackSid = 0; - /** - * start time of event based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 start_timestamp_ms = 4; - */ - this.startTimestampMs = import_protobuf.protoInt64.zero; - /** - * @generated from field: string metadata = 8; - */ - this.metadata = ""; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 9; - */ - this.rid = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EventMetric().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EventMetric().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EventMetric().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_EventMetric, a, b); - } -}; -_EventMetric.runtime = import_protobuf.proto3; -_EventMetric.typeName = "livekit.EventMetric"; -_EventMetric.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "start_timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true }, - { no: 6, name: "normalized_start_timestamp", kind: "message", T: import_protobuf.Timestamp }, - { no: 7, name: "normalized_end_timestamp", kind: "message", T: import_protobuf.Timestamp, opt: true }, - { - no: 8, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "rid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let EventMetric = _EventMetric; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - EventMetric, - MetricLabel, - MetricSample, - MetricsBatch, - TimeSeriesMetric -}); -//# sourceMappingURL=livekit_metrics_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map b/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map deleted file mode 100644 index 2a9addc4..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_metrics_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_metrics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\n\n/**\n * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)\n *\n * @generated from enum livekit.MetricLabel\n */\nexport enum MetricLabel {\n /**\n * time to first token from LLM\n *\n * @generated from enum value: AGENTS_LLM_TTFT = 0;\n */\n AGENTS_LLM_TTFT = 0,\n\n /**\n * time to final transcription\n *\n * @generated from enum value: AGENTS_STT_TTFT = 1;\n */\n AGENTS_STT_TTFT = 1,\n\n /**\n * time to first byte\n *\n * @generated from enum value: AGENTS_TTS_TTFB = 2;\n */\n AGENTS_TTS_TTFB = 2,\n\n /**\n * Number of video freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;\n */\n CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,\n\n /**\n * total duration of freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,\n\n /**\n * number of video pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;\n */\n CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,\n\n /**\n * total duration of pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,\n\n /**\n * number of concealed (synthesized) audio samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,\n\n /**\n * number of silent concealed samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;\n */\n CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,\n\n /**\n * number of concealment events\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,\n\n /**\n * number of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;\n */\n CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,\n\n /**\n * total duration of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;\n */\n CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,\n\n /**\n * total duration spent in bandwidth quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,\n\n /**\n * total duration spent in cpu quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,\n\n /**\n * total duration spent in other quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,\n\n /**\n * Publisher RTT (participant -> server)\n *\n * @generated from enum value: PUBLISHER_RTT = 17;\n */\n PUBLISHER_RTT = 17,\n\n /**\n * RTT between publisher node and subscriber node (could involve intermedia node(s))\n *\n * @generated from enum value: SERVER_MESH_RTT = 18;\n */\n SERVER_MESH_RTT = 18,\n\n /**\n * Subscribe RTT (server -> participant)\n *\n * @generated from enum value: SUBSCRIBER_RTT = 19;\n */\n SUBSCRIBER_RTT = 19,\n\n /**\n * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;\n */\n METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096,\n}\n// Retrieve enum metadata with: proto3.getEnumType(MetricLabel)\nproto3.util.setEnumType(MetricLabel, \"livekit.MetricLabel\", [\n { no: 0, name: \"AGENTS_LLM_TTFT\" },\n { no: 1, name: \"AGENTS_STT_TTFT\" },\n { no: 2, name: \"AGENTS_TTS_TTFB\" },\n { no: 3, name: \"CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT\" },\n { no: 4, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION\" },\n { no: 5, name: \"CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT\" },\n { no: 6, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION\" },\n { no: 7, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES\" },\n { no: 8, name: \"CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES\" },\n { no: 9, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS\" },\n { no: 10, name: \"CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT\" },\n { no: 11, name: \"CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION\" },\n { no: 12, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY\" },\n { no: 13, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT\" },\n { no: 14, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH\" },\n { no: 15, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU\" },\n { no: 16, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER\" },\n { no: 17, name: \"PUBLISHER_RTT\" },\n { no: 18, name: \"SERVER_MESH_RTT\" },\n { no: 19, name: \"SUBSCRIBER_RTT\" },\n { no: 4096, name: \"METRIC_LABEL_PREDEFINED_MAX_VALUE\" },\n]);\n\n/**\n * @generated from message livekit.MetricsBatch\n */\nexport class MetricsBatch extends Message {\n /**\n * time at which this batch is sent based on a monotonic clock (millisecond resolution)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * To avoid repeating string values, we store them in a separate list and reference them by index\n * This is useful for storing participant identities, track names, etc.\n * There is also a predefined list of labels that can be used to reference common metrics.\n * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).\n * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, \n * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.\n *\n * @generated from field: repeated string str_data = 3;\n */\n strData: string[] = [];\n\n /**\n * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;\n */\n timeSeries: TimeSeriesMetric[] = [];\n\n /**\n * @generated from field: repeated livekit.EventMetric events = 5;\n */\n events: EventMetric[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricsBatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"str_data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"time_series\", kind: \"message\", T: TimeSeriesMetric, repeated: true },\n { no: 5, name: \"events\", kind: \"message\", T: EventMetric, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricsBatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimeSeriesMetric\n */\nexport class TimeSeriesMetric extends Message {\n /**\n * Metric name e.g \"speech_probablity\". The string value is not directly stored in the message, but referenced by index\n * in the `str_data` field of `MetricsBatch`\n *\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * @generated from field: repeated livekit.MetricSample samples = 4;\n */\n samples: MetricSample[] = [];\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 5;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimeSeriesMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"samples\", kind: \"message\", T: MetricSample, repeated: true },\n { no: 5, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimeSeriesMetric, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MetricSample\n */\nexport class MetricSample extends Message {\n /**\n * time of metric based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * @generated from field: float value = 3;\n */\n value = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricSample\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"value\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample {\n return new MetricSample().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample {\n return new MetricSample().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricSample {\n return new MetricSample().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricSample, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EventMetric\n */\nexport class EventMetric extends Message {\n /**\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * start time of event based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 start_timestamp_ms = 4;\n */\n startTimestampMs = protoInt64.zero;\n\n /**\n * end time of event based on a monotonic clock (in milliseconds), if needed\n *\n * @generated from field: optional int64 end_timestamp_ms = 5;\n */\n endTimestampMs?: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;\n */\n normalizedStartTimestamp?: Timestamp;\n\n /**\n * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;\n */\n normalizedEndTimestamp?: Timestamp;\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 9;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EventMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"start_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"end_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 6, name: \"normalized_start_timestamp\", kind: \"message\", T: Timestamp },\n { no: 7, name: \"normalized_end_timestamp\", kind: \"message\", T: Timestamp, opt: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric {\n return new EventMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric {\n return new EventMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EventMetric {\n return new EventMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(EventMetric, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,sBAAuD;AAOhD,IAAK,cAAL,kBAAKA,iBAAL;AAML,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,0CAAuC,KAAvC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,yCAAsC,KAAtC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,+CAA4C,KAA5C;AAOA,EAAAA,0BAAA,sDAAmD,KAAnD;AAOA,EAAAA,0BAAA,gDAA6C,KAA7C;AAOA,EAAAA,0BAAA,gDAA6C,MAA7C;AAOA,EAAAA,0BAAA,yDAAsD,MAAtD;AAOA,EAAAA,0BAAA,2CAAwC,MAAxC;AAOA,EAAAA,0BAAA,mDAAgD,MAAhD;AAOA,EAAAA,0BAAA,kEAA+D,MAA/D;AAOA,EAAAA,0BAAA,4DAAyD,MAAzD;AAOA,EAAAA,0BAAA,8DAA2D,MAA3D;AAOA,EAAAA,0BAAA,mBAAgB,MAAhB;AAOA,EAAAA,0BAAA,qBAAkB,MAAlB;AAOA,EAAAA,0BAAA,oBAAiB,MAAjB;AAKA,EAAAA,0BAAA,uCAAoC,Q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B,MAAM,WAAW,GAAG,0BAAU;AAAA,EAC3E,EAAE,IAAI,GAAG,MAAM,4BAA4B,MAAM,WAAW,GAAG,2BAAW,KAAK,KAAK;AAAA,EACpF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAO,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AACtE,CAAC;AAzEI,IAAM,cAAN;","names":["MetricLabel"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts deleted file mode 100644 index cf913fe8..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts +++ /dev/null @@ -1,304 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; -/** - * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) - * - * @generated from enum livekit.MetricLabel - */ -export declare enum MetricLabel { - /** - * time to first token from LLM - * - * @generated from enum value: AGENTS_LLM_TTFT = 0; - */ - AGENTS_LLM_TTFT = 0, - /** - * time to final transcription - * - * @generated from enum value: AGENTS_STT_TTFT = 1; - */ - AGENTS_STT_TTFT = 1, - /** - * time to first byte - * - * @generated from enum value: AGENTS_TTS_TTFB = 2; - */ - AGENTS_TTS_TTFB = 2, - /** - * Number of video freezes - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; - */ - CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3, - /** - * total duration of freezes - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; - */ - CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4, - /** - * number of video pauses - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; - */ - CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5, - /** - * total duration of pauses - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6; - */ - CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6, - /** - * number of concealed (synthesized) audio samples - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7; - */ - CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7, - /** - * number of silent concealed samples - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8; - */ - CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8, - /** - * number of concealment events - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9; - */ - CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9, - /** - * number of interruptions - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10; - */ - CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10, - /** - * total duration of interruptions - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11; - */ - CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11, - /** - * total time spent in jitter buffer - * - * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12; - */ - CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12, - /** - * total time spent in jitter buffer - * - * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13; - */ - CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13, - /** - * total duration spent in bandwidth quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14, - /** - * total duration spent in cpu quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15, - /** - * total duration spent in other quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16, - /** - * Publisher RTT (participant -> server) - * - * @generated from enum value: PUBLISHER_RTT = 17; - */ - PUBLISHER_RTT = 17, - /** - * RTT between publisher node and subscriber node (could involve intermedia node(s)) - * - * @generated from enum value: SERVER_MESH_RTT = 18; - */ - SERVER_MESH_RTT = 18, - /** - * Subscribe RTT (server -> participant) - * - * @generated from enum value: SUBSCRIBER_RTT = 19; - */ - SUBSCRIBER_RTT = 19, - /** - * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; - */ - METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096 -} -/** - * @generated from message livekit.MetricsBatch - */ -export declare class MetricsBatch extends Message { - /** - * time at which this batch is sent based on a monotonic clock (millisecond resolution) - * - * @generated from field: int64 timestamp_ms = 1; - */ - timestampMs: bigint; - /** - * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; - */ - normalizedTimestamp?: Timestamp; - /** - * To avoid repeating string values, we store them in a separate list and reference them by index - * This is useful for storing participant identities, track names, etc. - * There is also a predefined list of labels that can be used to reference common metrics. - * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). - * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, - * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - * - * @generated from field: repeated string str_data = 3; - */ - strData: string[]; - /** - * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; - */ - timeSeries: TimeSeriesMetric[]; - /** - * @generated from field: repeated livekit.EventMetric events = 5; - */ - events: EventMetric[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MetricsBatch"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch; - static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch; - static fromJsonString(jsonString: string, options?: Partial): MetricsBatch; - static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TimeSeriesMetric - */ -export declare class TimeSeriesMetric extends Message { - /** - * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index - * in the `str_data` field of `MetricsBatch` - * - * @generated from field: uint32 label = 1; - */ - label: number; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - participantIdentity: number; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - trackSid: number; - /** - * @generated from field: repeated livekit.MetricSample samples = 4; - */ - samples: MetricSample[]; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 5; - */ - rid: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TimeSeriesMetric"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric; - static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric; - static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric; - static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.MetricSample - */ -export declare class MetricSample extends Message { - /** - * time of metric based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 timestamp_ms = 1; - */ - timestampMs: bigint; - /** - * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; - */ - normalizedTimestamp?: Timestamp; - /** - * @generated from field: float value = 3; - */ - value: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MetricSample"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample; - static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample; - static fromJsonString(jsonString: string, options?: Partial): MetricSample; - static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.EventMetric - */ -export declare class EventMetric extends Message { - /** - * @generated from field: uint32 label = 1; - */ - label: number; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - participantIdentity: number; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - trackSid: number; - /** - * start time of event based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 start_timestamp_ms = 4; - */ - startTimestampMs: bigint; - /** - * end time of event based on a monotonic clock (in milliseconds), if needed - * - * @generated from field: optional int64 end_timestamp_ms = 5; - */ - endTimestampMs?: bigint; - /** - * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6; - */ - normalizedStartTimestamp?: Timestamp; - /** - * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7; - */ - normalizedEndTimestamp?: Timestamp; - /** - * @generated from field: string metadata = 8; - */ - metadata: string; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 9; - */ - rid: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EventMetric"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric; - static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric; - static fromJsonString(jsonString: string, options?: Partial): EventMetric; - static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_metrics_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map b/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map deleted file mode 100644 index 43611763..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_metrics_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_metrics_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE5E;;;;GAIG;AACH,oBAAY,WAAW;IACrB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,eAAe,IAAI;IAEnB;;;;OAIG;IACH,oCAAoC,IAAI;IAExC;;;;OAIG;IACH,6CAA6C,IAAI;IAEjD;;;;OAIG;IACH,mCAAmC,IAAI;IAEvC;;;;OAIG;IACH,6CAA6C,IAAI;IAEjD;;;;OAIG;IACH,yCAAyC,IAAI;IAE7C;;;;OAIG;IACH,gDAAgD,IAAI;IAEpD;;;;OAIG;IACH,0CAA0C,IAAI;IAE9C;;;;OAIG;IACH,0CAA0C,KAAK;IAE/C;;;;OAIG;IACH,mDAAmD,KAAK;IAExD;;;;OAIG;IACH,qCAAqC,KAAK;IAE1C;;;;OAIG;IACH,6CAA6C,KAAK;IAElD;;;;OAIG;IACH,4DAA4D,KAAK;IAEjE;;;;OAIG;IACH,sDAAsD,KAAK;IAE3D;;;;OAIG;IACH,wDAAwD,KAAK;IAE7D;;;;OAIG;IACH,aAAa,KAAK;IAElB;;;;OAIG;IACH,eAAe,KAAK;IAEpB;;;;OAIG;IACH,cAAc,KAAK;IAEnB;;OAEG;IACH,iCAAiC,OAAO;CACzC;AA0BD;;GAEG;AACH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,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW;IAItF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW;IAI1F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvI"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.js b/packages/javascript/dist/gen/livekit_metrics_pb.js deleted file mode 100644 index 2c27359b..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.js +++ /dev/null @@ -1,344 +0,0 @@ -import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; -var MetricLabel = /* @__PURE__ */ ((MetricLabel2) => { - MetricLabel2[MetricLabel2["AGENTS_LLM_TTFT"] = 0] = "AGENTS_LLM_TTFT"; - MetricLabel2[MetricLabel2["AGENTS_STT_TTFT"] = 1] = "AGENTS_STT_TTFT"; - MetricLabel2[MetricLabel2["AGENTS_TTS_TTFB"] = 2] = "AGENTS_TTS_TTFB"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"] = 3] = "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"] = 4] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"] = 5] = "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"] = 6] = "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"] = 7] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"] = 8] = "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"] = 9] = "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"] = 10] = "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"] = 11] = "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"; - MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"] = 12] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"; - MetricLabel2[MetricLabel2["CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"] = 13] = "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"] = 14] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"] = 15] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"; - MetricLabel2[MetricLabel2["CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"] = 16] = "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"; - MetricLabel2[MetricLabel2["PUBLISHER_RTT"] = 17] = "PUBLISHER_RTT"; - MetricLabel2[MetricLabel2["SERVER_MESH_RTT"] = 18] = "SERVER_MESH_RTT"; - MetricLabel2[MetricLabel2["SUBSCRIBER_RTT"] = 19] = "SUBSCRIBER_RTT"; - MetricLabel2[MetricLabel2["METRIC_LABEL_PREDEFINED_MAX_VALUE"] = 4096] = "METRIC_LABEL_PREDEFINED_MAX_VALUE"; - return MetricLabel2; -})(MetricLabel || {}); -proto3.util.setEnumType(MetricLabel, "livekit.MetricLabel", [ - { no: 0, name: "AGENTS_LLM_TTFT" }, - { no: 1, name: "AGENTS_STT_TTFT" }, - { no: 2, name: "AGENTS_TTS_TTFB" }, - { no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT" }, - { no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION" }, - { no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT" }, - { no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION" }, - { no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES" }, - { no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES" }, - { no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS" }, - { no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT" }, - { no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION" }, - { no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY" }, - { no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT" }, - { no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH" }, - { no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU" }, - { no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER" }, - { no: 17, name: "PUBLISHER_RTT" }, - { no: 18, name: "SERVER_MESH_RTT" }, - { no: 19, name: "SUBSCRIBER_RTT" }, - { no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE" } -]); -const _MetricsBatch = class _MetricsBatch extends Message { - constructor(data) { - super(); - /** - * time at which this batch is sent based on a monotonic clock (millisecond resolution) - * - * @generated from field: int64 timestamp_ms = 1; - */ - this.timestampMs = protoInt64.zero; - /** - * To avoid repeating string values, we store them in a separate list and reference them by index - * This is useful for storing participant identities, track names, etc. - * There is also a predefined list of labels that can be used to reference common metrics. - * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). - * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, - * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - * - * @generated from field: repeated string str_data = 3; - */ - this.strData = []; - /** - * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; - */ - this.timeSeries = []; - /** - * @generated from field: repeated livekit.EventMetric events = 5; - */ - this.events = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MetricsBatch().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MetricsBatch().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MetricsBatch().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MetricsBatch, a, b); - } -}; -_MetricsBatch.runtime = proto3; -_MetricsBatch.typeName = "livekit.MetricsBatch"; -_MetricsBatch.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, - { no: 3, name: "str_data", kind: "scalar", T: 9, repeated: true }, - { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, - { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true } -]); -let MetricsBatch = _MetricsBatch; -const _TimeSeriesMetric = class _TimeSeriesMetric extends Message { - constructor(data) { - super(); - /** - * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index - * in the `str_data` field of `MetricsBatch` - * - * @generated from field: uint32 label = 1; - */ - this.label = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - this.participantIdentity = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - this.trackSid = 0; - /** - * @generated from field: repeated livekit.MetricSample samples = 4; - */ - this.samples = []; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 5; - */ - this.rid = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TimeSeriesMetric().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TimeSeriesMetric().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TimeSeriesMetric().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TimeSeriesMetric, a, b); - } -}; -_TimeSeriesMetric.runtime = proto3; -_TimeSeriesMetric.typeName = "livekit.TimeSeriesMetric"; -_TimeSeriesMetric.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, - { - no: 5, - name: "rid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let TimeSeriesMetric = _TimeSeriesMetric; -const _MetricSample = class _MetricSample extends Message { - constructor(data) { - super(); - /** - * time of metric based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 timestamp_ms = 1; - */ - this.timestampMs = protoInt64.zero; - /** - * @generated from field: float value = 3; - */ - this.value = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MetricSample().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MetricSample().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MetricSample().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MetricSample, a, b); - } -}; -_MetricSample.runtime = proto3; -_MetricSample.typeName = "livekit.MetricSample"; -_MetricSample.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, - { - no: 3, - name: "value", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let MetricSample = _MetricSample; -const _EventMetric = class _EventMetric extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 label = 1; - */ - this.label = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - this.participantIdentity = 0; - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - this.trackSid = 0; - /** - * start time of event based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 start_timestamp_ms = 4; - */ - this.startTimestampMs = protoInt64.zero; - /** - * @generated from field: string metadata = 8; - */ - this.metadata = ""; - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 9; - */ - this.rid = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _EventMetric().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _EventMetric().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _EventMetric().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_EventMetric, a, b); - } -}; -_EventMetric.runtime = proto3; -_EventMetric.typeName = "livekit.EventMetric"; -_EventMetric.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "start_timestamp_ms", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3, opt: true }, - { no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp }, - { no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true }, - { - no: 8, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "rid", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let EventMetric = _EventMetric; -export { - EventMetric, - MetricLabel, - MetricSample, - MetricsBatch, - TimeSeriesMetric -}; -//# sourceMappingURL=livekit_metrics_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_metrics_pb.js.map b/packages/javascript/dist/gen/livekit_metrics_pb.js.map deleted file mode 100644 index 4f94cf78..00000000 --- a/packages/javascript/dist/gen/livekit_metrics_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_metrics_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_metrics.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\n\n/**\n * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)\n *\n * @generated from enum livekit.MetricLabel\n */\nexport enum MetricLabel {\n /**\n * time to first token from LLM\n *\n * @generated from enum value: AGENTS_LLM_TTFT = 0;\n */\n AGENTS_LLM_TTFT = 0,\n\n /**\n * time to final transcription\n *\n * @generated from enum value: AGENTS_STT_TTFT = 1;\n */\n AGENTS_STT_TTFT = 1,\n\n /**\n * time to first byte\n *\n * @generated from enum value: AGENTS_TTS_TTFB = 2;\n */\n AGENTS_TTS_TTFB = 2,\n\n /**\n * Number of video freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;\n */\n CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,\n\n /**\n * total duration of freezes\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,\n\n /**\n * number of video pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;\n */\n CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,\n\n /**\n * total duration of pauses\n *\n * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;\n */\n CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,\n\n /**\n * number of concealed (synthesized) audio samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,\n\n /**\n * number of silent concealed samples\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;\n */\n CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,\n\n /**\n * number of concealment events\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;\n */\n CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,\n\n /**\n * number of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;\n */\n CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,\n\n /**\n * total duration of interruptions\n *\n * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;\n */\n CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,\n\n /**\n * total time spent in jitter buffer\n *\n * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;\n */\n CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,\n\n /**\n * total duration spent in bandwidth quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,\n\n /**\n * total duration spent in cpu quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,\n\n /**\n * total duration spent in other quality limitation\n *\n * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;\n */\n CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,\n\n /**\n * Publisher RTT (participant -> server)\n *\n * @generated from enum value: PUBLISHER_RTT = 17;\n */\n PUBLISHER_RTT = 17,\n\n /**\n * RTT between publisher node and subscriber node (could involve intermedia node(s))\n *\n * @generated from enum value: SERVER_MESH_RTT = 18;\n */\n SERVER_MESH_RTT = 18,\n\n /**\n * Subscribe RTT (server -> participant)\n *\n * @generated from enum value: SUBSCRIBER_RTT = 19;\n */\n SUBSCRIBER_RTT = 19,\n\n /**\n * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;\n */\n METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096,\n}\n// Retrieve enum metadata with: proto3.getEnumType(MetricLabel)\nproto3.util.setEnumType(MetricLabel, \"livekit.MetricLabel\", [\n { no: 0, name: \"AGENTS_LLM_TTFT\" },\n { no: 1, name: \"AGENTS_STT_TTFT\" },\n { no: 2, name: \"AGENTS_TTS_TTFB\" },\n { no: 3, name: \"CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT\" },\n { no: 4, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION\" },\n { no: 5, name: \"CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT\" },\n { no: 6, name: \"CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION\" },\n { no: 7, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES\" },\n { no: 8, name: \"CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES\" },\n { no: 9, name: \"CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS\" },\n { no: 10, name: \"CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT\" },\n { no: 11, name: \"CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION\" },\n { no: 12, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY\" },\n { no: 13, name: \"CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT\" },\n { no: 14, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH\" },\n { no: 15, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU\" },\n { no: 16, name: \"CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER\" },\n { no: 17, name: \"PUBLISHER_RTT\" },\n { no: 18, name: \"SERVER_MESH_RTT\" },\n { no: 19, name: \"SUBSCRIBER_RTT\" },\n { no: 4096, name: \"METRIC_LABEL_PREDEFINED_MAX_VALUE\" },\n]);\n\n/**\n * @generated from message livekit.MetricsBatch\n */\nexport class MetricsBatch extends Message {\n /**\n * time at which this batch is sent based on a monotonic clock (millisecond resolution)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * To avoid repeating string values, we store them in a separate list and reference them by index\n * This is useful for storing participant identities, track names, etc.\n * There is also a predefined list of labels that can be used to reference common metrics.\n * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).\n * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, \n * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.\n *\n * @generated from field: repeated string str_data = 3;\n */\n strData: string[] = [];\n\n /**\n * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;\n */\n timeSeries: TimeSeriesMetric[] = [];\n\n /**\n * @generated from field: repeated livekit.EventMetric events = 5;\n */\n events: EventMetric[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricsBatch\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"str_data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"time_series\", kind: \"message\", T: TimeSeriesMetric, repeated: true },\n { no: 5, name: \"events\", kind: \"message\", T: EventMetric, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricsBatch {\n return new MetricsBatch().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricsBatch, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimeSeriesMetric\n */\nexport class TimeSeriesMetric extends Message {\n /**\n * Metric name e.g \"speech_probablity\". The string value is not directly stored in the message, but referenced by index\n * in the `str_data` field of `MetricsBatch`\n *\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * @generated from field: repeated livekit.MetricSample samples = 4;\n */\n samples: MetricSample[] = [];\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 5;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimeSeriesMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"samples\", kind: \"message\", T: MetricSample, repeated: true },\n { no: 5, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric {\n return new TimeSeriesMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimeSeriesMetric, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MetricSample\n */\nexport class MetricSample extends Message {\n /**\n * time of metric based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 timestamp_ms = 1;\n */\n timestampMs = protoInt64.zero;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;\n */\n normalizedTimestamp?: Timestamp;\n\n /**\n * @generated from field: float value = 3;\n */\n value = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MetricSample\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"normalized_timestamp\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"value\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample {\n return new MetricSample().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample {\n return new MetricSample().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MetricSample {\n return new MetricSample().fromJsonString(jsonString, options);\n }\n\n static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean {\n return proto3.util.equals(MetricSample, a, b);\n }\n}\n\n/**\n * @generated from message livekit.EventMetric\n */\nexport class EventMetric extends Message {\n /**\n * @generated from field: uint32 label = 1;\n */\n label = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 participant_identity = 2;\n */\n participantIdentity = 0;\n\n /**\n * index into `str_data`\n *\n * @generated from field: uint32 track_sid = 3;\n */\n trackSid = 0;\n\n /**\n * start time of event based on a monotonic clock (in milliseconds)\n *\n * @generated from field: int64 start_timestamp_ms = 4;\n */\n startTimestampMs = protoInt64.zero;\n\n /**\n * end time of event based on a monotonic clock (in milliseconds), if needed\n *\n * @generated from field: optional int64 end_timestamp_ms = 5;\n */\n endTimestampMs?: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;\n */\n normalizedStartTimestamp?: Timestamp;\n\n /**\n * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;\n */\n normalizedEndTimestamp?: Timestamp;\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * index into 'str_data'\n *\n * @generated from field: uint32 rid = 9;\n */\n rid = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.EventMetric\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"start_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"end_timestamp_ms\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 6, name: \"normalized_start_timestamp\", kind: \"message\", T: Timestamp },\n { no: 7, name: \"normalized_end_timestamp\", kind: \"message\", T: Timestamp, opt: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"rid\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric {\n return new EventMetric().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric {\n return new EventMetric().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): EventMetric {\n return new EventMetric().fromJsonString(jsonString, options);\n }\n\n static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean {\n return proto3.util.equals(EventMetric, a, b);\n }\n}\n\n"],"mappings":"AAMA,SAAS,SAAS,QAAQ,YAAY,iBAAiB;AAOhD,IAAK,cAAL,kBAAKA,iBAAL;AAML,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,qBAAkB,KAAlB;AAOA,EAAAA,0BAAA,0CAAuC,KAAvC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,yCAAsC,KAAtC;AAOA,EAAAA,0BAAA,mDAAgD,KAAhD;AAOA,EAAAA,0BAAA,+CAA4C,KAA5C;AAOA,EAAAA,0BAAA,sDAAmD,KAAnD;AAOA,EAAAA,0BAAA,gDAA6C,KAA7C;AAOA,EAAAA,0BAAA,gDAA6C,MAA7C;AAOA,EAAAA,0BAAA,yDAAsD,MAAtD;AAOA,EAAAA,0BAAA,2CAAwC,MAAxC;AAOA,EAAAA,0BAAA,mDAAgD,MAAhD;AAOA,EAAAA,0BAAA,kEAA+D,MAA/D;AAOA,EAAAA,0BAAA,4DAAyD,MAAzD;AAOA,EAAAA,0BAAA,8DAA2D,MAA3D;AAOA,EAAAA,0BAAA,mBAAgB,MAAhB;AAOA,EAAAA,0BAAA,qBAAkB,MAAlB;AAOA,EAAAA,0BAAA,oBAAiB,MAAjB;AAKA,EAAAA,0BAAA,uCAAoC,QAApC;AAhJU,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,EAAE,IAAI,GAAG,MAAM,4BAA4B,MAAM,WAAW,GAAG,WAAW,KAAK,KAAK;AAAA,EACpF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACxE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAO,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AACtE,CAAC;AAzEI,IAAM,cAAN;","names":["MetricLabel"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.cjs b/packages/javascript/dist/gen/livekit_models_pb.cjs deleted file mode 100644 index 64fd804f..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.cjs +++ /dev/null @@ -1,3668 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_models_pb_exports = {}; -__export(livekit_models_pb_exports, { - ActiveSpeakerUpdate: () => ActiveSpeakerUpdate, - AudioCodec: () => AudioCodec, - AudioTrackFeature: () => AudioTrackFeature, - ChatMessage: () => ChatMessage, - ClientConfigSetting: () => ClientConfigSetting, - ClientConfiguration: () => ClientConfiguration, - ClientInfo: () => ClientInfo, - ClientInfo_SDK: () => ClientInfo_SDK, - Codec: () => Codec, - ConnectionQuality: () => ConnectionQuality, - DataPacket: () => DataPacket, - DataPacket_Kind: () => DataPacket_Kind, - DataStream: () => DataStream, - DataStream_Chunk: () => DataStream_Chunk, - DataStream_FileHeader: () => DataStream_FileHeader, - DataStream_Header: () => DataStream_Header, - DataStream_OperationType: () => DataStream_OperationType, - DataStream_TextHeader: () => DataStream_TextHeader, - DisabledCodecs: () => DisabledCodecs, - DisconnectReason: () => DisconnectReason, - Encryption: () => Encryption, - Encryption_Type: () => Encryption_Type, - ImageCodec: () => ImageCodec, - ParticipantInfo: () => ParticipantInfo, - ParticipantInfo_Kind: () => ParticipantInfo_Kind, - ParticipantInfo_State: () => ParticipantInfo_State, - ParticipantPermission: () => ParticipantPermission, - ParticipantTracks: () => ParticipantTracks, - PlayoutDelay: () => PlayoutDelay, - RTCPSenderReportState: () => RTCPSenderReportState, - RTPDrift: () => RTPDrift, - RTPForwarderState: () => RTPForwarderState, - RTPMungerState: () => RTPMungerState, - RTPStats: () => RTPStats, - ReconnectReason: () => ReconnectReason, - Room: () => Room, - RpcAck: () => RpcAck, - RpcError: () => RpcError, - RpcRequest: () => RpcRequest, - RpcResponse: () => RpcResponse, - ServerInfo: () => ServerInfo, - ServerInfo_Edition: () => ServerInfo_Edition, - SimulcastCodecInfo: () => SimulcastCodecInfo, - SipDTMF: () => SipDTMF, - SpeakerInfo: () => SpeakerInfo, - SubscriptionError: () => SubscriptionError, - TimedVersion: () => TimedVersion, - TrackInfo: () => TrackInfo, - TrackSource: () => TrackSource, - TrackType: () => TrackType, - Transcription: () => Transcription, - TranscriptionSegment: () => TranscriptionSegment, - UserPacket: () => UserPacket, - VP8MungerState: () => VP8MungerState, - VideoCodec: () => VideoCodec, - VideoConfiguration: () => VideoConfiguration, - VideoLayer: () => VideoLayer, - VideoQuality: () => VideoQuality -}); -module.exports = __toCommonJS(livekit_models_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_metrics_pb = require("./livekit_metrics_pb.cjs"); -var AudioCodec = /* @__PURE__ */ ((AudioCodec2) => { - AudioCodec2[AudioCodec2["DEFAULT_AC"] = 0] = "DEFAULT_AC"; - AudioCodec2[AudioCodec2["OPUS"] = 1] = "OPUS"; - AudioCodec2[AudioCodec2["AAC"] = 2] = "AAC"; - return AudioCodec2; -})(AudioCodec || {}); -import_protobuf.proto3.util.setEnumType(AudioCodec, "livekit.AudioCodec", [ - { no: 0, name: "DEFAULT_AC" }, - { no: 1, name: "OPUS" }, - { no: 2, name: "AAC" } -]); -var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => { - VideoCodec2[VideoCodec2["DEFAULT_VC"] = 0] = "DEFAULT_VC"; - VideoCodec2[VideoCodec2["H264_BASELINE"] = 1] = "H264_BASELINE"; - VideoCodec2[VideoCodec2["H264_MAIN"] = 2] = "H264_MAIN"; - VideoCodec2[VideoCodec2["H264_HIGH"] = 3] = "H264_HIGH"; - VideoCodec2[VideoCodec2["VP8"] = 4] = "VP8"; - return VideoCodec2; -})(VideoCodec || {}); -import_protobuf.proto3.util.setEnumType(VideoCodec, "livekit.VideoCodec", [ - { no: 0, name: "DEFAULT_VC" }, - { no: 1, name: "H264_BASELINE" }, - { no: 2, name: "H264_MAIN" }, - { no: 3, name: "H264_HIGH" }, - { no: 4, name: "VP8" } -]); -var ImageCodec = /* @__PURE__ */ ((ImageCodec2) => { - ImageCodec2[ImageCodec2["IC_DEFAULT"] = 0] = "IC_DEFAULT"; - ImageCodec2[ImageCodec2["IC_JPEG"] = 1] = "IC_JPEG"; - return ImageCodec2; -})(ImageCodec || {}); -import_protobuf.proto3.util.setEnumType(ImageCodec, "livekit.ImageCodec", [ - { no: 0, name: "IC_DEFAULT" }, - { no: 1, name: "IC_JPEG" } -]); -var TrackType = /* @__PURE__ */ ((TrackType2) => { - TrackType2[TrackType2["AUDIO"] = 0] = "AUDIO"; - TrackType2[TrackType2["VIDEO"] = 1] = "VIDEO"; - TrackType2[TrackType2["DATA"] = 2] = "DATA"; - return TrackType2; -})(TrackType || {}); -import_protobuf.proto3.util.setEnumType(TrackType, "livekit.TrackType", [ - { no: 0, name: "AUDIO" }, - { no: 1, name: "VIDEO" }, - { no: 2, name: "DATA" } -]); -var TrackSource = /* @__PURE__ */ ((TrackSource2) => { - TrackSource2[TrackSource2["UNKNOWN"] = 0] = "UNKNOWN"; - TrackSource2[TrackSource2["CAMERA"] = 1] = "CAMERA"; - TrackSource2[TrackSource2["MICROPHONE"] = 2] = "MICROPHONE"; - TrackSource2[TrackSource2["SCREEN_SHARE"] = 3] = "SCREEN_SHARE"; - TrackSource2[TrackSource2["SCREEN_SHARE_AUDIO"] = 4] = "SCREEN_SHARE_AUDIO"; - return TrackSource2; -})(TrackSource || {}); -import_protobuf.proto3.util.setEnumType(TrackSource, "livekit.TrackSource", [ - { no: 0, name: "UNKNOWN" }, - { no: 1, name: "CAMERA" }, - { no: 2, name: "MICROPHONE" }, - { no: 3, name: "SCREEN_SHARE" }, - { no: 4, name: "SCREEN_SHARE_AUDIO" } -]); -var VideoQuality = /* @__PURE__ */ ((VideoQuality2) => { - VideoQuality2[VideoQuality2["LOW"] = 0] = "LOW"; - VideoQuality2[VideoQuality2["MEDIUM"] = 1] = "MEDIUM"; - VideoQuality2[VideoQuality2["HIGH"] = 2] = "HIGH"; - VideoQuality2[VideoQuality2["OFF"] = 3] = "OFF"; - return VideoQuality2; -})(VideoQuality || {}); -import_protobuf.proto3.util.setEnumType(VideoQuality, "livekit.VideoQuality", [ - { no: 0, name: "LOW" }, - { no: 1, name: "MEDIUM" }, - { no: 2, name: "HIGH" }, - { no: 3, name: "OFF" } -]); -var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => { - ConnectionQuality2[ConnectionQuality2["POOR"] = 0] = "POOR"; - ConnectionQuality2[ConnectionQuality2["GOOD"] = 1] = "GOOD"; - ConnectionQuality2[ConnectionQuality2["EXCELLENT"] = 2] = "EXCELLENT"; - ConnectionQuality2[ConnectionQuality2["LOST"] = 3] = "LOST"; - return ConnectionQuality2; -})(ConnectionQuality || {}); -import_protobuf.proto3.util.setEnumType(ConnectionQuality, "livekit.ConnectionQuality", [ - { no: 0, name: "POOR" }, - { no: 1, name: "GOOD" }, - { no: 2, name: "EXCELLENT" }, - { no: 3, name: "LOST" } -]); -var ClientConfigSetting = /* @__PURE__ */ ((ClientConfigSetting2) => { - ClientConfigSetting2[ClientConfigSetting2["UNSET"] = 0] = "UNSET"; - ClientConfigSetting2[ClientConfigSetting2["DISABLED"] = 1] = "DISABLED"; - ClientConfigSetting2[ClientConfigSetting2["ENABLED"] = 2] = "ENABLED"; - return ClientConfigSetting2; -})(ClientConfigSetting || {}); -import_protobuf.proto3.util.setEnumType(ClientConfigSetting, "livekit.ClientConfigSetting", [ - { no: 0, name: "UNSET" }, - { no: 1, name: "DISABLED" }, - { no: 2, name: "ENABLED" } -]); -var DisconnectReason = /* @__PURE__ */ ((DisconnectReason2) => { - DisconnectReason2[DisconnectReason2["UNKNOWN_REASON"] = 0] = "UNKNOWN_REASON"; - DisconnectReason2[DisconnectReason2["CLIENT_INITIATED"] = 1] = "CLIENT_INITIATED"; - DisconnectReason2[DisconnectReason2["DUPLICATE_IDENTITY"] = 2] = "DUPLICATE_IDENTITY"; - DisconnectReason2[DisconnectReason2["SERVER_SHUTDOWN"] = 3] = "SERVER_SHUTDOWN"; - DisconnectReason2[DisconnectReason2["PARTICIPANT_REMOVED"] = 4] = "PARTICIPANT_REMOVED"; - DisconnectReason2[DisconnectReason2["ROOM_DELETED"] = 5] = "ROOM_DELETED"; - DisconnectReason2[DisconnectReason2["STATE_MISMATCH"] = 6] = "STATE_MISMATCH"; - DisconnectReason2[DisconnectReason2["JOIN_FAILURE"] = 7] = "JOIN_FAILURE"; - DisconnectReason2[DisconnectReason2["MIGRATION"] = 8] = "MIGRATION"; - DisconnectReason2[DisconnectReason2["SIGNAL_CLOSE"] = 9] = "SIGNAL_CLOSE"; - DisconnectReason2[DisconnectReason2["ROOM_CLOSED"] = 10] = "ROOM_CLOSED"; - DisconnectReason2[DisconnectReason2["USER_UNAVAILABLE"] = 11] = "USER_UNAVAILABLE"; - DisconnectReason2[DisconnectReason2["USER_REJECTED"] = 12] = "USER_REJECTED"; - DisconnectReason2[DisconnectReason2["SIP_TRUNK_FAILURE"] = 13] = "SIP_TRUNK_FAILURE"; - return DisconnectReason2; -})(DisconnectReason || {}); -import_protobuf.proto3.util.setEnumType(DisconnectReason, "livekit.DisconnectReason", [ - { no: 0, name: "UNKNOWN_REASON" }, - { no: 1, name: "CLIENT_INITIATED" }, - { no: 2, name: "DUPLICATE_IDENTITY" }, - { no: 3, name: "SERVER_SHUTDOWN" }, - { no: 4, name: "PARTICIPANT_REMOVED" }, - { no: 5, name: "ROOM_DELETED" }, - { no: 6, name: "STATE_MISMATCH" }, - { no: 7, name: "JOIN_FAILURE" }, - { no: 8, name: "MIGRATION" }, - { no: 9, name: "SIGNAL_CLOSE" }, - { no: 10, name: "ROOM_CLOSED" }, - { no: 11, name: "USER_UNAVAILABLE" }, - { no: 12, name: "USER_REJECTED" }, - { no: 13, name: "SIP_TRUNK_FAILURE" } -]); -var ReconnectReason = /* @__PURE__ */ ((ReconnectReason2) => { - ReconnectReason2[ReconnectReason2["RR_UNKNOWN"] = 0] = "RR_UNKNOWN"; - ReconnectReason2[ReconnectReason2["RR_SIGNAL_DISCONNECTED"] = 1] = "RR_SIGNAL_DISCONNECTED"; - ReconnectReason2[ReconnectReason2["RR_PUBLISHER_FAILED"] = 2] = "RR_PUBLISHER_FAILED"; - ReconnectReason2[ReconnectReason2["RR_SUBSCRIBER_FAILED"] = 3] = "RR_SUBSCRIBER_FAILED"; - ReconnectReason2[ReconnectReason2["RR_SWITCH_CANDIDATE"] = 4] = "RR_SWITCH_CANDIDATE"; - return ReconnectReason2; -})(ReconnectReason || {}); -import_protobuf.proto3.util.setEnumType(ReconnectReason, "livekit.ReconnectReason", [ - { no: 0, name: "RR_UNKNOWN" }, - { no: 1, name: "RR_SIGNAL_DISCONNECTED" }, - { no: 2, name: "RR_PUBLISHER_FAILED" }, - { no: 3, name: "RR_SUBSCRIBER_FAILED" }, - { no: 4, name: "RR_SWITCH_CANDIDATE" } -]); -var SubscriptionError = /* @__PURE__ */ ((SubscriptionError2) => { - SubscriptionError2[SubscriptionError2["SE_UNKNOWN"] = 0] = "SE_UNKNOWN"; - SubscriptionError2[SubscriptionError2["SE_CODEC_UNSUPPORTED"] = 1] = "SE_CODEC_UNSUPPORTED"; - SubscriptionError2[SubscriptionError2["SE_TRACK_NOTFOUND"] = 2] = "SE_TRACK_NOTFOUND"; - return SubscriptionError2; -})(SubscriptionError || {}); -import_protobuf.proto3.util.setEnumType(SubscriptionError, "livekit.SubscriptionError", [ - { no: 0, name: "SE_UNKNOWN" }, - { no: 1, name: "SE_CODEC_UNSUPPORTED" }, - { no: 2, name: "SE_TRACK_NOTFOUND" } -]); -var AudioTrackFeature = /* @__PURE__ */ ((AudioTrackFeature2) => { - AudioTrackFeature2[AudioTrackFeature2["TF_STEREO"] = 0] = "TF_STEREO"; - AudioTrackFeature2[AudioTrackFeature2["TF_NO_DTX"] = 1] = "TF_NO_DTX"; - AudioTrackFeature2[AudioTrackFeature2["TF_AUTO_GAIN_CONTROL"] = 2] = "TF_AUTO_GAIN_CONTROL"; - AudioTrackFeature2[AudioTrackFeature2["TF_ECHO_CANCELLATION"] = 3] = "TF_ECHO_CANCELLATION"; - AudioTrackFeature2[AudioTrackFeature2["TF_NOISE_SUPPRESSION"] = 4] = "TF_NOISE_SUPPRESSION"; - AudioTrackFeature2[AudioTrackFeature2["TF_ENHANCED_NOISE_CANCELLATION"] = 5] = "TF_ENHANCED_NOISE_CANCELLATION"; - return AudioTrackFeature2; -})(AudioTrackFeature || {}); -import_protobuf.proto3.util.setEnumType(AudioTrackFeature, "livekit.AudioTrackFeature", [ - { no: 0, name: "TF_STEREO" }, - { no: 1, name: "TF_NO_DTX" }, - { no: 2, name: "TF_AUTO_GAIN_CONTROL" }, - { no: 3, name: "TF_ECHO_CANCELLATION" }, - { no: 4, name: "TF_NOISE_SUPPRESSION" }, - { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" } -]); -const _Room = class _Room extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: uint32 empty_timeout = 3; - */ - this.emptyTimeout = 0; - /** - * @generated from field: uint32 departure_timeout = 14; - */ - this.departureTimeout = 0; - /** - * @generated from field: uint32 max_participants = 4; - */ - this.maxParticipants = 0; - /** - * @generated from field: int64 creation_time = 5; - */ - this.creationTime = import_protobuf.protoInt64.zero; - /** - * @generated from field: string turn_password = 6; - */ - this.turnPassword = ""; - /** - * @generated from field: repeated livekit.Codec enabled_codecs = 7; - */ - this.enabledCodecs = []; - /** - * @generated from field: string metadata = 8; - */ - this.metadata = ""; - /** - * @generated from field: uint32 num_participants = 9; - */ - this.numParticipants = 0; - /** - * @generated from field: uint32 num_publishers = 11; - */ - this.numPublishers = 0; - /** - * @generated from field: bool active_recording = 10; - */ - this.activeRecording = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Room().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Room().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Room().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Room, a, b); - } -}; -_Room.runtime = import_protobuf.proto3; -_Room.typeName = "livekit.Room"; -_Room.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 14, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "creation_time", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "turn_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, - { - no: 8, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "num_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 11, - name: "num_publishers", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "active_recording", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 13, name: "version", kind: "message", T: TimedVersion } -]); -let Room = _Room; -const _Codec = class _Codec extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string mime = 1; - */ - this.mime = ""; - /** - * @generated from field: string fmtp_line = 2; - */ - this.fmtpLine = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Codec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Codec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Codec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Codec, a, b); - } -}; -_Codec.runtime = import_protobuf.proto3; -_Codec.typeName = "livekit.Codec"; -_Codec.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "fmtp_line", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let Codec = _Codec; -const _PlayoutDelay = class _PlayoutDelay extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: bool enabled = 1; - */ - this.enabled = false; - /** - * @generated from field: uint32 min = 2; - */ - this.min = 0; - /** - * @generated from field: uint32 max = 3; - */ - this.max = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _PlayoutDelay().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _PlayoutDelay().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _PlayoutDelay().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_PlayoutDelay, a, b); - } -}; -_PlayoutDelay.runtime = import_protobuf.proto3; -_PlayoutDelay.typeName = "livekit.PlayoutDelay"; -_PlayoutDelay.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "min", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "max", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let PlayoutDelay = _PlayoutDelay; -const _ParticipantPermission = class _ParticipantPermission extends import_protobuf.Message { - constructor(data) { - super(); - /** - * allow participant to subscribe to other tracks in the room - * - * @generated from field: bool can_subscribe = 1; - */ - this.canSubscribe = false; - /** - * allow participant to publish new tracks to room - * - * @generated from field: bool can_publish = 2; - */ - this.canPublish = false; - /** - * allow participant to publish data - * - * @generated from field: bool can_publish_data = 3; - */ - this.canPublishData = false; - /** - * sources that are allowed to be published - * - * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; - */ - this.canPublishSources = []; - /** - * indicates that it's hidden to others - * - * @generated from field: bool hidden = 7; - */ - this.hidden = false; - /** - * indicates it's a recorder instance - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool recorder = 8 [deprecated = true]; - * @deprecated - */ - this.recorder = false; - /** - * indicates that participant can update own metadata and attributes - * - * @generated from field: bool can_update_metadata = 10; - */ - this.canUpdateMetadata = false; - /** - * indicates that participant is an agent - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool agent = 11 [deprecated = true]; - * @deprecated - */ - this.agent = false; - /** - * if a participant can subscribe to metrics - * - * @generated from field: bool can_subscribe_metrics = 12; - */ - this.canSubscribeMetrics = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ParticipantPermission, a, b); - } -}; -_ParticipantPermission.runtime = import_protobuf.proto3; -_ParticipantPermission.typeName = "livekit.ParticipantPermission"; -_ParticipantPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "can_subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "can_publish", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "can_publish_data", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 9, name: "can_publish_sources", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource), repeated: true }, - { - no: 7, - name: "hidden", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 8, - name: "recorder", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "can_update_metadata", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 11, - name: "agent", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 12, - name: "can_subscribe_metrics", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ParticipantPermission = _ParticipantPermission; -const _ParticipantInfo = class _ParticipantInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: livekit.ParticipantInfo.State state = 3; - */ - this.state = 0 /* JOINING */; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 4; - */ - this.tracks = []; - /** - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * timestamp when participant joined room, in seconds - * - * @generated from field: int64 joined_at = 6; - */ - this.joinedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: string name = 9; - */ - this.name = ""; - /** - * @generated from field: uint32 version = 10; - */ - this.version = 0; - /** - * @generated from field: string region = 12; - */ - this.region = ""; - /** - * indicates the participant has an active publisher connection - * and can publish to the server - * - * @generated from field: bool is_publisher = 13; - */ - this.isPublisher = false; - /** - * @generated from field: livekit.ParticipantInfo.Kind kind = 14; - */ - this.kind = 0 /* STANDARD */; - /** - * @generated from field: map attributes = 15; - */ - this.attributes = {}; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 16; - */ - this.disconnectReason = 0 /* UNKNOWN_REASON */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ParticipantInfo, a, b); - } -}; -_ParticipantInfo.runtime = import_protobuf.proto3; -_ParticipantInfo.typeName = "livekit.ParticipantInfo"; -_ParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_State) }, - { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "joined_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 9, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "version", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, - { - no: 12, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 13, - name: "is_publisher", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(ParticipantInfo_Kind) }, - { no: 15, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 16, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(DisconnectReason) } -]); -let ParticipantInfo = _ParticipantInfo; -var ParticipantInfo_State = /* @__PURE__ */ ((ParticipantInfo_State2) => { - ParticipantInfo_State2[ParticipantInfo_State2["JOINING"] = 0] = "JOINING"; - ParticipantInfo_State2[ParticipantInfo_State2["JOINED"] = 1] = "JOINED"; - ParticipantInfo_State2[ParticipantInfo_State2["ACTIVE"] = 2] = "ACTIVE"; - ParticipantInfo_State2[ParticipantInfo_State2["DISCONNECTED"] = 3] = "DISCONNECTED"; - return ParticipantInfo_State2; -})(ParticipantInfo_State || {}); -import_protobuf.proto3.util.setEnumType(ParticipantInfo_State, "livekit.ParticipantInfo.State", [ - { no: 0, name: "JOINING" }, - { no: 1, name: "JOINED" }, - { no: 2, name: "ACTIVE" }, - { no: 3, name: "DISCONNECTED" } -]); -var ParticipantInfo_Kind = /* @__PURE__ */ ((ParticipantInfo_Kind2) => { - ParticipantInfo_Kind2[ParticipantInfo_Kind2["STANDARD"] = 0] = "STANDARD"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["INGRESS"] = 1] = "INGRESS"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["EGRESS"] = 2] = "EGRESS"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["SIP"] = 3] = "SIP"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["AGENT"] = 4] = "AGENT"; - return ParticipantInfo_Kind2; -})(ParticipantInfo_Kind || {}); -import_protobuf.proto3.util.setEnumType(ParticipantInfo_Kind, "livekit.ParticipantInfo.Kind", [ - { no: 0, name: "STANDARD" }, - { no: 1, name: "INGRESS" }, - { no: 2, name: "EGRESS" }, - { no: 3, name: "SIP" }, - { no: 4, name: "AGENT" } -]); -const _Encryption = class _Encryption extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Encryption().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Encryption().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Encryption().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Encryption, a, b); - } -}; -_Encryption.runtime = import_protobuf.proto3; -_Encryption.typeName = "livekit.Encryption"; -_Encryption.fields = import_protobuf.proto3.util.newFieldList(() => []); -let Encryption = _Encryption; -var Encryption_Type = /* @__PURE__ */ ((Encryption_Type2) => { - Encryption_Type2[Encryption_Type2["NONE"] = 0] = "NONE"; - Encryption_Type2[Encryption_Type2["GCM"] = 1] = "GCM"; - Encryption_Type2[Encryption_Type2["CUSTOM"] = 2] = "CUSTOM"; - return Encryption_Type2; -})(Encryption_Type || {}); -import_protobuf.proto3.util.setEnumType(Encryption_Type, "livekit.Encryption.Type", [ - { no: 0, name: "NONE" }, - { no: 1, name: "GCM" }, - { no: 2, name: "CUSTOM" } -]); -const _SimulcastCodecInfo = class _SimulcastCodecInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: string mid = 2; - */ - this.mid = ""; - /** - * @generated from field: string cid = 3; - */ - this.cid = ""; - /** - * @generated from field: repeated livekit.VideoLayer layers = 4; - */ - this.layers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulcastCodecInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulcastCodecInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulcastCodecInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SimulcastCodecInfo, a, b); - } -}; -_SimulcastCodecInfo.runtime = import_protobuf.proto3; -_SimulcastCodecInfo.typeName = "livekit.SimulcastCodecInfo"; -_SimulcastCodecInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "mid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true } -]); -let SimulcastCodecInfo = _SimulcastCodecInfo; -const _TrackInfo = class _TrackInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: livekit.TrackType type = 2; - */ - this.type = 0 /* AUDIO */; - /** - * @generated from field: string name = 3; - */ - this.name = ""; - /** - * @generated from field: bool muted = 4; - */ - this.muted = false; - /** - * original width of video (unset for audio) - * clients may receive a lower resolution version with simulcast - * - * @generated from field: uint32 width = 5; - */ - this.width = 0; - /** - * original height of video (unset for audio) - * - * @generated from field: uint32 height = 6; - */ - this.height = 0; - /** - * true if track is simulcasted - * - * @generated from field: bool simulcast = 7; - */ - this.simulcast = false; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 8; - */ - this.disableDtx = false; - /** - * source of media - * - * @generated from field: livekit.TrackSource source = 9; - */ - this.source = 0 /* UNKNOWN */; - /** - * @generated from field: repeated livekit.VideoLayer layers = 10; - */ - this.layers = []; - /** - * mime type of codec - * - * @generated from field: string mime_type = 11; - */ - this.mimeType = ""; - /** - * @generated from field: string mid = 12; - */ - this.mid = ""; - /** - * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; - */ - this.codecs = []; - /** - * @generated from field: bool stereo = 14; - */ - this.stereo = false; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 15; - */ - this.disableRed = false; - /** - * @generated from field: livekit.Encryption.Type encryption = 16; - */ - this.encryption = 0 /* NONE */; - /** - * @generated from field: string stream = 17; - */ - this.stream = ""; - /** - * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; - */ - this.audioFeatures = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackInfo, a, b); - } -}; -_TrackInfo.runtime = import_protobuf.proto3; -_TrackInfo.typeName = "livekit.TrackInfo"; -_TrackInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackType) }, - { - no: 3, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "simulcast", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 8, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 9, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(TrackSource) }, - { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - { - no: 11, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "mid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, - { - no: 14, - name: "stereo", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 15, - name: "disable_red", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 16, name: "encryption", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) }, - { - no: 17, - name: "stream", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 18, name: "version", kind: "message", T: TimedVersion }, - { no: 19, name: "audio_features", kind: "enum", T: import_protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true } -]); -let TrackInfo = _TrackInfo; -const _VideoLayer = class _VideoLayer extends import_protobuf.Message { - constructor(data) { - super(); - /** - * for tracks with a single layer, this should be HIGH - * - * @generated from field: livekit.VideoQuality quality = 1; - */ - this.quality = 0 /* LOW */; - /** - * @generated from field: uint32 width = 2; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 3; - */ - this.height = 0; - /** - * target bitrate in bit per second (bps), server will measure actual - * - * @generated from field: uint32 bitrate = 4; - */ - this.bitrate = 0; - /** - * @generated from field: uint32 ssrc = 5; - */ - this.ssrc = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VideoLayer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VideoLayer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VideoLayer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_VideoLayer, a, b); - } -}; -_VideoLayer.runtime = import_protobuf.proto3; -_VideoLayer.typeName = "livekit.VideoLayer"; -_VideoLayer.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(VideoQuality) }, - { - no: 2, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "ssrc", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let VideoLayer = _VideoLayer; -const _DataPacket = class _DataPacket extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; - * @deprecated - */ - this.kind = 0 /* RELIABLE */; - /** - * participant identity of user that sent the message - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 5; - */ - this.destinationIdentities = []; - /** - * @generated from oneof livekit.DataPacket.value - */ - this.value = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataPacket().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataPacket().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataPacket().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataPacket, a, b); - } -}; -_DataPacket.runtime = import_protobuf.proto3; -_DataPacket.typeName = "livekit.DataPacket"; -_DataPacket.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(DataPacket_Kind) }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, - { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, - { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, - { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, - { no: 8, name: "metrics", kind: "message", T: import_livekit_metrics_pb.MetricsBatch, oneof: "value" }, - { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, - { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, - { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, - { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, - { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, - { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" } -]); -let DataPacket = _DataPacket; -var DataPacket_Kind = /* @__PURE__ */ ((DataPacket_Kind2) => { - DataPacket_Kind2[DataPacket_Kind2["RELIABLE"] = 0] = "RELIABLE"; - DataPacket_Kind2[DataPacket_Kind2["LOSSY"] = 1] = "LOSSY"; - return DataPacket_Kind2; -})(DataPacket_Kind || {}); -import_protobuf.proto3.util.setEnumType(DataPacket_Kind, "livekit.DataPacket.Kind", [ - { no: 0, name: "RELIABLE" }, - { no: 1, name: "LOSSY" } -]); -const _ActiveSpeakerUpdate = class _ActiveSpeakerUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - this.speakers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ActiveSpeakerUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ActiveSpeakerUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ActiveSpeakerUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ActiveSpeakerUpdate, a, b); - } -}; -_ActiveSpeakerUpdate.runtime = import_protobuf.proto3; -_ActiveSpeakerUpdate.typeName = "livekit.ActiveSpeakerUpdate"; -_ActiveSpeakerUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } -]); -let ActiveSpeakerUpdate = _ActiveSpeakerUpdate; -const _SpeakerInfo = class _SpeakerInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * audio level, 0-1.0, 1 is loudest - * - * @generated from field: float level = 2; - */ - this.level = 0; - /** - * true if speaker is currently active - * - * @generated from field: bool active = 3; - */ - this.active = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SpeakerInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SpeakerInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SpeakerInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SpeakerInfo, a, b); - } -}; -_SpeakerInfo.runtime = import_protobuf.proto3; -_SpeakerInfo.typeName = "livekit.SpeakerInfo"; -_SpeakerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "level", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 3, - name: "active", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SpeakerInfo = _SpeakerInfo; -const _UserPacket = class _UserPacket extends import_protobuf.Message { - constructor(data) { - super(); - /** - * participant ID of user that sent the message - * - * @generated from field: string participant_sid = 1 [deprecated = true]; - * @deprecated - */ - this.participantSid = ""; - /** - * @generated from field: string participant_identity = 5 [deprecated = true]; - * @deprecated - */ - this.participantIdentity = ""; - /** - * user defined payload - * - * @generated from field: bytes payload = 2; - */ - this.payload = new Uint8Array(0); - /** - * the ID of the participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_sids = 3 [deprecated = true]; - * @deprecated - */ - this.destinationSids = []; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 6 [deprecated = true]; - * @deprecated - */ - this.destinationIdentities = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UserPacket().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UserPacket().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UserPacket().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UserPacket, a, b); - } -}; -_UserPacket.runtime = import_protobuf.proto3; -_UserPacket.typeName = "livekit.UserPacket"; -_UserPacket.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "payload", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 3, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 4, name: "topic", kind: "scalar", T: 9, opt: true }, - { no: 8, name: "id", kind: "scalar", T: 9, opt: true }, - { no: 9, name: "start_time", kind: "scalar", T: 4, opt: true }, - { no: 10, name: "end_time", kind: "scalar", T: 4, opt: true } -]); -let UserPacket = _UserPacket; -const _SipDTMF = class _SipDTMF extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 code = 3; - */ - this.code = 0; - /** - * @generated from field: string digit = 4; - */ - this.digit = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SipDTMF().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SipDTMF().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SipDTMF().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SipDTMF, a, b); - } -}; -_SipDTMF.runtime = import_protobuf.proto3; -_SipDTMF.typeName = "livekit.SipDTMF"; -_SipDTMF.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 3, - name: "code", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "digit", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SipDTMF = _SipDTMF; -const _Transcription = class _Transcription extends import_protobuf.Message { - constructor(data) { - super(); - /** - * Participant that got its speech transcribed - * - * @generated from field: string transcribed_participant_identity = 2; - */ - this.transcribedParticipantIdentity = ""; - /** - * @generated from field: string track_id = 3; - */ - this.trackId = ""; - /** - * @generated from field: repeated livekit.TranscriptionSegment segments = 4; - */ - this.segments = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Transcription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Transcription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Transcription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Transcription, a, b); - } -}; -_Transcription.runtime = import_protobuf.proto3; -_Transcription.typeName = "livekit.Transcription"; -_Transcription.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 2, - name: "transcribed_participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true } -]); -let Transcription = _Transcription; -const _TranscriptionSegment = class _TranscriptionSegment extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string text = 2; - */ - this.text = ""; - /** - * @generated from field: uint64 start_time = 3; - */ - this.startTime = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 end_time = 4; - */ - this.endTime = import_protobuf.protoInt64.zero; - /** - * @generated from field: bool final = 5; - */ - this.final = false; - /** - * @generated from field: string language = 6; - */ - this.language = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TranscriptionSegment().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TranscriptionSegment().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TranscriptionSegment().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TranscriptionSegment, a, b); - } -}; -_TranscriptionSegment.runtime = import_protobuf.proto3; -_TranscriptionSegment.typeName = "livekit.TranscriptionSegment"; -_TranscriptionSegment.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "text", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "start_time", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "end_time", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "final", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "language", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TranscriptionSegment = _TranscriptionSegment; -const _ChatMessage = class _ChatMessage extends import_protobuf.Message { - constructor(data) { - super(); - /** - * uuid - * - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: string message = 4; - */ - this.message = ""; - /** - * true to remove message - * - * @generated from field: bool deleted = 5; - */ - this.deleted = false; - /** - * true if the chat message has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 6; - */ - this.generated = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ChatMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ChatMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ChatMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ChatMessage, a, b); - } -}; -_ChatMessage.runtime = import_protobuf.proto3; -_ChatMessage.typeName = "livekit.ChatMessage"; -_ChatMessage.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 3, name: "edit_timestamp", kind: "scalar", T: 3, opt: true }, - { - no: 4, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "deleted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "generated", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ChatMessage = _ChatMessage; -const _RpcRequest = class _RpcRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string method = 2; - */ - this.method = ""; - /** - * @generated from field: string payload = 3; - */ - this.payload = ""; - /** - * @generated from field: uint32 response_timeout_ms = 4; - */ - this.responseTimeoutMs = 0; - /** - * @generated from field: uint32 version = 5; - */ - this.version = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RpcRequest, a, b); - } -}; -_RpcRequest.runtime = import_protobuf.proto3; -_RpcRequest.typeName = "livekit.RpcRequest"; -_RpcRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "method", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "payload", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "response_timeout_ms", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "version", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let RpcRequest = _RpcRequest; -const _RpcAck = class _RpcAck extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string request_id = 1; - */ - this.requestId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcAck().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcAck().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcAck().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RpcAck, a, b); - } -}; -_RpcAck.runtime = import_protobuf.proto3; -_RpcAck.typeName = "livekit.RpcAck"; -_RpcAck.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RpcAck = _RpcAck; -const _RpcResponse = class _RpcResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string request_id = 1; - */ - this.requestId = ""; - /** - * @generated from oneof livekit.RpcResponse.value - */ - this.value = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RpcResponse, a, b); - } -}; -_RpcResponse.runtime = import_protobuf.proto3; -_RpcResponse.typeName = "livekit.RpcResponse"; -_RpcResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" }, - { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" } -]); -let RpcResponse = _RpcResponse; -const _RpcError = class _RpcError extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 code = 1; - */ - this.code = 0; - /** - * @generated from field: string message = 2; - */ - this.message = ""; - /** - * @generated from field: string data = 3; - */ - this.data = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcError().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcError().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcError().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RpcError, a, b); - } -}; -_RpcError.runtime = import_protobuf.proto3; -_RpcError.typeName = "livekit.RpcError"; -_RpcError.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "code", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "data", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RpcError = _RpcError; -const _ParticipantTracks = class _ParticipantTracks extends import_protobuf.Message { - constructor(data) { - super(); - /** - * participant ID of participant to whom the tracks belong - * - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: repeated string track_sids = 2; - */ - this.trackSids = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantTracks().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantTracks().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantTracks().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ParticipantTracks, a, b); - } -}; -_ParticipantTracks.runtime = import_protobuf.proto3; -_ParticipantTracks.typeName = "livekit.ParticipantTracks"; -_ParticipantTracks.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "track_sids", kind: "scalar", T: 9, repeated: true } -]); -let ParticipantTracks = _ParticipantTracks; -const _ServerInfo = class _ServerInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ServerInfo.Edition edition = 1; - */ - this.edition = 0 /* Standard */; - /** - * @generated from field: string version = 2; - */ - this.version = ""; - /** - * @generated from field: int32 protocol = 3; - */ - this.protocol = 0; - /** - * @generated from field: string region = 4; - */ - this.region = ""; - /** - * @generated from field: string node_id = 5; - */ - this.nodeId = ""; - /** - * additional debugging information. sent only if server is in development mode - * - * @generated from field: string debug_info = 6; - */ - this.debugInfo = ""; - /** - * @generated from field: int32 agent_protocol = 7; - */ - this.agentProtocol = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ServerInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ServerInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ServerInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ServerInfo, a, b); - } -}; -_ServerInfo.runtime = import_protobuf.proto3; -_ServerInfo.typeName = "livekit.ServerInfo"; -_ServerInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "edition", kind: "enum", T: import_protobuf.proto3.getEnumType(ServerInfo_Edition) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "debug_info", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "agent_protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let ServerInfo = _ServerInfo; -var ServerInfo_Edition = /* @__PURE__ */ ((ServerInfo_Edition2) => { - ServerInfo_Edition2[ServerInfo_Edition2["Standard"] = 0] = "Standard"; - ServerInfo_Edition2[ServerInfo_Edition2["Cloud"] = 1] = "Cloud"; - return ServerInfo_Edition2; -})(ServerInfo_Edition || {}); -import_protobuf.proto3.util.setEnumType(ServerInfo_Edition, "livekit.ServerInfo.Edition", [ - { no: 0, name: "Standard" }, - { no: 1, name: "Cloud" } -]); -const _ClientInfo = class _ClientInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientInfo.SDK sdk = 1; - */ - this.sdk = 0 /* UNKNOWN */; - /** - * @generated from field: string version = 2; - */ - this.version = ""; - /** - * @generated from field: int32 protocol = 3; - */ - this.protocol = 0; - /** - * @generated from field: string os = 4; - */ - this.os = ""; - /** - * @generated from field: string os_version = 5; - */ - this.osVersion = ""; - /** - * @generated from field: string device_model = 6; - */ - this.deviceModel = ""; - /** - * @generated from field: string browser = 7; - */ - this.browser = ""; - /** - * @generated from field: string browser_version = 8; - */ - this.browserVersion = ""; - /** - * @generated from field: string address = 9; - */ - this.address = ""; - /** - * wifi, wired, cellular, vpn, empty if not known - * - * @generated from field: string network = 10; - */ - this.network = ""; - /** - * comma separated list of additional LiveKit SDKs in use of this client, with versions - * e.g. "components-js:1.2.3,track-processors-js:1.2.3" - * - * @generated from field: string other_sdks = 11; - */ - this.otherSdks = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ClientInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ClientInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ClientInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ClientInfo, a, b); - } -}; -_ClientInfo.runtime = import_protobuf.proto3; -_ClientInfo.typeName = "livekit.ClientInfo"; -_ClientInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "sdk", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientInfo_SDK) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "os", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "os_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "device_model", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "browser", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "browser_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "network", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "other_sdks", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ClientInfo = _ClientInfo; -var ClientInfo_SDK = /* @__PURE__ */ ((ClientInfo_SDK2) => { - ClientInfo_SDK2[ClientInfo_SDK2["UNKNOWN"] = 0] = "UNKNOWN"; - ClientInfo_SDK2[ClientInfo_SDK2["JS"] = 1] = "JS"; - ClientInfo_SDK2[ClientInfo_SDK2["SWIFT"] = 2] = "SWIFT"; - ClientInfo_SDK2[ClientInfo_SDK2["ANDROID"] = 3] = "ANDROID"; - ClientInfo_SDK2[ClientInfo_SDK2["FLUTTER"] = 4] = "FLUTTER"; - ClientInfo_SDK2[ClientInfo_SDK2["GO"] = 5] = "GO"; - ClientInfo_SDK2[ClientInfo_SDK2["UNITY"] = 6] = "UNITY"; - ClientInfo_SDK2[ClientInfo_SDK2["REACT_NATIVE"] = 7] = "REACT_NATIVE"; - ClientInfo_SDK2[ClientInfo_SDK2["RUST"] = 8] = "RUST"; - ClientInfo_SDK2[ClientInfo_SDK2["PYTHON"] = 9] = "PYTHON"; - ClientInfo_SDK2[ClientInfo_SDK2["CPP"] = 10] = "CPP"; - ClientInfo_SDK2[ClientInfo_SDK2["UNITY_WEB"] = 11] = "UNITY_WEB"; - ClientInfo_SDK2[ClientInfo_SDK2["NODE"] = 12] = "NODE"; - return ClientInfo_SDK2; -})(ClientInfo_SDK || {}); -import_protobuf.proto3.util.setEnumType(ClientInfo_SDK, "livekit.ClientInfo.SDK", [ - { no: 0, name: "UNKNOWN" }, - { no: 1, name: "JS" }, - { no: 2, name: "SWIFT" }, - { no: 3, name: "ANDROID" }, - { no: 4, name: "FLUTTER" }, - { no: 5, name: "GO" }, - { no: 6, name: "UNITY" }, - { no: 7, name: "REACT_NATIVE" }, - { no: 8, name: "RUST" }, - { no: 9, name: "PYTHON" }, - { no: 10, name: "CPP" }, - { no: 11, name: "UNITY_WEB" }, - { no: 12, name: "NODE" } -]); -const _ClientConfiguration = class _ClientConfiguration extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientConfigSetting resume_connection = 3; - */ - this.resumeConnection = 0 /* UNSET */; - /** - * @generated from field: livekit.ClientConfigSetting force_relay = 5; - */ - this.forceRelay = 0 /* UNSET */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ClientConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ClientConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ClientConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ClientConfiguration, a, b); - } -}; -_ClientConfiguration.runtime = import_protobuf.proto3; -_ClientConfiguration.typeName = "livekit.ClientConfiguration"; -_ClientConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "video", kind: "message", T: VideoConfiguration }, - { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, - { no: 3, name: "resume_connection", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) }, - { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, - { no: 5, name: "force_relay", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) } -]); -let ClientConfiguration = _ClientConfiguration; -const _VideoConfiguration = class _VideoConfiguration extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; - */ - this.hardwareEncoder = 0 /* UNSET */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VideoConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VideoConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VideoConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_VideoConfiguration, a, b); - } -}; -_VideoConfiguration.runtime = import_protobuf.proto3; -_VideoConfiguration.typeName = "livekit.VideoConfiguration"; -_VideoConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "hardware_encoder", kind: "enum", T: import_protobuf.proto3.getEnumType(ClientConfigSetting) } -]); -let VideoConfiguration = _VideoConfiguration; -const _DisabledCodecs = class _DisabledCodecs extends import_protobuf.Message { - constructor(data) { - super(); - /** - * disabled for both publish and subscribe - * - * @generated from field: repeated livekit.Codec codecs = 1; - */ - this.codecs = []; - /** - * only disable for publish - * - * @generated from field: repeated livekit.Codec publish = 2; - */ - this.publish = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DisabledCodecs().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DisabledCodecs().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DisabledCodecs().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DisabledCodecs, a, b); - } -}; -_DisabledCodecs.runtime = import_protobuf.proto3; -_DisabledCodecs.typeName = "livekit.DisabledCodecs"; -_DisabledCodecs.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, - { no: 2, name: "publish", kind: "message", T: Codec, repeated: true } -]); -let DisabledCodecs = _DisabledCodecs; -const _RTPDrift = class _RTPDrift extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: double duration = 3; - */ - this.duration = 0; - /** - * @generated from field: uint64 start_timestamp = 4; - */ - this.startTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 end_timestamp = 5; - */ - this.endTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 rtp_clock_ticks = 6; - */ - this.rtpClockTicks = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 drift_samples = 7; - */ - this.driftSamples = import_protobuf.protoInt64.zero; - /** - * @generated from field: double drift_ms = 8; - */ - this.driftMs = 0; - /** - * @generated from field: double clock_rate = 9; - */ - this.clockRate = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPDrift().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPDrift().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPDrift().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RTPDrift, a, b); - } -}; -_RTPDrift.runtime = import_protobuf.proto3; -_RTPDrift.typeName = "livekit.RTPDrift"; -_RTPDrift.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, - { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, - { - no: 3, - name: "duration", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 4, - name: "start_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "end_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 6, - name: "rtp_clock_ticks", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 7, - name: "drift_samples", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 8, - name: "drift_ms", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 9, - name: "clock_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let RTPDrift = _RTPDrift; -const _RTPStats = class _RTPStats extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: double duration = 3; - */ - this.duration = 0; - /** - * @generated from field: uint32 packets = 4; - */ - this.packets = 0; - /** - * @generated from field: double packet_rate = 5; - */ - this.packetRate = 0; - /** - * @generated from field: uint64 bytes = 6; - */ - this.bytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 header_bytes = 39; - */ - this.headerBytes = import_protobuf.protoInt64.zero; - /** - * @generated from field: double bitrate = 7; - */ - this.bitrate = 0; - /** - * @generated from field: uint32 packets_lost = 8; - */ - this.packetsLost = 0; - /** - * @generated from field: double packet_loss_rate = 9; - */ - this.packetLossRate = 0; - /** - * @generated from field: float packet_loss_percentage = 10; - */ - this.packetLossPercentage = 0; - /** - * @generated from field: uint32 packets_duplicate = 11; - */ - this.packetsDuplicate = 0; - /** - * @generated from field: double packet_duplicate_rate = 12; - */ - this.packetDuplicateRate = 0; - /** - * @generated from field: uint64 bytes_duplicate = 13; - */ - this.bytesDuplicate = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 header_bytes_duplicate = 40; - */ - this.headerBytesDuplicate = import_protobuf.protoInt64.zero; - /** - * @generated from field: double bitrate_duplicate = 14; - */ - this.bitrateDuplicate = 0; - /** - * @generated from field: uint32 packets_padding = 15; - */ - this.packetsPadding = 0; - /** - * @generated from field: double packet_padding_rate = 16; - */ - this.packetPaddingRate = 0; - /** - * @generated from field: uint64 bytes_padding = 17; - */ - this.bytesPadding = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 header_bytes_padding = 41; - */ - this.headerBytesPadding = import_protobuf.protoInt64.zero; - /** - * @generated from field: double bitrate_padding = 18; - */ - this.bitratePadding = 0; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - this.packetsOutOfOrder = 0; - /** - * @generated from field: uint32 frames = 20; - */ - this.frames = 0; - /** - * @generated from field: double frame_rate = 21; - */ - this.frameRate = 0; - /** - * @generated from field: double jitter_current = 22; - */ - this.jitterCurrent = 0; - /** - * @generated from field: double jitter_max = 23; - */ - this.jitterMax = 0; - /** - * @generated from field: map gap_histogram = 24; - */ - this.gapHistogram = {}; - /** - * @generated from field: uint32 nacks = 25; - */ - this.nacks = 0; - /** - * @generated from field: uint32 nack_acks = 37; - */ - this.nackAcks = 0; - /** - * @generated from field: uint32 nack_misses = 26; - */ - this.nackMisses = 0; - /** - * @generated from field: uint32 nack_repeated = 38; - */ - this.nackRepeated = 0; - /** - * @generated from field: uint32 plis = 27; - */ - this.plis = 0; - /** - * @generated from field: uint32 firs = 29; - */ - this.firs = 0; - /** - * @generated from field: uint32 rtt_current = 31; - */ - this.rttCurrent = 0; - /** - * @generated from field: uint32 rtt_max = 32; - */ - this.rttMax = 0; - /** - * @generated from field: uint32 key_frames = 33; - */ - this.keyFrames = 0; - /** - * @generated from field: uint32 layer_lock_plis = 35; - */ - this.layerLockPlis = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RTPStats, a, b); - } -}; -_RTPStats.runtime = import_protobuf.proto3; -_RTPStats.typeName = "livekit.RTPStats"; -_RTPStats.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "start_time", kind: "message", T: import_protobuf.Timestamp }, - { no: 2, name: "end_time", kind: "message", T: import_protobuf.Timestamp }, - { - no: 3, - name: "duration", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 4, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "packet_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 6, - name: "bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 39, - name: "header_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 7, - name: "bitrate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 8, - name: "packets_lost", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "packet_loss_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 10, - name: "packet_loss_percentage", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 11, - name: "packets_duplicate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 12, - name: "packet_duplicate_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 13, - name: "bytes_duplicate", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 40, - name: "header_bytes_duplicate", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 14, - name: "bitrate_duplicate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 15, - name: "packets_padding", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 16, - name: "packet_padding_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 17, - name: "bytes_padding", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 41, - name: "header_bytes_padding", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 18, - name: "bitrate_padding", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 19, - name: "packets_out_of_order", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 20, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 21, - name: "frame_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 22, - name: "jitter_current", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 23, - name: "jitter_max", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { no: 24, name: "gap_histogram", kind: "map", K: 5, V: { - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } }, - { - no: 25, - name: "nacks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 37, - name: "nack_acks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 26, - name: "nack_misses", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 38, - name: "nack_repeated", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 27, - name: "plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 28, name: "last_pli", kind: "message", T: import_protobuf.Timestamp }, - { - no: 29, - name: "firs", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 30, name: "last_fir", kind: "message", T: import_protobuf.Timestamp }, - { - no: 31, - name: "rtt_current", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 32, - name: "rtt_max", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 33, - name: "key_frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 34, name: "last_key_frame", kind: "message", T: import_protobuf.Timestamp }, - { - no: 35, - name: "layer_lock_plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 36, name: "last_layer_lock_pli", kind: "message", T: import_protobuf.Timestamp }, - { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, - { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, - { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, - { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift } -]); -let RTPStats = _RTPStats; -const _RTCPSenderReportState = class _RTCPSenderReportState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 rtp_timestamp = 1; - */ - this.rtpTimestamp = 0; - /** - * @generated from field: uint64 rtp_timestamp_ext = 2; - */ - this.rtpTimestampExt = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 ntp_timestamp = 3; - */ - this.ntpTimestamp = import_protobuf.protoInt64.zero; - /** - * time at which this happened - * - * @generated from field: int64 at = 4; - */ - this.at = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 at_adjusted = 5; - */ - this.atAdjusted = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint32 packets = 6; - */ - this.packets = 0; - /** - * @generated from field: uint64 octets = 7; - */ - this.octets = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTCPSenderReportState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTCPSenderReportState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTCPSenderReportState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RTCPSenderReportState, a, b); - } -}; -_RTCPSenderReportState.runtime = import_protobuf.proto3; -_RTCPSenderReportState.typeName = "livekit.RTCPSenderReportState"; -_RTCPSenderReportState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "rtp_timestamp", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "rtp_timestamp_ext", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "ntp_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "at_adjusted", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "octets", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - } -]); -let RTCPSenderReportState = _RTCPSenderReportState; -const _RTPForwarderState = class _RTPForwarderState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: bool started = 1; - */ - this.started = false; - /** - * @generated from field: int32 reference_layer_spatial = 2; - */ - this.referenceLayerSpatial = 0; - /** - * @generated from field: int64 pre_start_time = 3; - */ - this.preStartTime = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 ext_first_timestamp = 4; - */ - this.extFirstTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 dummy_start_timestamp_offset = 5; - */ - this.dummyStartTimestampOffset = import_protobuf.protoInt64.zero; - /** - * @generated from oneof livekit.RTPForwarderState.codec_munger - */ - this.codecMunger = { case: void 0 }; - /** - * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; - */ - this.senderReportState = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPForwarderState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPForwarderState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPForwarderState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RTPForwarderState, a, b); - } -}; -_RTPForwarderState.runtime = import_protobuf.proto3; -_RTPForwarderState.typeName = "livekit.RTPForwarderState"; -_RTPForwarderState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "started", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "reference_layer_spatial", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "pre_start_time", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "ext_first_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "dummy_start_timestamp_offset", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, - { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, - { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true } -]); -let RTPForwarderState = _RTPForwarderState; -const _RTPMungerState = class _RTPMungerState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint64 ext_last_sequence_number = 1; - */ - this.extLastSequenceNumber = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 ext_second_last_sequence_number = 2; - */ - this.extSecondLastSequenceNumber = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 ext_last_timestamp = 3; - */ - this.extLastTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: uint64 ext_second_last_timestamp = 4; - */ - this.extSecondLastTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: bool last_marker = 5; - */ - this.lastMarker = false; - /** - * @generated from field: bool second_last_marker = 6; - */ - this.secondLastMarker = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPMungerState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPMungerState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPMungerState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RTPMungerState, a, b); - } -}; -_RTPMungerState.runtime = import_protobuf.proto3; -_RTPMungerState.typeName = "livekit.RTPMungerState"; -_RTPMungerState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ext_last_sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 2, - name: "ext_second_last_sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "ext_last_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "ext_second_last_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "last_marker", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "second_last_marker", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let RTPMungerState = _RTPMungerState; -const _VP8MungerState = class _VP8MungerState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int32 ext_last_picture_id = 1; - */ - this.extLastPictureId = 0; - /** - * @generated from field: bool picture_id_used = 2; - */ - this.pictureIdUsed = false; - /** - * @generated from field: uint32 last_tl0_pic_idx = 3; - */ - this.lastTl0PicIdx = 0; - /** - * @generated from field: bool tl0_pic_idx_used = 4; - */ - this.tl0PicIdxUsed = false; - /** - * @generated from field: bool tid_used = 5; - */ - this.tidUsed = false; - /** - * @generated from field: uint32 last_key_idx = 6; - */ - this.lastKeyIdx = 0; - /** - * @generated from field: bool key_idx_used = 7; - */ - this.keyIdxUsed = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VP8MungerState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VP8MungerState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VP8MungerState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_VP8MungerState, a, b); - } -}; -_VP8MungerState.runtime = import_protobuf.proto3; -_VP8MungerState.typeName = "livekit.VP8MungerState"; -_VP8MungerState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "ext_last_picture_id", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "picture_id_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "last_tl0_pic_idx", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "tl0_pic_idx_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "tid_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "last_key_idx", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "key_idx_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let VP8MungerState = _VP8MungerState; -const _TimedVersion = class _TimedVersion extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int64 unix_micro = 1; - */ - this.unixMicro = import_protobuf.protoInt64.zero; - /** - * @generated from field: int32 ticks = 2; - */ - this.ticks = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TimedVersion().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TimedVersion().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TimedVersion().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TimedVersion, a, b); - } -}; -_TimedVersion.runtime = import_protobuf.proto3; -_TimedVersion.typeName = "livekit.TimedVersion"; -_TimedVersion.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "unix_micro", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "ticks", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let TimedVersion = _TimedVersion; -const _DataStream = class _DataStream extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataStream, a, b); - } -}; -_DataStream.runtime = import_protobuf.proto3; -_DataStream.typeName = "livekit.DataStream"; -_DataStream.fields = import_protobuf.proto3.util.newFieldList(() => []); -let DataStream = _DataStream; -var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => { - DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE"; - DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE"; - DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE"; - DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION"; - return DataStream_OperationType2; -})(DataStream_OperationType || {}); -import_protobuf.proto3.util.setEnumType(DataStream_OperationType, "livekit.DataStream.OperationType", [ - { no: 0, name: "CREATE" }, - { no: 1, name: "UPDATE" }, - { no: 2, name: "DELETE" }, - { no: 3, name: "REACTION" } -]); -const _DataStream_TextHeader = class _DataStream_TextHeader extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.DataStream.OperationType operation_type = 1; - */ - this.operationType = 0 /* CREATE */; - /** - * Optional: Version for updates/edits - * - * @generated from field: int32 version = 2; - */ - this.version = 0; - /** - * Optional: Reply to specific message - * - * @generated from field: string reply_to_stream_id = 3; - */ - this.replyToStreamId = ""; - /** - * file attachments for text streams - * - * @generated from field: repeated string attached_stream_ids = 4; - */ - this.attachedStreamIds = []; - /** - * true if the text has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 5; - */ - this.generated = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_TextHeader().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_TextHeader().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_TextHeader().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataStream_TextHeader, a, b); - } -}; -_DataStream_TextHeader.runtime = import_protobuf.proto3; -_DataStream_TextHeader.typeName = "livekit.DataStream.TextHeader"; -_DataStream_TextHeader.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "operation_type", kind: "enum", T: import_protobuf.proto3.getEnumType(DataStream_OperationType) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "reply_to_stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "generated", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let DataStream_TextHeader = _DataStream_TextHeader; -const _DataStream_FileHeader = class _DataStream_FileHeader extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the file - * - * @generated from field: string file_name = 1; - */ - this.fileName = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_FileHeader().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_FileHeader().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_FileHeader().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataStream_FileHeader, a, b); - } -}; -_DataStream_FileHeader.runtime = import_protobuf.proto3; -_DataStream_FileHeader.typeName = "livekit.DataStream.FileHeader"; -_DataStream_FileHeader.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "file_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DataStream_FileHeader = _DataStream_FileHeader; -const _DataStream_Header = class _DataStream_Header extends import_protobuf.Message { - constructor(data) { - super(); - /** - * unique identifier for this data stream - * - * @generated from field: string stream_id = 1; - */ - this.streamId = ""; - /** - * using int64 for Unix timestamp - * - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: string topic = 3; - */ - this.topic = ""; - /** - * @generated from field: string mime_type = 4; - */ - this.mimeType = ""; - /** - * defaults to NONE - * - * @generated from field: livekit.Encryption.Type encryption_type = 7; - */ - this.encryptionType = 0 /* NONE */; - /** - * user defined extensions map that can carry additional info - * - * @generated from field: map extensions = 8; - */ - this.extensions = {}; - /** - * oneof to choose between specific header types - * - * @generated from oneof livekit.DataStream.Header.content_header - */ - this.contentHeader = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_Header().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_Header().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_Header().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataStream_Header, a, b); - } -}; -_DataStream_Header.runtime = import_protobuf.proto3; -_DataStream_Header.typeName = "livekit.DataStream.Header"; -_DataStream_Header.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "topic", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "total_length", kind: "scalar", T: 4, opt: true }, - { no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true }, - { no: 7, name: "encryption_type", kind: "enum", T: import_protobuf.proto3.getEnumType(Encryption_Type) }, - { no: 8, name: "extensions", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, - { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" } -]); -let DataStream_Header = _DataStream_Header; -const _DataStream_Chunk = class _DataStream_Chunk extends import_protobuf.Message { - constructor(data) { - super(); - /** - * unique identifier for this data stream to map it to the correct header - * - * @generated from field: string stream_id = 1; - */ - this.streamId = ""; - /** - * @generated from field: uint64 chunk_index = 2; - */ - this.chunkIndex = import_protobuf.protoInt64.zero; - /** - * content as binary (bytes) - * - * @generated from field: bytes content = 3; - */ - this.content = new Uint8Array(0); - /** - * true only if this is the last chunk of this stream - can also be sent with empty content - * - * @generated from field: bool complete = 4; - */ - this.complete = false; - /** - * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - * - * @generated from field: int32 version = 5; - */ - this.version = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_Chunk().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_Chunk().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_Chunk().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataStream_Chunk, a, b); - } -}; -_DataStream_Chunk.runtime = import_protobuf.proto3; -_DataStream_Chunk.typeName = "livekit.DataStream.Chunk"; -_DataStream_Chunk.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "chunk_index", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "content", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { - no: 4, - name: "complete", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "version", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 6, name: "iv", kind: "scalar", T: 12, opt: true } -]); -let DataStream_Chunk = _DataStream_Chunk; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - ActiveSpeakerUpdate, - AudioCodec, - AudioTrackFeature, - ChatMessage, - ClientConfigSetting, - ClientConfiguration, - ClientInfo, - ClientInfo_SDK, - Codec, - ConnectionQuality, - DataPacket, - DataPacket_Kind, - DataStream, - DataStream_Chunk, - DataStream_FileHeader, - DataStream_Header, - DataStream_OperationType, - DataStream_TextHeader, - DisabledCodecs, - DisconnectReason, - Encryption, - Encryption_Type, - ImageCodec, - ParticipantInfo, - ParticipantInfo_Kind, - ParticipantInfo_State, - ParticipantPermission, - ParticipantTracks, - PlayoutDelay, - RTCPSenderReportState, - RTPDrift, - RTPForwarderState, - RTPMungerState, - RTPStats, - ReconnectReason, - Room, - RpcAck, - RpcError, - RpcRequest, - RpcResponse, - ServerInfo, - ServerInfo_Edition, - SimulcastCodecInfo, - SipDTMF, - SpeakerInfo, - SubscriptionError, - TimedVersion, - TrackInfo, - TrackSource, - TrackType, - Transcription, - TranscriptionSegment, - UserPacket, - VP8MungerState, - VideoCodec, - VideoConfiguration, - VideoLayer, - VideoQuality -}); -//# sourceMappingURL=livekit_models_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.cjs.map b/packages/javascript/dist/gen/livekit_models_pb.cjs.map deleted file mode 100644 index 0374e232..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_models_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_models.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { MetricsBatch } from \"./livekit_metrics_pb.js\";\n\n/**\n * @generated from enum livekit.AudioCodec\n */\nexport enum AudioCodec {\n /**\n * @generated from enum value: DEFAULT_AC = 0;\n */\n DEFAULT_AC = 0,\n\n /**\n * @generated from enum value: OPUS = 1;\n */\n OPUS = 1,\n\n /**\n * @generated from enum value: AAC = 2;\n */\n AAC = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)\nproto3.util.setEnumType(AudioCodec, \"livekit.AudioCodec\", [\n { no: 0, name: \"DEFAULT_AC\" },\n { no: 1, name: \"OPUS\" },\n { no: 2, name: \"AAC\" },\n]);\n\n/**\n * @generated from enum livekit.VideoCodec\n */\nexport enum VideoCodec {\n /**\n * @generated from enum value: DEFAULT_VC = 0;\n */\n DEFAULT_VC = 0,\n\n /**\n * @generated from enum value: H264_BASELINE = 1;\n */\n H264_BASELINE = 1,\n\n /**\n * @generated from enum value: H264_MAIN = 2;\n */\n H264_MAIN = 2,\n\n /**\n * @generated from enum value: H264_HIGH = 3;\n */\n H264_HIGH = 3,\n\n /**\n * @generated from enum value: VP8 = 4;\n */\n VP8 = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)\nproto3.util.setEnumType(VideoCodec, \"livekit.VideoCodec\", [\n { no: 0, name: \"DEFAULT_VC\" },\n { no: 1, name: \"H264_BASELINE\" },\n { no: 2, name: \"H264_MAIN\" },\n { no: 3, name: \"H264_HIGH\" },\n { no: 4, name: \"VP8\" },\n]);\n\n/**\n * @generated from enum livekit.ImageCodec\n */\nexport enum ImageCodec {\n /**\n * @generated from enum value: IC_DEFAULT = 0;\n */\n IC_DEFAULT = 0,\n\n /**\n * @generated from enum value: IC_JPEG = 1;\n */\n IC_JPEG = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageCodec)\nproto3.util.setEnumType(ImageCodec, \"livekit.ImageCodec\", [\n { no: 0, name: \"IC_DEFAULT\" },\n { no: 1, name: \"IC_JPEG\" },\n]);\n\n/**\n * @generated from enum livekit.TrackType\n */\nexport enum TrackType {\n /**\n * @generated from enum value: AUDIO = 0;\n */\n AUDIO = 0,\n\n /**\n * @generated from enum value: VIDEO = 1;\n */\n VIDEO = 1,\n\n /**\n * @generated from enum value: DATA = 2;\n */\n DATA = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackType)\nproto3.util.setEnumType(TrackType, \"livekit.TrackType\", [\n { no: 0, name: \"AUDIO\" },\n { no: 1, name: \"VIDEO\" },\n { no: 2, name: \"DATA\" },\n]);\n\n/**\n * @generated from enum livekit.TrackSource\n */\nexport enum TrackSource {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: CAMERA = 1;\n */\n CAMERA = 1,\n\n /**\n * @generated from enum value: MICROPHONE = 2;\n */\n MICROPHONE = 2,\n\n /**\n * @generated from enum value: SCREEN_SHARE = 3;\n */\n SCREEN_SHARE = 3,\n\n /**\n * @generated from enum value: SCREEN_SHARE_AUDIO = 4;\n */\n SCREEN_SHARE_AUDIO = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackSource)\nproto3.util.setEnumType(TrackSource, \"livekit.TrackSource\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"CAMERA\" },\n { no: 2, name: \"MICROPHONE\" },\n { no: 3, name: \"SCREEN_SHARE\" },\n { no: 4, name: \"SCREEN_SHARE_AUDIO\" },\n]);\n\n/**\n * @generated from enum livekit.VideoQuality\n */\nexport enum VideoQuality {\n /**\n * @generated from enum value: LOW = 0;\n */\n LOW = 0,\n\n /**\n * @generated from enum value: MEDIUM = 1;\n */\n MEDIUM = 1,\n\n /**\n * @generated from enum value: HIGH = 2;\n */\n HIGH = 2,\n\n /**\n * @generated from enum value: OFF = 3;\n */\n OFF = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoQuality)\nproto3.util.setEnumType(VideoQuality, \"livekit.VideoQuality\", [\n { no: 0, name: \"LOW\" },\n { no: 1, name: \"MEDIUM\" },\n { no: 2, name: \"HIGH\" },\n { no: 3, name: \"OFF\" },\n]);\n\n/**\n * @generated from enum livekit.ConnectionQuality\n */\nexport enum ConnectionQuality {\n /**\n * @generated from enum value: POOR = 0;\n */\n POOR = 0,\n\n /**\n * @generated from enum value: GOOD = 1;\n */\n GOOD = 1,\n\n /**\n * @generated from enum value: EXCELLENT = 2;\n */\n EXCELLENT = 2,\n\n /**\n * @generated from enum value: LOST = 3;\n */\n LOST = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ConnectionQuality)\nproto3.util.setEnumType(ConnectionQuality, \"livekit.ConnectionQuality\", [\n { no: 0, name: \"POOR\" },\n { no: 1, name: \"GOOD\" },\n { no: 2, name: \"EXCELLENT\" },\n { no: 3, name: \"LOST\" },\n]);\n\n/**\n * @generated from enum livekit.ClientConfigSetting\n */\nexport enum ClientConfigSetting {\n /**\n * @generated from enum value: UNSET = 0;\n */\n UNSET = 0,\n\n /**\n * @generated from enum value: DISABLED = 1;\n */\n DISABLED = 1,\n\n /**\n * @generated from enum value: ENABLED = 2;\n */\n ENABLED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientConfigSetting)\nproto3.util.setEnumType(ClientConfigSetting, \"livekit.ClientConfigSetting\", [\n { no: 0, name: \"UNSET\" },\n { no: 1, name: \"DISABLED\" },\n { no: 2, name: \"ENABLED\" },\n]);\n\n/**\n * @generated from enum livekit.DisconnectReason\n */\nexport enum DisconnectReason {\n /**\n * @generated from enum value: UNKNOWN_REASON = 0;\n */\n UNKNOWN_REASON = 0,\n\n /**\n * the client initiated the disconnect\n *\n * @generated from enum value: CLIENT_INITIATED = 1;\n */\n CLIENT_INITIATED = 1,\n\n /**\n * another participant with the same identity has joined the room\n *\n * @generated from enum value: DUPLICATE_IDENTITY = 2;\n */\n DUPLICATE_IDENTITY = 2,\n\n /**\n * the server instance is shutting down\n *\n * @generated from enum value: SERVER_SHUTDOWN = 3;\n */\n SERVER_SHUTDOWN = 3,\n\n /**\n * RoomService.RemoveParticipant was called\n *\n * @generated from enum value: PARTICIPANT_REMOVED = 4;\n */\n PARTICIPANT_REMOVED = 4,\n\n /**\n * RoomService.DeleteRoom was called\n *\n * @generated from enum value: ROOM_DELETED = 5;\n */\n ROOM_DELETED = 5,\n\n /**\n * the client is attempting to resume a session, but server is not aware of it\n *\n * @generated from enum value: STATE_MISMATCH = 6;\n */\n STATE_MISMATCH = 6,\n\n /**\n * client was unable to connect fully\n *\n * @generated from enum value: JOIN_FAILURE = 7;\n */\n JOIN_FAILURE = 7,\n\n /**\n * Cloud-only, the server requested Participant to migrate the connection elsewhere\n *\n * @generated from enum value: MIGRATION = 8;\n */\n MIGRATION = 8,\n\n /**\n * the signal websocket was closed unexpectedly\n *\n * @generated from enum value: SIGNAL_CLOSE = 9;\n */\n SIGNAL_CLOSE = 9,\n\n /**\n * the room was closed, due to all Standard and Ingress participants having left\n *\n * @generated from enum value: ROOM_CLOSED = 10;\n */\n ROOM_CLOSED = 10,\n\n /**\n * SIP callee did not respond in time\n *\n * @generated from enum value: USER_UNAVAILABLE = 11;\n */\n USER_UNAVAILABLE = 11,\n\n /**\n * SIP callee rejected the call (busy)\n *\n * @generated from enum value: USER_REJECTED = 12;\n */\n USER_REJECTED = 12,\n\n /**\n * SIP protocol failure or unexpected response\n *\n * @generated from enum value: SIP_TRUNK_FAILURE = 13;\n */\n SIP_TRUNK_FAILURE = 13,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DisconnectReason)\nproto3.util.setEnumType(DisconnectReason, \"livekit.DisconnectReason\", [\n { no: 0, name: \"UNKNOWN_REASON\" },\n { no: 1, name: \"CLIENT_INITIATED\" },\n { no: 2, name: \"DUPLICATE_IDENTITY\" },\n { no: 3, name: \"SERVER_SHUTDOWN\" },\n { no: 4, name: \"PARTICIPANT_REMOVED\" },\n { no: 5, name: \"ROOM_DELETED\" },\n { no: 6, name: \"STATE_MISMATCH\" },\n { no: 7, name: \"JOIN_FAILURE\" },\n { no: 8, name: \"MIGRATION\" },\n { no: 9, name: \"SIGNAL_CLOSE\" },\n { no: 10, name: \"ROOM_CLOSED\" },\n { no: 11, name: \"USER_UNAVAILABLE\" },\n { no: 12, name: \"USER_REJECTED\" },\n { no: 13, name: \"SIP_TRUNK_FAILURE\" },\n]);\n\n/**\n * @generated from enum livekit.ReconnectReason\n */\nexport enum ReconnectReason {\n /**\n * @generated from enum value: RR_UNKNOWN = 0;\n */\n RR_UNKNOWN = 0,\n\n /**\n * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;\n */\n RR_SIGNAL_DISCONNECTED = 1,\n\n /**\n * @generated from enum value: RR_PUBLISHER_FAILED = 2;\n */\n RR_PUBLISHER_FAILED = 2,\n\n /**\n * @generated from enum value: RR_SUBSCRIBER_FAILED = 3;\n */\n RR_SUBSCRIBER_FAILED = 3,\n\n /**\n * @generated from enum value: RR_SWITCH_CANDIDATE = 4;\n */\n RR_SWITCH_CANDIDATE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ReconnectReason)\nproto3.util.setEnumType(ReconnectReason, \"livekit.ReconnectReason\", [\n { no: 0, name: \"RR_UNKNOWN\" },\n { no: 1, name: \"RR_SIGNAL_DISCONNECTED\" },\n { no: 2, name: \"RR_PUBLISHER_FAILED\" },\n { no: 3, name: \"RR_SUBSCRIBER_FAILED\" },\n { no: 4, name: \"RR_SWITCH_CANDIDATE\" },\n]);\n\n/**\n * @generated from enum livekit.SubscriptionError\n */\nexport enum SubscriptionError {\n /**\n * @generated from enum value: SE_UNKNOWN = 0;\n */\n SE_UNKNOWN = 0,\n\n /**\n * @generated from enum value: SE_CODEC_UNSUPPORTED = 1;\n */\n SE_CODEC_UNSUPPORTED = 1,\n\n /**\n * @generated from enum value: SE_TRACK_NOTFOUND = 2;\n */\n SE_TRACK_NOTFOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SubscriptionError)\nproto3.util.setEnumType(SubscriptionError, \"livekit.SubscriptionError\", [\n { no: 0, name: \"SE_UNKNOWN\" },\n { no: 1, name: \"SE_CODEC_UNSUPPORTED\" },\n { no: 2, name: \"SE_TRACK_NOTFOUND\" },\n]);\n\n/**\n * @generated from enum livekit.AudioTrackFeature\n */\nexport enum AudioTrackFeature {\n /**\n * @generated from enum value: TF_STEREO = 0;\n */\n TF_STEREO = 0,\n\n /**\n * @generated from enum value: TF_NO_DTX = 1;\n */\n TF_NO_DTX = 1,\n\n /**\n * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;\n */\n TF_AUTO_GAIN_CONTROL = 2,\n\n /**\n * @generated from enum value: TF_ECHO_CANCELLATION = 3;\n */\n TF_ECHO_CANCELLATION = 3,\n\n /**\n * @generated from enum value: TF_NOISE_SUPPRESSION = 4;\n */\n TF_NOISE_SUPPRESSION = 4,\n\n /**\n * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;\n */\n TF_ENHANCED_NOISE_CANCELLATION = 5,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioTrackFeature)\nproto3.util.setEnumType(AudioTrackFeature, \"livekit.AudioTrackFeature\", [\n { no: 0, name: \"TF_STEREO\" },\n { no: 1, name: \"TF_NO_DTX\" },\n { no: 2, name: \"TF_AUTO_GAIN_CONTROL\" },\n { no: 3, name: \"TF_ECHO_CANCELLATION\" },\n { no: 4, name: \"TF_NOISE_SUPPRESSION\" },\n { no: 5, name: \"TF_ENHANCED_NOISE_CANCELLATION\" },\n]);\n\n/**\n * @generated from message livekit.Room\n */\nexport class Room extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 empty_timeout = 3;\n */\n emptyTimeout = 0;\n\n /**\n * @generated from field: uint32 departure_timeout = 14;\n */\n departureTimeout = 0;\n\n /**\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * @generated from field: int64 creation_time = 5;\n */\n creationTime = protoInt64.zero;\n\n /**\n * @generated from field: string turn_password = 6;\n */\n turnPassword = \"\";\n\n /**\n * @generated from field: repeated livekit.Codec enabled_codecs = 7;\n */\n enabledCodecs: Codec[] = [];\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * @generated from field: uint32 num_participants = 9;\n */\n numParticipants = 0;\n\n /**\n * @generated from field: uint32 num_publishers = 11;\n */\n numPublishers = 0;\n\n /**\n * @generated from field: bool active_recording = 10;\n */\n activeRecording = false;\n\n /**\n * @generated from field: livekit.TimedVersion version = 13;\n */\n version?: TimedVersion;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Room\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"creation_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"turn_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"enabled_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"num_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"num_publishers\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"active_recording\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"version\", kind: \"message\", T: TimedVersion },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Room {\n return new Room().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Room {\n return new Room().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Room {\n return new Room().fromJsonString(jsonString, options);\n }\n\n static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean {\n return proto3.util.equals(Room, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Codec\n */\nexport class Codec extends Message {\n /**\n * @generated from field: string mime = 1;\n */\n mime = \"\";\n\n /**\n * @generated from field: string fmtp_line = 2;\n */\n fmtpLine = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Codec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"fmtp_line\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Codec {\n return new Codec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Codec {\n return new Codec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Codec {\n return new Codec().fromJsonString(jsonString, options);\n }\n\n static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean {\n return proto3.util.equals(Codec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.PlayoutDelay\n */\nexport class PlayoutDelay extends Message {\n /**\n * @generated from field: bool enabled = 1;\n */\n enabled = false;\n\n /**\n * @generated from field: uint32 min = 2;\n */\n min = 0;\n\n /**\n * @generated from field: uint32 max = 3;\n */\n max = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.PlayoutDelay\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"min\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJsonString(jsonString, options);\n }\n\n static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean {\n return proto3.util.equals(PlayoutDelay, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantPermission\n */\nexport class ParticipantPermission extends Message {\n /**\n * allow participant to subscribe to other tracks in the room\n *\n * @generated from field: bool can_subscribe = 1;\n */\n canSubscribe = false;\n\n /**\n * allow participant to publish new tracks to room\n *\n * @generated from field: bool can_publish = 2;\n */\n canPublish = false;\n\n /**\n * allow participant to publish data\n *\n * @generated from field: bool can_publish_data = 3;\n */\n canPublishData = false;\n\n /**\n * sources that are allowed to be published\n *\n * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;\n */\n canPublishSources: TrackSource[] = [];\n\n /**\n * indicates that it's hidden to others\n *\n * @generated from field: bool hidden = 7;\n */\n hidden = false;\n\n /**\n * indicates it's a recorder instance\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool recorder = 8 [deprecated = true];\n * @deprecated\n */\n recorder = false;\n\n /**\n * indicates that participant can update own metadata and attributes\n *\n * @generated from field: bool can_update_metadata = 10;\n */\n canUpdateMetadata = false;\n\n /**\n * indicates that participant is an agent\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool agent = 11 [deprecated = true];\n * @deprecated\n */\n agent = false;\n\n /**\n * if a participant can subscribe to metrics\n *\n * @generated from field: bool can_subscribe_metrics = 12;\n */\n canSubscribeMetrics = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"can_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"can_publish_data\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"can_publish_sources\", kind: \"enum\", T: proto3.getEnumType(TrackSource), repeated: true },\n { no: 7, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"can_update_metadata\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"agent\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"can_subscribe_metrics\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantInfo\n */\nexport class ParticipantInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 3;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 4;\n */\n tracks: TrackInfo[] = [];\n\n /**\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * timestamp when participant joined room, in seconds\n *\n * @generated from field: int64 joined_at = 6;\n */\n joinedAt = protoInt64.zero;\n\n /**\n * @generated from field: string name = 9;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 version = 10;\n */\n version = 0;\n\n /**\n * @generated from field: livekit.ParticipantPermission permission = 11;\n */\n permission?: ParticipantPermission;\n\n /**\n * @generated from field: string region = 12;\n */\n region = \"\";\n\n /**\n * indicates the participant has an active publisher connection\n * and can publish to the server\n *\n * @generated from field: bool is_publisher = 13;\n */\n isPublisher = false;\n\n /**\n * @generated from field: livekit.ParticipantInfo.Kind kind = 14;\n */\n kind = ParticipantInfo_Kind.STANDARD;\n\n /**\n * @generated from field: map attributes = 15;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 16;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 4, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"joined_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 12, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"is_publisher\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_Kind) },\n { no: 15, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 16, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ParticipantInfo.State\n */\nexport enum ParticipantInfo_State {\n /**\n * websocket' connected, but not offered yet\n *\n * @generated from enum value: JOINING = 0;\n */\n JOINING = 0,\n\n /**\n * server received client offer\n *\n * @generated from enum value: JOINED = 1;\n */\n JOINED = 1,\n\n /**\n * ICE connectivity established\n *\n * @generated from enum value: ACTIVE = 2;\n */\n ACTIVE = 2,\n\n /**\n * WS disconnected\n *\n * @generated from enum value: DISCONNECTED = 3;\n */\n DISCONNECTED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_State)\nproto3.util.setEnumType(ParticipantInfo_State, \"livekit.ParticipantInfo.State\", [\n { no: 0, name: \"JOINING\" },\n { no: 1, name: \"JOINED\" },\n { no: 2, name: \"ACTIVE\" },\n { no: 3, name: \"DISCONNECTED\" },\n]);\n\n/**\n * @generated from enum livekit.ParticipantInfo.Kind\n */\nexport enum ParticipantInfo_Kind {\n /**\n * standard participants, e.g. web clients\n *\n * @generated from enum value: STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * only ingests streams\n *\n * @generated from enum value: INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * only consumes streams\n *\n * @generated from enum value: EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * SIP participants\n *\n * @generated from enum value: SIP = 3;\n */\n SIP = 3,\n\n /**\n * LiveKit agents\n *\n * @generated from enum value: AGENT = 4;\n */\n AGENT = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_Kind)\nproto3.util.setEnumType(ParticipantInfo_Kind, \"livekit.ParticipantInfo.Kind\", [\n { no: 0, name: \"STANDARD\" },\n { no: 1, name: \"INGRESS\" },\n { no: 2, name: \"EGRESS\" },\n { no: 3, name: \"SIP\" },\n { no: 4, name: \"AGENT\" },\n]);\n\n/**\n * @generated from message livekit.Encryption\n */\nexport class Encryption extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Encryption\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Encryption {\n return new Encryption().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Encryption {\n return new Encryption().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Encryption {\n return new Encryption().fromJsonString(jsonString, options);\n }\n\n static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean {\n return proto3.util.equals(Encryption, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.Encryption.Type\n */\nexport enum Encryption_Type {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: GCM = 1;\n */\n GCM = 1,\n\n /**\n * @generated from enum value: CUSTOM = 2;\n */\n CUSTOM = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(Encryption_Type)\nproto3.util.setEnumType(Encryption_Type, \"livekit.Encryption.Type\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"GCM\" },\n { no: 2, name: \"CUSTOM\" },\n]);\n\n/**\n * @generated from message livekit.SimulcastCodecInfo\n */\nexport class SimulcastCodecInfo extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 2;\n */\n mid = \"\";\n\n /**\n * @generated from field: string cid = 3;\n */\n cid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 4;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodecInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodecInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackInfo\n */\nexport class TrackInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 2;\n */\n type = TrackType.AUDIO;\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n /**\n * original width of video (unset for audio)\n * clients may receive a lower resolution version with simulcast\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * original height of video (unset for audio)\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * true if track is simulcasted\n *\n * @generated from field: bool simulcast = 7;\n */\n simulcast = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 8;\n */\n disableDtx = false;\n\n /**\n * source of media\n *\n * @generated from field: livekit.TrackSource source = 9;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 10;\n */\n layers: VideoLayer[] = [];\n\n /**\n * mime type of codec\n *\n * @generated from field: string mime_type = 11;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 12;\n */\n mid = \"\";\n\n /**\n * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;\n */\n codecs: SimulcastCodecInfo[] = [];\n\n /**\n * @generated from field: bool stereo = 14;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 15;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 16;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * @generated from field: string stream = 17;\n */\n stream = \"\";\n\n /**\n * @generated from field: livekit.TimedVersion version = 18;\n */\n version?: TimedVersion;\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;\n */\n audioFeatures: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"simulcast\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 10, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 11, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"codecs\", kind: \"message\", T: SimulcastCodecInfo, repeated: true },\n { no: 14, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 17, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 18, name: \"version\", kind: \"message\", T: TimedVersion },\n { no: 19, name: \"audio_features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo {\n return new TrackInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo {\n return new TrackInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackInfo {\n return new TrackInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackInfo, a, b);\n }\n}\n\n/**\n * provide information about available spatial layers\n *\n * @generated from message livekit.VideoLayer\n */\nexport class VideoLayer extends Message {\n /**\n * for tracks with a single layer, this should be HIGH\n *\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n /**\n * target bitrate in bit per second (bps), server will measure actual\n *\n * @generated from field: uint32 bitrate = 4;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 ssrc = 5;\n */\n ssrc = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer {\n return new VideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer {\n return new VideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoLayer {\n return new VideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoLayer, a, b);\n }\n}\n\n/**\n * new DataPacket API\n *\n * @generated from message livekit.DataPacket\n */\nexport class DataPacket extends Message {\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];\n * @deprecated\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * participant identity of user that sent the message\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 5;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from oneof livekit.DataPacket.value\n */\n value: {\n /**\n * @generated from field: livekit.UserPacket user = 2;\n */\n value: UserPacket;\n case: \"user\";\n } | {\n /**\n * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true];\n * @deprecated\n */\n value: ActiveSpeakerUpdate;\n case: \"speaker\";\n } | {\n /**\n * @generated from field: livekit.SipDTMF sip_dtmf = 6;\n */\n value: SipDTMF;\n case: \"sipDtmf\";\n } | {\n /**\n * @generated from field: livekit.Transcription transcription = 7;\n */\n value: Transcription;\n case: \"transcription\";\n } | {\n /**\n * @generated from field: livekit.MetricsBatch metrics = 8;\n */\n value: MetricsBatch;\n case: \"metrics\";\n } | {\n /**\n * @generated from field: livekit.ChatMessage chat_message = 9;\n */\n value: ChatMessage;\n case: \"chatMessage\";\n } | {\n /**\n * @generated from field: livekit.RpcRequest rpc_request = 10;\n */\n value: RpcRequest;\n case: \"rpcRequest\";\n } | {\n /**\n * @generated from field: livekit.RpcAck rpc_ack = 11;\n */\n value: RpcAck;\n case: \"rpcAck\";\n } | {\n /**\n * @generated from field: livekit.RpcResponse rpc_response = 12;\n */\n value: RpcResponse;\n case: \"rpcResponse\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Header stream_header = 13;\n */\n value: DataStream_Header;\n case: \"streamHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Chunk stream_chunk = 14;\n */\n value: DataStream_Chunk;\n case: \"streamChunk\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"user\", kind: \"message\", T: UserPacket, oneof: \"value\" },\n { no: 3, name: \"speaker\", kind: \"message\", T: ActiveSpeakerUpdate, oneof: \"value\" },\n { no: 6, name: \"sip_dtmf\", kind: \"message\", T: SipDTMF, oneof: \"value\" },\n { no: 7, name: \"transcription\", kind: \"message\", T: Transcription, oneof: \"value\" },\n { no: 8, name: \"metrics\", kind: \"message\", T: MetricsBatch, oneof: \"value\" },\n { no: 9, name: \"chat_message\", kind: \"message\", T: ChatMessage, oneof: \"value\" },\n { no: 10, name: \"rpc_request\", kind: \"message\", T: RpcRequest, oneof: \"value\" },\n { no: 11, name: \"rpc_ack\", kind: \"message\", T: RpcAck, oneof: \"value\" },\n { no: 12, name: \"rpc_response\", kind: \"message\", T: RpcResponse, oneof: \"value\" },\n { no: 13, name: \"stream_header\", kind: \"message\", T: DataStream_Header, oneof: \"value\" },\n { no: 14, name: \"stream_chunk\", kind: \"message\", T: DataStream_Chunk, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket {\n return new DataPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket {\n return new DataPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataPacket {\n return new DataPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataPacket, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.DataPacket.Kind\n */\nexport enum DataPacket_Kind {\n /**\n * @generated from enum value: RELIABLE = 0;\n */\n RELIABLE = 0,\n\n /**\n * @generated from enum value: LOSSY = 1;\n */\n LOSSY = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataPacket_Kind)\nproto3.util.setEnumType(DataPacket_Kind, \"livekit.DataPacket.Kind\", [\n { no: 0, name: \"RELIABLE\" },\n { no: 1, name: \"LOSSY\" },\n]);\n\n/**\n * @generated from message livekit.ActiveSpeakerUpdate\n */\nexport class ActiveSpeakerUpdate extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ActiveSpeakerUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ActiveSpeakerUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakerInfo\n */\nexport class SpeakerInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * audio level, 0-1.0, 1 is loudest\n *\n * @generated from field: float level = 2;\n */\n level = 0;\n\n /**\n * true if speaker is currently active\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"level\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakerInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UserPacket\n */\nexport class UserPacket extends Message {\n /**\n * participant ID of user that sent the message\n *\n * @generated from field: string participant_sid = 1 [deprecated = true];\n * @deprecated\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string participant_identity = 5 [deprecated = true];\n * @deprecated\n */\n participantIdentity = \"\";\n\n /**\n * user defined payload\n *\n * @generated from field: bytes payload = 2;\n */\n payload = new Uint8Array(0);\n\n /**\n * the ID of the participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_sids = 3 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 6 [deprecated = true];\n * @deprecated\n */\n destinationIdentities: string[] = [];\n\n /**\n * topic under which the message was published\n *\n * @generated from field: optional string topic = 4;\n */\n topic?: string;\n\n /**\n * Unique ID to indentify the message\n *\n * @generated from field: optional string id = 8;\n */\n id?: string;\n\n /**\n * start and end time allow relating the message to specific media time\n *\n * @generated from field: optional uint64 start_time = 9;\n */\n startTime?: bigint;\n\n /**\n * @generated from field: optional uint64 end_time = 10;\n */\n endTime?: bigint;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UserPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 10, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket {\n return new UserPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket {\n return new UserPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UserPacket {\n return new UserPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(UserPacket, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SipDTMF\n */\nexport class SipDTMF extends Message {\n /**\n * @generated from field: uint32 code = 3;\n */\n code = 0;\n\n /**\n * @generated from field: string digit = 4;\n */\n digit = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SipDTMF\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 3, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"digit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF {\n return new SipDTMF().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF {\n return new SipDTMF().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SipDTMF {\n return new SipDTMF().fromJsonString(jsonString, options);\n }\n\n static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean {\n return proto3.util.equals(SipDTMF, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Transcription\n */\nexport class Transcription extends Message {\n /**\n * Participant that got its speech transcribed\n *\n * @generated from field: string transcribed_participant_identity = 2;\n */\n transcribedParticipantIdentity = \"\";\n\n /**\n * @generated from field: string track_id = 3;\n */\n trackId = \"\";\n\n /**\n * @generated from field: repeated livekit.TranscriptionSegment segments = 4;\n */\n segments: TranscriptionSegment[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Transcription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"transcribed_participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segments\", kind: \"message\", T: TranscriptionSegment, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Transcription {\n return new Transcription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Transcription {\n return new Transcription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Transcription {\n return new Transcription().fromJsonString(jsonString, options);\n }\n\n static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean {\n return proto3.util.equals(Transcription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TranscriptionSegment\n */\nexport class TranscriptionSegment extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string text = 2;\n */\n text = \"\";\n\n /**\n * @generated from field: uint64 start_time = 3;\n */\n startTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_time = 4;\n */\n endTime = protoInt64.zero;\n\n /**\n * @generated from field: bool final = 5;\n */\n final = false;\n\n /**\n * @generated from field: string language = 6;\n */\n language = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TranscriptionSegment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"text\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"language\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJsonString(jsonString, options);\n }\n\n static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean {\n return proto3.util.equals(TranscriptionSegment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ChatMessage\n */\nexport class ChatMessage extends Message {\n /**\n * uuid\n *\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * populated only if the intent is to edit/update an existing message\n *\n * @generated from field: optional int64 edit_timestamp = 3;\n */\n editTimestamp?: bigint;\n\n /**\n * @generated from field: string message = 4;\n */\n message = \"\";\n\n /**\n * true to remove message\n *\n * @generated from field: bool deleted = 5;\n */\n deleted = false;\n\n /**\n * true if the chat message has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 6;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ChatMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"edit_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 4, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"deleted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage {\n return new ChatMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage {\n return new ChatMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ChatMessage {\n return new ChatMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ChatMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcRequest\n */\nexport class RpcRequest extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string method = 2;\n */\n method = \"\";\n\n /**\n * @generated from field: string payload = 3;\n */\n payload = \"\";\n\n /**\n * @generated from field: uint32 response_timeout_ms = 4;\n */\n responseTimeoutMs = 0;\n\n /**\n * @generated from field: uint32 version = 5;\n */\n version = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest {\n return new RpcRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest {\n return new RpcRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcRequest {\n return new RpcRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcAck\n */\nexport class RpcAck extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcAck\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck {\n return new RpcAck().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck {\n return new RpcAck().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcAck {\n return new RpcAck().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcAck, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcResponse\n */\nexport class RpcResponse extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n /**\n * @generated from oneof livekit.RpcResponse.value\n */\n value: {\n /**\n * @generated from field: string payload = 2;\n */\n value: string;\n case: \"payload\";\n } | {\n /**\n * @generated from field: livekit.RpcError error = 3;\n */\n value: RpcError;\n case: \"error\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"value\" },\n { no: 3, name: \"error\", kind: \"message\", T: RpcError, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse {\n return new RpcResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse {\n return new RpcResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcResponse {\n return new RpcResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcError\n */\nexport class RpcError extends Message {\n /**\n * @generated from field: uint32 code = 1;\n */\n code = 0;\n\n /**\n * @generated from field: string message = 2;\n */\n message = \"\";\n\n /**\n * @generated from field: string data = 3;\n */\n data = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcError\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcError {\n return new RpcError().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcError {\n return new RpcError().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcError {\n return new RpcError().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcError, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantTracks\n */\nexport class ParticipantTracks extends Message {\n /**\n * participant ID of participant to whom the tracks belong\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: repeated string track_sids = 2;\n */\n trackSids: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantTracks\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantTracks, a, b);\n }\n}\n\n/**\n * details about the server\n *\n * @generated from message livekit.ServerInfo\n */\nexport class ServerInfo extends Message {\n /**\n * @generated from field: livekit.ServerInfo.Edition edition = 1;\n */\n edition = ServerInfo_Edition.Standard;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string region = 4;\n */\n region = \"\";\n\n /**\n * @generated from field: string node_id = 5;\n */\n nodeId = \"\";\n\n /**\n * additional debugging information. sent only if server is in development mode\n *\n * @generated from field: string debug_info = 6;\n */\n debugInfo = \"\";\n\n /**\n * @generated from field: int32 agent_protocol = 7;\n */\n agentProtocol = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"edition\", kind: \"enum\", T: proto3.getEnumType(ServerInfo_Edition) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"debug_info\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo {\n return new ServerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo {\n return new ServerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerInfo {\n return new ServerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ServerInfo.Edition\n */\nexport enum ServerInfo_Edition {\n /**\n * @generated from enum value: Standard = 0;\n */\n Standard = 0,\n\n /**\n * @generated from enum value: Cloud = 1;\n */\n Cloud = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ServerInfo_Edition)\nproto3.util.setEnumType(ServerInfo_Edition, \"livekit.ServerInfo.Edition\", [\n { no: 0, name: \"Standard\" },\n { no: 1, name: \"Cloud\" },\n]);\n\n/**\n * details about the client\n *\n * @generated from message livekit.ClientInfo\n */\nexport class ClientInfo extends Message {\n /**\n * @generated from field: livekit.ClientInfo.SDK sdk = 1;\n */\n sdk = ClientInfo_SDK.UNKNOWN;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string os = 4;\n */\n os = \"\";\n\n /**\n * @generated from field: string os_version = 5;\n */\n osVersion = \"\";\n\n /**\n * @generated from field: string device_model = 6;\n */\n deviceModel = \"\";\n\n /**\n * @generated from field: string browser = 7;\n */\n browser = \"\";\n\n /**\n * @generated from field: string browser_version = 8;\n */\n browserVersion = \"\";\n\n /**\n * @generated from field: string address = 9;\n */\n address = \"\";\n\n /**\n * wifi, wired, cellular, vpn, empty if not known\n *\n * @generated from field: string network = 10;\n */\n network = \"\";\n\n /**\n * comma separated list of additional LiveKit SDKs in use of this client, with versions\n * e.g. \"components-js:1.2.3,track-processors-js:1.2.3\"\n *\n * @generated from field: string other_sdks = 11;\n */\n otherSdks = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sdk\", kind: \"enum\", T: proto3.getEnumType(ClientInfo_SDK) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"os\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"os_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"device_model\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"browser\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"browser_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"network\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"other_sdks\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo {\n return new ClientInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo {\n return new ClientInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientInfo {\n return new ClientInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ClientInfo.SDK\n */\nexport enum ClientInfo_SDK {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: JS = 1;\n */\n JS = 1,\n\n /**\n * @generated from enum value: SWIFT = 2;\n */\n SWIFT = 2,\n\n /**\n * @generated from enum value: ANDROID = 3;\n */\n ANDROID = 3,\n\n /**\n * @generated from enum value: FLUTTER = 4;\n */\n FLUTTER = 4,\n\n /**\n * @generated from enum value: GO = 5;\n */\n GO = 5,\n\n /**\n * @generated from enum value: UNITY = 6;\n */\n UNITY = 6,\n\n /**\n * @generated from enum value: REACT_NATIVE = 7;\n */\n REACT_NATIVE = 7,\n\n /**\n * @generated from enum value: RUST = 8;\n */\n RUST = 8,\n\n /**\n * @generated from enum value: PYTHON = 9;\n */\n PYTHON = 9,\n\n /**\n * @generated from enum value: CPP = 10;\n */\n CPP = 10,\n\n /**\n * @generated from enum value: UNITY_WEB = 11;\n */\n UNITY_WEB = 11,\n\n /**\n * @generated from enum value: NODE = 12;\n */\n NODE = 12,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientInfo_SDK)\nproto3.util.setEnumType(ClientInfo_SDK, \"livekit.ClientInfo.SDK\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"JS\" },\n { no: 2, name: \"SWIFT\" },\n { no: 3, name: \"ANDROID\" },\n { no: 4, name: \"FLUTTER\" },\n { no: 5, name: \"GO\" },\n { no: 6, name: \"UNITY\" },\n { no: 7, name: \"REACT_NATIVE\" },\n { no: 8, name: \"RUST\" },\n { no: 9, name: \"PYTHON\" },\n { no: 10, name: \"CPP\" },\n { no: 11, name: \"UNITY_WEB\" },\n { no: 12, name: \"NODE\" },\n]);\n\n/**\n * server provided client configuration\n *\n * @generated from message livekit.ClientConfiguration\n */\nexport class ClientConfiguration extends Message {\n /**\n * @generated from field: livekit.VideoConfiguration video = 1;\n */\n video?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.VideoConfiguration screen = 2;\n */\n screen?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.ClientConfigSetting resume_connection = 3;\n */\n resumeConnection = ClientConfigSetting.UNSET;\n\n /**\n * @generated from field: livekit.DisabledCodecs disabled_codecs = 4;\n */\n disabledCodecs?: DisabledCodecs;\n\n /**\n * @generated from field: livekit.ClientConfigSetting force_relay = 5;\n */\n forceRelay = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video\", kind: \"message\", T: VideoConfiguration },\n { no: 2, name: \"screen\", kind: \"message\", T: VideoConfiguration },\n { no: 3, name: \"resume_connection\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n { no: 4, name: \"disabled_codecs\", kind: \"message\", T: DisabledCodecs },\n { no: 5, name: \"force_relay\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VideoConfiguration\n */\nexport class VideoConfiguration extends Message {\n /**\n * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;\n */\n hardwareEncoder = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"hardware_encoder\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DisabledCodecs\n */\nexport class DisabledCodecs extends Message {\n /**\n * disabled for both publish and subscribe\n *\n * @generated from field: repeated livekit.Codec codecs = 1;\n */\n codecs: Codec[] = [];\n\n /**\n * only disable for publish\n *\n * @generated from field: repeated livekit.Codec publish = 2;\n */\n publish: Codec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DisabledCodecs\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 2, name: \"publish\", kind: \"message\", T: Codec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJsonString(jsonString, options);\n }\n\n static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean {\n return proto3.util.equals(DisabledCodecs, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPDrift\n */\nexport class RTPDrift extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint64 start_timestamp = 4;\n */\n startTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_timestamp = 5;\n */\n endTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 rtp_clock_ticks = 6;\n */\n rtpClockTicks = protoInt64.zero;\n\n /**\n * @generated from field: int64 drift_samples = 7;\n */\n driftSamples = protoInt64.zero;\n\n /**\n * @generated from field: double drift_ms = 8;\n */\n driftMs = 0;\n\n /**\n * @generated from field: double clock_rate = 9;\n */\n clockRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPDrift\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"start_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"end_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_clock_ticks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"drift_samples\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"drift_ms\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 9, name: \"clock_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift {\n return new RTPDrift().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift {\n return new RTPDrift().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPDrift {\n return new RTPDrift().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPDrift, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPStats\n */\nexport class RTPStats extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint32 packets = 4;\n */\n packets = 0;\n\n /**\n * @generated from field: double packet_rate = 5;\n */\n packetRate = 0;\n\n /**\n * @generated from field: uint64 bytes = 6;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes = 39;\n */\n headerBytes = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate = 7;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: double packet_loss_rate = 9;\n */\n packetLossRate = 0;\n\n /**\n * @generated from field: float packet_loss_percentage = 10;\n */\n packetLossPercentage = 0;\n\n /**\n * @generated from field: uint32 packets_duplicate = 11;\n */\n packetsDuplicate = 0;\n\n /**\n * @generated from field: double packet_duplicate_rate = 12;\n */\n packetDuplicateRate = 0;\n\n /**\n * @generated from field: uint64 bytes_duplicate = 13;\n */\n bytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_duplicate = 40;\n */\n headerBytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_duplicate = 14;\n */\n bitrateDuplicate = 0;\n\n /**\n * @generated from field: uint32 packets_padding = 15;\n */\n packetsPadding = 0;\n\n /**\n * @generated from field: double packet_padding_rate = 16;\n */\n packetPaddingRate = 0;\n\n /**\n * @generated from field: uint64 bytes_padding = 17;\n */\n bytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_padding = 41;\n */\n headerBytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_padding = 18;\n */\n bitratePadding = 0;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n /**\n * @generated from field: uint32 frames = 20;\n */\n frames = 0;\n\n /**\n * @generated from field: double frame_rate = 21;\n */\n frameRate = 0;\n\n /**\n * @generated from field: double jitter_current = 22;\n */\n jitterCurrent = 0;\n\n /**\n * @generated from field: double jitter_max = 23;\n */\n jitterMax = 0;\n\n /**\n * @generated from field: map gap_histogram = 24;\n */\n gapHistogram: { [key: number]: number } = {};\n\n /**\n * @generated from field: uint32 nacks = 25;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 nack_acks = 37;\n */\n nackAcks = 0;\n\n /**\n * @generated from field: uint32 nack_misses = 26;\n */\n nackMisses = 0;\n\n /**\n * @generated from field: uint32 nack_repeated = 38;\n */\n nackRepeated = 0;\n\n /**\n * @generated from field: uint32 plis = 27;\n */\n plis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_pli = 28;\n */\n lastPli?: Timestamp;\n\n /**\n * @generated from field: uint32 firs = 29;\n */\n firs = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_fir = 30;\n */\n lastFir?: Timestamp;\n\n /**\n * @generated from field: uint32 rtt_current = 31;\n */\n rttCurrent = 0;\n\n /**\n * @generated from field: uint32 rtt_max = 32;\n */\n rttMax = 0;\n\n /**\n * @generated from field: uint32 key_frames = 33;\n */\n keyFrames = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_key_frame = 34;\n */\n lastKeyFrame?: Timestamp;\n\n /**\n * @generated from field: uint32 layer_lock_plis = 35;\n */\n layerLockPlis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;\n */\n lastLayerLockPli?: Timestamp;\n\n /**\n * @generated from field: livekit.RTPDrift packet_drift = 44;\n */\n packetDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift ntp_report_drift = 45;\n */\n ntpReportDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift rebased_report_drift = 46;\n */\n rebasedReportDrift?: RTPDrift;\n\n /**\n * NEXT_ID: 48\n *\n * @generated from field: livekit.RTPDrift received_report_drift = 47;\n */\n receivedReportDrift?: RTPDrift;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"packet_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 6, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 39, name: \"header_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"bitrate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"packet_loss_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 10, name: \"packet_loss_percentage\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 11, name: \"packets_duplicate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"packet_duplicate_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 13, name: \"bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 40, name: \"header_bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 14, name: \"bitrate_duplicate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 15, name: \"packets_padding\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 16, name: \"packet_padding_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 17, name: \"bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 41, name: \"header_bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 18, name: \"bitrate_padding\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 20, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 21, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 22, name: \"jitter_current\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 23, name: \"jitter_max\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 24, name: \"gap_histogram\", kind: \"map\", K: 5 /* ScalarType.INT32 */, V: {kind: \"scalar\", T: 13 /* ScalarType.UINT32 */} },\n { no: 25, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 37, name: \"nack_acks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 26, name: \"nack_misses\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 38, name: \"nack_repeated\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 27, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 28, name: \"last_pli\", kind: \"message\", T: Timestamp },\n { no: 29, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"last_fir\", kind: \"message\", T: Timestamp },\n { no: 31, name: \"rtt_current\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 32, name: \"rtt_max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 33, name: \"key_frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 34, name: \"last_key_frame\", kind: \"message\", T: Timestamp },\n { no: 35, name: \"layer_lock_plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 36, name: \"last_layer_lock_pli\", kind: \"message\", T: Timestamp },\n { no: 44, name: \"packet_drift\", kind: \"message\", T: RTPDrift },\n { no: 45, name: \"ntp_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 46, name: \"rebased_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 47, name: \"received_report_drift\", kind: \"message\", T: RTPDrift },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats {\n return new RTPStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats {\n return new RTPStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPStats {\n return new RTPStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTCPSenderReportState\n */\nexport class RTCPSenderReportState extends Message {\n /**\n * @generated from field: uint32 rtp_timestamp = 1;\n */\n rtpTimestamp = 0;\n\n /**\n * @generated from field: uint64 rtp_timestamp_ext = 2;\n */\n rtpTimestampExt = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ntp_timestamp = 3;\n */\n ntpTimestamp = protoInt64.zero;\n\n /**\n * time at which this happened\n *\n * @generated from field: int64 at = 4;\n */\n at = protoInt64.zero;\n\n /**\n * @generated from field: int64 at_adjusted = 5;\n */\n atAdjusted = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets = 6;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 octets = 7;\n */\n octets = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTCPSenderReportState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rtp_timestamp\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"rtp_timestamp_ext\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ntp_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"at_adjusted\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"octets\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTCPSenderReportState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPForwarderState\n */\nexport class RTPForwarderState extends Message {\n /**\n * @generated from field: bool started = 1;\n */\n started = false;\n\n /**\n * @generated from field: int32 reference_layer_spatial = 2;\n */\n referenceLayerSpatial = 0;\n\n /**\n * @generated from field: int64 pre_start_time = 3;\n */\n preStartTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_first_timestamp = 4;\n */\n extFirstTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 dummy_start_timestamp_offset = 5;\n */\n dummyStartTimestampOffset = protoInt64.zero;\n\n /**\n * @generated from field: livekit.RTPMungerState rtp_munger = 6;\n */\n rtpMunger?: RTPMungerState;\n\n /**\n * @generated from oneof livekit.RTPForwarderState.codec_munger\n */\n codecMunger: {\n /**\n * @generated from field: livekit.VP8MungerState vp8_munger = 7;\n */\n value: VP8MungerState;\n case: \"vp8Munger\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;\n */\n senderReportState: RTCPSenderReportState[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPForwarderState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reference_layer_spatial\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"pre_start_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ext_first_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"dummy_start_timestamp_offset\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_munger\", kind: \"message\", T: RTPMungerState },\n { no: 7, name: \"vp8_munger\", kind: \"message\", T: VP8MungerState, oneof: \"codec_munger\" },\n { no: 8, name: \"sender_report_state\", kind: \"message\", T: RTCPSenderReportState, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPForwarderState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPMungerState\n */\nexport class RTPMungerState extends Message {\n /**\n * @generated from field: uint64 ext_last_sequence_number = 1;\n */\n extLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_sequence_number = 2;\n */\n extSecondLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_last_timestamp = 3;\n */\n extLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_timestamp = 4;\n */\n extSecondLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: bool last_marker = 5;\n */\n lastMarker = false;\n\n /**\n * @generated from field: bool second_last_marker = 6;\n */\n secondLastMarker = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPMungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 2, name: \"ext_second_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ext_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"ext_second_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"second_last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPMungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VP8MungerState\n */\nexport class VP8MungerState extends Message {\n /**\n * @generated from field: int32 ext_last_picture_id = 1;\n */\n extLastPictureId = 0;\n\n /**\n * @generated from field: bool picture_id_used = 2;\n */\n pictureIdUsed = false;\n\n /**\n * @generated from field: uint32 last_tl0_pic_idx = 3;\n */\n lastTl0PicIdx = 0;\n\n /**\n * @generated from field: bool tl0_pic_idx_used = 4;\n */\n tl0PicIdxUsed = false;\n\n /**\n * @generated from field: bool tid_used = 5;\n */\n tidUsed = false;\n\n /**\n * @generated from field: uint32 last_key_idx = 6;\n */\n lastKeyIdx = 0;\n\n /**\n * @generated from field: bool key_idx_used = 7;\n */\n keyIdxUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VP8MungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_picture_id\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"picture_id_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"last_tl0_pic_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"tl0_pic_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"tid_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"last_key_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"key_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(VP8MungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimedVersion\n */\nexport class TimedVersion extends Message {\n /**\n * @generated from field: int64 unix_micro = 1;\n */\n unixMicro = protoInt64.zero;\n\n /**\n * @generated from field: int32 ticks = 2;\n */\n ticks = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimedVersion\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"unix_micro\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"ticks\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion {\n return new TimedVersion().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion {\n return new TimedVersion().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimedVersion {\n return new TimedVersion().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimedVersion, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream\n */\nexport class DataStream extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream {\n return new DataStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream {\n return new DataStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream {\n return new DataStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream, a, b);\n }\n}\n\n/**\n * enum for operation types (specific to TextHeader)\n *\n * @generated from enum livekit.DataStream.OperationType\n */\nexport enum DataStream_OperationType {\n /**\n * @generated from enum value: CREATE = 0;\n */\n CREATE = 0,\n\n /**\n * @generated from enum value: UPDATE = 1;\n */\n UPDATE = 1,\n\n /**\n * @generated from enum value: DELETE = 2;\n */\n DELETE = 2,\n\n /**\n * @generated from enum value: REACTION = 3;\n */\n REACTION = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataStream_OperationType)\nproto3.util.setEnumType(DataStream_OperationType, \"livekit.DataStream.OperationType\", [\n { no: 0, name: \"CREATE\" },\n { no: 1, name: \"UPDATE\" },\n { no: 2, name: \"DELETE\" },\n { no: 3, name: \"REACTION\" },\n]);\n\n/**\n * header properties specific to text streams\n *\n * @generated from message livekit.DataStream.TextHeader\n */\nexport class DataStream_TextHeader extends Message {\n /**\n * @generated from field: livekit.DataStream.OperationType operation_type = 1;\n */\n operationType = DataStream_OperationType.CREATE;\n\n /**\n * Optional: Version for updates/edits\n *\n * @generated from field: int32 version = 2;\n */\n version = 0;\n\n /**\n * Optional: Reply to specific message\n *\n * @generated from field: string reply_to_stream_id = 3;\n */\n replyToStreamId = \"\";\n\n /**\n * file attachments for text streams\n *\n * @generated from field: repeated string attached_stream_ids = 4;\n */\n attachedStreamIds: string[] = [];\n\n /**\n * true if the text has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 5;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.TextHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"operation_type\", kind: \"enum\", T: proto3.getEnumType(DataStream_OperationType) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"reply_to_stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"attached_stream_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_TextHeader, a, b);\n }\n}\n\n/**\n * header properties specific to file or image streams\n *\n * @generated from message livekit.DataStream.FileHeader\n */\nexport class DataStream_FileHeader extends Message {\n /**\n * name of the file\n *\n * @generated from field: string file_name = 1;\n */\n fileName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.FileHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_FileHeader, a, b);\n }\n}\n\n/**\n * main DataStream.Header that contains a oneof for specific headers\n *\n * @generated from message livekit.DataStream.Header\n */\nexport class DataStream_Header extends Message {\n /**\n * unique identifier for this data stream\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * using int64 for Unix timestamp\n *\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * @generated from field: string topic = 3;\n */\n topic = \"\";\n\n /**\n * @generated from field: string mime_type = 4;\n */\n mimeType = \"\";\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_length = 5;\n */\n totalLength?: bigint;\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_chunks = 6;\n */\n totalChunks?: bigint;\n\n /**\n * defaults to NONE\n *\n * @generated from field: livekit.Encryption.Type encryption_type = 7;\n */\n encryptionType = Encryption_Type.NONE;\n\n /**\n * user defined extensions map that can carry additional info\n *\n * @generated from field: map extensions = 8;\n */\n extensions: { [key: string]: string } = {};\n\n /**\n * oneof to choose between specific header types\n *\n * @generated from oneof livekit.DataStream.Header.content_header\n */\n contentHeader: {\n /**\n * @generated from field: livekit.DataStream.TextHeader text_header = 9;\n */\n value: DataStream_TextHeader;\n case: \"textHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.FileHeader file_header = 10;\n */\n value: DataStream_FileHeader;\n case: \"fileHeader\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Header\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"total_length\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 6, name: \"total_chunks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 7, name: \"encryption_type\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 8, name: \"extensions\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 9, name: \"text_header\", kind: \"message\", T: DataStream_TextHeader, oneof: \"content_header\" },\n { no: 10, name: \"file_header\", kind: \"message\", T: DataStream_FileHeader, oneof: \"content_header\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Header, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream.Chunk\n */\nexport class DataStream_Chunk extends Message {\n /**\n * unique identifier for this data stream to map it to the correct header\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * @generated from field: uint64 chunk_index = 2;\n */\n chunkIndex = protoInt64.zero;\n\n /**\n * content as binary (bytes)\n *\n * @generated from field: bytes content = 3;\n */\n content = new Uint8Array(0);\n\n /**\n * true only if this is the last chunk of this stream - can also be sent with empty content\n *\n * @generated from field: bool complete = 4;\n */\n complete = false;\n\n /**\n * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced\n *\n * @generated from field: int32 version = 5;\n */\n version = 0;\n\n /**\n * optional, initialization vector for AES-GCM encryption\n *\n * @generated from field: optional bytes iv = 6;\n */\n iv?: Uint8Array;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Chunk\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"chunk_index\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"content\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 4, name: \"complete\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"iv\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Chunk, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAuD;AACvD,gCAA6B;AAKtB,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,gBAAa,KAAb;AAKA,EAAAA,wBAAA,UAAO,KA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B,kBAgDK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAa,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAC3E;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACvE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAY,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EACtE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAW,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACtE,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,UAAU,GAAG,IAA2B,KAAK,KAAK;AAC/E,CAAC;AAvDI,IAAM,mBAAN;","names":["AudioCodec","VideoCodec","ImageCodec","TrackType","TrackSource","VideoQuality","ConnectionQuality","ClientConfigSetting","DisconnectReason","ReconnectReason","SubscriptionError","AudioTrackFeature","ParticipantInfo_State","ParticipantInfo_Kind","Encryption_Type","DataPacket_Kind","ServerInfo_Edition","ClientInfo_SDK","DataStream_OperationType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.d.ts b/packages/javascript/dist/gen/livekit_models_pb.d.ts deleted file mode 100644 index de700b2d..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.d.ts +++ /dev/null @@ -1,2265 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; -import { MetricsBatch } from "./livekit_metrics_pb.js"; -/** - * @generated from enum livekit.AudioCodec - */ -export declare enum AudioCodec { - /** - * @generated from enum value: DEFAULT_AC = 0; - */ - DEFAULT_AC = 0, - /** - * @generated from enum value: OPUS = 1; - */ - OPUS = 1, - /** - * @generated from enum value: AAC = 2; - */ - AAC = 2 -} -/** - * @generated from enum livekit.VideoCodec - */ -export declare enum VideoCodec { - /** - * @generated from enum value: DEFAULT_VC = 0; - */ - DEFAULT_VC = 0, - /** - * @generated from enum value: H264_BASELINE = 1; - */ - H264_BASELINE = 1, - /** - * @generated from enum value: H264_MAIN = 2; - */ - H264_MAIN = 2, - /** - * @generated from enum value: H264_HIGH = 3; - */ - H264_HIGH = 3, - /** - * @generated from enum value: VP8 = 4; - */ - VP8 = 4 -} -/** - * @generated from enum livekit.ImageCodec - */ -export declare enum ImageCodec { - /** - * @generated from enum value: IC_DEFAULT = 0; - */ - IC_DEFAULT = 0, - /** - * @generated from enum value: IC_JPEG = 1; - */ - IC_JPEG = 1 -} -/** - * @generated from enum livekit.TrackType - */ -export declare enum TrackType { - /** - * @generated from enum value: AUDIO = 0; - */ - AUDIO = 0, - /** - * @generated from enum value: VIDEO = 1; - */ - VIDEO = 1, - /** - * @generated from enum value: DATA = 2; - */ - DATA = 2 -} -/** - * @generated from enum livekit.TrackSource - */ -export declare enum TrackSource { - /** - * @generated from enum value: UNKNOWN = 0; - */ - UNKNOWN = 0, - /** - * @generated from enum value: CAMERA = 1; - */ - CAMERA = 1, - /** - * @generated from enum value: MICROPHONE = 2; - */ - MICROPHONE = 2, - /** - * @generated from enum value: SCREEN_SHARE = 3; - */ - SCREEN_SHARE = 3, - /** - * @generated from enum value: SCREEN_SHARE_AUDIO = 4; - */ - SCREEN_SHARE_AUDIO = 4 -} -/** - * @generated from enum livekit.VideoQuality - */ -export declare enum VideoQuality { - /** - * @generated from enum value: LOW = 0; - */ - LOW = 0, - /** - * @generated from enum value: MEDIUM = 1; - */ - MEDIUM = 1, - /** - * @generated from enum value: HIGH = 2; - */ - HIGH = 2, - /** - * @generated from enum value: OFF = 3; - */ - OFF = 3 -} -/** - * @generated from enum livekit.ConnectionQuality - */ -export declare enum ConnectionQuality { - /** - * @generated from enum value: POOR = 0; - */ - POOR = 0, - /** - * @generated from enum value: GOOD = 1; - */ - GOOD = 1, - /** - * @generated from enum value: EXCELLENT = 2; - */ - EXCELLENT = 2, - /** - * @generated from enum value: LOST = 3; - */ - LOST = 3 -} -/** - * @generated from enum livekit.ClientConfigSetting - */ -export declare enum ClientConfigSetting { - /** - * @generated from enum value: UNSET = 0; - */ - UNSET = 0, - /** - * @generated from enum value: DISABLED = 1; - */ - DISABLED = 1, - /** - * @generated from enum value: ENABLED = 2; - */ - ENABLED = 2 -} -/** - * @generated from enum livekit.DisconnectReason - */ -export declare enum DisconnectReason { - /** - * @generated from enum value: UNKNOWN_REASON = 0; - */ - UNKNOWN_REASON = 0, - /** - * the client initiated the disconnect - * - * @generated from enum value: CLIENT_INITIATED = 1; - */ - CLIENT_INITIATED = 1, - /** - * another participant with the same identity has joined the room - * - * @generated from enum value: DUPLICATE_IDENTITY = 2; - */ - DUPLICATE_IDENTITY = 2, - /** - * the server instance is shutting down - * - * @generated from enum value: SERVER_SHUTDOWN = 3; - */ - SERVER_SHUTDOWN = 3, - /** - * RoomService.RemoveParticipant was called - * - * @generated from enum value: PARTICIPANT_REMOVED = 4; - */ - PARTICIPANT_REMOVED = 4, - /** - * RoomService.DeleteRoom was called - * - * @generated from enum value: ROOM_DELETED = 5; - */ - ROOM_DELETED = 5, - /** - * the client is attempting to resume a session, but server is not aware of it - * - * @generated from enum value: STATE_MISMATCH = 6; - */ - STATE_MISMATCH = 6, - /** - * client was unable to connect fully - * - * @generated from enum value: JOIN_FAILURE = 7; - */ - JOIN_FAILURE = 7, - /** - * Cloud-only, the server requested Participant to migrate the connection elsewhere - * - * @generated from enum value: MIGRATION = 8; - */ - MIGRATION = 8, - /** - * the signal websocket was closed unexpectedly - * - * @generated from enum value: SIGNAL_CLOSE = 9; - */ - SIGNAL_CLOSE = 9, - /** - * the room was closed, due to all Standard and Ingress participants having left - * - * @generated from enum value: ROOM_CLOSED = 10; - */ - ROOM_CLOSED = 10, - /** - * SIP callee did not respond in time - * - * @generated from enum value: USER_UNAVAILABLE = 11; - */ - USER_UNAVAILABLE = 11, - /** - * SIP callee rejected the call (busy) - * - * @generated from enum value: USER_REJECTED = 12; - */ - USER_REJECTED = 12, - /** - * SIP protocol failure or unexpected response - * - * @generated from enum value: SIP_TRUNK_FAILURE = 13; - */ - SIP_TRUNK_FAILURE = 13 -} -/** - * @generated from enum livekit.ReconnectReason - */ -export declare enum ReconnectReason { - /** - * @generated from enum value: RR_UNKNOWN = 0; - */ - RR_UNKNOWN = 0, - /** - * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1; - */ - RR_SIGNAL_DISCONNECTED = 1, - /** - * @generated from enum value: RR_PUBLISHER_FAILED = 2; - */ - RR_PUBLISHER_FAILED = 2, - /** - * @generated from enum value: RR_SUBSCRIBER_FAILED = 3; - */ - RR_SUBSCRIBER_FAILED = 3, - /** - * @generated from enum value: RR_SWITCH_CANDIDATE = 4; - */ - RR_SWITCH_CANDIDATE = 4 -} -/** - * @generated from enum livekit.SubscriptionError - */ -export declare enum SubscriptionError { - /** - * @generated from enum value: SE_UNKNOWN = 0; - */ - SE_UNKNOWN = 0, - /** - * @generated from enum value: SE_CODEC_UNSUPPORTED = 1; - */ - SE_CODEC_UNSUPPORTED = 1, - /** - * @generated from enum value: SE_TRACK_NOTFOUND = 2; - */ - SE_TRACK_NOTFOUND = 2 -} -/** - * @generated from enum livekit.AudioTrackFeature - */ -export declare enum AudioTrackFeature { - /** - * @generated from enum value: TF_STEREO = 0; - */ - TF_STEREO = 0, - /** - * @generated from enum value: TF_NO_DTX = 1; - */ - TF_NO_DTX = 1, - /** - * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; - */ - TF_AUTO_GAIN_CONTROL = 2, - /** - * @generated from enum value: TF_ECHO_CANCELLATION = 3; - */ - TF_ECHO_CANCELLATION = 3, - /** - * @generated from enum value: TF_NOISE_SUPPRESSION = 4; - */ - TF_NOISE_SUPPRESSION = 4, - /** - * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; - */ - TF_ENHANCED_NOISE_CANCELLATION = 5 -} -/** - * @generated from message livekit.Room - */ -export declare class Room extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * @generated from field: uint32 empty_timeout = 3; - */ - emptyTimeout: number; - /** - * @generated from field: uint32 departure_timeout = 14; - */ - departureTimeout: number; - /** - * @generated from field: uint32 max_participants = 4; - */ - maxParticipants: number; - /** - * @generated from field: int64 creation_time = 5; - */ - creationTime: bigint; - /** - * @generated from field: string turn_password = 6; - */ - turnPassword: string; - /** - * @generated from field: repeated livekit.Codec enabled_codecs = 7; - */ - enabledCodecs: Codec[]; - /** - * @generated from field: string metadata = 8; - */ - metadata: string; - /** - * @generated from field: uint32 num_participants = 9; - */ - numParticipants: number; - /** - * @generated from field: uint32 num_publishers = 11; - */ - numPublishers: number; - /** - * @generated from field: bool active_recording = 10; - */ - activeRecording: boolean; - /** - * @generated from field: livekit.TimedVersion version = 13; - */ - version?: TimedVersion; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Room"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Room; - static fromJson(jsonValue: JsonValue, options?: Partial): Room; - static fromJsonString(jsonString: string, options?: Partial): Room; - static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.Codec - */ -export declare class Codec extends Message { - /** - * @generated from field: string mime = 1; - */ - mime: string; - /** - * @generated from field: string fmtp_line = 2; - */ - fmtpLine: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Codec"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Codec; - static fromJson(jsonValue: JsonValue, options?: Partial): Codec; - static fromJsonString(jsonString: string, options?: Partial): Codec; - static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.PlayoutDelay - */ -export declare class PlayoutDelay extends Message { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; - /** - * @generated from field: uint32 min = 2; - */ - min: number; - /** - * @generated from field: uint32 max = 3; - */ - max: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.PlayoutDelay"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay; - static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay; - static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay; - static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ParticipantPermission - */ -export declare class ParticipantPermission extends Message { - /** - * allow participant to subscribe to other tracks in the room - * - * @generated from field: bool can_subscribe = 1; - */ - canSubscribe: boolean; - /** - * allow participant to publish new tracks to room - * - * @generated from field: bool can_publish = 2; - */ - canPublish: boolean; - /** - * allow participant to publish data - * - * @generated from field: bool can_publish_data = 3; - */ - canPublishData: boolean; - /** - * sources that are allowed to be published - * - * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; - */ - canPublishSources: TrackSource[]; - /** - * indicates that it's hidden to others - * - * @generated from field: bool hidden = 7; - */ - hidden: boolean; - /** - * indicates it's a recorder instance - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool recorder = 8 [deprecated = true]; - * @deprecated - */ - recorder: boolean; - /** - * indicates that participant can update own metadata and attributes - * - * @generated from field: bool can_update_metadata = 10; - */ - canUpdateMetadata: boolean; - /** - * indicates that participant is an agent - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool agent = 11 [deprecated = true]; - * @deprecated - */ - agent: boolean; - /** - * if a participant can subscribe to metrics - * - * @generated from field: bool can_subscribe_metrics = 12; - */ - canSubscribeMetrics: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantPermission"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission; - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission; - static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission; - static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ParticipantInfo - */ -export declare class ParticipantInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * @generated from field: livekit.ParticipantInfo.State state = 3; - */ - state: ParticipantInfo_State; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 4; - */ - tracks: TrackInfo[]; - /** - * @generated from field: string metadata = 5; - */ - metadata: string; - /** - * timestamp when participant joined room, in seconds - * - * @generated from field: int64 joined_at = 6; - */ - joinedAt: bigint; - /** - * @generated from field: string name = 9; - */ - name: string; - /** - * @generated from field: uint32 version = 10; - */ - version: number; - /** - * @generated from field: livekit.ParticipantPermission permission = 11; - */ - permission?: ParticipantPermission; - /** - * @generated from field: string region = 12; - */ - region: string; - /** - * indicates the participant has an active publisher connection - * and can publish to the server - * - * @generated from field: bool is_publisher = 13; - */ - isPublisher: boolean; - /** - * @generated from field: livekit.ParticipantInfo.Kind kind = 14; - */ - kind: ParticipantInfo_Kind; - /** - * @generated from field: map attributes = 15; - */ - attributes: { - [key: string]: string; - }; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 16; - */ - disconnectReason: DisconnectReason; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo; - static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo; - static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.ParticipantInfo.State - */ -export declare enum ParticipantInfo_State { - /** - * websocket' connected, but not offered yet - * - * @generated from enum value: JOINING = 0; - */ - JOINING = 0, - /** - * server received client offer - * - * @generated from enum value: JOINED = 1; - */ - JOINED = 1, - /** - * ICE connectivity established - * - * @generated from enum value: ACTIVE = 2; - */ - ACTIVE = 2, - /** - * WS disconnected - * - * @generated from enum value: DISCONNECTED = 3; - */ - DISCONNECTED = 3 -} -/** - * @generated from enum livekit.ParticipantInfo.Kind - */ -export declare enum ParticipantInfo_Kind { - /** - * standard participants, e.g. web clients - * - * @generated from enum value: STANDARD = 0; - */ - STANDARD = 0, - /** - * only ingests streams - * - * @generated from enum value: INGRESS = 1; - */ - INGRESS = 1, - /** - * only consumes streams - * - * @generated from enum value: EGRESS = 2; - */ - EGRESS = 2, - /** - * SIP participants - * - * @generated from enum value: SIP = 3; - */ - SIP = 3, - /** - * LiveKit agents - * - * @generated from enum value: AGENT = 4; - */ - AGENT = 4 -} -/** - * @generated from message livekit.Encryption - */ -export declare class Encryption extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Encryption"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Encryption; - static fromJson(jsonValue: JsonValue, options?: Partial): Encryption; - static fromJsonString(jsonString: string, options?: Partial): Encryption; - static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.Encryption.Type - */ -export declare enum Encryption_Type { - /** - * @generated from enum value: NONE = 0; - */ - NONE = 0, - /** - * @generated from enum value: GCM = 1; - */ - GCM = 1, - /** - * @generated from enum value: CUSTOM = 2; - */ - CUSTOM = 2 -} -/** - * @generated from message livekit.SimulcastCodecInfo - */ -export declare class SimulcastCodecInfo extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - /** - * @generated from field: string mid = 2; - */ - mid: string; - /** - * @generated from field: string cid = 3; - */ - cid: string; - /** - * @generated from field: repeated livekit.VideoLayer layers = 4; - */ - layers: VideoLayer[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulcastCodecInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo; - static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo; - static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TrackInfo - */ -export declare class TrackInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - /** - * @generated from field: livekit.TrackType type = 2; - */ - type: TrackType; - /** - * @generated from field: string name = 3; - */ - name: string; - /** - * @generated from field: bool muted = 4; - */ - muted: boolean; - /** - * original width of video (unset for audio) - * clients may receive a lower resolution version with simulcast - * - * @generated from field: uint32 width = 5; - */ - width: number; - /** - * original height of video (unset for audio) - * - * @generated from field: uint32 height = 6; - */ - height: number; - /** - * true if track is simulcasted - * - * @generated from field: bool simulcast = 7; - */ - simulcast: boolean; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 8; - */ - disableDtx: boolean; - /** - * source of media - * - * @generated from field: livekit.TrackSource source = 9; - */ - source: TrackSource; - /** - * @generated from field: repeated livekit.VideoLayer layers = 10; - */ - layers: VideoLayer[]; - /** - * mime type of codec - * - * @generated from field: string mime_type = 11; - */ - mimeType: string; - /** - * @generated from field: string mid = 12; - */ - mid: string; - /** - * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; - */ - codecs: SimulcastCodecInfo[]; - /** - * @generated from field: bool stereo = 14; - */ - stereo: boolean; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 15; - */ - disableRed: boolean; - /** - * @generated from field: livekit.Encryption.Type encryption = 16; - */ - encryption: Encryption_Type; - /** - * @generated from field: string stream = 17; - */ - stream: string; - /** - * @generated from field: livekit.TimedVersion version = 18; - */ - version?: TimedVersion; - /** - * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; - */ - audioFeatures: AudioTrackFeature[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo; - static fromJsonString(jsonString: string, options?: Partial): TrackInfo; - static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean; -} -/** - * provide information about available spatial layers - * - * @generated from message livekit.VideoLayer - */ -export declare class VideoLayer extends Message { - /** - * for tracks with a single layer, this should be HIGH - * - * @generated from field: livekit.VideoQuality quality = 1; - */ - quality: VideoQuality; - /** - * @generated from field: uint32 width = 2; - */ - width: number; - /** - * @generated from field: uint32 height = 3; - */ - height: number; - /** - * target bitrate in bit per second (bps), server will measure actual - * - * @generated from field: uint32 bitrate = 4; - */ - bitrate: number; - /** - * @generated from field: uint32 ssrc = 5; - */ - ssrc: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VideoLayer"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer; - static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer; - static fromJsonString(jsonString: string, options?: Partial): VideoLayer; - static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean; -} -/** - * new DataPacket API - * - * @generated from message livekit.DataPacket - */ -export declare class DataPacket extends Message { - /** - * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; - * @deprecated - */ - kind: DataPacket_Kind; - /** - * participant identity of user that sent the message - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 5; - */ - destinationIdentities: string[]; - /** - * @generated from oneof livekit.DataPacket.value - */ - value: { - /** - * @generated from field: livekit.UserPacket user = 2; - */ - value: UserPacket; - case: "user"; - } | { - /** - * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true]; - * @deprecated - */ - value: ActiveSpeakerUpdate; - case: "speaker"; - } | { - /** - * @generated from field: livekit.SipDTMF sip_dtmf = 6; - */ - value: SipDTMF; - case: "sipDtmf"; - } | { - /** - * @generated from field: livekit.Transcription transcription = 7; - */ - value: Transcription; - case: "transcription"; - } | { - /** - * @generated from field: livekit.MetricsBatch metrics = 8; - */ - value: MetricsBatch; - case: "metrics"; - } | { - /** - * @generated from field: livekit.ChatMessage chat_message = 9; - */ - value: ChatMessage; - case: "chatMessage"; - } | { - /** - * @generated from field: livekit.RpcRequest rpc_request = 10; - */ - value: RpcRequest; - case: "rpcRequest"; - } | { - /** - * @generated from field: livekit.RpcAck rpc_ack = 11; - */ - value: RpcAck; - case: "rpcAck"; - } | { - /** - * @generated from field: livekit.RpcResponse rpc_response = 12; - */ - value: RpcResponse; - case: "rpcResponse"; - } | { - /** - * @generated from field: livekit.DataStream.Header stream_header = 13; - */ - value: DataStream_Header; - case: "streamHeader"; - } | { - /** - * @generated from field: livekit.DataStream.Chunk stream_chunk = 14; - */ - value: DataStream_Chunk; - case: "streamChunk"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataPacket"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket; - static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket; - static fromJsonString(jsonString: string, options?: Partial): DataPacket; - static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.DataPacket.Kind - */ -export declare enum DataPacket_Kind { - /** - * @generated from enum value: RELIABLE = 0; - */ - RELIABLE = 0, - /** - * @generated from enum value: LOSSY = 1; - */ - LOSSY = 1 -} -/** - * @generated from message livekit.ActiveSpeakerUpdate - */ -export declare class ActiveSpeakerUpdate extends Message { - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - speakers: SpeakerInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ActiveSpeakerUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate; - static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate; - static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SpeakerInfo - */ -export declare class SpeakerInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - /** - * audio level, 0-1.0, 1 is loudest - * - * @generated from field: float level = 2; - */ - level: number; - /** - * true if speaker is currently active - * - * @generated from field: bool active = 3; - */ - active: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SpeakerInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo; - static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo; - static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UserPacket - */ -export declare class UserPacket extends Message { - /** - * participant ID of user that sent the message - * - * @generated from field: string participant_sid = 1 [deprecated = true]; - * @deprecated - */ - participantSid: string; - /** - * @generated from field: string participant_identity = 5 [deprecated = true]; - * @deprecated - */ - participantIdentity: string; - /** - * user defined payload - * - * @generated from field: bytes payload = 2; - */ - payload: Uint8Array; - /** - * the ID of the participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_sids = 3 [deprecated = true]; - * @deprecated - */ - destinationSids: string[]; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 6 [deprecated = true]; - * @deprecated - */ - destinationIdentities: string[]; - /** - * topic under which the message was published - * - * @generated from field: optional string topic = 4; - */ - topic?: string; - /** - * Unique ID to indentify the message - * - * @generated from field: optional string id = 8; - */ - id?: string; - /** - * start and end time allow relating the message to specific media time - * - * @generated from field: optional uint64 start_time = 9; - */ - startTime?: bigint; - /** - * @generated from field: optional uint64 end_time = 10; - */ - endTime?: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UserPacket"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; - static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; - static fromJsonString(jsonString: string, options?: Partial): UserPacket; - static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SipDTMF - */ -export declare class SipDTMF extends Message { - /** - * @generated from field: uint32 code = 3; - */ - code: number; - /** - * @generated from field: string digit = 4; - */ - digit: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SipDTMF"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; - static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; - static fromJsonString(jsonString: string, options?: Partial): SipDTMF; - static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.Transcription - */ -export declare class Transcription extends Message { - /** - * Participant that got its speech transcribed - * - * @generated from field: string transcribed_participant_identity = 2; - */ - transcribedParticipantIdentity: string; - /** - * @generated from field: string track_id = 3; - */ - trackId: string; - /** - * @generated from field: repeated livekit.TranscriptionSegment segments = 4; - */ - segments: TranscriptionSegment[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Transcription"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Transcription; - static fromJson(jsonValue: JsonValue, options?: Partial): Transcription; - static fromJsonString(jsonString: string, options?: Partial): Transcription; - static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TranscriptionSegment - */ -export declare class TranscriptionSegment extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string text = 2; - */ - text: string; - /** - * @generated from field: uint64 start_time = 3; - */ - startTime: bigint; - /** - * @generated from field: uint64 end_time = 4; - */ - endTime: bigint; - /** - * @generated from field: bool final = 5; - */ - final: boolean; - /** - * @generated from field: string language = 6; - */ - language: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TranscriptionSegment"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; - static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; - static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; - static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ChatMessage - */ -export declare class ChatMessage extends Message { - /** - * uuid - * - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - /** - * populated only if the intent is to edit/update an existing message - * - * @generated from field: optional int64 edit_timestamp = 3; - */ - editTimestamp?: bigint; - /** - * @generated from field: string message = 4; - */ - message: string; - /** - * true to remove message - * - * @generated from field: bool deleted = 5; - */ - deleted: boolean; - /** - * true if the chat message has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 6; - */ - generated: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ChatMessage"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; - static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; - static fromJsonString(jsonString: string, options?: Partial): ChatMessage; - static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RpcRequest - */ -export declare class RpcRequest extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - /** - * @generated from field: string method = 2; - */ - method: string; - /** - * @generated from field: string payload = 3; - */ - payload: string; - /** - * @generated from field: uint32 response_timeout_ms = 4; - */ - responseTimeoutMs: number; - /** - * @generated from field: uint32 version = 5; - */ - version: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest; - static fromJsonString(jsonString: string, options?: Partial): RpcRequest; - static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RpcAck - */ -export declare class RpcAck extends Message { - /** - * @generated from field: string request_id = 1; - */ - requestId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcAck"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck; - static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck; - static fromJsonString(jsonString: string, options?: Partial): RpcAck; - static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RpcResponse - */ -export declare class RpcResponse extends Message { - /** - * @generated from field: string request_id = 1; - */ - requestId: string; - /** - * @generated from oneof livekit.RpcResponse.value - */ - value: { - /** - * @generated from field: string payload = 2; - */ - value: string; - case: "payload"; - } | { - /** - * @generated from field: livekit.RpcError error = 3; - */ - value: RpcError; - case: "error"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse; - static fromJsonString(jsonString: string, options?: Partial): RpcResponse; - static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RpcError - */ -export declare class RpcError extends Message { - /** - * @generated from field: uint32 code = 1; - */ - code: number; - /** - * @generated from field: string message = 2; - */ - message: string; - /** - * @generated from field: string data = 3; - */ - data: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcError"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RpcError; - static fromJson(jsonValue: JsonValue, options?: Partial): RpcError; - static fromJsonString(jsonString: string, options?: Partial): RpcError; - static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ParticipantTracks - */ -export declare class ParticipantTracks extends Message { - /** - * participant ID of participant to whom the tracks belong - * - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - /** - * @generated from field: repeated string track_sids = 2; - */ - trackSids: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantTracks"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks; - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks; - static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks; - static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean; -} -/** - * details about the server - * - * @generated from message livekit.ServerInfo - */ -export declare class ServerInfo extends Message { - /** - * @generated from field: livekit.ServerInfo.Edition edition = 1; - */ - edition: ServerInfo_Edition; - /** - * @generated from field: string version = 2; - */ - version: string; - /** - * @generated from field: int32 protocol = 3; - */ - protocol: number; - /** - * @generated from field: string region = 4; - */ - region: string; - /** - * @generated from field: string node_id = 5; - */ - nodeId: string; - /** - * additional debugging information. sent only if server is in development mode - * - * @generated from field: string debug_info = 6; - */ - debugInfo: string; - /** - * @generated from field: int32 agent_protocol = 7; - */ - agentProtocol: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ServerInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo; - static fromJsonString(jsonString: string, options?: Partial): ServerInfo; - static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.ServerInfo.Edition - */ -export declare enum ServerInfo_Edition { - /** - * @generated from enum value: Standard = 0; - */ - Standard = 0, - /** - * @generated from enum value: Cloud = 1; - */ - Cloud = 1 -} -/** - * details about the client - * - * @generated from message livekit.ClientInfo - */ -export declare class ClientInfo extends Message { - /** - * @generated from field: livekit.ClientInfo.SDK sdk = 1; - */ - sdk: ClientInfo_SDK; - /** - * @generated from field: string version = 2; - */ - version: string; - /** - * @generated from field: int32 protocol = 3; - */ - protocol: number; - /** - * @generated from field: string os = 4; - */ - os: string; - /** - * @generated from field: string os_version = 5; - */ - osVersion: string; - /** - * @generated from field: string device_model = 6; - */ - deviceModel: string; - /** - * @generated from field: string browser = 7; - */ - browser: string; - /** - * @generated from field: string browser_version = 8; - */ - browserVersion: string; - /** - * @generated from field: string address = 9; - */ - address: string; - /** - * wifi, wired, cellular, vpn, empty if not known - * - * @generated from field: string network = 10; - */ - network: string; - /** - * comma separated list of additional LiveKit SDKs in use of this client, with versions - * e.g. "components-js:1.2.3,track-processors-js:1.2.3" - * - * @generated from field: string other_sdks = 11; - */ - otherSdks: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ClientInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo; - static fromJsonString(jsonString: string, options?: Partial): ClientInfo; - static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.ClientInfo.SDK - */ -export declare enum ClientInfo_SDK { - /** - * @generated from enum value: UNKNOWN = 0; - */ - UNKNOWN = 0, - /** - * @generated from enum value: JS = 1; - */ - JS = 1, - /** - * @generated from enum value: SWIFT = 2; - */ - SWIFT = 2, - /** - * @generated from enum value: ANDROID = 3; - */ - ANDROID = 3, - /** - * @generated from enum value: FLUTTER = 4; - */ - FLUTTER = 4, - /** - * @generated from enum value: GO = 5; - */ - GO = 5, - /** - * @generated from enum value: UNITY = 6; - */ - UNITY = 6, - /** - * @generated from enum value: REACT_NATIVE = 7; - */ - REACT_NATIVE = 7, - /** - * @generated from enum value: RUST = 8; - */ - RUST = 8, - /** - * @generated from enum value: PYTHON = 9; - */ - PYTHON = 9, - /** - * @generated from enum value: CPP = 10; - */ - CPP = 10, - /** - * @generated from enum value: UNITY_WEB = 11; - */ - UNITY_WEB = 11, - /** - * @generated from enum value: NODE = 12; - */ - NODE = 12 -} -/** - * server provided client configuration - * - * @generated from message livekit.ClientConfiguration - */ -export declare class ClientConfiguration extends Message { - /** - * @generated from field: livekit.VideoConfiguration video = 1; - */ - video?: VideoConfiguration; - /** - * @generated from field: livekit.VideoConfiguration screen = 2; - */ - screen?: VideoConfiguration; - /** - * @generated from field: livekit.ClientConfigSetting resume_connection = 3; - */ - resumeConnection: ClientConfigSetting; - /** - * @generated from field: livekit.DisabledCodecs disabled_codecs = 4; - */ - disabledCodecs?: DisabledCodecs; - /** - * @generated from field: livekit.ClientConfigSetting force_relay = 5; - */ - forceRelay: ClientConfigSetting; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ClientConfiguration"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration; - static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration; - static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration; - static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.VideoConfiguration - */ -export declare class VideoConfiguration extends Message { - /** - * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; - */ - hardwareEncoder: ClientConfigSetting; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VideoConfiguration"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration; - static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration; - static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration; - static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DisabledCodecs - */ -export declare class DisabledCodecs extends Message { - /** - * disabled for both publish and subscribe - * - * @generated from field: repeated livekit.Codec codecs = 1; - */ - codecs: Codec[]; - /** - * only disable for publish - * - * @generated from field: repeated livekit.Codec publish = 2; - */ - publish: Codec[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DisabledCodecs"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs; - static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs; - static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs; - static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RTPDrift - */ -export declare class RTPDrift extends Message { - /** - * @generated from field: google.protobuf.Timestamp start_time = 1; - */ - startTime?: Timestamp; - /** - * @generated from field: google.protobuf.Timestamp end_time = 2; - */ - endTime?: Timestamp; - /** - * @generated from field: double duration = 3; - */ - duration: number; - /** - * @generated from field: uint64 start_timestamp = 4; - */ - startTimestamp: bigint; - /** - * @generated from field: uint64 end_timestamp = 5; - */ - endTimestamp: bigint; - /** - * @generated from field: uint64 rtp_clock_ticks = 6; - */ - rtpClockTicks: bigint; - /** - * @generated from field: int64 drift_samples = 7; - */ - driftSamples: bigint; - /** - * @generated from field: double drift_ms = 8; - */ - driftMs: number; - /** - * @generated from field: double clock_rate = 9; - */ - clockRate: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPDrift"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift; - static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift; - static fromJsonString(jsonString: string, options?: Partial): RTPDrift; - static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RTPStats - */ -export declare class RTPStats extends Message { - /** - * @generated from field: google.protobuf.Timestamp start_time = 1; - */ - startTime?: Timestamp; - /** - * @generated from field: google.protobuf.Timestamp end_time = 2; - */ - endTime?: Timestamp; - /** - * @generated from field: double duration = 3; - */ - duration: number; - /** - * @generated from field: uint32 packets = 4; - */ - packets: number; - /** - * @generated from field: double packet_rate = 5; - */ - packetRate: number; - /** - * @generated from field: uint64 bytes = 6; - */ - bytes: bigint; - /** - * @generated from field: uint64 header_bytes = 39; - */ - headerBytes: bigint; - /** - * @generated from field: double bitrate = 7; - */ - bitrate: number; - /** - * @generated from field: uint32 packets_lost = 8; - */ - packetsLost: number; - /** - * @generated from field: double packet_loss_rate = 9; - */ - packetLossRate: number; - /** - * @generated from field: float packet_loss_percentage = 10; - */ - packetLossPercentage: number; - /** - * @generated from field: uint32 packets_duplicate = 11; - */ - packetsDuplicate: number; - /** - * @generated from field: double packet_duplicate_rate = 12; - */ - packetDuplicateRate: number; - /** - * @generated from field: uint64 bytes_duplicate = 13; - */ - bytesDuplicate: bigint; - /** - * @generated from field: uint64 header_bytes_duplicate = 40; - */ - headerBytesDuplicate: bigint; - /** - * @generated from field: double bitrate_duplicate = 14; - */ - bitrateDuplicate: number; - /** - * @generated from field: uint32 packets_padding = 15; - */ - packetsPadding: number; - /** - * @generated from field: double packet_padding_rate = 16; - */ - packetPaddingRate: number; - /** - * @generated from field: uint64 bytes_padding = 17; - */ - bytesPadding: bigint; - /** - * @generated from field: uint64 header_bytes_padding = 41; - */ - headerBytesPadding: bigint; - /** - * @generated from field: double bitrate_padding = 18; - */ - bitratePadding: number; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - packetsOutOfOrder: number; - /** - * @generated from field: uint32 frames = 20; - */ - frames: number; - /** - * @generated from field: double frame_rate = 21; - */ - frameRate: number; - /** - * @generated from field: double jitter_current = 22; - */ - jitterCurrent: number; - /** - * @generated from field: double jitter_max = 23; - */ - jitterMax: number; - /** - * @generated from field: map gap_histogram = 24; - */ - gapHistogram: { - [key: number]: number; - }; - /** - * @generated from field: uint32 nacks = 25; - */ - nacks: number; - /** - * @generated from field: uint32 nack_acks = 37; - */ - nackAcks: number; - /** - * @generated from field: uint32 nack_misses = 26; - */ - nackMisses: number; - /** - * @generated from field: uint32 nack_repeated = 38; - */ - nackRepeated: number; - /** - * @generated from field: uint32 plis = 27; - */ - plis: number; - /** - * @generated from field: google.protobuf.Timestamp last_pli = 28; - */ - lastPli?: Timestamp; - /** - * @generated from field: uint32 firs = 29; - */ - firs: number; - /** - * @generated from field: google.protobuf.Timestamp last_fir = 30; - */ - lastFir?: Timestamp; - /** - * @generated from field: uint32 rtt_current = 31; - */ - rttCurrent: number; - /** - * @generated from field: uint32 rtt_max = 32; - */ - rttMax: number; - /** - * @generated from field: uint32 key_frames = 33; - */ - keyFrames: number; - /** - * @generated from field: google.protobuf.Timestamp last_key_frame = 34; - */ - lastKeyFrame?: Timestamp; - /** - * @generated from field: uint32 layer_lock_plis = 35; - */ - layerLockPlis: number; - /** - * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36; - */ - lastLayerLockPli?: Timestamp; - /** - * @generated from field: livekit.RTPDrift packet_drift = 44; - */ - packetDrift?: RTPDrift; - /** - * @generated from field: livekit.RTPDrift ntp_report_drift = 45; - */ - ntpReportDrift?: RTPDrift; - /** - * @generated from field: livekit.RTPDrift rebased_report_drift = 46; - */ - rebasedReportDrift?: RTPDrift; - /** - * NEXT_ID: 48 - * - * @generated from field: livekit.RTPDrift received_report_drift = 47; - */ - receivedReportDrift?: RTPDrift; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPStats"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats; - static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats; - static fromJsonString(jsonString: string, options?: Partial): RTPStats; - static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RTCPSenderReportState - */ -export declare class RTCPSenderReportState extends Message { - /** - * @generated from field: uint32 rtp_timestamp = 1; - */ - rtpTimestamp: number; - /** - * @generated from field: uint64 rtp_timestamp_ext = 2; - */ - rtpTimestampExt: bigint; - /** - * @generated from field: uint64 ntp_timestamp = 3; - */ - ntpTimestamp: bigint; - /** - * time at which this happened - * - * @generated from field: int64 at = 4; - */ - at: bigint; - /** - * @generated from field: int64 at_adjusted = 5; - */ - atAdjusted: bigint; - /** - * @generated from field: uint32 packets = 6; - */ - packets: number; - /** - * @generated from field: uint64 octets = 7; - */ - octets: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTCPSenderReportState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState; - static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState; - static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState; - static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RTPForwarderState - */ -export declare class RTPForwarderState extends Message { - /** - * @generated from field: bool started = 1; - */ - started: boolean; - /** - * @generated from field: int32 reference_layer_spatial = 2; - */ - referenceLayerSpatial: number; - /** - * @generated from field: int64 pre_start_time = 3; - */ - preStartTime: bigint; - /** - * @generated from field: uint64 ext_first_timestamp = 4; - */ - extFirstTimestamp: bigint; - /** - * @generated from field: uint64 dummy_start_timestamp_offset = 5; - */ - dummyStartTimestampOffset: bigint; - /** - * @generated from field: livekit.RTPMungerState rtp_munger = 6; - */ - rtpMunger?: RTPMungerState; - /** - * @generated from oneof livekit.RTPForwarderState.codec_munger - */ - codecMunger: { - /** - * @generated from field: livekit.VP8MungerState vp8_munger = 7; - */ - value: VP8MungerState; - case: "vp8Munger"; - } | { - case: undefined; - value?: undefined; - }; - /** - * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; - */ - senderReportState: RTCPSenderReportState[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPForwarderState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState; - static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState; - static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState; - static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RTPMungerState - */ -export declare class RTPMungerState extends Message { - /** - * @generated from field: uint64 ext_last_sequence_number = 1; - */ - extLastSequenceNumber: bigint; - /** - * @generated from field: uint64 ext_second_last_sequence_number = 2; - */ - extSecondLastSequenceNumber: bigint; - /** - * @generated from field: uint64 ext_last_timestamp = 3; - */ - extLastTimestamp: bigint; - /** - * @generated from field: uint64 ext_second_last_timestamp = 4; - */ - extSecondLastTimestamp: bigint; - /** - * @generated from field: bool last_marker = 5; - */ - lastMarker: boolean; - /** - * @generated from field: bool second_last_marker = 6; - */ - secondLastMarker: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPMungerState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState; - static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState; - static fromJsonString(jsonString: string, options?: Partial): RTPMungerState; - static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.VP8MungerState - */ -export declare class VP8MungerState extends Message { - /** - * @generated from field: int32 ext_last_picture_id = 1; - */ - extLastPictureId: number; - /** - * @generated from field: bool picture_id_used = 2; - */ - pictureIdUsed: boolean; - /** - * @generated from field: uint32 last_tl0_pic_idx = 3; - */ - lastTl0PicIdx: number; - /** - * @generated from field: bool tl0_pic_idx_used = 4; - */ - tl0PicIdxUsed: boolean; - /** - * @generated from field: bool tid_used = 5; - */ - tidUsed: boolean; - /** - * @generated from field: uint32 last_key_idx = 6; - */ - lastKeyIdx: number; - /** - * @generated from field: bool key_idx_used = 7; - */ - keyIdxUsed: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VP8MungerState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState; - static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState; - static fromJsonString(jsonString: string, options?: Partial): VP8MungerState; - static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TimedVersion - */ -export declare class TimedVersion extends Message { - /** - * @generated from field: int64 unix_micro = 1; - */ - unixMicro: bigint; - /** - * @generated from field: int32 ticks = 2; - */ - ticks: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TimedVersion"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion; - static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion; - static fromJsonString(jsonString: string, options?: Partial): TimedVersion; - static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DataStream - */ -export declare class DataStream extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; - static fromJsonString(jsonString: string, options?: Partial): DataStream; - static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; -} -/** - * enum for operation types (specific to TextHeader) - * - * @generated from enum livekit.DataStream.OperationType - */ -export declare enum DataStream_OperationType { - /** - * @generated from enum value: CREATE = 0; - */ - CREATE = 0, - /** - * @generated from enum value: UPDATE = 1; - */ - UPDATE = 1, - /** - * @generated from enum value: DELETE = 2; - */ - DELETE = 2, - /** - * @generated from enum value: REACTION = 3; - */ - REACTION = 3 -} -/** - * header properties specific to text streams - * - * @generated from message livekit.DataStream.TextHeader - */ -export declare class DataStream_TextHeader extends Message { - /** - * @generated from field: livekit.DataStream.OperationType operation_type = 1; - */ - operationType: DataStream_OperationType; - /** - * Optional: Version for updates/edits - * - * @generated from field: int32 version = 2; - */ - version: number; - /** - * Optional: Reply to specific message - * - * @generated from field: string reply_to_stream_id = 3; - */ - replyToStreamId: string; - /** - * file attachments for text streams - * - * @generated from field: repeated string attached_stream_ids = 4; - */ - attachedStreamIds: string[]; - /** - * true if the text has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 5; - */ - generated: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.TextHeader"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; - static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; - static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; -} -/** - * header properties specific to file or image streams - * - * @generated from message livekit.DataStream.FileHeader - */ -export declare class DataStream_FileHeader extends Message { - /** - * name of the file - * - * @generated from field: string file_name = 1; - */ - fileName: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.FileHeader"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader; - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader; - static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader; - static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean; -} -/** - * main DataStream.Header that contains a oneof for specific headers - * - * @generated from message livekit.DataStream.Header - */ -export declare class DataStream_Header extends Message { - /** - * unique identifier for this data stream - * - * @generated from field: string stream_id = 1; - */ - streamId: string; - /** - * using int64 for Unix timestamp - * - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - /** - * @generated from field: string topic = 3; - */ - topic: string; - /** - * @generated from field: string mime_type = 4; - */ - mimeType: string; - /** - * only populated for finite streams, if it's a stream of unknown size this stays empty - * - * @generated from field: optional uint64 total_length = 5; - */ - totalLength?: bigint; - /** - * only populated for finite streams, if it's a stream of unknown size this stays empty - * - * @generated from field: optional uint64 total_chunks = 6; - */ - totalChunks?: bigint; - /** - * defaults to NONE - * - * @generated from field: livekit.Encryption.Type encryption_type = 7; - */ - encryptionType: Encryption_Type; - /** - * user defined extensions map that can carry additional info - * - * @generated from field: map extensions = 8; - */ - extensions: { - [key: string]: string; - }; - /** - * oneof to choose between specific header types - * - * @generated from oneof livekit.DataStream.Header.content_header - */ - contentHeader: { - /** - * @generated from field: livekit.DataStream.TextHeader text_header = 9; - */ - value: DataStream_TextHeader; - case: "textHeader"; - } | { - /** - * @generated from field: livekit.DataStream.FileHeader file_header = 10; - */ - value: DataStream_FileHeader; - case: "fileHeader"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.Header"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; - static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; - static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DataStream.Chunk - */ -export declare class DataStream_Chunk extends Message { - /** - * unique identifier for this data stream to map it to the correct header - * - * @generated from field: string stream_id = 1; - */ - streamId: string; - /** - * @generated from field: uint64 chunk_index = 2; - */ - chunkIndex: bigint; - /** - * content as binary (bytes) - * - * @generated from field: bytes content = 3; - */ - content: Uint8Array; - /** - * true only if this is the last chunk of this stream - can also be sent with empty content - * - * @generated from field: bool complete = 4; - */ - complete: boolean; - /** - * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - * - * @generated from field: int32 version = 5; - */ - version: number; - /** - * optional, initialization vector for AES-GCM encryption - * - * @generated from field: optional bytes iv = 6; - */ - iv?: Uint8Array; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.Chunk"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; - static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; - static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_models_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.d.ts.map b/packages/javascript/dist/gen/livekit_models_pb.d.ts.map deleted file mode 100644 index b80e58fe..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_models_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_models_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,E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;IACH,OAAO,aAAqB;IAE5B;;;;OAIG;IACH,QAAQ,UAAS;IAEjB;;;;OAIG;IACH,OAAO,SAAK;IAEZ;;;;OAIG;IACH,EAAE,CAAC,EAAE,UAAU,CAAC;gBAEJ,IAAI,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC;IAKnD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,8BAA8B;IACtD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAO9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,gBAAgB;IAI5F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;IAI3F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;IAI/F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,gBAAgB,GAAG,YAAY,CAAC,gBAAgB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3J"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.js b/packages/javascript/dist/gen/livekit_models_pb.js deleted file mode 100644 index 7164cbe4..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.js +++ /dev/null @@ -1,3588 +0,0 @@ -import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; -import { MetricsBatch } from "./livekit_metrics_pb.js"; -var AudioCodec = /* @__PURE__ */ ((AudioCodec2) => { - AudioCodec2[AudioCodec2["DEFAULT_AC"] = 0] = "DEFAULT_AC"; - AudioCodec2[AudioCodec2["OPUS"] = 1] = "OPUS"; - AudioCodec2[AudioCodec2["AAC"] = 2] = "AAC"; - return AudioCodec2; -})(AudioCodec || {}); -proto3.util.setEnumType(AudioCodec, "livekit.AudioCodec", [ - { no: 0, name: "DEFAULT_AC" }, - { no: 1, name: "OPUS" }, - { no: 2, name: "AAC" } -]); -var VideoCodec = /* @__PURE__ */ ((VideoCodec2) => { - VideoCodec2[VideoCodec2["DEFAULT_VC"] = 0] = "DEFAULT_VC"; - VideoCodec2[VideoCodec2["H264_BASELINE"] = 1] = "H264_BASELINE"; - VideoCodec2[VideoCodec2["H264_MAIN"] = 2] = "H264_MAIN"; - VideoCodec2[VideoCodec2["H264_HIGH"] = 3] = "H264_HIGH"; - VideoCodec2[VideoCodec2["VP8"] = 4] = "VP8"; - return VideoCodec2; -})(VideoCodec || {}); -proto3.util.setEnumType(VideoCodec, "livekit.VideoCodec", [ - { no: 0, name: "DEFAULT_VC" }, - { no: 1, name: "H264_BASELINE" }, - { no: 2, name: "H264_MAIN" }, - { no: 3, name: "H264_HIGH" }, - { no: 4, name: "VP8" } -]); -var ImageCodec = /* @__PURE__ */ ((ImageCodec2) => { - ImageCodec2[ImageCodec2["IC_DEFAULT"] = 0] = "IC_DEFAULT"; - ImageCodec2[ImageCodec2["IC_JPEG"] = 1] = "IC_JPEG"; - return ImageCodec2; -})(ImageCodec || {}); -proto3.util.setEnumType(ImageCodec, "livekit.ImageCodec", [ - { no: 0, name: "IC_DEFAULT" }, - { no: 1, name: "IC_JPEG" } -]); -var TrackType = /* @__PURE__ */ ((TrackType2) => { - TrackType2[TrackType2["AUDIO"] = 0] = "AUDIO"; - TrackType2[TrackType2["VIDEO"] = 1] = "VIDEO"; - TrackType2[TrackType2["DATA"] = 2] = "DATA"; - return TrackType2; -})(TrackType || {}); -proto3.util.setEnumType(TrackType, "livekit.TrackType", [ - { no: 0, name: "AUDIO" }, - { no: 1, name: "VIDEO" }, - { no: 2, name: "DATA" } -]); -var TrackSource = /* @__PURE__ */ ((TrackSource2) => { - TrackSource2[TrackSource2["UNKNOWN"] = 0] = "UNKNOWN"; - TrackSource2[TrackSource2["CAMERA"] = 1] = "CAMERA"; - TrackSource2[TrackSource2["MICROPHONE"] = 2] = "MICROPHONE"; - TrackSource2[TrackSource2["SCREEN_SHARE"] = 3] = "SCREEN_SHARE"; - TrackSource2[TrackSource2["SCREEN_SHARE_AUDIO"] = 4] = "SCREEN_SHARE_AUDIO"; - return TrackSource2; -})(TrackSource || {}); -proto3.util.setEnumType(TrackSource, "livekit.TrackSource", [ - { no: 0, name: "UNKNOWN" }, - { no: 1, name: "CAMERA" }, - { no: 2, name: "MICROPHONE" }, - { no: 3, name: "SCREEN_SHARE" }, - { no: 4, name: "SCREEN_SHARE_AUDIO" } -]); -var VideoQuality = /* @__PURE__ */ ((VideoQuality2) => { - VideoQuality2[VideoQuality2["LOW"] = 0] = "LOW"; - VideoQuality2[VideoQuality2["MEDIUM"] = 1] = "MEDIUM"; - VideoQuality2[VideoQuality2["HIGH"] = 2] = "HIGH"; - VideoQuality2[VideoQuality2["OFF"] = 3] = "OFF"; - return VideoQuality2; -})(VideoQuality || {}); -proto3.util.setEnumType(VideoQuality, "livekit.VideoQuality", [ - { no: 0, name: "LOW" }, - { no: 1, name: "MEDIUM" }, - { no: 2, name: "HIGH" }, - { no: 3, name: "OFF" } -]); -var ConnectionQuality = /* @__PURE__ */ ((ConnectionQuality2) => { - ConnectionQuality2[ConnectionQuality2["POOR"] = 0] = "POOR"; - ConnectionQuality2[ConnectionQuality2["GOOD"] = 1] = "GOOD"; - ConnectionQuality2[ConnectionQuality2["EXCELLENT"] = 2] = "EXCELLENT"; - ConnectionQuality2[ConnectionQuality2["LOST"] = 3] = "LOST"; - return ConnectionQuality2; -})(ConnectionQuality || {}); -proto3.util.setEnumType(ConnectionQuality, "livekit.ConnectionQuality", [ - { no: 0, name: "POOR" }, - { no: 1, name: "GOOD" }, - { no: 2, name: "EXCELLENT" }, - { no: 3, name: "LOST" } -]); -var ClientConfigSetting = /* @__PURE__ */ ((ClientConfigSetting2) => { - ClientConfigSetting2[ClientConfigSetting2["UNSET"] = 0] = "UNSET"; - ClientConfigSetting2[ClientConfigSetting2["DISABLED"] = 1] = "DISABLED"; - ClientConfigSetting2[ClientConfigSetting2["ENABLED"] = 2] = "ENABLED"; - return ClientConfigSetting2; -})(ClientConfigSetting || {}); -proto3.util.setEnumType(ClientConfigSetting, "livekit.ClientConfigSetting", [ - { no: 0, name: "UNSET" }, - { no: 1, name: "DISABLED" }, - { no: 2, name: "ENABLED" } -]); -var DisconnectReason = /* @__PURE__ */ ((DisconnectReason2) => { - DisconnectReason2[DisconnectReason2["UNKNOWN_REASON"] = 0] = "UNKNOWN_REASON"; - DisconnectReason2[DisconnectReason2["CLIENT_INITIATED"] = 1] = "CLIENT_INITIATED"; - DisconnectReason2[DisconnectReason2["DUPLICATE_IDENTITY"] = 2] = "DUPLICATE_IDENTITY"; - DisconnectReason2[DisconnectReason2["SERVER_SHUTDOWN"] = 3] = "SERVER_SHUTDOWN"; - DisconnectReason2[DisconnectReason2["PARTICIPANT_REMOVED"] = 4] = "PARTICIPANT_REMOVED"; - DisconnectReason2[DisconnectReason2["ROOM_DELETED"] = 5] = "ROOM_DELETED"; - DisconnectReason2[DisconnectReason2["STATE_MISMATCH"] = 6] = "STATE_MISMATCH"; - DisconnectReason2[DisconnectReason2["JOIN_FAILURE"] = 7] = "JOIN_FAILURE"; - DisconnectReason2[DisconnectReason2["MIGRATION"] = 8] = "MIGRATION"; - DisconnectReason2[DisconnectReason2["SIGNAL_CLOSE"] = 9] = "SIGNAL_CLOSE"; - DisconnectReason2[DisconnectReason2["ROOM_CLOSED"] = 10] = "ROOM_CLOSED"; - DisconnectReason2[DisconnectReason2["USER_UNAVAILABLE"] = 11] = "USER_UNAVAILABLE"; - DisconnectReason2[DisconnectReason2["USER_REJECTED"] = 12] = "USER_REJECTED"; - DisconnectReason2[DisconnectReason2["SIP_TRUNK_FAILURE"] = 13] = "SIP_TRUNK_FAILURE"; - return DisconnectReason2; -})(DisconnectReason || {}); -proto3.util.setEnumType(DisconnectReason, "livekit.DisconnectReason", [ - { no: 0, name: "UNKNOWN_REASON" }, - { no: 1, name: "CLIENT_INITIATED" }, - { no: 2, name: "DUPLICATE_IDENTITY" }, - { no: 3, name: "SERVER_SHUTDOWN" }, - { no: 4, name: "PARTICIPANT_REMOVED" }, - { no: 5, name: "ROOM_DELETED" }, - { no: 6, name: "STATE_MISMATCH" }, - { no: 7, name: "JOIN_FAILURE" }, - { no: 8, name: "MIGRATION" }, - { no: 9, name: "SIGNAL_CLOSE" }, - { no: 10, name: "ROOM_CLOSED" }, - { no: 11, name: "USER_UNAVAILABLE" }, - { no: 12, name: "USER_REJECTED" }, - { no: 13, name: "SIP_TRUNK_FAILURE" } -]); -var ReconnectReason = /* @__PURE__ */ ((ReconnectReason2) => { - ReconnectReason2[ReconnectReason2["RR_UNKNOWN"] = 0] = "RR_UNKNOWN"; - ReconnectReason2[ReconnectReason2["RR_SIGNAL_DISCONNECTED"] = 1] = "RR_SIGNAL_DISCONNECTED"; - ReconnectReason2[ReconnectReason2["RR_PUBLISHER_FAILED"] = 2] = "RR_PUBLISHER_FAILED"; - ReconnectReason2[ReconnectReason2["RR_SUBSCRIBER_FAILED"] = 3] = "RR_SUBSCRIBER_FAILED"; - ReconnectReason2[ReconnectReason2["RR_SWITCH_CANDIDATE"] = 4] = "RR_SWITCH_CANDIDATE"; - return ReconnectReason2; -})(ReconnectReason || {}); -proto3.util.setEnumType(ReconnectReason, "livekit.ReconnectReason", [ - { no: 0, name: "RR_UNKNOWN" }, - { no: 1, name: "RR_SIGNAL_DISCONNECTED" }, - { no: 2, name: "RR_PUBLISHER_FAILED" }, - { no: 3, name: "RR_SUBSCRIBER_FAILED" }, - { no: 4, name: "RR_SWITCH_CANDIDATE" } -]); -var SubscriptionError = /* @__PURE__ */ ((SubscriptionError2) => { - SubscriptionError2[SubscriptionError2["SE_UNKNOWN"] = 0] = "SE_UNKNOWN"; - SubscriptionError2[SubscriptionError2["SE_CODEC_UNSUPPORTED"] = 1] = "SE_CODEC_UNSUPPORTED"; - SubscriptionError2[SubscriptionError2["SE_TRACK_NOTFOUND"] = 2] = "SE_TRACK_NOTFOUND"; - return SubscriptionError2; -})(SubscriptionError || {}); -proto3.util.setEnumType(SubscriptionError, "livekit.SubscriptionError", [ - { no: 0, name: "SE_UNKNOWN" }, - { no: 1, name: "SE_CODEC_UNSUPPORTED" }, - { no: 2, name: "SE_TRACK_NOTFOUND" } -]); -var AudioTrackFeature = /* @__PURE__ */ ((AudioTrackFeature2) => { - AudioTrackFeature2[AudioTrackFeature2["TF_STEREO"] = 0] = "TF_STEREO"; - AudioTrackFeature2[AudioTrackFeature2["TF_NO_DTX"] = 1] = "TF_NO_DTX"; - AudioTrackFeature2[AudioTrackFeature2["TF_AUTO_GAIN_CONTROL"] = 2] = "TF_AUTO_GAIN_CONTROL"; - AudioTrackFeature2[AudioTrackFeature2["TF_ECHO_CANCELLATION"] = 3] = "TF_ECHO_CANCELLATION"; - AudioTrackFeature2[AudioTrackFeature2["TF_NOISE_SUPPRESSION"] = 4] = "TF_NOISE_SUPPRESSION"; - AudioTrackFeature2[AudioTrackFeature2["TF_ENHANCED_NOISE_CANCELLATION"] = 5] = "TF_ENHANCED_NOISE_CANCELLATION"; - return AudioTrackFeature2; -})(AudioTrackFeature || {}); -proto3.util.setEnumType(AudioTrackFeature, "livekit.AudioTrackFeature", [ - { no: 0, name: "TF_STEREO" }, - { no: 1, name: "TF_NO_DTX" }, - { no: 2, name: "TF_AUTO_GAIN_CONTROL" }, - { no: 3, name: "TF_ECHO_CANCELLATION" }, - { no: 4, name: "TF_NOISE_SUPPRESSION" }, - { no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" } -]); -const _Room = class _Room extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: uint32 empty_timeout = 3; - */ - this.emptyTimeout = 0; - /** - * @generated from field: uint32 departure_timeout = 14; - */ - this.departureTimeout = 0; - /** - * @generated from field: uint32 max_participants = 4; - */ - this.maxParticipants = 0; - /** - * @generated from field: int64 creation_time = 5; - */ - this.creationTime = protoInt64.zero; - /** - * @generated from field: string turn_password = 6; - */ - this.turnPassword = ""; - /** - * @generated from field: repeated livekit.Codec enabled_codecs = 7; - */ - this.enabledCodecs = []; - /** - * @generated from field: string metadata = 8; - */ - this.metadata = ""; - /** - * @generated from field: uint32 num_participants = 9; - */ - this.numParticipants = 0; - /** - * @generated from field: uint32 num_publishers = 11; - */ - this.numPublishers = 0; - /** - * @generated from field: bool active_recording = 10; - */ - this.activeRecording = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Room().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Room().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Room().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Room, a, b); - } -}; -_Room.runtime = proto3; -_Room.typeName = "livekit.Room"; -_Room.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 14, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "creation_time", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "turn_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, - { - no: 8, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "num_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 11, - name: "num_publishers", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "active_recording", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 13, name: "version", kind: "message", T: TimedVersion } -]); -let Room = _Room; -const _Codec = class _Codec extends Message { - constructor(data) { - super(); - /** - * @generated from field: string mime = 1; - */ - this.mime = ""; - /** - * @generated from field: string fmtp_line = 2; - */ - this.fmtpLine = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Codec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Codec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Codec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Codec, a, b); - } -}; -_Codec.runtime = proto3; -_Codec.typeName = "livekit.Codec"; -_Codec.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "fmtp_line", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let Codec = _Codec; -const _PlayoutDelay = class _PlayoutDelay extends Message { - constructor(data) { - super(); - /** - * @generated from field: bool enabled = 1; - */ - this.enabled = false; - /** - * @generated from field: uint32 min = 2; - */ - this.min = 0; - /** - * @generated from field: uint32 max = 3; - */ - this.max = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _PlayoutDelay().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _PlayoutDelay().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _PlayoutDelay().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_PlayoutDelay, a, b); - } -}; -_PlayoutDelay.runtime = proto3; -_PlayoutDelay.typeName = "livekit.PlayoutDelay"; -_PlayoutDelay.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "min", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "max", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let PlayoutDelay = _PlayoutDelay; -const _ParticipantPermission = class _ParticipantPermission extends Message { - constructor(data) { - super(); - /** - * allow participant to subscribe to other tracks in the room - * - * @generated from field: bool can_subscribe = 1; - */ - this.canSubscribe = false; - /** - * allow participant to publish new tracks to room - * - * @generated from field: bool can_publish = 2; - */ - this.canPublish = false; - /** - * allow participant to publish data - * - * @generated from field: bool can_publish_data = 3; - */ - this.canPublishData = false; - /** - * sources that are allowed to be published - * - * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; - */ - this.canPublishSources = []; - /** - * indicates that it's hidden to others - * - * @generated from field: bool hidden = 7; - */ - this.hidden = false; - /** - * indicates it's a recorder instance - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool recorder = 8 [deprecated = true]; - * @deprecated - */ - this.recorder = false; - /** - * indicates that participant can update own metadata and attributes - * - * @generated from field: bool can_update_metadata = 10; - */ - this.canUpdateMetadata = false; - /** - * indicates that participant is an agent - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool agent = 11 [deprecated = true]; - * @deprecated - */ - this.agent = false; - /** - * if a participant can subscribe to metrics - * - * @generated from field: bool can_subscribe_metrics = 12; - */ - this.canSubscribeMetrics = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ParticipantPermission, a, b); - } -}; -_ParticipantPermission.runtime = proto3; -_ParticipantPermission.typeName = "livekit.ParticipantPermission"; -_ParticipantPermission.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "can_subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "can_publish", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "can_publish_data", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 9, name: "can_publish_sources", kind: "enum", T: proto3.getEnumType(TrackSource), repeated: true }, - { - no: 7, - name: "hidden", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 8, - name: "recorder", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "can_update_metadata", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 11, - name: "agent", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 12, - name: "can_subscribe_metrics", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ParticipantPermission = _ParticipantPermission; -const _ParticipantInfo = class _ParticipantInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * @generated from field: livekit.ParticipantInfo.State state = 3; - */ - this.state = 0 /* JOINING */; - /** - * @generated from field: repeated livekit.TrackInfo tracks = 4; - */ - this.tracks = []; - /** - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * timestamp when participant joined room, in seconds - * - * @generated from field: int64 joined_at = 6; - */ - this.joinedAt = protoInt64.zero; - /** - * @generated from field: string name = 9; - */ - this.name = ""; - /** - * @generated from field: uint32 version = 10; - */ - this.version = 0; - /** - * @generated from field: string region = 12; - */ - this.region = ""; - /** - * indicates the participant has an active publisher connection - * and can publish to the server - * - * @generated from field: bool is_publisher = 13; - */ - this.isPublisher = false; - /** - * @generated from field: livekit.ParticipantInfo.Kind kind = 14; - */ - this.kind = 0 /* STANDARD */; - /** - * @generated from field: map attributes = 15; - */ - this.attributes = {}; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 16; - */ - this.disconnectReason = 0 /* UNKNOWN_REASON */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ParticipantInfo, a, b); - } -}; -_ParticipantInfo.runtime = proto3; -_ParticipantInfo.typeName = "livekit.ParticipantInfo"; -_ParticipantInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, - { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "joined_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 9, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "version", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, - { - no: 12, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 13, - name: "is_publisher", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) }, - { no: 15, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) } -]); -let ParticipantInfo = _ParticipantInfo; -var ParticipantInfo_State = /* @__PURE__ */ ((ParticipantInfo_State2) => { - ParticipantInfo_State2[ParticipantInfo_State2["JOINING"] = 0] = "JOINING"; - ParticipantInfo_State2[ParticipantInfo_State2["JOINED"] = 1] = "JOINED"; - ParticipantInfo_State2[ParticipantInfo_State2["ACTIVE"] = 2] = "ACTIVE"; - ParticipantInfo_State2[ParticipantInfo_State2["DISCONNECTED"] = 3] = "DISCONNECTED"; - return ParticipantInfo_State2; -})(ParticipantInfo_State || {}); -proto3.util.setEnumType(ParticipantInfo_State, "livekit.ParticipantInfo.State", [ - { no: 0, name: "JOINING" }, - { no: 1, name: "JOINED" }, - { no: 2, name: "ACTIVE" }, - { no: 3, name: "DISCONNECTED" } -]); -var ParticipantInfo_Kind = /* @__PURE__ */ ((ParticipantInfo_Kind2) => { - ParticipantInfo_Kind2[ParticipantInfo_Kind2["STANDARD"] = 0] = "STANDARD"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["INGRESS"] = 1] = "INGRESS"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["EGRESS"] = 2] = "EGRESS"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["SIP"] = 3] = "SIP"; - ParticipantInfo_Kind2[ParticipantInfo_Kind2["AGENT"] = 4] = "AGENT"; - return ParticipantInfo_Kind2; -})(ParticipantInfo_Kind || {}); -proto3.util.setEnumType(ParticipantInfo_Kind, "livekit.ParticipantInfo.Kind", [ - { no: 0, name: "STANDARD" }, - { no: 1, name: "INGRESS" }, - { no: 2, name: "EGRESS" }, - { no: 3, name: "SIP" }, - { no: 4, name: "AGENT" } -]); -const _Encryption = class _Encryption extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Encryption().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Encryption().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Encryption().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Encryption, a, b); - } -}; -_Encryption.runtime = proto3; -_Encryption.typeName = "livekit.Encryption"; -_Encryption.fields = proto3.util.newFieldList(() => []); -let Encryption = _Encryption; -var Encryption_Type = /* @__PURE__ */ ((Encryption_Type2) => { - Encryption_Type2[Encryption_Type2["NONE"] = 0] = "NONE"; - Encryption_Type2[Encryption_Type2["GCM"] = 1] = "GCM"; - Encryption_Type2[Encryption_Type2["CUSTOM"] = 2] = "CUSTOM"; - return Encryption_Type2; -})(Encryption_Type || {}); -proto3.util.setEnumType(Encryption_Type, "livekit.Encryption.Type", [ - { no: 0, name: "NONE" }, - { no: 1, name: "GCM" }, - { no: 2, name: "CUSTOM" } -]); -const _SimulcastCodecInfo = class _SimulcastCodecInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string mime_type = 1; - */ - this.mimeType = ""; - /** - * @generated from field: string mid = 2; - */ - this.mid = ""; - /** - * @generated from field: string cid = 3; - */ - this.cid = ""; - /** - * @generated from field: repeated livekit.VideoLayer layers = 4; - */ - this.layers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulcastCodecInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulcastCodecInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulcastCodecInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SimulcastCodecInfo, a, b); - } -}; -_SimulcastCodecInfo.runtime = proto3; -_SimulcastCodecInfo.typeName = "livekit.SimulcastCodecInfo"; -_SimulcastCodecInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "mid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true } -]); -let SimulcastCodecInfo = _SimulcastCodecInfo; -const _TrackInfo = class _TrackInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: livekit.TrackType type = 2; - */ - this.type = 0 /* AUDIO */; - /** - * @generated from field: string name = 3; - */ - this.name = ""; - /** - * @generated from field: bool muted = 4; - */ - this.muted = false; - /** - * original width of video (unset for audio) - * clients may receive a lower resolution version with simulcast - * - * @generated from field: uint32 width = 5; - */ - this.width = 0; - /** - * original height of video (unset for audio) - * - * @generated from field: uint32 height = 6; - */ - this.height = 0; - /** - * true if track is simulcasted - * - * @generated from field: bool simulcast = 7; - */ - this.simulcast = false; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 8; - */ - this.disableDtx = false; - /** - * source of media - * - * @generated from field: livekit.TrackSource source = 9; - */ - this.source = 0 /* UNKNOWN */; - /** - * @generated from field: repeated livekit.VideoLayer layers = 10; - */ - this.layers = []; - /** - * mime type of codec - * - * @generated from field: string mime_type = 11; - */ - this.mimeType = ""; - /** - * @generated from field: string mid = 12; - */ - this.mid = ""; - /** - * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; - */ - this.codecs = []; - /** - * @generated from field: bool stereo = 14; - */ - this.stereo = false; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 15; - */ - this.disableRed = false; - /** - * @generated from field: livekit.Encryption.Type encryption = 16; - */ - this.encryption = 0 /* NONE */; - /** - * @generated from field: string stream = 17; - */ - this.stream = ""; - /** - * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; - */ - this.audioFeatures = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackInfo, a, b); - } -}; -_TrackInfo.runtime = proto3; -_TrackInfo.typeName = "livekit.TrackInfo"; -_TrackInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, - { - no: 3, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "simulcast", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 8, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 9, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - { - no: 11, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "mid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, - { - no: 14, - name: "stereo", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 15, - name: "disable_red", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { - no: 17, - name: "stream", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 18, name: "version", kind: "message", T: TimedVersion }, - { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true } -]); -let TrackInfo = _TrackInfo; -const _VideoLayer = class _VideoLayer extends Message { - constructor(data) { - super(); - /** - * for tracks with a single layer, this should be HIGH - * - * @generated from field: livekit.VideoQuality quality = 1; - */ - this.quality = 0 /* LOW */; - /** - * @generated from field: uint32 width = 2; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 3; - */ - this.height = 0; - /** - * target bitrate in bit per second (bps), server will measure actual - * - * @generated from field: uint32 bitrate = 4; - */ - this.bitrate = 0; - /** - * @generated from field: uint32 ssrc = 5; - */ - this.ssrc = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VideoLayer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VideoLayer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VideoLayer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_VideoLayer, a, b); - } -}; -_VideoLayer.runtime = proto3; -_VideoLayer.typeName = "livekit.VideoLayer"; -_VideoLayer.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { - no: 2, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "bitrate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "ssrc", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let VideoLayer = _VideoLayer; -const _DataPacket = class _DataPacket extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; - * @deprecated - */ - this.kind = 0 /* RELIABLE */; - /** - * participant identity of user that sent the message - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 5; - */ - this.destinationIdentities = []; - /** - * @generated from oneof livekit.DataPacket.value - */ - this.value = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataPacket().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataPacket().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataPacket().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataPacket, a, b); - } -}; -_DataPacket.runtime = proto3; -_DataPacket.typeName = "livekit.DataPacket"; -_DataPacket.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, - { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, - { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, - { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, - { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" }, - { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, - { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, - { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, - { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, - { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, - { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" } -]); -let DataPacket = _DataPacket; -var DataPacket_Kind = /* @__PURE__ */ ((DataPacket_Kind2) => { - DataPacket_Kind2[DataPacket_Kind2["RELIABLE"] = 0] = "RELIABLE"; - DataPacket_Kind2[DataPacket_Kind2["LOSSY"] = 1] = "LOSSY"; - return DataPacket_Kind2; -})(DataPacket_Kind || {}); -proto3.util.setEnumType(DataPacket_Kind, "livekit.DataPacket.Kind", [ - { no: 0, name: "RELIABLE" }, - { no: 1, name: "LOSSY" } -]); -const _ActiveSpeakerUpdate = class _ActiveSpeakerUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - this.speakers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ActiveSpeakerUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ActiveSpeakerUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ActiveSpeakerUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ActiveSpeakerUpdate, a, b); - } -}; -_ActiveSpeakerUpdate.runtime = proto3; -_ActiveSpeakerUpdate.typeName = "livekit.ActiveSpeakerUpdate"; -_ActiveSpeakerUpdate.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } -]); -let ActiveSpeakerUpdate = _ActiveSpeakerUpdate; -const _SpeakerInfo = class _SpeakerInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * audio level, 0-1.0, 1 is loudest - * - * @generated from field: float level = 2; - */ - this.level = 0; - /** - * true if speaker is currently active - * - * @generated from field: bool active = 3; - */ - this.active = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SpeakerInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SpeakerInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SpeakerInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SpeakerInfo, a, b); - } -}; -_SpeakerInfo.runtime = proto3; -_SpeakerInfo.typeName = "livekit.SpeakerInfo"; -_SpeakerInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "level", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 3, - name: "active", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SpeakerInfo = _SpeakerInfo; -const _UserPacket = class _UserPacket extends Message { - constructor(data) { - super(); - /** - * participant ID of user that sent the message - * - * @generated from field: string participant_sid = 1 [deprecated = true]; - * @deprecated - */ - this.participantSid = ""; - /** - * @generated from field: string participant_identity = 5 [deprecated = true]; - * @deprecated - */ - this.participantIdentity = ""; - /** - * user defined payload - * - * @generated from field: bytes payload = 2; - */ - this.payload = new Uint8Array(0); - /** - * the ID of the participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_sids = 3 [deprecated = true]; - * @deprecated - */ - this.destinationSids = []; - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 6 [deprecated = true]; - * @deprecated - */ - this.destinationIdentities = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UserPacket().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UserPacket().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UserPacket().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UserPacket, a, b); - } -}; -_UserPacket.runtime = proto3; -_UserPacket.typeName = "livekit.UserPacket"; -_UserPacket.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "payload", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 3, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 4, name: "topic", kind: "scalar", T: 9, opt: true }, - { no: 8, name: "id", kind: "scalar", T: 9, opt: true }, - { no: 9, name: "start_time", kind: "scalar", T: 4, opt: true }, - { no: 10, name: "end_time", kind: "scalar", T: 4, opt: true } -]); -let UserPacket = _UserPacket; -const _SipDTMF = class _SipDTMF extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 code = 3; - */ - this.code = 0; - /** - * @generated from field: string digit = 4; - */ - this.digit = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SipDTMF().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SipDTMF().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SipDTMF().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SipDTMF, a, b); - } -}; -_SipDTMF.runtime = proto3; -_SipDTMF.typeName = "livekit.SipDTMF"; -_SipDTMF.fields = proto3.util.newFieldList(() => [ - { - no: 3, - name: "code", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "digit", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SipDTMF = _SipDTMF; -const _Transcription = class _Transcription extends Message { - constructor(data) { - super(); - /** - * Participant that got its speech transcribed - * - * @generated from field: string transcribed_participant_identity = 2; - */ - this.transcribedParticipantIdentity = ""; - /** - * @generated from field: string track_id = 3; - */ - this.trackId = ""; - /** - * @generated from field: repeated livekit.TranscriptionSegment segments = 4; - */ - this.segments = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Transcription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Transcription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Transcription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Transcription, a, b); - } -}; -_Transcription.runtime = proto3; -_Transcription.typeName = "livekit.Transcription"; -_Transcription.fields = proto3.util.newFieldList(() => [ - { - no: 2, - name: "transcribed_participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "track_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true } -]); -let Transcription = _Transcription; -const _TranscriptionSegment = class _TranscriptionSegment extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string text = 2; - */ - this.text = ""; - /** - * @generated from field: uint64 start_time = 3; - */ - this.startTime = protoInt64.zero; - /** - * @generated from field: uint64 end_time = 4; - */ - this.endTime = protoInt64.zero; - /** - * @generated from field: bool final = 5; - */ - this.final = false; - /** - * @generated from field: string language = 6; - */ - this.language = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TranscriptionSegment().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TranscriptionSegment().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TranscriptionSegment().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TranscriptionSegment, a, b); - } -}; -_TranscriptionSegment.runtime = proto3; -_TranscriptionSegment.typeName = "livekit.TranscriptionSegment"; -_TranscriptionSegment.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "text", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "start_time", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "end_time", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "final", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "language", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TranscriptionSegment = _TranscriptionSegment; -const _ChatMessage = class _ChatMessage extends Message { - constructor(data) { - super(); - /** - * uuid - * - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = protoInt64.zero; - /** - * @generated from field: string message = 4; - */ - this.message = ""; - /** - * true to remove message - * - * @generated from field: bool deleted = 5; - */ - this.deleted = false; - /** - * true if the chat message has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 6; - */ - this.generated = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ChatMessage().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ChatMessage().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ChatMessage().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ChatMessage, a, b); - } -}; -_ChatMessage.runtime = proto3; -_ChatMessage.typeName = "livekit.ChatMessage"; -_ChatMessage.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 3, name: "edit_timestamp", kind: "scalar", T: 3, opt: true }, - { - no: 4, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "deleted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "generated", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let ChatMessage = _ChatMessage; -const _RpcRequest = class _RpcRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string id = 1; - */ - this.id = ""; - /** - * @generated from field: string method = 2; - */ - this.method = ""; - /** - * @generated from field: string payload = 3; - */ - this.payload = ""; - /** - * @generated from field: uint32 response_timeout_ms = 4; - */ - this.responseTimeoutMs = 0; - /** - * @generated from field: uint32 version = 5; - */ - this.version = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RpcRequest, a, b); - } -}; -_RpcRequest.runtime = proto3; -_RpcRequest.typeName = "livekit.RpcRequest"; -_RpcRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "method", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "payload", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "response_timeout_ms", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "version", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let RpcRequest = _RpcRequest; -const _RpcAck = class _RpcAck extends Message { - constructor(data) { - super(); - /** - * @generated from field: string request_id = 1; - */ - this.requestId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcAck().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcAck().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcAck().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RpcAck, a, b); - } -}; -_RpcAck.runtime = proto3; -_RpcAck.typeName = "livekit.RpcAck"; -_RpcAck.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RpcAck = _RpcAck; -const _RpcResponse = class _RpcResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string request_id = 1; - */ - this.requestId = ""; - /** - * @generated from oneof livekit.RpcResponse.value - */ - this.value = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RpcResponse, a, b); - } -}; -_RpcResponse.runtime = proto3; -_RpcResponse.typeName = "livekit.RpcResponse"; -_RpcResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "payload", kind: "scalar", T: 9, oneof: "value" }, - { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" } -]); -let RpcResponse = _RpcResponse; -const _RpcError = class _RpcError extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 code = 1; - */ - this.code = 0; - /** - * @generated from field: string message = 2; - */ - this.message = ""; - /** - * @generated from field: string data = 3; - */ - this.data = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RpcError().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RpcError().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RpcError().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RpcError, a, b); - } -}; -_RpcError.runtime = proto3; -_RpcError.typeName = "livekit.RpcError"; -_RpcError.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "code", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "data", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RpcError = _RpcError; -const _ParticipantTracks = class _ParticipantTracks extends Message { - constructor(data) { - super(); - /** - * participant ID of participant to whom the tracks belong - * - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: repeated string track_sids = 2; - */ - this.trackSids = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantTracks().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantTracks().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantTracks().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ParticipantTracks, a, b); - } -}; -_ParticipantTracks.runtime = proto3; -_ParticipantTracks.typeName = "livekit.ParticipantTracks"; -_ParticipantTracks.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "track_sids", kind: "scalar", T: 9, repeated: true } -]); -let ParticipantTracks = _ParticipantTracks; -const _ServerInfo = class _ServerInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ServerInfo.Edition edition = 1; - */ - this.edition = 0 /* Standard */; - /** - * @generated from field: string version = 2; - */ - this.version = ""; - /** - * @generated from field: int32 protocol = 3; - */ - this.protocol = 0; - /** - * @generated from field: string region = 4; - */ - this.region = ""; - /** - * @generated from field: string node_id = 5; - */ - this.nodeId = ""; - /** - * additional debugging information. sent only if server is in development mode - * - * @generated from field: string debug_info = 6; - */ - this.debugInfo = ""; - /** - * @generated from field: int32 agent_protocol = 7; - */ - this.agentProtocol = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ServerInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ServerInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ServerInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ServerInfo, a, b); - } -}; -_ServerInfo.runtime = proto3; -_ServerInfo.typeName = "livekit.ServerInfo"; -_ServerInfo.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "edition", kind: "enum", T: proto3.getEnumType(ServerInfo_Edition) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "debug_info", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "agent_protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let ServerInfo = _ServerInfo; -var ServerInfo_Edition = /* @__PURE__ */ ((ServerInfo_Edition2) => { - ServerInfo_Edition2[ServerInfo_Edition2["Standard"] = 0] = "Standard"; - ServerInfo_Edition2[ServerInfo_Edition2["Cloud"] = 1] = "Cloud"; - return ServerInfo_Edition2; -})(ServerInfo_Edition || {}); -proto3.util.setEnumType(ServerInfo_Edition, "livekit.ServerInfo.Edition", [ - { no: 0, name: "Standard" }, - { no: 1, name: "Cloud" } -]); -const _ClientInfo = class _ClientInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientInfo.SDK sdk = 1; - */ - this.sdk = 0 /* UNKNOWN */; - /** - * @generated from field: string version = 2; - */ - this.version = ""; - /** - * @generated from field: int32 protocol = 3; - */ - this.protocol = 0; - /** - * @generated from field: string os = 4; - */ - this.os = ""; - /** - * @generated from field: string os_version = 5; - */ - this.osVersion = ""; - /** - * @generated from field: string device_model = 6; - */ - this.deviceModel = ""; - /** - * @generated from field: string browser = 7; - */ - this.browser = ""; - /** - * @generated from field: string browser_version = 8; - */ - this.browserVersion = ""; - /** - * @generated from field: string address = 9; - */ - this.address = ""; - /** - * wifi, wired, cellular, vpn, empty if not known - * - * @generated from field: string network = 10; - */ - this.network = ""; - /** - * comma separated list of additional LiveKit SDKs in use of this client, with versions - * e.g. "components-js:1.2.3,track-processors-js:1.2.3" - * - * @generated from field: string other_sdks = 11; - */ - this.otherSdks = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ClientInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ClientInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ClientInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ClientInfo, a, b); - } -}; -_ClientInfo.runtime = proto3; -_ClientInfo.typeName = "livekit.ClientInfo"; -_ClientInfo.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "sdk", kind: "enum", T: proto3.getEnumType(ClientInfo_SDK) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "protocol", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 4, - name: "os", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "os_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "device_model", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "browser", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "browser_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "network", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "other_sdks", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ClientInfo = _ClientInfo; -var ClientInfo_SDK = /* @__PURE__ */ ((ClientInfo_SDK2) => { - ClientInfo_SDK2[ClientInfo_SDK2["UNKNOWN"] = 0] = "UNKNOWN"; - ClientInfo_SDK2[ClientInfo_SDK2["JS"] = 1] = "JS"; - ClientInfo_SDK2[ClientInfo_SDK2["SWIFT"] = 2] = "SWIFT"; - ClientInfo_SDK2[ClientInfo_SDK2["ANDROID"] = 3] = "ANDROID"; - ClientInfo_SDK2[ClientInfo_SDK2["FLUTTER"] = 4] = "FLUTTER"; - ClientInfo_SDK2[ClientInfo_SDK2["GO"] = 5] = "GO"; - ClientInfo_SDK2[ClientInfo_SDK2["UNITY"] = 6] = "UNITY"; - ClientInfo_SDK2[ClientInfo_SDK2["REACT_NATIVE"] = 7] = "REACT_NATIVE"; - ClientInfo_SDK2[ClientInfo_SDK2["RUST"] = 8] = "RUST"; - ClientInfo_SDK2[ClientInfo_SDK2["PYTHON"] = 9] = "PYTHON"; - ClientInfo_SDK2[ClientInfo_SDK2["CPP"] = 10] = "CPP"; - ClientInfo_SDK2[ClientInfo_SDK2["UNITY_WEB"] = 11] = "UNITY_WEB"; - ClientInfo_SDK2[ClientInfo_SDK2["NODE"] = 12] = "NODE"; - return ClientInfo_SDK2; -})(ClientInfo_SDK || {}); -proto3.util.setEnumType(ClientInfo_SDK, "livekit.ClientInfo.SDK", [ - { no: 0, name: "UNKNOWN" }, - { no: 1, name: "JS" }, - { no: 2, name: "SWIFT" }, - { no: 3, name: "ANDROID" }, - { no: 4, name: "FLUTTER" }, - { no: 5, name: "GO" }, - { no: 6, name: "UNITY" }, - { no: 7, name: "REACT_NATIVE" }, - { no: 8, name: "RUST" }, - { no: 9, name: "PYTHON" }, - { no: 10, name: "CPP" }, - { no: 11, name: "UNITY_WEB" }, - { no: 12, name: "NODE" } -]); -const _ClientConfiguration = class _ClientConfiguration extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientConfigSetting resume_connection = 3; - */ - this.resumeConnection = 0 /* UNSET */; - /** - * @generated from field: livekit.ClientConfigSetting force_relay = 5; - */ - this.forceRelay = 0 /* UNSET */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ClientConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ClientConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ClientConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ClientConfiguration, a, b); - } -}; -_ClientConfiguration.runtime = proto3; -_ClientConfiguration.typeName = "livekit.ClientConfiguration"; -_ClientConfiguration.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "video", kind: "message", T: VideoConfiguration }, - { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, - { no: 3, name: "resume_connection", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, - { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, - { no: 5, name: "force_relay", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) } -]); -let ClientConfiguration = _ClientConfiguration; -const _VideoConfiguration = class _VideoConfiguration extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; - */ - this.hardwareEncoder = 0 /* UNSET */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VideoConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VideoConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VideoConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_VideoConfiguration, a, b); - } -}; -_VideoConfiguration.runtime = proto3; -_VideoConfiguration.typeName = "livekit.VideoConfiguration"; -_VideoConfiguration.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "hardware_encoder", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) } -]); -let VideoConfiguration = _VideoConfiguration; -const _DisabledCodecs = class _DisabledCodecs extends Message { - constructor(data) { - super(); - /** - * disabled for both publish and subscribe - * - * @generated from field: repeated livekit.Codec codecs = 1; - */ - this.codecs = []; - /** - * only disable for publish - * - * @generated from field: repeated livekit.Codec publish = 2; - */ - this.publish = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DisabledCodecs().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DisabledCodecs().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DisabledCodecs().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DisabledCodecs, a, b); - } -}; -_DisabledCodecs.runtime = proto3; -_DisabledCodecs.typeName = "livekit.DisabledCodecs"; -_DisabledCodecs.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, - { no: 2, name: "publish", kind: "message", T: Codec, repeated: true } -]); -let DisabledCodecs = _DisabledCodecs; -const _RTPDrift = class _RTPDrift extends Message { - constructor(data) { - super(); - /** - * @generated from field: double duration = 3; - */ - this.duration = 0; - /** - * @generated from field: uint64 start_timestamp = 4; - */ - this.startTimestamp = protoInt64.zero; - /** - * @generated from field: uint64 end_timestamp = 5; - */ - this.endTimestamp = protoInt64.zero; - /** - * @generated from field: uint64 rtp_clock_ticks = 6; - */ - this.rtpClockTicks = protoInt64.zero; - /** - * @generated from field: int64 drift_samples = 7; - */ - this.driftSamples = protoInt64.zero; - /** - * @generated from field: double drift_ms = 8; - */ - this.driftMs = 0; - /** - * @generated from field: double clock_rate = 9; - */ - this.clockRate = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPDrift().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPDrift().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPDrift().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RTPDrift, a, b); - } -}; -_RTPDrift.runtime = proto3; -_RTPDrift.typeName = "livekit.RTPDrift"; -_RTPDrift.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "start_time", kind: "message", T: Timestamp }, - { no: 2, name: "end_time", kind: "message", T: Timestamp }, - { - no: 3, - name: "duration", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 4, - name: "start_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "end_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 6, - name: "rtp_clock_ticks", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 7, - name: "drift_samples", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 8, - name: "drift_ms", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 9, - name: "clock_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - } -]); -let RTPDrift = _RTPDrift; -const _RTPStats = class _RTPStats extends Message { - constructor(data) { - super(); - /** - * @generated from field: double duration = 3; - */ - this.duration = 0; - /** - * @generated from field: uint32 packets = 4; - */ - this.packets = 0; - /** - * @generated from field: double packet_rate = 5; - */ - this.packetRate = 0; - /** - * @generated from field: uint64 bytes = 6; - */ - this.bytes = protoInt64.zero; - /** - * @generated from field: uint64 header_bytes = 39; - */ - this.headerBytes = protoInt64.zero; - /** - * @generated from field: double bitrate = 7; - */ - this.bitrate = 0; - /** - * @generated from field: uint32 packets_lost = 8; - */ - this.packetsLost = 0; - /** - * @generated from field: double packet_loss_rate = 9; - */ - this.packetLossRate = 0; - /** - * @generated from field: float packet_loss_percentage = 10; - */ - this.packetLossPercentage = 0; - /** - * @generated from field: uint32 packets_duplicate = 11; - */ - this.packetsDuplicate = 0; - /** - * @generated from field: double packet_duplicate_rate = 12; - */ - this.packetDuplicateRate = 0; - /** - * @generated from field: uint64 bytes_duplicate = 13; - */ - this.bytesDuplicate = protoInt64.zero; - /** - * @generated from field: uint64 header_bytes_duplicate = 40; - */ - this.headerBytesDuplicate = protoInt64.zero; - /** - * @generated from field: double bitrate_duplicate = 14; - */ - this.bitrateDuplicate = 0; - /** - * @generated from field: uint32 packets_padding = 15; - */ - this.packetsPadding = 0; - /** - * @generated from field: double packet_padding_rate = 16; - */ - this.packetPaddingRate = 0; - /** - * @generated from field: uint64 bytes_padding = 17; - */ - this.bytesPadding = protoInt64.zero; - /** - * @generated from field: uint64 header_bytes_padding = 41; - */ - this.headerBytesPadding = protoInt64.zero; - /** - * @generated from field: double bitrate_padding = 18; - */ - this.bitratePadding = 0; - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - this.packetsOutOfOrder = 0; - /** - * @generated from field: uint32 frames = 20; - */ - this.frames = 0; - /** - * @generated from field: double frame_rate = 21; - */ - this.frameRate = 0; - /** - * @generated from field: double jitter_current = 22; - */ - this.jitterCurrent = 0; - /** - * @generated from field: double jitter_max = 23; - */ - this.jitterMax = 0; - /** - * @generated from field: map gap_histogram = 24; - */ - this.gapHistogram = {}; - /** - * @generated from field: uint32 nacks = 25; - */ - this.nacks = 0; - /** - * @generated from field: uint32 nack_acks = 37; - */ - this.nackAcks = 0; - /** - * @generated from field: uint32 nack_misses = 26; - */ - this.nackMisses = 0; - /** - * @generated from field: uint32 nack_repeated = 38; - */ - this.nackRepeated = 0; - /** - * @generated from field: uint32 plis = 27; - */ - this.plis = 0; - /** - * @generated from field: uint32 firs = 29; - */ - this.firs = 0; - /** - * @generated from field: uint32 rtt_current = 31; - */ - this.rttCurrent = 0; - /** - * @generated from field: uint32 rtt_max = 32; - */ - this.rttMax = 0; - /** - * @generated from field: uint32 key_frames = 33; - */ - this.keyFrames = 0; - /** - * @generated from field: uint32 layer_lock_plis = 35; - */ - this.layerLockPlis = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPStats().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPStats().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPStats().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RTPStats, a, b); - } -}; -_RTPStats.runtime = proto3; -_RTPStats.typeName = "livekit.RTPStats"; -_RTPStats.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "start_time", kind: "message", T: Timestamp }, - { no: 2, name: "end_time", kind: "message", T: Timestamp }, - { - no: 3, - name: "duration", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 4, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "packet_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 6, - name: "bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 39, - name: "header_bytes", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 7, - name: "bitrate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 8, - name: "packets_lost", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "packet_loss_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 10, - name: "packet_loss_percentage", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - }, - { - no: 11, - name: "packets_duplicate", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 12, - name: "packet_duplicate_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 13, - name: "bytes_duplicate", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 40, - name: "header_bytes_duplicate", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 14, - name: "bitrate_duplicate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 15, - name: "packets_padding", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 16, - name: "packet_padding_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 17, - name: "bytes_padding", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 41, - name: "header_bytes_padding", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 18, - name: "bitrate_padding", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 19, - name: "packets_out_of_order", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 20, - name: "frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 21, - name: "frame_rate", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 22, - name: "jitter_current", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { - no: 23, - name: "jitter_max", - kind: "scalar", - T: 1 - /* ScalarType.DOUBLE */ - }, - { no: 24, name: "gap_histogram", kind: "map", K: 5, V: { - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } }, - { - no: 25, - name: "nacks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 37, - name: "nack_acks", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 26, - name: "nack_misses", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 38, - name: "nack_repeated", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 27, - name: "plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 28, name: "last_pli", kind: "message", T: Timestamp }, - { - no: 29, - name: "firs", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 30, name: "last_fir", kind: "message", T: Timestamp }, - { - no: 31, - name: "rtt_current", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 32, - name: "rtt_max", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 33, - name: "key_frames", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 34, name: "last_key_frame", kind: "message", T: Timestamp }, - { - no: 35, - name: "layer_lock_plis", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp }, - { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, - { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, - { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, - { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift } -]); -let RTPStats = _RTPStats; -const _RTCPSenderReportState = class _RTCPSenderReportState extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 rtp_timestamp = 1; - */ - this.rtpTimestamp = 0; - /** - * @generated from field: uint64 rtp_timestamp_ext = 2; - */ - this.rtpTimestampExt = protoInt64.zero; - /** - * @generated from field: uint64 ntp_timestamp = 3; - */ - this.ntpTimestamp = protoInt64.zero; - /** - * time at which this happened - * - * @generated from field: int64 at = 4; - */ - this.at = protoInt64.zero; - /** - * @generated from field: int64 at_adjusted = 5; - */ - this.atAdjusted = protoInt64.zero; - /** - * @generated from field: uint32 packets = 6; - */ - this.packets = 0; - /** - * @generated from field: uint64 octets = 7; - */ - this.octets = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTCPSenderReportState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTCPSenderReportState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTCPSenderReportState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RTCPSenderReportState, a, b); - } -}; -_RTCPSenderReportState.runtime = proto3; -_RTCPSenderReportState.typeName = "livekit.RTCPSenderReportState"; -_RTCPSenderReportState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "rtp_timestamp", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 2, - name: "rtp_timestamp_ext", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "ntp_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 5, - name: "at_adjusted", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 6, - name: "packets", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "octets", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - } -]); -let RTCPSenderReportState = _RTCPSenderReportState; -const _RTPForwarderState = class _RTPForwarderState extends Message { - constructor(data) { - super(); - /** - * @generated from field: bool started = 1; - */ - this.started = false; - /** - * @generated from field: int32 reference_layer_spatial = 2; - */ - this.referenceLayerSpatial = 0; - /** - * @generated from field: int64 pre_start_time = 3; - */ - this.preStartTime = protoInt64.zero; - /** - * @generated from field: uint64 ext_first_timestamp = 4; - */ - this.extFirstTimestamp = protoInt64.zero; - /** - * @generated from field: uint64 dummy_start_timestamp_offset = 5; - */ - this.dummyStartTimestampOffset = protoInt64.zero; - /** - * @generated from oneof livekit.RTPForwarderState.codec_munger - */ - this.codecMunger = { case: void 0 }; - /** - * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; - */ - this.senderReportState = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPForwarderState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPForwarderState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPForwarderState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RTPForwarderState, a, b); - } -}; -_RTPForwarderState.runtime = proto3; -_RTPForwarderState.typeName = "livekit.RTPForwarderState"; -_RTPForwarderState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "started", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 2, - name: "reference_layer_spatial", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "pre_start_time", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 4, - name: "ext_first_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "dummy_start_timestamp_offset", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, - { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, - { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true } -]); -let RTPForwarderState = _RTPForwarderState; -const _RTPMungerState = class _RTPMungerState extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint64 ext_last_sequence_number = 1; - */ - this.extLastSequenceNumber = protoInt64.zero; - /** - * @generated from field: uint64 ext_second_last_sequence_number = 2; - */ - this.extSecondLastSequenceNumber = protoInt64.zero; - /** - * @generated from field: uint64 ext_last_timestamp = 3; - */ - this.extLastTimestamp = protoInt64.zero; - /** - * @generated from field: uint64 ext_second_last_timestamp = 4; - */ - this.extSecondLastTimestamp = protoInt64.zero; - /** - * @generated from field: bool last_marker = 5; - */ - this.lastMarker = false; - /** - * @generated from field: bool second_last_marker = 6; - */ - this.secondLastMarker = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RTPMungerState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RTPMungerState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RTPMungerState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RTPMungerState, a, b); - } -}; -_RTPMungerState.runtime = proto3; -_RTPMungerState.typeName = "livekit.RTPMungerState"; -_RTPMungerState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ext_last_sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 2, - name: "ext_second_last_sequence_number", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "ext_last_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 4, - name: "ext_second_last_timestamp", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 5, - name: "last_marker", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "second_last_marker", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let RTPMungerState = _RTPMungerState; -const _VP8MungerState = class _VP8MungerState extends Message { - constructor(data) { - super(); - /** - * @generated from field: int32 ext_last_picture_id = 1; - */ - this.extLastPictureId = 0; - /** - * @generated from field: bool picture_id_used = 2; - */ - this.pictureIdUsed = false; - /** - * @generated from field: uint32 last_tl0_pic_idx = 3; - */ - this.lastTl0PicIdx = 0; - /** - * @generated from field: bool tl0_pic_idx_used = 4; - */ - this.tl0PicIdxUsed = false; - /** - * @generated from field: bool tid_used = 5; - */ - this.tidUsed = false; - /** - * @generated from field: uint32 last_key_idx = 6; - */ - this.lastKeyIdx = 0; - /** - * @generated from field: bool key_idx_used = 7; - */ - this.keyIdxUsed = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _VP8MungerState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _VP8MungerState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _VP8MungerState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_VP8MungerState, a, b); - } -}; -_VP8MungerState.runtime = proto3; -_VP8MungerState.typeName = "livekit.VP8MungerState"; -_VP8MungerState.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "ext_last_picture_id", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 2, - name: "picture_id_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 3, - name: "last_tl0_pic_idx", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "tl0_pic_idx_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "tid_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 6, - name: "last_key_idx", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "key_idx_used", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let VP8MungerState = _VP8MungerState; -const _TimedVersion = class _TimedVersion extends Message { - constructor(data) { - super(); - /** - * @generated from field: int64 unix_micro = 1; - */ - this.unixMicro = protoInt64.zero; - /** - * @generated from field: int32 ticks = 2; - */ - this.ticks = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TimedVersion().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TimedVersion().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TimedVersion().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TimedVersion, a, b); - } -}; -_TimedVersion.runtime = proto3; -_TimedVersion.typeName = "livekit.TimedVersion"; -_TimedVersion.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "unix_micro", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "ticks", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let TimedVersion = _TimedVersion; -const _DataStream = class _DataStream extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataStream, a, b); - } -}; -_DataStream.runtime = proto3; -_DataStream.typeName = "livekit.DataStream"; -_DataStream.fields = proto3.util.newFieldList(() => []); -let DataStream = _DataStream; -var DataStream_OperationType = /* @__PURE__ */ ((DataStream_OperationType2) => { - DataStream_OperationType2[DataStream_OperationType2["CREATE"] = 0] = "CREATE"; - DataStream_OperationType2[DataStream_OperationType2["UPDATE"] = 1] = "UPDATE"; - DataStream_OperationType2[DataStream_OperationType2["DELETE"] = 2] = "DELETE"; - DataStream_OperationType2[DataStream_OperationType2["REACTION"] = 3] = "REACTION"; - return DataStream_OperationType2; -})(DataStream_OperationType || {}); -proto3.util.setEnumType(DataStream_OperationType, "livekit.DataStream.OperationType", [ - { no: 0, name: "CREATE" }, - { no: 1, name: "UPDATE" }, - { no: 2, name: "DELETE" }, - { no: 3, name: "REACTION" } -]); -const _DataStream_TextHeader = class _DataStream_TextHeader extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.DataStream.OperationType operation_type = 1; - */ - this.operationType = 0 /* CREATE */; - /** - * Optional: Version for updates/edits - * - * @generated from field: int32 version = 2; - */ - this.version = 0; - /** - * Optional: Reply to specific message - * - * @generated from field: string reply_to_stream_id = 3; - */ - this.replyToStreamId = ""; - /** - * file attachments for text streams - * - * @generated from field: repeated string attached_stream_ids = 4; - */ - this.attachedStreamIds = []; - /** - * true if the text has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 5; - */ - this.generated = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_TextHeader().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_TextHeader().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_TextHeader().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataStream_TextHeader, a, b); - } -}; -_DataStream_TextHeader.runtime = proto3; -_DataStream_TextHeader.typeName = "livekit.DataStream.TextHeader"; -_DataStream_TextHeader.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "operation_type", kind: "enum", T: proto3.getEnumType(DataStream_OperationType) }, - { - no: 2, - name: "version", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 3, - name: "reply_to_stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "generated", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let DataStream_TextHeader = _DataStream_TextHeader; -const _DataStream_FileHeader = class _DataStream_FileHeader extends Message { - constructor(data) { - super(); - /** - * name of the file - * - * @generated from field: string file_name = 1; - */ - this.fileName = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_FileHeader().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_FileHeader().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_FileHeader().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataStream_FileHeader, a, b); - } -}; -_DataStream_FileHeader.runtime = proto3; -_DataStream_FileHeader.typeName = "livekit.DataStream.FileHeader"; -_DataStream_FileHeader.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "file_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DataStream_FileHeader = _DataStream_FileHeader; -const _DataStream_Header = class _DataStream_Header extends Message { - constructor(data) { - super(); - /** - * unique identifier for this data stream - * - * @generated from field: string stream_id = 1; - */ - this.streamId = ""; - /** - * using int64 for Unix timestamp - * - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = protoInt64.zero; - /** - * @generated from field: string topic = 3; - */ - this.topic = ""; - /** - * @generated from field: string mime_type = 4; - */ - this.mimeType = ""; - /** - * defaults to NONE - * - * @generated from field: livekit.Encryption.Type encryption_type = 7; - */ - this.encryptionType = 0 /* NONE */; - /** - * user defined extensions map that can carry additional info - * - * @generated from field: map extensions = 8; - */ - this.extensions = {}; - /** - * oneof to choose between specific header types - * - * @generated from oneof livekit.DataStream.Header.content_header - */ - this.contentHeader = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_Header().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_Header().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_Header().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataStream_Header, a, b); - } -}; -_DataStream_Header.runtime = proto3; -_DataStream_Header.typeName = "livekit.DataStream.Header"; -_DataStream_Header.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 3, - name: "topic", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "mime_type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "total_length", kind: "scalar", T: 4, opt: true }, - { no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true }, - { no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { no: 8, name: "extensions", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, - { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" } -]); -let DataStream_Header = _DataStream_Header; -const _DataStream_Chunk = class _DataStream_Chunk extends Message { - constructor(data) { - super(); - /** - * unique identifier for this data stream to map it to the correct header - * - * @generated from field: string stream_id = 1; - */ - this.streamId = ""; - /** - * @generated from field: uint64 chunk_index = 2; - */ - this.chunkIndex = protoInt64.zero; - /** - * content as binary (bytes) - * - * @generated from field: bytes content = 3; - */ - this.content = new Uint8Array(0); - /** - * true only if this is the last chunk of this stream - can also be sent with empty content - * - * @generated from field: bool complete = 4; - */ - this.complete = false; - /** - * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - * - * @generated from field: int32 version = 5; - */ - this.version = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataStream_Chunk().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataStream_Chunk().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataStream_Chunk().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataStream_Chunk, a, b); - } -}; -_DataStream_Chunk.runtime = proto3; -_DataStream_Chunk.typeName = "livekit.DataStream.Chunk"; -_DataStream_Chunk.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "stream_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "chunk_index", - kind: "scalar", - T: 4 - /* ScalarType.UINT64 */ - }, - { - no: 3, - name: "content", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { - no: 4, - name: "complete", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 5, - name: "version", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 6, name: "iv", kind: "scalar", T: 12, opt: true } -]); -let DataStream_Chunk = _DataStream_Chunk; -export { - ActiveSpeakerUpdate, - AudioCodec, - AudioTrackFeature, - ChatMessage, - ClientConfigSetting, - ClientConfiguration, - ClientInfo, - ClientInfo_SDK, - Codec, - ConnectionQuality, - DataPacket, - DataPacket_Kind, - DataStream, - DataStream_Chunk, - DataStream_FileHeader, - DataStream_Header, - DataStream_OperationType, - DataStream_TextHeader, - DisabledCodecs, - DisconnectReason, - Encryption, - Encryption_Type, - ImageCodec, - ParticipantInfo, - ParticipantInfo_Kind, - ParticipantInfo_State, - ParticipantPermission, - ParticipantTracks, - PlayoutDelay, - RTCPSenderReportState, - RTPDrift, - RTPForwarderState, - RTPMungerState, - RTPStats, - ReconnectReason, - Room, - RpcAck, - RpcError, - RpcRequest, - RpcResponse, - ServerInfo, - ServerInfo_Edition, - SimulcastCodecInfo, - SipDTMF, - SpeakerInfo, - SubscriptionError, - TimedVersion, - TrackInfo, - TrackSource, - TrackType, - Transcription, - TranscriptionSegment, - UserPacket, - VP8MungerState, - VideoCodec, - VideoConfiguration, - VideoLayer, - VideoQuality -}; -//# sourceMappingURL=livekit_models_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_models_pb.js.map b/packages/javascript/dist/gen/livekit_models_pb.js.map deleted file mode 100644 index 51933aa6..00000000 --- a/packages/javascript/dist/gen/livekit_models_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_models_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_models.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64, Timestamp } from \"@bufbuild/protobuf\";\nimport { MetricsBatch } from \"./livekit_metrics_pb.js\";\n\n/**\n * @generated from enum livekit.AudioCodec\n */\nexport enum AudioCodec {\n /**\n * @generated from enum value: DEFAULT_AC = 0;\n */\n DEFAULT_AC = 0,\n\n /**\n * @generated from enum value: OPUS = 1;\n */\n OPUS = 1,\n\n /**\n * @generated from enum value: AAC = 2;\n */\n AAC = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)\nproto3.util.setEnumType(AudioCodec, \"livekit.AudioCodec\", [\n { no: 0, name: \"DEFAULT_AC\" },\n { no: 1, name: \"OPUS\" },\n { no: 2, name: \"AAC\" },\n]);\n\n/**\n * @generated from enum livekit.VideoCodec\n */\nexport enum VideoCodec {\n /**\n * @generated from enum value: DEFAULT_VC = 0;\n */\n DEFAULT_VC = 0,\n\n /**\n * @generated from enum value: H264_BASELINE = 1;\n */\n H264_BASELINE = 1,\n\n /**\n * @generated from enum value: H264_MAIN = 2;\n */\n H264_MAIN = 2,\n\n /**\n * @generated from enum value: H264_HIGH = 3;\n */\n H264_HIGH = 3,\n\n /**\n * @generated from enum value: VP8 = 4;\n */\n VP8 = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoCodec)\nproto3.util.setEnumType(VideoCodec, \"livekit.VideoCodec\", [\n { no: 0, name: \"DEFAULT_VC\" },\n { no: 1, name: \"H264_BASELINE\" },\n { no: 2, name: \"H264_MAIN\" },\n { no: 3, name: \"H264_HIGH\" },\n { no: 4, name: \"VP8\" },\n]);\n\n/**\n * @generated from enum livekit.ImageCodec\n */\nexport enum ImageCodec {\n /**\n * @generated from enum value: IC_DEFAULT = 0;\n */\n IC_DEFAULT = 0,\n\n /**\n * @generated from enum value: IC_JPEG = 1;\n */\n IC_JPEG = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ImageCodec)\nproto3.util.setEnumType(ImageCodec, \"livekit.ImageCodec\", [\n { no: 0, name: \"IC_DEFAULT\" },\n { no: 1, name: \"IC_JPEG\" },\n]);\n\n/**\n * @generated from enum livekit.TrackType\n */\nexport enum TrackType {\n /**\n * @generated from enum value: AUDIO = 0;\n */\n AUDIO = 0,\n\n /**\n * @generated from enum value: VIDEO = 1;\n */\n VIDEO = 1,\n\n /**\n * @generated from enum value: DATA = 2;\n */\n DATA = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackType)\nproto3.util.setEnumType(TrackType, \"livekit.TrackType\", [\n { no: 0, name: \"AUDIO\" },\n { no: 1, name: \"VIDEO\" },\n { no: 2, name: \"DATA\" },\n]);\n\n/**\n * @generated from enum livekit.TrackSource\n */\nexport enum TrackSource {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: CAMERA = 1;\n */\n CAMERA = 1,\n\n /**\n * @generated from enum value: MICROPHONE = 2;\n */\n MICROPHONE = 2,\n\n /**\n * @generated from enum value: SCREEN_SHARE = 3;\n */\n SCREEN_SHARE = 3,\n\n /**\n * @generated from enum value: SCREEN_SHARE_AUDIO = 4;\n */\n SCREEN_SHARE_AUDIO = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(TrackSource)\nproto3.util.setEnumType(TrackSource, \"livekit.TrackSource\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"CAMERA\" },\n { no: 2, name: \"MICROPHONE\" },\n { no: 3, name: \"SCREEN_SHARE\" },\n { no: 4, name: \"SCREEN_SHARE_AUDIO\" },\n]);\n\n/**\n * @generated from enum livekit.VideoQuality\n */\nexport enum VideoQuality {\n /**\n * @generated from enum value: LOW = 0;\n */\n LOW = 0,\n\n /**\n * @generated from enum value: MEDIUM = 1;\n */\n MEDIUM = 1,\n\n /**\n * @generated from enum value: HIGH = 2;\n */\n HIGH = 2,\n\n /**\n * @generated from enum value: OFF = 3;\n */\n OFF = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(VideoQuality)\nproto3.util.setEnumType(VideoQuality, \"livekit.VideoQuality\", [\n { no: 0, name: \"LOW\" },\n { no: 1, name: \"MEDIUM\" },\n { no: 2, name: \"HIGH\" },\n { no: 3, name: \"OFF\" },\n]);\n\n/**\n * @generated from enum livekit.ConnectionQuality\n */\nexport enum ConnectionQuality {\n /**\n * @generated from enum value: POOR = 0;\n */\n POOR = 0,\n\n /**\n * @generated from enum value: GOOD = 1;\n */\n GOOD = 1,\n\n /**\n * @generated from enum value: EXCELLENT = 2;\n */\n EXCELLENT = 2,\n\n /**\n * @generated from enum value: LOST = 3;\n */\n LOST = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ConnectionQuality)\nproto3.util.setEnumType(ConnectionQuality, \"livekit.ConnectionQuality\", [\n { no: 0, name: \"POOR\" },\n { no: 1, name: \"GOOD\" },\n { no: 2, name: \"EXCELLENT\" },\n { no: 3, name: \"LOST\" },\n]);\n\n/**\n * @generated from enum livekit.ClientConfigSetting\n */\nexport enum ClientConfigSetting {\n /**\n * @generated from enum value: UNSET = 0;\n */\n UNSET = 0,\n\n /**\n * @generated from enum value: DISABLED = 1;\n */\n DISABLED = 1,\n\n /**\n * @generated from enum value: ENABLED = 2;\n */\n ENABLED = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientConfigSetting)\nproto3.util.setEnumType(ClientConfigSetting, \"livekit.ClientConfigSetting\", [\n { no: 0, name: \"UNSET\" },\n { no: 1, name: \"DISABLED\" },\n { no: 2, name: \"ENABLED\" },\n]);\n\n/**\n * @generated from enum livekit.DisconnectReason\n */\nexport enum DisconnectReason {\n /**\n * @generated from enum value: UNKNOWN_REASON = 0;\n */\n UNKNOWN_REASON = 0,\n\n /**\n * the client initiated the disconnect\n *\n * @generated from enum value: CLIENT_INITIATED = 1;\n */\n CLIENT_INITIATED = 1,\n\n /**\n * another participant with the same identity has joined the room\n *\n * @generated from enum value: DUPLICATE_IDENTITY = 2;\n */\n DUPLICATE_IDENTITY = 2,\n\n /**\n * the server instance is shutting down\n *\n * @generated from enum value: SERVER_SHUTDOWN = 3;\n */\n SERVER_SHUTDOWN = 3,\n\n /**\n * RoomService.RemoveParticipant was called\n *\n * @generated from enum value: PARTICIPANT_REMOVED = 4;\n */\n PARTICIPANT_REMOVED = 4,\n\n /**\n * RoomService.DeleteRoom was called\n *\n * @generated from enum value: ROOM_DELETED = 5;\n */\n ROOM_DELETED = 5,\n\n /**\n * the client is attempting to resume a session, but server is not aware of it\n *\n * @generated from enum value: STATE_MISMATCH = 6;\n */\n STATE_MISMATCH = 6,\n\n /**\n * client was unable to connect fully\n *\n * @generated from enum value: JOIN_FAILURE = 7;\n */\n JOIN_FAILURE = 7,\n\n /**\n * Cloud-only, the server requested Participant to migrate the connection elsewhere\n *\n * @generated from enum value: MIGRATION = 8;\n */\n MIGRATION = 8,\n\n /**\n * the signal websocket was closed unexpectedly\n *\n * @generated from enum value: SIGNAL_CLOSE = 9;\n */\n SIGNAL_CLOSE = 9,\n\n /**\n * the room was closed, due to all Standard and Ingress participants having left\n *\n * @generated from enum value: ROOM_CLOSED = 10;\n */\n ROOM_CLOSED = 10,\n\n /**\n * SIP callee did not respond in time\n *\n * @generated from enum value: USER_UNAVAILABLE = 11;\n */\n USER_UNAVAILABLE = 11,\n\n /**\n * SIP callee rejected the call (busy)\n *\n * @generated from enum value: USER_REJECTED = 12;\n */\n USER_REJECTED = 12,\n\n /**\n * SIP protocol failure or unexpected response\n *\n * @generated from enum value: SIP_TRUNK_FAILURE = 13;\n */\n SIP_TRUNK_FAILURE = 13,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DisconnectReason)\nproto3.util.setEnumType(DisconnectReason, \"livekit.DisconnectReason\", [\n { no: 0, name: \"UNKNOWN_REASON\" },\n { no: 1, name: \"CLIENT_INITIATED\" },\n { no: 2, name: \"DUPLICATE_IDENTITY\" },\n { no: 3, name: \"SERVER_SHUTDOWN\" },\n { no: 4, name: \"PARTICIPANT_REMOVED\" },\n { no: 5, name: \"ROOM_DELETED\" },\n { no: 6, name: \"STATE_MISMATCH\" },\n { no: 7, name: \"JOIN_FAILURE\" },\n { no: 8, name: \"MIGRATION\" },\n { no: 9, name: \"SIGNAL_CLOSE\" },\n { no: 10, name: \"ROOM_CLOSED\" },\n { no: 11, name: \"USER_UNAVAILABLE\" },\n { no: 12, name: \"USER_REJECTED\" },\n { no: 13, name: \"SIP_TRUNK_FAILURE\" },\n]);\n\n/**\n * @generated from enum livekit.ReconnectReason\n */\nexport enum ReconnectReason {\n /**\n * @generated from enum value: RR_UNKNOWN = 0;\n */\n RR_UNKNOWN = 0,\n\n /**\n * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1;\n */\n RR_SIGNAL_DISCONNECTED = 1,\n\n /**\n * @generated from enum value: RR_PUBLISHER_FAILED = 2;\n */\n RR_PUBLISHER_FAILED = 2,\n\n /**\n * @generated from enum value: RR_SUBSCRIBER_FAILED = 3;\n */\n RR_SUBSCRIBER_FAILED = 3,\n\n /**\n * @generated from enum value: RR_SWITCH_CANDIDATE = 4;\n */\n RR_SWITCH_CANDIDATE = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ReconnectReason)\nproto3.util.setEnumType(ReconnectReason, \"livekit.ReconnectReason\", [\n { no: 0, name: \"RR_UNKNOWN\" },\n { no: 1, name: \"RR_SIGNAL_DISCONNECTED\" },\n { no: 2, name: \"RR_PUBLISHER_FAILED\" },\n { no: 3, name: \"RR_SUBSCRIBER_FAILED\" },\n { no: 4, name: \"RR_SWITCH_CANDIDATE\" },\n]);\n\n/**\n * @generated from enum livekit.SubscriptionError\n */\nexport enum SubscriptionError {\n /**\n * @generated from enum value: SE_UNKNOWN = 0;\n */\n SE_UNKNOWN = 0,\n\n /**\n * @generated from enum value: SE_CODEC_UNSUPPORTED = 1;\n */\n SE_CODEC_UNSUPPORTED = 1,\n\n /**\n * @generated from enum value: SE_TRACK_NOTFOUND = 2;\n */\n SE_TRACK_NOTFOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SubscriptionError)\nproto3.util.setEnumType(SubscriptionError, \"livekit.SubscriptionError\", [\n { no: 0, name: \"SE_UNKNOWN\" },\n { no: 1, name: \"SE_CODEC_UNSUPPORTED\" },\n { no: 2, name: \"SE_TRACK_NOTFOUND\" },\n]);\n\n/**\n * @generated from enum livekit.AudioTrackFeature\n */\nexport enum AudioTrackFeature {\n /**\n * @generated from enum value: TF_STEREO = 0;\n */\n TF_STEREO = 0,\n\n /**\n * @generated from enum value: TF_NO_DTX = 1;\n */\n TF_NO_DTX = 1,\n\n /**\n * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2;\n */\n TF_AUTO_GAIN_CONTROL = 2,\n\n /**\n * @generated from enum value: TF_ECHO_CANCELLATION = 3;\n */\n TF_ECHO_CANCELLATION = 3,\n\n /**\n * @generated from enum value: TF_NOISE_SUPPRESSION = 4;\n */\n TF_NOISE_SUPPRESSION = 4,\n\n /**\n * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5;\n */\n TF_ENHANCED_NOISE_CANCELLATION = 5,\n}\n// Retrieve enum metadata with: proto3.getEnumType(AudioTrackFeature)\nproto3.util.setEnumType(AudioTrackFeature, \"livekit.AudioTrackFeature\", [\n { no: 0, name: \"TF_STEREO\" },\n { no: 1, name: \"TF_NO_DTX\" },\n { no: 2, name: \"TF_AUTO_GAIN_CONTROL\" },\n { no: 3, name: \"TF_ECHO_CANCELLATION\" },\n { no: 4, name: \"TF_NOISE_SUPPRESSION\" },\n { no: 5, name: \"TF_ENHANCED_NOISE_CANCELLATION\" },\n]);\n\n/**\n * @generated from message livekit.Room\n */\nexport class Room extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 empty_timeout = 3;\n */\n emptyTimeout = 0;\n\n /**\n * @generated from field: uint32 departure_timeout = 14;\n */\n departureTimeout = 0;\n\n /**\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * @generated from field: int64 creation_time = 5;\n */\n creationTime = protoInt64.zero;\n\n /**\n * @generated from field: string turn_password = 6;\n */\n turnPassword = \"\";\n\n /**\n * @generated from field: repeated livekit.Codec enabled_codecs = 7;\n */\n enabledCodecs: Codec[] = [];\n\n /**\n * @generated from field: string metadata = 8;\n */\n metadata = \"\";\n\n /**\n * @generated from field: uint32 num_participants = 9;\n */\n numParticipants = 0;\n\n /**\n * @generated from field: uint32 num_publishers = 11;\n */\n numPublishers = 0;\n\n /**\n * @generated from field: bool active_recording = 10;\n */\n activeRecording = false;\n\n /**\n * @generated from field: livekit.TimedVersion version = 13;\n */\n version?: TimedVersion;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Room\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 14, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"creation_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"turn_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"enabled_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 8, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"num_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"num_publishers\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"active_recording\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"version\", kind: \"message\", T: TimedVersion },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Room {\n return new Room().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Room {\n return new Room().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Room {\n return new Room().fromJsonString(jsonString, options);\n }\n\n static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean {\n return proto3.util.equals(Room, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Codec\n */\nexport class Codec extends Message {\n /**\n * @generated from field: string mime = 1;\n */\n mime = \"\";\n\n /**\n * @generated from field: string fmtp_line = 2;\n */\n fmtpLine = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Codec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"fmtp_line\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Codec {\n return new Codec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Codec {\n return new Codec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Codec {\n return new Codec().fromJsonString(jsonString, options);\n }\n\n static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean {\n return proto3.util.equals(Codec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.PlayoutDelay\n */\nexport class PlayoutDelay extends Message {\n /**\n * @generated from field: bool enabled = 1;\n */\n enabled = false;\n\n /**\n * @generated from field: uint32 min = 2;\n */\n min = 0;\n\n /**\n * @generated from field: uint32 max = 3;\n */\n max = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.PlayoutDelay\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"min\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay {\n return new PlayoutDelay().fromJsonString(jsonString, options);\n }\n\n static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean {\n return proto3.util.equals(PlayoutDelay, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantPermission\n */\nexport class ParticipantPermission extends Message {\n /**\n * allow participant to subscribe to other tracks in the room\n *\n * @generated from field: bool can_subscribe = 1;\n */\n canSubscribe = false;\n\n /**\n * allow participant to publish new tracks to room\n *\n * @generated from field: bool can_publish = 2;\n */\n canPublish = false;\n\n /**\n * allow participant to publish data\n *\n * @generated from field: bool can_publish_data = 3;\n */\n canPublishData = false;\n\n /**\n * sources that are allowed to be published\n *\n * @generated from field: repeated livekit.TrackSource can_publish_sources = 9;\n */\n canPublishSources: TrackSource[] = [];\n\n /**\n * indicates that it's hidden to others\n *\n * @generated from field: bool hidden = 7;\n */\n hidden = false;\n\n /**\n * indicates it's a recorder instance\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool recorder = 8 [deprecated = true];\n * @deprecated\n */\n recorder = false;\n\n /**\n * indicates that participant can update own metadata and attributes\n *\n * @generated from field: bool can_update_metadata = 10;\n */\n canUpdateMetadata = false;\n\n /**\n * indicates that participant is an agent\n * deprecated: use ParticipantInfo.kind instead\n *\n * @generated from field: bool agent = 11 [deprecated = true];\n * @deprecated\n */\n agent = false;\n\n /**\n * if a participant can subscribe to metrics\n *\n * @generated from field: bool can_subscribe_metrics = 12;\n */\n canSubscribeMetrics = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"can_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"can_publish_data\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"can_publish_sources\", kind: \"enum\", T: proto3.getEnumType(TrackSource), repeated: true },\n { no: 7, name: \"hidden\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"recorder\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"can_update_metadata\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"agent\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 12, name: \"can_subscribe_metrics\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission {\n return new ParticipantPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantInfo\n */\nexport class ParticipantInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * @generated from field: livekit.ParticipantInfo.State state = 3;\n */\n state = ParticipantInfo_State.JOINING;\n\n /**\n * @generated from field: repeated livekit.TrackInfo tracks = 4;\n */\n tracks: TrackInfo[] = [];\n\n /**\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * timestamp when participant joined room, in seconds\n *\n * @generated from field: int64 joined_at = 6;\n */\n joinedAt = protoInt64.zero;\n\n /**\n * @generated from field: string name = 9;\n */\n name = \"\";\n\n /**\n * @generated from field: uint32 version = 10;\n */\n version = 0;\n\n /**\n * @generated from field: livekit.ParticipantPermission permission = 11;\n */\n permission?: ParticipantPermission;\n\n /**\n * @generated from field: string region = 12;\n */\n region = \"\";\n\n /**\n * indicates the participant has an active publisher connection\n * and can publish to the server\n *\n * @generated from field: bool is_publisher = 13;\n */\n isPublisher = false;\n\n /**\n * @generated from field: livekit.ParticipantInfo.Kind kind = 14;\n */\n kind = ParticipantInfo_Kind.STANDARD;\n\n /**\n * @generated from field: map attributes = 15;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 16;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_State) },\n { no: 4, name: \"tracks\", kind: \"message\", T: TrackInfo, repeated: true },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"joined_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 9, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 11, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 12, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"is_publisher\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(ParticipantInfo_Kind) },\n { no: 15, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 16, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo {\n return new ParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ParticipantInfo.State\n */\nexport enum ParticipantInfo_State {\n /**\n * websocket' connected, but not offered yet\n *\n * @generated from enum value: JOINING = 0;\n */\n JOINING = 0,\n\n /**\n * server received client offer\n *\n * @generated from enum value: JOINED = 1;\n */\n JOINED = 1,\n\n /**\n * ICE connectivity established\n *\n * @generated from enum value: ACTIVE = 2;\n */\n ACTIVE = 2,\n\n /**\n * WS disconnected\n *\n * @generated from enum value: DISCONNECTED = 3;\n */\n DISCONNECTED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_State)\nproto3.util.setEnumType(ParticipantInfo_State, \"livekit.ParticipantInfo.State\", [\n { no: 0, name: \"JOINING\" },\n { no: 1, name: \"JOINED\" },\n { no: 2, name: \"ACTIVE\" },\n { no: 3, name: \"DISCONNECTED\" },\n]);\n\n/**\n * @generated from enum livekit.ParticipantInfo.Kind\n */\nexport enum ParticipantInfo_Kind {\n /**\n * standard participants, e.g. web clients\n *\n * @generated from enum value: STANDARD = 0;\n */\n STANDARD = 0,\n\n /**\n * only ingests streams\n *\n * @generated from enum value: INGRESS = 1;\n */\n INGRESS = 1,\n\n /**\n * only consumes streams\n *\n * @generated from enum value: EGRESS = 2;\n */\n EGRESS = 2,\n\n /**\n * SIP participants\n *\n * @generated from enum value: SIP = 3;\n */\n SIP = 3,\n\n /**\n * LiveKit agents\n *\n * @generated from enum value: AGENT = 4;\n */\n AGENT = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ParticipantInfo_Kind)\nproto3.util.setEnumType(ParticipantInfo_Kind, \"livekit.ParticipantInfo.Kind\", [\n { no: 0, name: \"STANDARD\" },\n { no: 1, name: \"INGRESS\" },\n { no: 2, name: \"EGRESS\" },\n { no: 3, name: \"SIP\" },\n { no: 4, name: \"AGENT\" },\n]);\n\n/**\n * @generated from message livekit.Encryption\n */\nexport class Encryption extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Encryption\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Encryption {\n return new Encryption().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Encryption {\n return new Encryption().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Encryption {\n return new Encryption().fromJsonString(jsonString, options);\n }\n\n static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean {\n return proto3.util.equals(Encryption, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.Encryption.Type\n */\nexport enum Encryption_Type {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: GCM = 1;\n */\n GCM = 1,\n\n /**\n * @generated from enum value: CUSTOM = 2;\n */\n CUSTOM = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(Encryption_Type)\nproto3.util.setEnumType(Encryption_Type, \"livekit.Encryption.Type\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"GCM\" },\n { no: 2, name: \"CUSTOM\" },\n]);\n\n/**\n * @generated from message livekit.SimulcastCodecInfo\n */\nexport class SimulcastCodecInfo extends Message {\n /**\n * @generated from field: string mime_type = 1;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 2;\n */\n mid = \"\";\n\n /**\n * @generated from field: string cid = 3;\n */\n cid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 4;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodecInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo {\n return new SimulcastCodecInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodecInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackInfo\n */\nexport class TrackInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 2;\n */\n type = TrackType.AUDIO;\n\n /**\n * @generated from field: string name = 3;\n */\n name = \"\";\n\n /**\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n /**\n * original width of video (unset for audio)\n * clients may receive a lower resolution version with simulcast\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * original height of video (unset for audio)\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * true if track is simulcasted\n *\n * @generated from field: bool simulcast = 7;\n */\n simulcast = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 8;\n */\n disableDtx = false;\n\n /**\n * source of media\n *\n * @generated from field: livekit.TrackSource source = 9;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 10;\n */\n layers: VideoLayer[] = [];\n\n /**\n * mime type of codec\n *\n * @generated from field: string mime_type = 11;\n */\n mimeType = \"\";\n\n /**\n * @generated from field: string mid = 12;\n */\n mid = \"\";\n\n /**\n * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13;\n */\n codecs: SimulcastCodecInfo[] = [];\n\n /**\n * @generated from field: bool stereo = 14;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 15;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 16;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * @generated from field: string stream = 17;\n */\n stream = \"\";\n\n /**\n * @generated from field: livekit.TimedVersion version = 18;\n */\n version?: TimedVersion;\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19;\n */\n audioFeatures: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"simulcast\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 9, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 10, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 11, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"mid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"codecs\", kind: \"message\", T: SimulcastCodecInfo, repeated: true },\n { no: 14, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 15, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 16, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 17, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 18, name: \"version\", kind: \"message\", T: TimedVersion },\n { no: 19, name: \"audio_features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo {\n return new TrackInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo {\n return new TrackInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackInfo {\n return new TrackInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackInfo, a, b);\n }\n}\n\n/**\n * provide information about available spatial layers\n *\n * @generated from message livekit.VideoLayer\n */\nexport class VideoLayer extends Message {\n /**\n * for tracks with a single layer, this should be HIGH\n *\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n /**\n * target bitrate in bit per second (bps), server will measure actual\n *\n * @generated from field: uint32 bitrate = 4;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 ssrc = 5;\n */\n ssrc = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoLayer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"bitrate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"ssrc\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer {\n return new VideoLayer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer {\n return new VideoLayer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoLayer {\n return new VideoLayer().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoLayer, a, b);\n }\n}\n\n/**\n * new DataPacket API\n *\n * @generated from message livekit.DataPacket\n */\nexport class DataPacket extends Message {\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true];\n * @deprecated\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * participant identity of user that sent the message\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 5;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from oneof livekit.DataPacket.value\n */\n value: {\n /**\n * @generated from field: livekit.UserPacket user = 2;\n */\n value: UserPacket;\n case: \"user\";\n } | {\n /**\n * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true];\n * @deprecated\n */\n value: ActiveSpeakerUpdate;\n case: \"speaker\";\n } | {\n /**\n * @generated from field: livekit.SipDTMF sip_dtmf = 6;\n */\n value: SipDTMF;\n case: \"sipDtmf\";\n } | {\n /**\n * @generated from field: livekit.Transcription transcription = 7;\n */\n value: Transcription;\n case: \"transcription\";\n } | {\n /**\n * @generated from field: livekit.MetricsBatch metrics = 8;\n */\n value: MetricsBatch;\n case: \"metrics\";\n } | {\n /**\n * @generated from field: livekit.ChatMessage chat_message = 9;\n */\n value: ChatMessage;\n case: \"chatMessage\";\n } | {\n /**\n * @generated from field: livekit.RpcRequest rpc_request = 10;\n */\n value: RpcRequest;\n case: \"rpcRequest\";\n } | {\n /**\n * @generated from field: livekit.RpcAck rpc_ack = 11;\n */\n value: RpcAck;\n case: \"rpcAck\";\n } | {\n /**\n * @generated from field: livekit.RpcResponse rpc_response = 12;\n */\n value: RpcResponse;\n case: \"rpcResponse\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Header stream_header = 13;\n */\n value: DataStream_Header;\n case: \"streamHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.Chunk stream_chunk = 14;\n */\n value: DataStream_Chunk;\n case: \"streamChunk\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"user\", kind: \"message\", T: UserPacket, oneof: \"value\" },\n { no: 3, name: \"speaker\", kind: \"message\", T: ActiveSpeakerUpdate, oneof: \"value\" },\n { no: 6, name: \"sip_dtmf\", kind: \"message\", T: SipDTMF, oneof: \"value\" },\n { no: 7, name: \"transcription\", kind: \"message\", T: Transcription, oneof: \"value\" },\n { no: 8, name: \"metrics\", kind: \"message\", T: MetricsBatch, oneof: \"value\" },\n { no: 9, name: \"chat_message\", kind: \"message\", T: ChatMessage, oneof: \"value\" },\n { no: 10, name: \"rpc_request\", kind: \"message\", T: RpcRequest, oneof: \"value\" },\n { no: 11, name: \"rpc_ack\", kind: \"message\", T: RpcAck, oneof: \"value\" },\n { no: 12, name: \"rpc_response\", kind: \"message\", T: RpcResponse, oneof: \"value\" },\n { no: 13, name: \"stream_header\", kind: \"message\", T: DataStream_Header, oneof: \"value\" },\n { no: 14, name: \"stream_chunk\", kind: \"message\", T: DataStream_Chunk, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket {\n return new DataPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket {\n return new DataPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataPacket {\n return new DataPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataPacket, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.DataPacket.Kind\n */\nexport enum DataPacket_Kind {\n /**\n * @generated from enum value: RELIABLE = 0;\n */\n RELIABLE = 0,\n\n /**\n * @generated from enum value: LOSSY = 1;\n */\n LOSSY = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataPacket_Kind)\nproto3.util.setEnumType(DataPacket_Kind, \"livekit.DataPacket.Kind\", [\n { no: 0, name: \"RELIABLE\" },\n { no: 1, name: \"LOSSY\" },\n]);\n\n/**\n * @generated from message livekit.ActiveSpeakerUpdate\n */\nexport class ActiveSpeakerUpdate extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ActiveSpeakerUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate {\n return new ActiveSpeakerUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ActiveSpeakerUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakerInfo\n */\nexport class SpeakerInfo extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * audio level, 0-1.0, 1 is loudest\n *\n * @generated from field: float level = 2;\n */\n level = 0;\n\n /**\n * true if speaker is currently active\n *\n * @generated from field: bool active = 3;\n */\n active = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"level\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 3, name: \"active\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo {\n return new SpeakerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakerInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UserPacket\n */\nexport class UserPacket extends Message {\n /**\n * participant ID of user that sent the message\n *\n * @generated from field: string participant_sid = 1 [deprecated = true];\n * @deprecated\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string participant_identity = 5 [deprecated = true];\n * @deprecated\n */\n participantIdentity = \"\";\n\n /**\n * user defined payload\n *\n * @generated from field: bytes payload = 2;\n */\n payload = new Uint8Array(0);\n\n /**\n * the ID of the participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_sids = 3 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * identities of participants who will receive the message (sent to all by default)\n *\n * @generated from field: repeated string destination_identities = 6 [deprecated = true];\n * @deprecated\n */\n destinationIdentities: string[] = [];\n\n /**\n * topic under which the message was published\n *\n * @generated from field: optional string topic = 4;\n */\n topic?: string;\n\n /**\n * Unique ID to indentify the message\n *\n * @generated from field: optional string id = 8;\n */\n id?: string;\n\n /**\n * start and end time allow relating the message to specific media time\n *\n * @generated from field: optional uint64 start_time = 9;\n */\n startTime?: bigint;\n\n /**\n * @generated from field: optional uint64 end_time = 10;\n */\n endTime?: bigint;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UserPacket\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 8, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 9, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 10, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket {\n return new UserPacket().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket {\n return new UserPacket().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UserPacket {\n return new UserPacket().fromJsonString(jsonString, options);\n }\n\n static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean {\n return proto3.util.equals(UserPacket, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SipDTMF\n */\nexport class SipDTMF extends Message {\n /**\n * @generated from field: uint32 code = 3;\n */\n code = 0;\n\n /**\n * @generated from field: string digit = 4;\n */\n digit = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SipDTMF\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 3, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"digit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF {\n return new SipDTMF().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF {\n return new SipDTMF().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SipDTMF {\n return new SipDTMF().fromJsonString(jsonString, options);\n }\n\n static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean {\n return proto3.util.equals(SipDTMF, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Transcription\n */\nexport class Transcription extends Message {\n /**\n * Participant that got its speech transcribed\n *\n * @generated from field: string transcribed_participant_identity = 2;\n */\n transcribedParticipantIdentity = \"\";\n\n /**\n * @generated from field: string track_id = 3;\n */\n trackId = \"\";\n\n /**\n * @generated from field: repeated livekit.TranscriptionSegment segments = 4;\n */\n segments: TranscriptionSegment[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Transcription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 2, name: \"transcribed_participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"segments\", kind: \"message\", T: TranscriptionSegment, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Transcription {\n return new Transcription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Transcription {\n return new Transcription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Transcription {\n return new Transcription().fromJsonString(jsonString, options);\n }\n\n static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean {\n return proto3.util.equals(Transcription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TranscriptionSegment\n */\nexport class TranscriptionSegment extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string text = 2;\n */\n text = \"\";\n\n /**\n * @generated from field: uint64 start_time = 3;\n */\n startTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_time = 4;\n */\n endTime = protoInt64.zero;\n\n /**\n * @generated from field: bool final = 5;\n */\n final = false;\n\n /**\n * @generated from field: string language = 6;\n */\n language = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TranscriptionSegment\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"text\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"start_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"end_time\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"language\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment {\n return new TranscriptionSegment().fromJsonString(jsonString, options);\n }\n\n static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean {\n return proto3.util.equals(TranscriptionSegment, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ChatMessage\n */\nexport class ChatMessage extends Message {\n /**\n * uuid\n *\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * populated only if the intent is to edit/update an existing message\n *\n * @generated from field: optional int64 edit_timestamp = 3;\n */\n editTimestamp?: bigint;\n\n /**\n * @generated from field: string message = 4;\n */\n message = \"\";\n\n /**\n * true to remove message\n *\n * @generated from field: bool deleted = 5;\n */\n deleted = false;\n\n /**\n * true if the chat message has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 6;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ChatMessage\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"edit_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, opt: true },\n { no: 4, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"deleted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage {\n return new ChatMessage().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage {\n return new ChatMessage().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ChatMessage {\n return new ChatMessage().fromJsonString(jsonString, options);\n }\n\n static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean {\n return proto3.util.equals(ChatMessage, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcRequest\n */\nexport class RpcRequest extends Message {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: string method = 2;\n */\n method = \"\";\n\n /**\n * @generated from field: string payload = 3;\n */\n payload = \"\";\n\n /**\n * @generated from field: uint32 response_timeout_ms = 4;\n */\n responseTimeoutMs = 0;\n\n /**\n * @generated from field: uint32 version = 5;\n */\n version = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"method\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"response_timeout_ms\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest {\n return new RpcRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest {\n return new RpcRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcRequest {\n return new RpcRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcAck\n */\nexport class RpcAck extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcAck\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck {\n return new RpcAck().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck {\n return new RpcAck().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcAck {\n return new RpcAck().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcAck, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcResponse\n */\nexport class RpcResponse extends Message {\n /**\n * @generated from field: string request_id = 1;\n */\n requestId = \"\";\n\n /**\n * @generated from oneof livekit.RpcResponse.value\n */\n value: {\n /**\n * @generated from field: string payload = 2;\n */\n value: string;\n case: \"payload\";\n } | {\n /**\n * @generated from field: livekit.RpcError error = 3;\n */\n value: RpcError;\n case: \"error\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"payload\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"value\" },\n { no: 3, name: \"error\", kind: \"message\", T: RpcError, oneof: \"value\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse {\n return new RpcResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse {\n return new RpcResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcResponse {\n return new RpcResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RpcError\n */\nexport class RpcError extends Message {\n /**\n * @generated from field: uint32 code = 1;\n */\n code = 0;\n\n /**\n * @generated from field: string message = 2;\n */\n message = \"\";\n\n /**\n * @generated from field: string data = 3;\n */\n data = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RpcError\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"code\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"data\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RpcError {\n return new RpcError().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RpcError {\n return new RpcError().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RpcError {\n return new RpcError().fromJsonString(jsonString, options);\n }\n\n static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean {\n return proto3.util.equals(RpcError, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantTracks\n */\nexport class ParticipantTracks extends Message {\n /**\n * participant ID of participant to whom the tracks belong\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: repeated string track_sids = 2;\n */\n trackSids: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantTracks\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks {\n return new ParticipantTracks().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantTracks, a, b);\n }\n}\n\n/**\n * details about the server\n *\n * @generated from message livekit.ServerInfo\n */\nexport class ServerInfo extends Message {\n /**\n * @generated from field: livekit.ServerInfo.Edition edition = 1;\n */\n edition = ServerInfo_Edition.Standard;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string region = 4;\n */\n region = \"\";\n\n /**\n * @generated from field: string node_id = 5;\n */\n nodeId = \"\";\n\n /**\n * additional debugging information. sent only if server is in development mode\n *\n * @generated from field: string debug_info = 6;\n */\n debugInfo = \"\";\n\n /**\n * @generated from field: int32 agent_protocol = 7;\n */\n agentProtocol = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ServerInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"edition\", kind: \"enum\", T: proto3.getEnumType(ServerInfo_Edition) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"debug_info\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"agent_protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo {\n return new ServerInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo {\n return new ServerInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ServerInfo {\n return new ServerInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ServerInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ServerInfo.Edition\n */\nexport enum ServerInfo_Edition {\n /**\n * @generated from enum value: Standard = 0;\n */\n Standard = 0,\n\n /**\n * @generated from enum value: Cloud = 1;\n */\n Cloud = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ServerInfo_Edition)\nproto3.util.setEnumType(ServerInfo_Edition, \"livekit.ServerInfo.Edition\", [\n { no: 0, name: \"Standard\" },\n { no: 1, name: \"Cloud\" },\n]);\n\n/**\n * details about the client\n *\n * @generated from message livekit.ClientInfo\n */\nexport class ClientInfo extends Message {\n /**\n * @generated from field: livekit.ClientInfo.SDK sdk = 1;\n */\n sdk = ClientInfo_SDK.UNKNOWN;\n\n /**\n * @generated from field: string version = 2;\n */\n version = \"\";\n\n /**\n * @generated from field: int32 protocol = 3;\n */\n protocol = 0;\n\n /**\n * @generated from field: string os = 4;\n */\n os = \"\";\n\n /**\n * @generated from field: string os_version = 5;\n */\n osVersion = \"\";\n\n /**\n * @generated from field: string device_model = 6;\n */\n deviceModel = \"\";\n\n /**\n * @generated from field: string browser = 7;\n */\n browser = \"\";\n\n /**\n * @generated from field: string browser_version = 8;\n */\n browserVersion = \"\";\n\n /**\n * @generated from field: string address = 9;\n */\n address = \"\";\n\n /**\n * wifi, wired, cellular, vpn, empty if not known\n *\n * @generated from field: string network = 10;\n */\n network = \"\";\n\n /**\n * comma separated list of additional LiveKit SDKs in use of this client, with versions\n * e.g. \"components-js:1.2.3,track-processors-js:1.2.3\"\n *\n * @generated from field: string other_sdks = 11;\n */\n otherSdks = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sdk\", kind: \"enum\", T: proto3.getEnumType(ClientInfo_SDK) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"protocol\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 4, name: \"os\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"os_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"device_model\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"browser\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"browser_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"network\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"other_sdks\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo {\n return new ClientInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo {\n return new ClientInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientInfo {\n return new ClientInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.ClientInfo.SDK\n */\nexport enum ClientInfo_SDK {\n /**\n * @generated from enum value: UNKNOWN = 0;\n */\n UNKNOWN = 0,\n\n /**\n * @generated from enum value: JS = 1;\n */\n JS = 1,\n\n /**\n * @generated from enum value: SWIFT = 2;\n */\n SWIFT = 2,\n\n /**\n * @generated from enum value: ANDROID = 3;\n */\n ANDROID = 3,\n\n /**\n * @generated from enum value: FLUTTER = 4;\n */\n FLUTTER = 4,\n\n /**\n * @generated from enum value: GO = 5;\n */\n GO = 5,\n\n /**\n * @generated from enum value: UNITY = 6;\n */\n UNITY = 6,\n\n /**\n * @generated from enum value: REACT_NATIVE = 7;\n */\n REACT_NATIVE = 7,\n\n /**\n * @generated from enum value: RUST = 8;\n */\n RUST = 8,\n\n /**\n * @generated from enum value: PYTHON = 9;\n */\n PYTHON = 9,\n\n /**\n * @generated from enum value: CPP = 10;\n */\n CPP = 10,\n\n /**\n * @generated from enum value: UNITY_WEB = 11;\n */\n UNITY_WEB = 11,\n\n /**\n * @generated from enum value: NODE = 12;\n */\n NODE = 12,\n}\n// Retrieve enum metadata with: proto3.getEnumType(ClientInfo_SDK)\nproto3.util.setEnumType(ClientInfo_SDK, \"livekit.ClientInfo.SDK\", [\n { no: 0, name: \"UNKNOWN\" },\n { no: 1, name: \"JS\" },\n { no: 2, name: \"SWIFT\" },\n { no: 3, name: \"ANDROID\" },\n { no: 4, name: \"FLUTTER\" },\n { no: 5, name: \"GO\" },\n { no: 6, name: \"UNITY\" },\n { no: 7, name: \"REACT_NATIVE\" },\n { no: 8, name: \"RUST\" },\n { no: 9, name: \"PYTHON\" },\n { no: 10, name: \"CPP\" },\n { no: 11, name: \"UNITY_WEB\" },\n { no: 12, name: \"NODE\" },\n]);\n\n/**\n * server provided client configuration\n *\n * @generated from message livekit.ClientConfiguration\n */\nexport class ClientConfiguration extends Message {\n /**\n * @generated from field: livekit.VideoConfiguration video = 1;\n */\n video?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.VideoConfiguration screen = 2;\n */\n screen?: VideoConfiguration;\n\n /**\n * @generated from field: livekit.ClientConfigSetting resume_connection = 3;\n */\n resumeConnection = ClientConfigSetting.UNSET;\n\n /**\n * @generated from field: livekit.DisabledCodecs disabled_codecs = 4;\n */\n disabledCodecs?: DisabledCodecs;\n\n /**\n * @generated from field: livekit.ClientConfigSetting force_relay = 5;\n */\n forceRelay = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ClientConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"video\", kind: \"message\", T: VideoConfiguration },\n { no: 2, name: \"screen\", kind: \"message\", T: VideoConfiguration },\n { no: 3, name: \"resume_connection\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n { no: 4, name: \"disabled_codecs\", kind: \"message\", T: DisabledCodecs },\n { no: 5, name: \"force_relay\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration {\n return new ClientConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(ClientConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VideoConfiguration\n */\nexport class VideoConfiguration extends Message {\n /**\n * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1;\n */\n hardwareEncoder = ClientConfigSetting.UNSET;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VideoConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"hardware_encoder\", kind: \"enum\", T: proto3.getEnumType(ClientConfigSetting) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration {\n return new VideoConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(VideoConfiguration, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DisabledCodecs\n */\nexport class DisabledCodecs extends Message {\n /**\n * disabled for both publish and subscribe\n *\n * @generated from field: repeated livekit.Codec codecs = 1;\n */\n codecs: Codec[] = [];\n\n /**\n * only disable for publish\n *\n * @generated from field: repeated livekit.Codec publish = 2;\n */\n publish: Codec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DisabledCodecs\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 2, name: \"publish\", kind: \"message\", T: Codec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs {\n return new DisabledCodecs().fromJsonString(jsonString, options);\n }\n\n static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean {\n return proto3.util.equals(DisabledCodecs, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPDrift\n */\nexport class RTPDrift extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint64 start_timestamp = 4;\n */\n startTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 end_timestamp = 5;\n */\n endTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 rtp_clock_ticks = 6;\n */\n rtpClockTicks = protoInt64.zero;\n\n /**\n * @generated from field: int64 drift_samples = 7;\n */\n driftSamples = protoInt64.zero;\n\n /**\n * @generated from field: double drift_ms = 8;\n */\n driftMs = 0;\n\n /**\n * @generated from field: double clock_rate = 9;\n */\n clockRate = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPDrift\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"start_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"end_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_clock_ticks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"drift_samples\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 8, name: \"drift_ms\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 9, name: \"clock_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift {\n return new RTPDrift().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift {\n return new RTPDrift().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPDrift {\n return new RTPDrift().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPDrift, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPStats\n */\nexport class RTPStats extends Message {\n /**\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp;\n\n /**\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp;\n\n /**\n * @generated from field: double duration = 3;\n */\n duration = 0;\n\n /**\n * @generated from field: uint32 packets = 4;\n */\n packets = 0;\n\n /**\n * @generated from field: double packet_rate = 5;\n */\n packetRate = 0;\n\n /**\n * @generated from field: uint64 bytes = 6;\n */\n bytes = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes = 39;\n */\n headerBytes = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate = 7;\n */\n bitrate = 0;\n\n /**\n * @generated from field: uint32 packets_lost = 8;\n */\n packetsLost = 0;\n\n /**\n * @generated from field: double packet_loss_rate = 9;\n */\n packetLossRate = 0;\n\n /**\n * @generated from field: float packet_loss_percentage = 10;\n */\n packetLossPercentage = 0;\n\n /**\n * @generated from field: uint32 packets_duplicate = 11;\n */\n packetsDuplicate = 0;\n\n /**\n * @generated from field: double packet_duplicate_rate = 12;\n */\n packetDuplicateRate = 0;\n\n /**\n * @generated from field: uint64 bytes_duplicate = 13;\n */\n bytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_duplicate = 40;\n */\n headerBytesDuplicate = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_duplicate = 14;\n */\n bitrateDuplicate = 0;\n\n /**\n * @generated from field: uint32 packets_padding = 15;\n */\n packetsPadding = 0;\n\n /**\n * @generated from field: double packet_padding_rate = 16;\n */\n packetPaddingRate = 0;\n\n /**\n * @generated from field: uint64 bytes_padding = 17;\n */\n bytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: uint64 header_bytes_padding = 41;\n */\n headerBytesPadding = protoInt64.zero;\n\n /**\n * @generated from field: double bitrate_padding = 18;\n */\n bitratePadding = 0;\n\n /**\n * @generated from field: uint32 packets_out_of_order = 19;\n */\n packetsOutOfOrder = 0;\n\n /**\n * @generated from field: uint32 frames = 20;\n */\n frames = 0;\n\n /**\n * @generated from field: double frame_rate = 21;\n */\n frameRate = 0;\n\n /**\n * @generated from field: double jitter_current = 22;\n */\n jitterCurrent = 0;\n\n /**\n * @generated from field: double jitter_max = 23;\n */\n jitterMax = 0;\n\n /**\n * @generated from field: map gap_histogram = 24;\n */\n gapHistogram: { [key: number]: number } = {};\n\n /**\n * @generated from field: uint32 nacks = 25;\n */\n nacks = 0;\n\n /**\n * @generated from field: uint32 nack_acks = 37;\n */\n nackAcks = 0;\n\n /**\n * @generated from field: uint32 nack_misses = 26;\n */\n nackMisses = 0;\n\n /**\n * @generated from field: uint32 nack_repeated = 38;\n */\n nackRepeated = 0;\n\n /**\n * @generated from field: uint32 plis = 27;\n */\n plis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_pli = 28;\n */\n lastPli?: Timestamp;\n\n /**\n * @generated from field: uint32 firs = 29;\n */\n firs = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_fir = 30;\n */\n lastFir?: Timestamp;\n\n /**\n * @generated from field: uint32 rtt_current = 31;\n */\n rttCurrent = 0;\n\n /**\n * @generated from field: uint32 rtt_max = 32;\n */\n rttMax = 0;\n\n /**\n * @generated from field: uint32 key_frames = 33;\n */\n keyFrames = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_key_frame = 34;\n */\n lastKeyFrame?: Timestamp;\n\n /**\n * @generated from field: uint32 layer_lock_plis = 35;\n */\n layerLockPlis = 0;\n\n /**\n * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36;\n */\n lastLayerLockPli?: Timestamp;\n\n /**\n * @generated from field: livekit.RTPDrift packet_drift = 44;\n */\n packetDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift ntp_report_drift = 45;\n */\n ntpReportDrift?: RTPDrift;\n\n /**\n * @generated from field: livekit.RTPDrift rebased_report_drift = 46;\n */\n rebasedReportDrift?: RTPDrift;\n\n /**\n * NEXT_ID: 48\n *\n * @generated from field: livekit.RTPDrift received_report_drift = 47;\n */\n receivedReportDrift?: RTPDrift;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPStats\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"start_time\", kind: \"message\", T: Timestamp },\n { no: 2, name: \"end_time\", kind: \"message\", T: Timestamp },\n { no: 3, name: \"duration\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 4, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"packet_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 6, name: \"bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 39, name: \"header_bytes\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 7, name: \"bitrate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 8, name: \"packets_lost\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"packet_loss_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 10, name: \"packet_loss_percentage\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n { no: 11, name: \"packets_duplicate\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 12, name: \"packet_duplicate_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 13, name: \"bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 40, name: \"header_bytes_duplicate\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 14, name: \"bitrate_duplicate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 15, name: \"packets_padding\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 16, name: \"packet_padding_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 17, name: \"bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 41, name: \"header_bytes_padding\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 18, name: \"bitrate_padding\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 19, name: \"packets_out_of_order\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 20, name: \"frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 21, name: \"frame_rate\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 22, name: \"jitter_current\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 23, name: \"jitter_max\", kind: \"scalar\", T: 1 /* ScalarType.DOUBLE */ },\n { no: 24, name: \"gap_histogram\", kind: \"map\", K: 5 /* ScalarType.INT32 */, V: {kind: \"scalar\", T: 13 /* ScalarType.UINT32 */} },\n { no: 25, name: \"nacks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 37, name: \"nack_acks\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 26, name: \"nack_misses\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 38, name: \"nack_repeated\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 27, name: \"plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 28, name: \"last_pli\", kind: \"message\", T: Timestamp },\n { no: 29, name: \"firs\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 30, name: \"last_fir\", kind: \"message\", T: Timestamp },\n { no: 31, name: \"rtt_current\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 32, name: \"rtt_max\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 33, name: \"key_frames\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 34, name: \"last_key_frame\", kind: \"message\", T: Timestamp },\n { no: 35, name: \"layer_lock_plis\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 36, name: \"last_layer_lock_pli\", kind: \"message\", T: Timestamp },\n { no: 44, name: \"packet_drift\", kind: \"message\", T: RTPDrift },\n { no: 45, name: \"ntp_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 46, name: \"rebased_report_drift\", kind: \"message\", T: RTPDrift },\n { no: 47, name: \"received_report_drift\", kind: \"message\", T: RTPDrift },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats {\n return new RTPStats().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats {\n return new RTPStats().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPStats {\n return new RTPStats().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPStats, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTCPSenderReportState\n */\nexport class RTCPSenderReportState extends Message {\n /**\n * @generated from field: uint32 rtp_timestamp = 1;\n */\n rtpTimestamp = 0;\n\n /**\n * @generated from field: uint64 rtp_timestamp_ext = 2;\n */\n rtpTimestampExt = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ntp_timestamp = 3;\n */\n ntpTimestamp = protoInt64.zero;\n\n /**\n * time at which this happened\n *\n * @generated from field: int64 at = 4;\n */\n at = protoInt64.zero;\n\n /**\n * @generated from field: int64 at_adjusted = 5;\n */\n atAdjusted = protoInt64.zero;\n\n /**\n * @generated from field: uint32 packets = 6;\n */\n packets = 0;\n\n /**\n * @generated from field: uint64 octets = 7;\n */\n octets = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTCPSenderReportState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rtp_timestamp\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"rtp_timestamp_ext\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ntp_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 5, name: \"at_adjusted\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 6, name: \"packets\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"octets\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState {\n return new RTCPSenderReportState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTCPSenderReportState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPForwarderState\n */\nexport class RTPForwarderState extends Message {\n /**\n * @generated from field: bool started = 1;\n */\n started = false;\n\n /**\n * @generated from field: int32 reference_layer_spatial = 2;\n */\n referenceLayerSpatial = 0;\n\n /**\n * @generated from field: int64 pre_start_time = 3;\n */\n preStartTime = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_first_timestamp = 4;\n */\n extFirstTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 dummy_start_timestamp_offset = 5;\n */\n dummyStartTimestampOffset = protoInt64.zero;\n\n /**\n * @generated from field: livekit.RTPMungerState rtp_munger = 6;\n */\n rtpMunger?: RTPMungerState;\n\n /**\n * @generated from oneof livekit.RTPForwarderState.codec_munger\n */\n codecMunger: {\n /**\n * @generated from field: livekit.VP8MungerState vp8_munger = 7;\n */\n value: VP8MungerState;\n case: \"vp8Munger\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n /**\n * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8;\n */\n senderReportState: RTCPSenderReportState[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPForwarderState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"started\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reference_layer_spatial\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"pre_start_time\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 4, name: \"ext_first_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"dummy_start_timestamp_offset\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 6, name: \"rtp_munger\", kind: \"message\", T: RTPMungerState },\n { no: 7, name: \"vp8_munger\", kind: \"message\", T: VP8MungerState, oneof: \"codec_munger\" },\n { no: 8, name: \"sender_report_state\", kind: \"message\", T: RTCPSenderReportState, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState {\n return new RTPForwarderState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPForwarderState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RTPMungerState\n */\nexport class RTPMungerState extends Message {\n /**\n * @generated from field: uint64 ext_last_sequence_number = 1;\n */\n extLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_sequence_number = 2;\n */\n extSecondLastSequenceNumber = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_last_timestamp = 3;\n */\n extLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: uint64 ext_second_last_timestamp = 4;\n */\n extSecondLastTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: bool last_marker = 5;\n */\n lastMarker = false;\n\n /**\n * @generated from field: bool second_last_marker = 6;\n */\n secondLastMarker = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RTPMungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 2, name: \"ext_second_last_sequence_number\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"ext_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 4, name: \"ext_second_last_timestamp\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 5, name: \"last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"second_last_marker\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RTPMungerState {\n return new RTPMungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(RTPMungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.VP8MungerState\n */\nexport class VP8MungerState extends Message {\n /**\n * @generated from field: int32 ext_last_picture_id = 1;\n */\n extLastPictureId = 0;\n\n /**\n * @generated from field: bool picture_id_used = 2;\n */\n pictureIdUsed = false;\n\n /**\n * @generated from field: uint32 last_tl0_pic_idx = 3;\n */\n lastTl0PicIdx = 0;\n\n /**\n * @generated from field: bool tl0_pic_idx_used = 4;\n */\n tl0PicIdxUsed = false;\n\n /**\n * @generated from field: bool tid_used = 5;\n */\n tidUsed = false;\n\n /**\n * @generated from field: uint32 last_key_idx = 6;\n */\n lastKeyIdx = 0;\n\n /**\n * @generated from field: bool key_idx_used = 7;\n */\n keyIdxUsed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.VP8MungerState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ext_last_picture_id\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 2, name: \"picture_id_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"last_tl0_pic_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"tl0_pic_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"tid_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"last_key_idx\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"key_idx_used\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): VP8MungerState {\n return new VP8MungerState().fromJsonString(jsonString, options);\n }\n\n static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean {\n return proto3.util.equals(VP8MungerState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TimedVersion\n */\nexport class TimedVersion extends Message {\n /**\n * @generated from field: int64 unix_micro = 1;\n */\n unixMicro = protoInt64.zero;\n\n /**\n * @generated from field: int32 ticks = 2;\n */\n ticks = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TimedVersion\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"unix_micro\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"ticks\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion {\n return new TimedVersion().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion {\n return new TimedVersion().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TimedVersion {\n return new TimedVersion().fromJsonString(jsonString, options);\n }\n\n static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean {\n return proto3.util.equals(TimedVersion, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream\n */\nexport class DataStream extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream {\n return new DataStream().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream {\n return new DataStream().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream {\n return new DataStream().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream, a, b);\n }\n}\n\n/**\n * enum for operation types (specific to TextHeader)\n *\n * @generated from enum livekit.DataStream.OperationType\n */\nexport enum DataStream_OperationType {\n /**\n * @generated from enum value: CREATE = 0;\n */\n CREATE = 0,\n\n /**\n * @generated from enum value: UPDATE = 1;\n */\n UPDATE = 1,\n\n /**\n * @generated from enum value: DELETE = 2;\n */\n DELETE = 2,\n\n /**\n * @generated from enum value: REACTION = 3;\n */\n REACTION = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(DataStream_OperationType)\nproto3.util.setEnumType(DataStream_OperationType, \"livekit.DataStream.OperationType\", [\n { no: 0, name: \"CREATE\" },\n { no: 1, name: \"UPDATE\" },\n { no: 2, name: \"DELETE\" },\n { no: 3, name: \"REACTION\" },\n]);\n\n/**\n * header properties specific to text streams\n *\n * @generated from message livekit.DataStream.TextHeader\n */\nexport class DataStream_TextHeader extends Message {\n /**\n * @generated from field: livekit.DataStream.OperationType operation_type = 1;\n */\n operationType = DataStream_OperationType.CREATE;\n\n /**\n * Optional: Version for updates/edits\n *\n * @generated from field: int32 version = 2;\n */\n version = 0;\n\n /**\n * Optional: Reply to specific message\n *\n * @generated from field: string reply_to_stream_id = 3;\n */\n replyToStreamId = \"\";\n\n /**\n * file attachments for text streams\n *\n * @generated from field: repeated string attached_stream_ids = 4;\n */\n attachedStreamIds: string[] = [];\n\n /**\n * true if the text has been generated by an agent from a participant's audio transcription\n *\n * @generated from field: bool generated = 5;\n */\n generated = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.TextHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"operation_type\", kind: \"enum\", T: proto3.getEnumType(DataStream_OperationType) },\n { no: 2, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 3, name: \"reply_to_stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"attached_stream_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"generated\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader {\n return new DataStream_TextHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_TextHeader, a, b);\n }\n}\n\n/**\n * header properties specific to file or image streams\n *\n * @generated from message livekit.DataStream.FileHeader\n */\nexport class DataStream_FileHeader extends Message {\n /**\n * name of the file\n *\n * @generated from field: string file_name = 1;\n */\n fileName = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.FileHeader\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"file_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader {\n return new DataStream_FileHeader().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_FileHeader, a, b);\n }\n}\n\n/**\n * main DataStream.Header that contains a oneof for specific headers\n *\n * @generated from message livekit.DataStream.Header\n */\nexport class DataStream_Header extends Message {\n /**\n * unique identifier for this data stream\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * using int64 for Unix timestamp\n *\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n /**\n * @generated from field: string topic = 3;\n */\n topic = \"\";\n\n /**\n * @generated from field: string mime_type = 4;\n */\n mimeType = \"\";\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_length = 5;\n */\n totalLength?: bigint;\n\n /**\n * only populated for finite streams, if it's a stream of unknown size this stays empty\n *\n * @generated from field: optional uint64 total_chunks = 6;\n */\n totalChunks?: bigint;\n\n /**\n * defaults to NONE\n *\n * @generated from field: livekit.Encryption.Type encryption_type = 7;\n */\n encryptionType = Encryption_Type.NONE;\n\n /**\n * user defined extensions map that can carry additional info\n *\n * @generated from field: map extensions = 8;\n */\n extensions: { [key: string]: string } = {};\n\n /**\n * oneof to choose between specific header types\n *\n * @generated from oneof livekit.DataStream.Header.content_header\n */\n contentHeader: {\n /**\n * @generated from field: livekit.DataStream.TextHeader text_header = 9;\n */\n value: DataStream_TextHeader;\n case: \"textHeader\";\n } | {\n /**\n * @generated from field: livekit.DataStream.FileHeader file_header = 10;\n */\n value: DataStream_FileHeader;\n case: \"fileHeader\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Header\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 3, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"mime_type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"total_length\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 6, name: \"total_chunks\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */, opt: true },\n { no: 7, name: \"encryption_type\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 8, name: \"extensions\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 9, name: \"text_header\", kind: \"message\", T: DataStream_TextHeader, oneof: \"content_header\" },\n { no: 10, name: \"file_header\", kind: \"message\", T: DataStream_FileHeader, oneof: \"content_header\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Header {\n return new DataStream_Header().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Header, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataStream.Chunk\n */\nexport class DataStream_Chunk extends Message {\n /**\n * unique identifier for this data stream to map it to the correct header\n *\n * @generated from field: string stream_id = 1;\n */\n streamId = \"\";\n\n /**\n * @generated from field: uint64 chunk_index = 2;\n */\n chunkIndex = protoInt64.zero;\n\n /**\n * content as binary (bytes)\n *\n * @generated from field: bytes content = 3;\n */\n content = new Uint8Array(0);\n\n /**\n * true only if this is the last chunk of this stream - can also be sent with empty content\n *\n * @generated from field: bool complete = 4;\n */\n complete = false;\n\n /**\n * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced\n *\n * @generated from field: int32 version = 5;\n */\n version = 0;\n\n /**\n * optional, initialization vector for AES-GCM encryption\n *\n * @generated from field: optional bytes iv = 6;\n */\n iv?: Uint8Array;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataStream.Chunk\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"chunk_index\", kind: \"scalar\", T: 4 /* ScalarType.UINT64 */ },\n { no: 3, name: \"content\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 4, name: \"complete\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"version\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"iv\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk {\n return new DataStream_Chunk().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataStream_Chunk, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,YAAY,iBAAiB;AACvD,SAAS,oBAAoB;AAKtB,IAAK,aAAL,kBAAKA,gBAAL;AAIL,EAAAA,wBAAA,gBAAa,KAAb;AAKA,EAAAA,wBAAA,UAAO,KAAP;AAKA,EAAAA,wBAAA,SAAM,KAAN;AAdU,SAAAA;AAAA,GAAA;AAiBZ,OAAO,KAAK,YAAY,YAAY,sBAAsB;AAAA,EACxD,EAAE,IAAI,GAAG,MAAM,aAAa;AAAA,EAC5B,EAAE,IAAI,GAAG,MAAM,OAAO;AAAA,EACtB,EAAE,IAAI,GAAG,MAAM,MAAM;AACvB,CAAC;AAKM,IAAK,a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AU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACtE,EAAE,IAAI,GAAG,MAAM,MAAM,MAAM,UAAU,GAAG,IAA2B,KAAK,KAAK;AAC/E,CAAC;AAvDI,IAAM,mBAAN;","names":["AudioCodec","VideoCodec","ImageCodec","TrackType","TrackSource","VideoQuality","ConnectionQuality","ClientConfigSetting","DisconnectReason","ReconnectReason","SubscriptionError","AudioTrackFeature","ParticipantInfo_State","ParticipantInfo_Kind","Encryption_Type","DataPacket_Kind","ServerInfo_Edition","ClientInfo_SDK","DataStream_OperationType"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.cjs b/packages/javascript/dist/gen/livekit_room_pb.cjs deleted file mode 100644 index 4fcc409b..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.cjs +++ /dev/null @@ -1,1080 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_room_pb_exports = {}; -__export(livekit_room_pb_exports, { - CreateRoomRequest: () => CreateRoomRequest, - DeleteRoomRequest: () => DeleteRoomRequest, - DeleteRoomResponse: () => DeleteRoomResponse, - ListParticipantsRequest: () => ListParticipantsRequest, - ListParticipantsResponse: () => ListParticipantsResponse, - ListRoomsRequest: () => ListRoomsRequest, - ListRoomsResponse: () => ListRoomsResponse, - MuteRoomTrackRequest: () => MuteRoomTrackRequest, - MuteRoomTrackResponse: () => MuteRoomTrackResponse, - RemoveParticipantResponse: () => RemoveParticipantResponse, - RoomAgent: () => RoomAgent, - RoomConfiguration: () => RoomConfiguration, - RoomEgress: () => RoomEgress, - RoomParticipantIdentity: () => RoomParticipantIdentity, - SendDataRequest: () => SendDataRequest, - SendDataResponse: () => SendDataResponse, - UpdateParticipantRequest: () => UpdateParticipantRequest, - UpdateRoomMetadataRequest: () => UpdateRoomMetadataRequest, - UpdateSubscriptionsRequest: () => UpdateSubscriptionsRequest, - UpdateSubscriptionsResponse: () => UpdateSubscriptionsResponse -}); -module.exports = __toCommonJS(livekit_room_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_agent_dispatch_pb = require("./livekit_agent_dispatch_pb.cjs"); -var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -const _CreateRoomRequest = class _CreateRoomRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * configuration to use for this room parameters. Setting parameters below override the config defaults. - * - * @generated from field: string room_preset = 12; - */ - this.roomPreset = ""; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - this.emptyTimeout = 0; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 10; - */ - this.departureTimeout = 0; - /** - * limit number of participants that can be in a room - * - * @generated from field: uint32 max_participants = 3; - */ - this.maxParticipants = 0; - /** - * override the node room is allocated to, for debugging - * - * @generated from field: string node_id = 4; - */ - this.nodeId = ""; - /** - * metadata of room - * - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - this.minPlayoutDelay = 0; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - this.maxPlayoutDelay = 0; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - this.syncStreams = false; - /** - * replay - * - * @generated from field: bool replay_enabled = 13; - */ - this.replayEnabled = false; - /** - * Define agents that should be dispatched to this room - * - * NEXT-ID: 15 - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; - */ - this.agents = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateRoomRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateRoomRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateRoomRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateRoomRequest, a, b); - } -}; -_CreateRoomRequest.runtime = import_protobuf.proto3; -_CreateRoomRequest.typeName = "livekit.CreateRoomRequest"; -_CreateRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "room_preset", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "egress", kind: "message", T: RoomEgress }, - { - no: 7, - name: "min_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "max_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "replay_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } -]); -let CreateRoomRequest = _CreateRoomRequest; -const _RoomEgress = class _RoomEgress extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomEgress, a, b); - } -}; -_RoomEgress.runtime = import_protobuf.proto3; -_RoomEgress.typeName = "livekit.RoomEgress"; -_RoomEgress.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: import_livekit_egress_pb.RoomCompositeEgressRequest }, - { no: 3, name: "participant", kind: "message", T: import_livekit_egress_pb.AutoParticipantEgress }, - { no: 2, name: "tracks", kind: "message", T: import_livekit_egress_pb.AutoTrackEgress } -]); -let RoomEgress = _RoomEgress; -const _RoomAgent = class _RoomAgent extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; - */ - this.dispatches = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomAgent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomAgent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomAgent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomAgent, a, b); - } -}; -_RoomAgent.runtime = import_protobuf.proto3; -_RoomAgent.typeName = "livekit.RoomAgent"; -_RoomAgent.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "dispatches", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } -]); -let RoomAgent = _RoomAgent; -const _ListRoomsRequest = class _ListRoomsRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * when set, will only return rooms with name match - * - * @generated from field: repeated string names = 1; - */ - this.names = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListRoomsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListRoomsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListRoomsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListRoomsRequest, a, b); - } -}; -_ListRoomsRequest.runtime = import_protobuf.proto3; -_ListRoomsRequest.typeName = "livekit.ListRoomsRequest"; -_ListRoomsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "names", kind: "scalar", T: 9, repeated: true } -]); -let ListRoomsRequest = _ListRoomsRequest; -const _ListRoomsResponse = class _ListRoomsResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.Room rooms = 1; - */ - this.rooms = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListRoomsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListRoomsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListRoomsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListRoomsResponse, a, b); - } -}; -_ListRoomsResponse.runtime = import_protobuf.proto3; -_ListRoomsResponse.typeName = "livekit.ListRoomsResponse"; -_ListRoomsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "rooms", kind: "message", T: import_livekit_models_pb.Room, repeated: true } -]); -let ListRoomsResponse = _ListRoomsResponse; -const _DeleteRoomRequest = class _DeleteRoomRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteRoomRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteRoomRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteRoomRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteRoomRequest, a, b); - } -}; -_DeleteRoomRequest.runtime = import_protobuf.proto3; -_DeleteRoomRequest.typeName = "livekit.DeleteRoomRequest"; -_DeleteRoomRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteRoomRequest = _DeleteRoomRequest; -const _DeleteRoomResponse = class _DeleteRoomResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteRoomResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteRoomResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteRoomResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteRoomResponse, a, b); - } -}; -_DeleteRoomResponse.runtime = import_protobuf.proto3; -_DeleteRoomResponse.typeName = "livekit.DeleteRoomResponse"; -_DeleteRoomResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); -let DeleteRoomResponse = _DeleteRoomResponse; -const _ListParticipantsRequest = class _ListParticipantsRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListParticipantsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListParticipantsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListParticipantsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListParticipantsRequest, a, b); - } -}; -_ListParticipantsRequest.runtime = import_protobuf.proto3; -_ListParticipantsRequest.typeName = "livekit.ListParticipantsRequest"; -_ListParticipantsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListParticipantsRequest = _ListParticipantsRequest; -const _ListParticipantsResponse = class _ListParticipantsResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - this.participants = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListParticipantsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListParticipantsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListParticipantsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListParticipantsResponse, a, b); - } -}; -_ListParticipantsResponse.runtime = import_protobuf.proto3; -_ListParticipantsResponse.typeName = "livekit.ListParticipantsResponse"; -_ListParticipantsResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true } -]); -let ListParticipantsResponse = _ListParticipantsResponse; -const _RoomParticipantIdentity = class _RoomParticipantIdentity extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * identity of the participant - * - * @generated from field: string identity = 2; - */ - this.identity = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomParticipantIdentity().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomParticipantIdentity().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomParticipantIdentity().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomParticipantIdentity, a, b); - } -}; -_RoomParticipantIdentity.runtime = import_protobuf.proto3; -_RoomParticipantIdentity.typeName = "livekit.RoomParticipantIdentity"; -_RoomParticipantIdentity.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RoomParticipantIdentity = _RoomParticipantIdentity; -const _RemoveParticipantResponse = class _RemoveParticipantResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RemoveParticipantResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RemoveParticipantResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RemoveParticipantResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RemoveParticipantResponse, a, b); - } -}; -_RemoveParticipantResponse.runtime = import_protobuf.proto3; -_RemoveParticipantResponse.typeName = "livekit.RemoveParticipantResponse"; -_RemoveParticipantResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); -let RemoveParticipantResponse = _RemoveParticipantResponse; -const _MuteRoomTrackRequest = class _MuteRoomTrackRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * sid of the track to mute - * - * @generated from field: string track_sid = 3; - */ - this.trackSid = ""; - /** - * set to true to mute, false to unmute - * - * @generated from field: bool muted = 4; - */ - this.muted = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteRoomTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteRoomTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteRoomTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MuteRoomTrackRequest, a, b); - } -}; -_MuteRoomTrackRequest.runtime = import_protobuf.proto3; -_MuteRoomTrackRequest.typeName = "livekit.MuteRoomTrackRequest"; -_MuteRoomTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let MuteRoomTrackRequest = _MuteRoomTrackRequest; -const _MuteRoomTrackResponse = class _MuteRoomTrackResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteRoomTrackResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteRoomTrackResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteRoomTrackResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MuteRoomTrackResponse, a, b); - } -}; -_MuteRoomTrackResponse.runtime = import_protobuf.proto3; -_MuteRoomTrackResponse.typeName = "livekit.MuteRoomTrackResponse"; -_MuteRoomTrackResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo } -]); -let MuteRoomTrackResponse = _MuteRoomTrackResponse; -const _UpdateParticipantRequest = class _UpdateParticipantRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * display name to update - * - * @generated from field: string name = 5; - */ - this.name = ""; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 6; - */ - this.attributes = {}; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateParticipantRequest, a, b); - } -}; -_UpdateParticipantRequest.runtime = import_protobuf.proto3; -_UpdateParticipantRequest.typeName = "livekit.UpdateParticipantRequest"; -_UpdateParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "permission", kind: "message", T: import_livekit_models_pb.ParticipantPermission }, - { - no: 5, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let UpdateParticipantRequest = _UpdateParticipantRequest; -const _UpdateSubscriptionsRequest = class _UpdateSubscriptionsRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * list of sids of tracks - * - * @generated from field: repeated string track_sids = 3; - */ - this.trackSids = []; - /** - * set to true to subscribe, false to unsubscribe from tracks - * - * @generated from field: bool subscribe = 4; - */ - this.subscribe = false; - /** - * list of participants and their tracks - * - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; - */ - this.participantTracks = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscriptionsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscriptionsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscriptionsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateSubscriptionsRequest, a, b); - } -}; -_UpdateSubscriptionsRequest.runtime = import_protobuf.proto3; -_UpdateSubscriptionsRequest.typeName = "livekit.UpdateSubscriptionsRequest"; -_UpdateSubscriptionsRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 5, name: "participant_tracks", kind: "message", T: import_livekit_models_pb.ParticipantTracks, repeated: true } -]); -let UpdateSubscriptionsRequest = _UpdateSubscriptionsRequest; -const _UpdateSubscriptionsResponse = class _UpdateSubscriptionsResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscriptionsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscriptionsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscriptionsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateSubscriptionsResponse, a, b); - } -}; -_UpdateSubscriptionsResponse.runtime = import_protobuf.proto3; -_UpdateSubscriptionsResponse.typeName = "livekit.UpdateSubscriptionsResponse"; -_UpdateSubscriptionsResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); -let UpdateSubscriptionsResponse = _UpdateSubscriptionsResponse; -const _SendDataRequest = class _SendDataRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: bytes data = 2; - */ - this.data = new Uint8Array(0); - /** - * @generated from field: livekit.DataPacket.Kind kind = 3; - */ - this.kind = import_livekit_models_pb.DataPacket_Kind.RELIABLE; - /** - * mark deprecated - * - * @generated from field: repeated string destination_sids = 4 [deprecated = true]; - * @deprecated - */ - this.destinationSids = []; - /** - * when set, only forward to these identities - * - * @generated from field: repeated string destination_identities = 6; - */ - this.destinationIdentities = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SendDataRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SendDataRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SendDataRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SendDataRequest, a, b); - } -}; -_SendDataRequest.runtime = import_protobuf.proto3; -_SendDataRequest.typeName = "livekit.SendDataRequest"; -_SendDataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "data", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 3, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DataPacket_Kind) }, - { no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 5, name: "topic", kind: "scalar", T: 9, opt: true } -]); -let SendDataRequest = _SendDataRequest; -const _SendDataResponse = class _SendDataResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SendDataResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SendDataResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SendDataResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SendDataResponse, a, b); - } -}; -_SendDataResponse.runtime = import_protobuf.proto3; -_SendDataResponse.typeName = "livekit.SendDataResponse"; -_SendDataResponse.fields = import_protobuf.proto3.util.newFieldList(() => []); -let SendDataResponse = _SendDataResponse; -const _UpdateRoomMetadataRequest = class _UpdateRoomMetadataRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 2; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateRoomMetadataRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateRoomMetadataRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateRoomMetadataRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateRoomMetadataRequest, a, b); - } -}; -_UpdateRoomMetadataRequest.runtime = import_protobuf.proto3; -_UpdateRoomMetadataRequest.typeName = "livekit.UpdateRoomMetadataRequest"; -_UpdateRoomMetadataRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateRoomMetadataRequest = _UpdateRoomMetadataRequest; -const _RoomConfiguration = class _RoomConfiguration extends import_protobuf.Message { - constructor(data) { - super(); - /** - * Used as ID, must be unique - * - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - this.emptyTimeout = 0; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 3; - */ - this.departureTimeout = 0; - /** - * limit number of participants that can be in a room, excluding Egress and Ingress participants - * - * @generated from field: uint32 max_participants = 4; - */ - this.maxParticipants = 0; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - this.minPlayoutDelay = 0; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - this.maxPlayoutDelay = 0; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - this.syncStreams = false; - /** - * Define agents that should be dispatched to this room - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; - */ - this.agents = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomConfiguration, a, b); - } -}; -_RoomConfiguration.runtime = import_protobuf.proto3; -_RoomConfiguration.typeName = "livekit.RoomConfiguration"; -_RoomConfiguration.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 5, name: "egress", kind: "message", T: RoomEgress }, - { - no: 7, - name: "min_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "max_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 10, name: "agents", kind: "message", T: import_livekit_agent_dispatch_pb.RoomAgentDispatch, repeated: true } -]); -let RoomConfiguration = _RoomConfiguration; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - CreateRoomRequest, - DeleteRoomRequest, - DeleteRoomResponse, - ListParticipantsRequest, - ListParticipantsResponse, - ListRoomsRequest, - ListRoomsResponse, - MuteRoomTrackRequest, - MuteRoomTrackResponse, - RemoveParticipantResponse, - RoomAgent, - RoomConfiguration, - RoomEgress, - RoomParticipantIdentity, - SendDataRequest, - SendDataResponse, - UpdateParticipantRequest, - UpdateRoomMetadataRequest, - UpdateSubscriptionsRequest, - UpdateSubscriptionsResponse -}); -//# sourceMappingURL=livekit_room_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.cjs.map b/packages/javascript/dist/gen/livekit_room_pb.cjs.map deleted file mode 100644 index de77ccb6..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_room_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_room.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from \"./livekit_egress_pb.js\";\nimport { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from message livekit.CreateRoomRequest\n */\nexport class CreateRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * configuration to use for this room parameters. Setting parameters below override the config defaults.\n *\n * @generated from field: string room_preset = 12;\n */\n roomPreset = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 10;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room\n *\n * @generated from field: uint32 max_participants = 3;\n */\n maxParticipants = 0;\n\n /**\n * override the node room is allocated to, for debugging\n *\n * @generated from field: string node_id = 4;\n */\n nodeId = \"\";\n\n /**\n * metadata of room\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * auto-egress configurations\n *\n * @generated from field: livekit.RoomEgress egress = 6;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * replay\n *\n * @generated from field: bool replay_enabled = 13;\n */\n replayEnabled = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * NEXT-ID: 15\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"room_preset\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomEgress\n */\nexport class RoomEgress extends Message {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room = 1;\n */\n room?: RoomCompositeEgressRequest;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant = 3;\n */\n participant?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.AutoTrackEgress tracks = 2;\n */\n tracks?: AutoTrackEgress;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: RoomCompositeEgressRequest },\n { no: 3, name: \"participant\", kind: \"message\", T: AutoParticipantEgress },\n { no: 2, name: \"tracks\", kind: \"message\", T: AutoTrackEgress },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress {\n return new RoomEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress {\n return new RoomEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomEgress {\n return new RoomEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgent\n */\nexport class RoomAgent extends Message {\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;\n */\n dispatches: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent {\n return new RoomAgent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent {\n return new RoomAgent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgent {\n return new RoomAgent().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsRequest\n */\nexport class ListRoomsRequest extends Message {\n /**\n * when set, will only return rooms with name match\n *\n * @generated from field: repeated string names = 1;\n */\n names: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"names\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsResponse\n */\nexport class ListRoomsResponse extends Message {\n /**\n * @generated from field: repeated livekit.Room rooms = 1;\n */\n rooms: Room[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rooms\", kind: \"message\", T: Room, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomRequest\n */\nexport class DeleteRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomResponse\n */\nexport class DeleteRoomResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsRequest\n */\nexport class ListParticipantsRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsResponse\n */\nexport class ListParticipantsResponse extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomParticipantIdentity\n */\nexport class RoomParticipantIdentity extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * identity of the participant\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomParticipantIdentity\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomParticipantIdentity, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RemoveParticipantResponse\n */\nexport class RemoveParticipantResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RemoveParticipantResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RemoveParticipantResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackRequest\n */\nexport class MuteRoomTrackRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * sid of the track to mute\n *\n * @generated from field: string track_sid = 3;\n */\n trackSid = \"\";\n\n /**\n * set to true to mute, false to unmute\n *\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackResponse\n */\nexport class MuteRoomTrackResponse extends Message {\n /**\n * @generated from field: livekit.TrackInfo track = 1;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantRequest\n */\nexport class UpdateParticipantRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * set to update the participant's permissions\n *\n * @generated from field: livekit.ParticipantPermission permission = 4;\n */\n permission?: ParticipantPermission;\n\n /**\n * display name to update\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 6;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscriptionsRequest\n */\nexport class UpdateSubscriptionsRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * list of sids of tracks\n *\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * set to true to subscribe, false to unsubscribe from tracks\n *\n * @generated from field: bool subscribe = 4;\n */\n subscribe = false;\n\n /**\n * list of participants and their tracks\n *\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsRequest, a, b);\n }\n}\n\n/**\n * empty for now\n *\n * @generated from message livekit.UpdateSubscriptionsResponse\n */\nexport class UpdateSubscriptionsResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataRequest\n */\nexport class SendDataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: bytes data = 2;\n */\n data = new Uint8Array(0);\n\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 3;\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * mark deprecated\n *\n * @generated from field: repeated string destination_sids = 4 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * when set, only forward to these identities\n *\n * @generated from field: repeated string destination_identities = 6;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from field: optional string topic = 5;\n */\n topic?: string;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"data\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataResponse\n */\nexport class SendDataResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateRoomMetadataRequest\n */\nexport class UpdateRoomMetadataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateRoomMetadataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateRoomMetadataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomConfiguration\n */\nexport class RoomConfiguration extends Message {\n /**\n * Used as ID, must be unique\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 3;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room, excluding Egress and Ingress participants\n *\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * egress\n *\n * @generated from field: livekit.RoomEgress egress = 5;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 10;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomConfiguration, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAgC;AAChC,uCAAkC;AAClC,+BAAmF;AACnF,+BAA4G;AAKrG,MAAM,qBAAN,MAAM,2BAA0B,wBAA2B;AAAA,EA6FhE,YAAY,MAA0C;AACpD,UAAM;AAxFR;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAO;AAOP;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAa;AAOb;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAe;AAOf;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAmB;AAOnB;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAOlB;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAS;AAOT;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAW;AAcX;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAkB;AAKlB;AAAA;AAAA;AAAA,2BAAkB;AAQlB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAc;AAOd;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAgB;AAShB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B,CAAC;AAI7B,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAoBA,OAAO,WAAW,OAAmB,SAAyD;AAC5F,WAAO,IAAI,mBAAkB,EAAE,WAAW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jF,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,WAAW;AAAA,EACxD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAgB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC1E,EAAE,IAAI,IAAI,MAAM,UAAU,MAAM,WAAW,GAAG,oDAAmB,UAAU,KAAK;AAClF,CAAC;AAhFI,IAAM,oBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.d.ts b/packages/javascript/dist/gen/livekit_room_pb.d.ts deleted file mode 100644 index 9623f5fc..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.d.ts +++ /dev/null @@ -1,580 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; -import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; -/** - * @generated from message livekit.CreateRoomRequest - */ -export declare class CreateRoomRequest extends Message { - /** - * name of the room - * - * @generated from field: string name = 1; - */ - name: string; - /** - * configuration to use for this room parameters. Setting parameters below override the config defaults. - * - * @generated from field: string room_preset = 12; - */ - roomPreset: string; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - emptyTimeout: number; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 10; - */ - departureTimeout: number; - /** - * limit number of participants that can be in a room - * - * @generated from field: uint32 max_participants = 3; - */ - maxParticipants: number; - /** - * override the node room is allocated to, for debugging - * - * @generated from field: string node_id = 4; - */ - nodeId: string; - /** - * metadata of room - * - * @generated from field: string metadata = 5; - */ - metadata: string; - /** - * auto-egress configurations - * - * @generated from field: livekit.RoomEgress egress = 6; - */ - egress?: RoomEgress; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - minPlayoutDelay: number; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - maxPlayoutDelay: number; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - syncStreams: boolean; - /** - * replay - * - * @generated from field: bool replay_enabled = 13; - */ - replayEnabled: boolean; - /** - * Define agents that should be dispatched to this room - * - * NEXT-ID: 15 - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; - */ - agents: RoomAgentDispatch[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateRoomRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest; - static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomEgress - */ -export declare class RoomEgress extends Message { - /** - * @generated from field: livekit.RoomCompositeEgressRequest room = 1; - */ - room?: RoomCompositeEgressRequest; - /** - * @generated from field: livekit.AutoParticipantEgress participant = 3; - */ - participant?: AutoParticipantEgress; - /** - * @generated from field: livekit.AutoTrackEgress tracks = 2; - */ - tracks?: AutoTrackEgress; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomEgress"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress; - static fromJsonString(jsonString: string, options?: Partial): RoomEgress; - static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomAgent - */ -export declare class RoomAgent extends Message { - /** - * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; - */ - dispatches: RoomAgentDispatch[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomAgent"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent; - static fromJsonString(jsonString: string, options?: Partial): RoomAgent; - static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListRoomsRequest - */ -export declare class ListRoomsRequest extends Message { - /** - * when set, will only return rooms with name match - * - * @generated from field: repeated string names = 1; - */ - names: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListRoomsRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest; - static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest; - static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListRoomsResponse - */ -export declare class ListRoomsResponse extends Message { - /** - * @generated from field: repeated livekit.Room rooms = 1; - */ - rooms: Room[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListRoomsResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse; - static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse; - static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteRoomRequest - */ -export declare class DeleteRoomRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteRoomRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest; - static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest; - static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteRoomResponse - */ -export declare class DeleteRoomResponse extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteRoomResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse; - static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse; - static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListParticipantsRequest - */ -export declare class ListParticipantsRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListParticipantsRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest; - static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest; - static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListParticipantsResponse - */ -export declare class ListParticipantsResponse extends Message { - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - participants: ParticipantInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListParticipantsResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse; - static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse; - static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomParticipantIdentity - */ -export declare class RoomParticipantIdentity extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - /** - * identity of the participant - * - * @generated from field: string identity = 2; - */ - identity: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomParticipantIdentity"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity; - static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity; - static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RemoveParticipantResponse - */ -export declare class RemoveParticipantResponse extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RemoveParticipantResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse; - static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse; - static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.MuteRoomTrackRequest - */ -export declare class MuteRoomTrackRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * sid of the track to mute - * - * @generated from field: string track_sid = 3; - */ - trackSid: string; - /** - * set to true to mute, false to unmute - * - * @generated from field: bool muted = 4; - */ - muted: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteRoomTrackRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest; - static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest; - static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.MuteRoomTrackResponse - */ -export declare class MuteRoomTrackResponse extends Message { - /** - * @generated from field: livekit.TrackInfo track = 1; - */ - track?: TrackInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteRoomTrackResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse; - static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse; - static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateParticipantRequest - */ -export declare class UpdateParticipantRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 3; - */ - metadata: string; - /** - * set to update the participant's permissions - * - * @generated from field: livekit.ParticipantPermission permission = 4; - */ - permission?: ParticipantPermission; - /** - * display name to update - * - * @generated from field: string name = 5; - */ - name: string; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 6; - */ - attributes: { - [key: string]: string; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateParticipantRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest; - static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateSubscriptionsRequest - */ -export declare class UpdateSubscriptionsRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - /** - * @generated from field: string identity = 2; - */ - identity: string; - /** - * list of sids of tracks - * - * @generated from field: repeated string track_sids = 3; - */ - trackSids: string[]; - /** - * set to true to subscribe, false to unsubscribe from tracks - * - * @generated from field: bool subscribe = 4; - */ - subscribe: boolean; - /** - * list of participants and their tracks - * - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; - */ - participantTracks: ParticipantTracks[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscriptionsRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest; - static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean; -} -/** - * empty for now - * - * @generated from message livekit.UpdateSubscriptionsResponse - */ -export declare class UpdateSubscriptionsResponse extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscriptionsResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse; - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse; - static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SendDataRequest - */ -export declare class SendDataRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - /** - * @generated from field: bytes data = 2; - */ - data: Uint8Array; - /** - * @generated from field: livekit.DataPacket.Kind kind = 3; - */ - kind: DataPacket_Kind; - /** - * mark deprecated - * - * @generated from field: repeated string destination_sids = 4 [deprecated = true]; - * @deprecated - */ - destinationSids: string[]; - /** - * when set, only forward to these identities - * - * @generated from field: repeated string destination_identities = 6; - */ - destinationIdentities: string[]; - /** - * @generated from field: optional string topic = 5; - */ - topic?: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SendDataRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest; - static fromJsonString(jsonString: string, options?: Partial): SendDataRequest; - static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SendDataResponse - */ -export declare class SendDataResponse extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SendDataResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse; - static fromJsonString(jsonString: string, options?: Partial): SendDataResponse; - static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateRoomMetadataRequest - */ -export declare class UpdateRoomMetadataRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 2; - */ - metadata: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateRoomMetadataRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest; - static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest; - static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomConfiguration - */ -export declare class RoomConfiguration extends Message { - /** - * Used as ID, must be unique - * - * @generated from field: string name = 1; - */ - name: string; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - emptyTimeout: number; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 3; - */ - departureTimeout: number; - /** - * limit number of participants that can be in a room, excluding Egress and Ingress participants - * - * @generated from field: uint32 max_participants = 4; - */ - maxParticipants: number; - /** - * egress - * - * @generated from field: livekit.RoomEgress egress = 5; - */ - egress?: RoomEgress; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - minPlayoutDelay: number; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - maxPlayoutDelay: number; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - syncStreams: boolean; - /** - * Define agents that should be dispatched to this room - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; - */ - agents: RoomAgentDispatch[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomConfiguration"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration; - static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration; - static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_room_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.d.ts.map b/packages/javascript/dist/gen/livekit_room_pb.d.ts.map deleted file mode 100644 index 5f9346a1..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_room_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_room_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAErI;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,OAAO,CAAC,iBAAiB,CAAC;IAC/D;;;;OAIG;IACH,IAAI,SAAM;IAEV;;;;OAIG;IACH,UAAU,SAAM;IAEhB;;;;OAIG;IACH,YAAY,SAAK;IAEjB;;;;OAIG;IACH,gBAAgB,SAAK;IAErB;;;;OAIG;IACH,eAAe,SAAK;IAEpB;;;;OAIG;IACH,MAAM,SAAM;IAEZ;;;;OAIG;IACH,QAAQ,SAAM;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;OAIG;IACH,eAAe,SAAK;IAEpB;;OAEG;IACH,eAAe,SAAK;IAEpB;;;;;OAKG;IACH,WAAW,UAAS;IAE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CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,+BAA+B;IACvD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAU9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,iBAAiB;IAI7F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAI5F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAIhG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/J"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.js b/packages/javascript/dist/gen/livekit_room_pb.js deleted file mode 100644 index cd37191a..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.js +++ /dev/null @@ -1,1038 +0,0 @@ -import { Message, proto3 } from "@bufbuild/protobuf"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; -import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; -const _CreateRoomRequest = class _CreateRoomRequest extends Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * configuration to use for this room parameters. Setting parameters below override the config defaults. - * - * @generated from field: string room_preset = 12; - */ - this.roomPreset = ""; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - this.emptyTimeout = 0; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 10; - */ - this.departureTimeout = 0; - /** - * limit number of participants that can be in a room - * - * @generated from field: uint32 max_participants = 3; - */ - this.maxParticipants = 0; - /** - * override the node room is allocated to, for debugging - * - * @generated from field: string node_id = 4; - */ - this.nodeId = ""; - /** - * metadata of room - * - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - this.minPlayoutDelay = 0; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - this.maxPlayoutDelay = 0; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - this.syncStreams = false; - /** - * replay - * - * @generated from field: bool replay_enabled = 13; - */ - this.replayEnabled = false; - /** - * Define agents that should be dispatched to this room - * - * NEXT-ID: 15 - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; - */ - this.agents = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateRoomRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateRoomRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateRoomRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateRoomRequest, a, b); - } -}; -_CreateRoomRequest.runtime = proto3; -_CreateRoomRequest.typeName = "livekit.CreateRoomRequest"; -_CreateRoomRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "room_preset", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 10, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "node_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "egress", kind: "message", T: RoomEgress }, - { - no: 7, - name: "min_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "max_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "replay_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true } -]); -let CreateRoomRequest = _CreateRoomRequest; -const _RoomEgress = class _RoomEgress extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomEgress().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomEgress().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomEgress().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomEgress, a, b); - } -}; -_RoomEgress.runtime = proto3; -_RoomEgress.typeName = "livekit.RoomEgress"; -_RoomEgress.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest }, - { no: 3, name: "participant", kind: "message", T: AutoParticipantEgress }, - { no: 2, name: "tracks", kind: "message", T: AutoTrackEgress } -]); -let RoomEgress = _RoomEgress; -const _RoomAgent = class _RoomAgent extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; - */ - this.dispatches = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomAgent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomAgent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomAgent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomAgent, a, b); - } -}; -_RoomAgent.runtime = proto3; -_RoomAgent.typeName = "livekit.RoomAgent"; -_RoomAgent.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true } -]); -let RoomAgent = _RoomAgent; -const _ListRoomsRequest = class _ListRoomsRequest extends Message { - constructor(data) { - super(); - /** - * when set, will only return rooms with name match - * - * @generated from field: repeated string names = 1; - */ - this.names = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListRoomsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListRoomsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListRoomsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListRoomsRequest, a, b); - } -}; -_ListRoomsRequest.runtime = proto3; -_ListRoomsRequest.typeName = "livekit.ListRoomsRequest"; -_ListRoomsRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "names", kind: "scalar", T: 9, repeated: true } -]); -let ListRoomsRequest = _ListRoomsRequest; -const _ListRoomsResponse = class _ListRoomsResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.Room rooms = 1; - */ - this.rooms = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListRoomsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListRoomsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListRoomsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListRoomsResponse, a, b); - } -}; -_ListRoomsResponse.runtime = proto3; -_ListRoomsResponse.typeName = "livekit.ListRoomsResponse"; -_ListRoomsResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "rooms", kind: "message", T: Room, repeated: true } -]); -let ListRoomsResponse = _ListRoomsResponse; -const _DeleteRoomRequest = class _DeleteRoomRequest extends Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteRoomRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteRoomRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteRoomRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteRoomRequest, a, b); - } -}; -_DeleteRoomRequest.runtime = proto3; -_DeleteRoomRequest.typeName = "livekit.DeleteRoomRequest"; -_DeleteRoomRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteRoomRequest = _DeleteRoomRequest; -const _DeleteRoomResponse = class _DeleteRoomResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteRoomResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteRoomResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteRoomResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteRoomResponse, a, b); - } -}; -_DeleteRoomResponse.runtime = proto3; -_DeleteRoomResponse.typeName = "livekit.DeleteRoomResponse"; -_DeleteRoomResponse.fields = proto3.util.newFieldList(() => []); -let DeleteRoomResponse = _DeleteRoomResponse; -const _ListParticipantsRequest = class _ListParticipantsRequest extends Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListParticipantsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListParticipantsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListParticipantsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListParticipantsRequest, a, b); - } -}; -_ListParticipantsRequest.runtime = proto3; -_ListParticipantsRequest.typeName = "livekit.ListParticipantsRequest"; -_ListParticipantsRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ListParticipantsRequest = _ListParticipantsRequest; -const _ListParticipantsResponse = class _ListParticipantsResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - this.participants = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListParticipantsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListParticipantsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListParticipantsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListParticipantsResponse, a, b); - } -}; -_ListParticipantsResponse.runtime = proto3; -_ListParticipantsResponse.typeName = "livekit.ListParticipantsResponse"; -_ListParticipantsResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true } -]); -let ListParticipantsResponse = _ListParticipantsResponse; -const _RoomParticipantIdentity = class _RoomParticipantIdentity extends Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * identity of the participant - * - * @generated from field: string identity = 2; - */ - this.identity = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomParticipantIdentity().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomParticipantIdentity().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomParticipantIdentity().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomParticipantIdentity, a, b); - } -}; -_RoomParticipantIdentity.runtime = proto3; -_RoomParticipantIdentity.typeName = "livekit.RoomParticipantIdentity"; -_RoomParticipantIdentity.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RoomParticipantIdentity = _RoomParticipantIdentity; -const _RemoveParticipantResponse = class _RemoveParticipantResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RemoveParticipantResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RemoveParticipantResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RemoveParticipantResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RemoveParticipantResponse, a, b); - } -}; -_RemoveParticipantResponse.runtime = proto3; -_RemoveParticipantResponse.typeName = "livekit.RemoveParticipantResponse"; -_RemoveParticipantResponse.fields = proto3.util.newFieldList(() => []); -let RemoveParticipantResponse = _RemoveParticipantResponse; -const _MuteRoomTrackRequest = class _MuteRoomTrackRequest extends Message { - constructor(data) { - super(); - /** - * name of the room - * - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * sid of the track to mute - * - * @generated from field: string track_sid = 3; - */ - this.trackSid = ""; - /** - * set to true to mute, false to unmute - * - * @generated from field: bool muted = 4; - */ - this.muted = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteRoomTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteRoomTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteRoomTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MuteRoomTrackRequest, a, b); - } -}; -_MuteRoomTrackRequest.runtime = proto3; -_MuteRoomTrackRequest.typeName = "livekit.MuteRoomTrackRequest"; -_MuteRoomTrackRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let MuteRoomTrackRequest = _MuteRoomTrackRequest; -const _MuteRoomTrackResponse = class _MuteRoomTrackResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteRoomTrackResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteRoomTrackResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteRoomTrackResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MuteRoomTrackResponse, a, b); - } -}; -_MuteRoomTrackResponse.runtime = proto3; -_MuteRoomTrackResponse.typeName = "livekit.MuteRoomTrackResponse"; -_MuteRoomTrackResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "track", kind: "message", T: TrackInfo } -]); -let MuteRoomTrackResponse = _MuteRoomTrackResponse; -const _UpdateParticipantRequest = class _UpdateParticipantRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * display name to update - * - * @generated from field: string name = 5; - */ - this.name = ""; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 6; - */ - this.attributes = {}; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateParticipantRequest, a, b); - } -}; -_UpdateParticipantRequest.runtime = proto3; -_UpdateParticipantRequest.typeName = "livekit.UpdateParticipantRequest"; -_UpdateParticipantRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "permission", kind: "message", T: ParticipantPermission }, - { - no: 5, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let UpdateParticipantRequest = _UpdateParticipantRequest; -const _UpdateSubscriptionsRequest = class _UpdateSubscriptionsRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: string identity = 2; - */ - this.identity = ""; - /** - * list of sids of tracks - * - * @generated from field: repeated string track_sids = 3; - */ - this.trackSids = []; - /** - * set to true to subscribe, false to unsubscribe from tracks - * - * @generated from field: bool subscribe = 4; - */ - this.subscribe = false; - /** - * list of participants and their tracks - * - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; - */ - this.participantTracks = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscriptionsRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscriptionsRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscriptionsRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateSubscriptionsRequest, a, b); - } -}; -_UpdateSubscriptionsRequest.runtime = proto3; -_UpdateSubscriptionsRequest.typeName = "livekit.UpdateSubscriptionsRequest"; -_UpdateSubscriptionsRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 5, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true } -]); -let UpdateSubscriptionsRequest = _UpdateSubscriptionsRequest; -const _UpdateSubscriptionsResponse = class _UpdateSubscriptionsResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscriptionsResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscriptionsResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscriptionsResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateSubscriptionsResponse, a, b); - } -}; -_UpdateSubscriptionsResponse.runtime = proto3; -_UpdateSubscriptionsResponse.typeName = "livekit.UpdateSubscriptionsResponse"; -_UpdateSubscriptionsResponse.fields = proto3.util.newFieldList(() => []); -let UpdateSubscriptionsResponse = _UpdateSubscriptionsResponse; -const _SendDataRequest = class _SendDataRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * @generated from field: bytes data = 2; - */ - this.data = new Uint8Array(0); - /** - * @generated from field: livekit.DataPacket.Kind kind = 3; - */ - this.kind = DataPacket_Kind.RELIABLE; - /** - * mark deprecated - * - * @generated from field: repeated string destination_sids = 4 [deprecated = true]; - * @deprecated - */ - this.destinationSids = []; - /** - * when set, only forward to these identities - * - * @generated from field: repeated string destination_identities = 6; - */ - this.destinationIdentities = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SendDataRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SendDataRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SendDataRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SendDataRequest, a, b); - } -}; -_SendDataRequest.runtime = proto3; -_SendDataRequest.typeName = "livekit.SendDataRequest"; -_SendDataRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "data", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, - { no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true }, - { no: 5, name: "topic", kind: "scalar", T: 9, opt: true } -]); -let SendDataRequest = _SendDataRequest; -const _SendDataResponse = class _SendDataResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SendDataResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SendDataResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SendDataResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SendDataResponse, a, b); - } -}; -_SendDataResponse.runtime = proto3; -_SendDataResponse.typeName = "livekit.SendDataResponse"; -_SendDataResponse.fields = proto3.util.newFieldList(() => []); -let SendDataResponse = _SendDataResponse; -const _UpdateRoomMetadataRequest = class _UpdateRoomMetadataRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string room = 1; - */ - this.room = ""; - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 2; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateRoomMetadataRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateRoomMetadataRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateRoomMetadataRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateRoomMetadataRequest, a, b); - } -}; -_UpdateRoomMetadataRequest.runtime = proto3; -_UpdateRoomMetadataRequest.typeName = "livekit.UpdateRoomMetadataRequest"; -_UpdateRoomMetadataRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let UpdateRoomMetadataRequest = _UpdateRoomMetadataRequest; -const _RoomConfiguration = class _RoomConfiguration extends Message { - constructor(data) { - super(); - /** - * Used as ID, must be unique - * - * @generated from field: string name = 1; - */ - this.name = ""; - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - this.emptyTimeout = 0; - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 3; - */ - this.departureTimeout = 0; - /** - * limit number of participants that can be in a room, excluding Egress and Ingress participants - * - * @generated from field: uint32 max_participants = 4; - */ - this.maxParticipants = 0; - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - this.minPlayoutDelay = 0; - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - this.maxPlayoutDelay = 0; - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - this.syncStreams = false; - /** - * Define agents that should be dispatched to this room - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; - */ - this.agents = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomConfiguration().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomConfiguration().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomConfiguration().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomConfiguration, a, b); - } -}; -_RoomConfiguration.runtime = proto3; -_RoomConfiguration.typeName = "livekit.RoomConfiguration"; -_RoomConfiguration.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "empty_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "departure_timeout", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 4, - name: "max_participants", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 5, name: "egress", kind: "message", T: RoomEgress }, - { - no: 7, - name: "min_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "max_playout_delay", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 9, - name: "sync_streams", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true } -]); -let RoomConfiguration = _RoomConfiguration; -export { - CreateRoomRequest, - DeleteRoomRequest, - DeleteRoomResponse, - ListParticipantsRequest, - ListParticipantsResponse, - ListRoomsRequest, - ListRoomsResponse, - MuteRoomTrackRequest, - MuteRoomTrackResponse, - RemoveParticipantResponse, - RoomAgent, - RoomConfiguration, - RoomEgress, - RoomParticipantIdentity, - SendDataRequest, - SendDataResponse, - UpdateParticipantRequest, - UpdateRoomMetadataRequest, - UpdateSubscriptionsRequest, - UpdateSubscriptionsResponse -}; -//# sourceMappingURL=livekit_room_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_room_pb.js.map b/packages/javascript/dist/gen/livekit_room_pb.js.map deleted file mode 100644 index 0fba624b..00000000 --- a/packages/javascript/dist/gen/livekit_room_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_room_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_room.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\nimport { RoomAgentDispatch } from \"./livekit_agent_dispatch_pb.js\";\nimport { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from \"./livekit_egress_pb.js\";\nimport { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from message livekit.CreateRoomRequest\n */\nexport class CreateRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * configuration to use for this room parameters. Setting parameters below override the config defaults.\n *\n * @generated from field: string room_preset = 12;\n */\n roomPreset = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 10;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room\n *\n * @generated from field: uint32 max_participants = 3;\n */\n maxParticipants = 0;\n\n /**\n * override the node room is allocated to, for debugging\n *\n * @generated from field: string node_id = 4;\n */\n nodeId = \"\";\n\n /**\n * metadata of room\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * auto-egress configurations\n *\n * @generated from field: livekit.RoomEgress egress = 6;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * replay\n *\n * @generated from field: bool replay_enabled = 13;\n */\n replayEnabled = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * NEXT-ID: 15\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"room_preset\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 10, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"node_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"replay_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest {\n return new CreateRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomEgress\n */\nexport class RoomEgress extends Message {\n /**\n * @generated from field: livekit.RoomCompositeEgressRequest room = 1;\n */\n room?: RoomCompositeEgressRequest;\n\n /**\n * @generated from field: livekit.AutoParticipantEgress participant = 3;\n */\n participant?: AutoParticipantEgress;\n\n /**\n * @generated from field: livekit.AutoTrackEgress tracks = 2;\n */\n tracks?: AutoTrackEgress;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomEgress\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: RoomCompositeEgressRequest },\n { no: 3, name: \"participant\", kind: \"message\", T: AutoParticipantEgress },\n { no: 2, name: \"tracks\", kind: \"message\", T: AutoTrackEgress },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress {\n return new RoomEgress().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress {\n return new RoomEgress().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomEgress {\n return new RoomEgress().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomEgress, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomAgent\n */\nexport class RoomAgent extends Message {\n /**\n * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;\n */\n dispatches: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomAgent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatches\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent {\n return new RoomAgent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent {\n return new RoomAgent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomAgent {\n return new RoomAgent().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomAgent, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsRequest\n */\nexport class ListRoomsRequest extends Message {\n /**\n * when set, will only return rooms with name match\n *\n * @generated from field: repeated string names = 1;\n */\n names: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"names\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest {\n return new ListRoomsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListRoomsResponse\n */\nexport class ListRoomsResponse extends Message {\n /**\n * @generated from field: repeated livekit.Room rooms = 1;\n */\n rooms: Room[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListRoomsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rooms\", kind: \"message\", T: Room, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse {\n return new ListRoomsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListRoomsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomRequest\n */\nexport class DeleteRoomRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest {\n return new DeleteRoomRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteRoomResponse\n */\nexport class DeleteRoomResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteRoomResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse {\n return new DeleteRoomResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteRoomResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsRequest\n */\nexport class ListParticipantsRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest {\n return new ListParticipantsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListParticipantsResponse\n */\nexport class ListParticipantsResponse extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListParticipantsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse {\n return new ListParticipantsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListParticipantsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomParticipantIdentity\n */\nexport class RoomParticipantIdentity extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * identity of the participant\n *\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomParticipantIdentity\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity {\n return new RoomParticipantIdentity().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomParticipantIdentity, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RemoveParticipantResponse\n */\nexport class RemoveParticipantResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RemoveParticipantResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse {\n return new RemoveParticipantResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RemoveParticipantResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackRequest\n */\nexport class MuteRoomTrackRequest extends Message {\n /**\n * name of the room\n *\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * sid of the track to mute\n *\n * @generated from field: string track_sid = 3;\n */\n trackSid = \"\";\n\n /**\n * set to true to mute, false to unmute\n *\n * @generated from field: bool muted = 4;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest {\n return new MuteRoomTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteRoomTrackResponse\n */\nexport class MuteRoomTrackResponse extends Message {\n /**\n * @generated from field: livekit.TrackInfo track = 1;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteRoomTrackResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse {\n return new MuteRoomTrackResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteRoomTrackResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantRequest\n */\nexport class UpdateParticipantRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * set to update the participant's permissions\n *\n * @generated from field: livekit.ParticipantPermission permission = 4;\n */\n permission?: ParticipantPermission;\n\n /**\n * display name to update\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 6;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"permission\", kind: \"message\", T: ParticipantPermission },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest {\n return new UpdateParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscriptionsRequest\n */\nexport class UpdateSubscriptionsRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: string identity = 2;\n */\n identity = \"\";\n\n /**\n * list of sids of tracks\n *\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * set to true to subscribe, false to unsubscribe from tracks\n *\n * @generated from field: bool subscribe = 4;\n */\n subscribe = false;\n\n /**\n * list of participants and their tracks\n *\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 5, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest {\n return new UpdateSubscriptionsRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsRequest, a, b);\n }\n}\n\n/**\n * empty for now\n *\n * @generated from message livekit.UpdateSubscriptionsResponse\n */\nexport class UpdateSubscriptionsResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscriptionsResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse {\n return new UpdateSubscriptionsResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscriptionsResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataRequest\n */\nexport class SendDataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * @generated from field: bytes data = 2;\n */\n data = new Uint8Array(0);\n\n /**\n * @generated from field: livekit.DataPacket.Kind kind = 3;\n */\n kind = DataPacket_Kind.RELIABLE;\n\n /**\n * mark deprecated\n *\n * @generated from field: repeated string destination_sids = 4 [deprecated = true];\n * @deprecated\n */\n destinationSids: string[] = [];\n\n /**\n * when set, only forward to these identities\n *\n * @generated from field: repeated string destination_identities = 6;\n */\n destinationIdentities: string[] = [];\n\n /**\n * @generated from field: optional string topic = 5;\n */\n topic?: string;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"data\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 3, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(DataPacket_Kind) },\n { no: 4, name: \"destination_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"destination_identities\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"topic\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataRequest {\n return new SendDataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SendDataResponse\n */\nexport class SendDataResponse extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SendDataResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SendDataResponse {\n return new SendDataResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SendDataResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateRoomMetadataRequest\n */\nexport class UpdateRoomMetadataRequest extends Message {\n /**\n * @generated from field: string room = 1;\n */\n room = \"\";\n\n /**\n * metadata to update. skipping updates if left empty\n *\n * @generated from field: string metadata = 2;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateRoomMetadataRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest {\n return new UpdateRoomMetadataRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateRoomMetadataRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomConfiguration\n */\nexport class RoomConfiguration extends Message {\n /**\n * Used as ID, must be unique\n *\n * @generated from field: string name = 1;\n */\n name = \"\";\n\n /**\n * number of seconds to keep the room open if no one joins\n *\n * @generated from field: uint32 empty_timeout = 2;\n */\n emptyTimeout = 0;\n\n /**\n * number of seconds to keep the room open after everyone leaves\n *\n * @generated from field: uint32 departure_timeout = 3;\n */\n departureTimeout = 0;\n\n /**\n * limit number of participants that can be in a room, excluding Egress and Ingress participants\n *\n * @generated from field: uint32 max_participants = 4;\n */\n maxParticipants = 0;\n\n /**\n * egress\n *\n * @generated from field: livekit.RoomEgress egress = 5;\n */\n egress?: RoomEgress;\n\n /**\n * playout delay of subscriber\n *\n * @generated from field: uint32 min_playout_delay = 7;\n */\n minPlayoutDelay = 0;\n\n /**\n * @generated from field: uint32 max_playout_delay = 8;\n */\n maxPlayoutDelay = 0;\n\n /**\n * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use\n * so not recommended for rooms with frequent subscription changes\n *\n * @generated from field: bool sync_streams = 9;\n */\n syncStreams = false;\n\n /**\n * Define agents that should be dispatched to this room\n *\n * @generated from field: repeated livekit.RoomAgentDispatch agents = 10;\n */\n agents: RoomAgentDispatch[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomConfiguration\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"empty_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"departure_timeout\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 4, name: \"max_participants\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"egress\", kind: \"message\", T: RoomEgress },\n { no: 7, name: \"min_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"max_playout_delay\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 9, name: \"sync_streams\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"agents\", kind: \"message\", T: RoomAgentDispatch, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration {\n return new RoomConfiguration().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomConfiguration, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,cAAc;AAChC,SAAS,yBAAyB;AAClC,SAAS,uBAAuB,iBAAiB,kCAAkC;AACnF,SAAS,iBAAiB,iBAAiB,uBAAuB,mBAAmB,MAAM,iBAAiB;AAKrG,MAAM,qBAAN,MAAM,2BAA0B,QAA2B;AAAA,EA6FhE,YAAY,MAA0C;AACpD,UAAM;AAxFR;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAO;AAOP;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAa;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qEK,WAAW;AArEhB,mBAsEK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAiB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAC9E;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAoB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACjF,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,WAAW;AAAA,EACxD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAqB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EAClF;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAgB,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAwB;AAAA,EAC1E,EAAE,IAAI,IAAI,MAAM,UAAU,MAAM,WAAW,GAAG,mBAAmB,UAAU,KAAK;AAClF,CAAC;AAhFI,IAAM,oBAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.cjs b/packages/javascript/dist/gen/livekit_rtc_pb.cjs deleted file mode 100644 index d385b3e6..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.cjs +++ /dev/null @@ -1,2261 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_rtc_pb_exports = {}; -__export(livekit_rtc_pb_exports, { - AddTrackRequest: () => AddTrackRequest, - CandidateProtocol: () => CandidateProtocol, - ConnectionQualityInfo: () => ConnectionQualityInfo, - ConnectionQualityUpdate: () => ConnectionQualityUpdate, - DataChannelInfo: () => DataChannelInfo, - ICEServer: () => ICEServer, - JoinResponse: () => JoinResponse, - LeaveRequest: () => LeaveRequest, - LeaveRequest_Action: () => LeaveRequest_Action, - MuteTrackRequest: () => MuteTrackRequest, - ParticipantUpdate: () => ParticipantUpdate, - Ping: () => Ping, - Pong: () => Pong, - ReconnectResponse: () => ReconnectResponse, - RegionInfo: () => RegionInfo, - RegionSettings: () => RegionSettings, - RequestResponse: () => RequestResponse, - RequestResponse_Reason: () => RequestResponse_Reason, - RoomUpdate: () => RoomUpdate, - SessionDescription: () => SessionDescription, - SignalRequest: () => SignalRequest, - SignalResponse: () => SignalResponse, - SignalTarget: () => SignalTarget, - SimulateScenario: () => SimulateScenario, - SimulcastCodec: () => SimulcastCodec, - SpeakersChanged: () => SpeakersChanged, - StreamState: () => StreamState, - StreamStateInfo: () => StreamStateInfo, - StreamStateUpdate: () => StreamStateUpdate, - SubscribedCodec: () => SubscribedCodec, - SubscribedQuality: () => SubscribedQuality, - SubscribedQualityUpdate: () => SubscribedQualityUpdate, - SubscriptionPermission: () => SubscriptionPermission, - SubscriptionPermissionUpdate: () => SubscriptionPermissionUpdate, - SubscriptionResponse: () => SubscriptionResponse, - SyncState: () => SyncState, - TrackPermission: () => TrackPermission, - TrackPublishedResponse: () => TrackPublishedResponse, - TrackSubscribed: () => TrackSubscribed, - TrackUnpublishedResponse: () => TrackUnpublishedResponse, - TrickleRequest: () => TrickleRequest, - UpdateLocalAudioTrack: () => UpdateLocalAudioTrack, - UpdateLocalVideoTrack: () => UpdateLocalVideoTrack, - UpdateParticipantMetadata: () => UpdateParticipantMetadata, - UpdateSubscription: () => UpdateSubscription, - UpdateTrackSettings: () => UpdateTrackSettings, - UpdateVideoLayers: () => UpdateVideoLayers -}); -module.exports = __toCommonJS(livekit_rtc_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var SignalTarget = /* @__PURE__ */ ((SignalTarget2) => { - SignalTarget2[SignalTarget2["PUBLISHER"] = 0] = "PUBLISHER"; - SignalTarget2[SignalTarget2["SUBSCRIBER"] = 1] = "SUBSCRIBER"; - return SignalTarget2; -})(SignalTarget || {}); -import_protobuf.proto3.util.setEnumType(SignalTarget, "livekit.SignalTarget", [ - { no: 0, name: "PUBLISHER" }, - { no: 1, name: "SUBSCRIBER" } -]); -var StreamState = /* @__PURE__ */ ((StreamState2) => { - StreamState2[StreamState2["ACTIVE"] = 0] = "ACTIVE"; - StreamState2[StreamState2["PAUSED"] = 1] = "PAUSED"; - return StreamState2; -})(StreamState || {}); -import_protobuf.proto3.util.setEnumType(StreamState, "livekit.StreamState", [ - { no: 0, name: "ACTIVE" }, - { no: 1, name: "PAUSED" } -]); -var CandidateProtocol = /* @__PURE__ */ ((CandidateProtocol2) => { - CandidateProtocol2[CandidateProtocol2["UDP"] = 0] = "UDP"; - CandidateProtocol2[CandidateProtocol2["TCP"] = 1] = "TCP"; - CandidateProtocol2[CandidateProtocol2["TLS"] = 2] = "TLS"; - return CandidateProtocol2; -})(CandidateProtocol || {}); -import_protobuf.proto3.util.setEnumType(CandidateProtocol, "livekit.CandidateProtocol", [ - { no: 0, name: "UDP" }, - { no: 1, name: "TCP" }, - { no: 2, name: "TLS" } -]); -const _SignalRequest = class _SignalRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SignalRequest.message - */ - this.message = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SignalRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SignalRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SignalRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SignalRequest, a, b); - } -}; -_SignalRequest.runtime = import_protobuf.proto3; -_SignalRequest.typeName = "livekit.SignalRequest"; -_SignalRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, - { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, - { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, - { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, - { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, - { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, - { no: 14, name: "ping", kind: "scalar", T: 3, oneof: "message" }, - { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, - { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, - { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, - { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" } -]); -let SignalRequest = _SignalRequest; -const _SignalResponse = class _SignalResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SignalResponse.message - */ - this.message = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SignalResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SignalResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SignalResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SignalResponse, a, b); - } -}; -_SignalResponse.runtime = import_protobuf.proto3; -_SignalResponse.typeName = "livekit.SignalResponse"; -_SignalResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, - { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, - { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, - { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, - { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, - { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, - { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, - { no: 16, name: "refresh_token", kind: "scalar", T: 9, oneof: "message" }, - { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, - { no: 18, name: "pong", kind: "scalar", T: 3, oneof: "message" }, - { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, - { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, - { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, - { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, - { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" } -]); -let SignalResponse = _SignalResponse; -const _SimulcastCodec = class _SimulcastCodec extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string codec = 1; - */ - this.codec = ""; - /** - * @generated from field: string cid = 2; - */ - this.cid = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulcastCodec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulcastCodec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulcastCodec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SimulcastCodec, a, b); - } -}; -_SimulcastCodec.runtime = import_protobuf.proto3; -_SimulcastCodec.typeName = "livekit.SimulcastCodec"; -_SimulcastCodec.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "codec", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SimulcastCodec = _SimulcastCodec; -const _AddTrackRequest = class _AddTrackRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * client ID of track, to match it when RTC track is received - * - * @generated from field: string cid = 1; - */ - this.cid = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackType type = 3; - */ - this.type = import_livekit_models_pb.TrackType.AUDIO; - /** - * to be deprecated in favor of layers - * - * @generated from field: uint32 width = 4; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 5; - */ - this.height = 0; - /** - * true to add track and initialize to muted - * - * @generated from field: bool muted = 6; - */ - this.muted = false; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 7; - */ - this.disableDtx = false; - /** - * @generated from field: livekit.TrackSource source = 8; - */ - this.source = import_livekit_models_pb.TrackSource.UNKNOWN; - /** - * @generated from field: repeated livekit.VideoLayer layers = 9; - */ - this.layers = []; - /** - * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; - */ - this.simulcastCodecs = []; - /** - * server ID of track, publish new codec to exist track - * - * @generated from field: string sid = 11; - */ - this.sid = ""; - /** - * @generated from field: bool stereo = 12; - */ - this.stereo = false; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 13; - */ - this.disableRed = false; - /** - * @generated from field: livekit.Encryption.Type encryption = 14; - */ - this.encryption = import_livekit_models_pb.Encryption_Type.NONE; - /** - * which stream the track belongs to, used to group tracks together. - * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together - * - * @generated from field: string stream = 15; - */ - this.stream = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AddTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AddTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AddTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_AddTrackRequest, a, b); - } -}; -_AddTrackRequest.runtime = import_protobuf.proto3; -_AddTrackRequest.typeName = "livekit.AddTrackRequest"; -_AddTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "type", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackType) }, - { - no: 4, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 7, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 8, name: "source", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.TrackSource) }, - { no: 9, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true }, - { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, - { - no: 11, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "stereo", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "disable_red", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "encryption", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.Encryption_Type) }, - { - no: 15, - name: "stream", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AddTrackRequest = _AddTrackRequest; -const _TrickleRequest = class _TrickleRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string candidateInit = 1; - */ - this.candidateInit = ""; - /** - * @generated from field: livekit.SignalTarget target = 2; - */ - this.target = 0 /* PUBLISHER */; - /** - * @generated from field: bool final = 3; - */ - this.final = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrickleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrickleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrickleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrickleRequest, a, b); - } -}; -_TrickleRequest.runtime = import_protobuf.proto3; -_TrickleRequest.typeName = "livekit.TrickleRequest"; -_TrickleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "candidateInit", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "target", kind: "enum", T: import_protobuf.proto3.getEnumType(SignalTarget) }, - { - no: 3, - name: "final", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let TrickleRequest = _TrickleRequest; -const _MuteTrackRequest = class _MuteTrackRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: bool muted = 2; - */ - this.muted = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_MuteTrackRequest, a, b); - } -}; -_MuteTrackRequest.runtime = import_protobuf.proto3; -_MuteTrackRequest.typeName = "livekit.MuteTrackRequest"; -_MuteTrackRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let MuteTrackRequest = _MuteTrackRequest; -const _JoinResponse = class _JoinResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; - */ - this.otherParticipants = []; - /** - * deprecated. use server_info.version instead. - * - * @generated from field: string server_version = 4; - */ - this.serverVersion = ""; - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 5; - */ - this.iceServers = []; - /** - * use subscriber as the primary PeerConnection - * - * @generated from field: bool subscriber_primary = 6; - */ - this.subscriberPrimary = false; - /** - * when the current server isn't available, return alternate url to retry connection - * when this is set, the other fields will be largely empty - * - * @generated from field: string alternative_url = 7; - */ - this.alternativeUrl = ""; - /** - * deprecated. use server_info.region instead. - * - * @generated from field: string server_region = 9; - */ - this.serverRegion = ""; - /** - * @generated from field: int32 ping_timeout = 10; - */ - this.pingTimeout = 0; - /** - * @generated from field: int32 ping_interval = 11; - */ - this.pingInterval = 0; - /** - * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled - * - * @generated from field: bytes sif_trailer = 13; - */ - this.sifTrailer = new Uint8Array(0); - /** - * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; - */ - this.enabledPublishCodecs = []; - /** - * when set, client should attempt to establish publish peer connection when joining room to speed up publishing - * - * @generated from field: bool fast_publish = 15; - */ - this.fastPublish = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JoinResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JoinResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JoinResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_JoinResponse, a, b); - } -}; -_JoinResponse.runtime = import_protobuf.proto3; -_JoinResponse.typeName = "livekit.JoinResponse"; -_JoinResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: import_livekit_models_pb.Room }, - { no: 2, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, - { no: 3, name: "other_participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true }, - { - no: 4, - name: "server_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { - no: 6, - name: "subscriber_primary", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 7, - name: "alternative_url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "client_configuration", kind: "message", T: import_livekit_models_pb.ClientConfiguration }, - { - no: 9, - name: "server_region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "ping_timeout", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 11, - name: "ping_interval", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 12, name: "server_info", kind: "message", T: import_livekit_models_pb.ServerInfo }, - { - no: 13, - name: "sif_trailer", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 14, name: "enabled_publish_codecs", kind: "message", T: import_livekit_models_pb.Codec, repeated: true }, - { - no: 15, - name: "fast_publish", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let JoinResponse = _JoinResponse; -const _ReconnectResponse = class _ReconnectResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 1; - */ - this.iceServers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ReconnectResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ReconnectResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ReconnectResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ReconnectResponse, a, b); - } -}; -_ReconnectResponse.runtime = import_protobuf.proto3; -_ReconnectResponse.typeName = "livekit.ReconnectResponse"; -_ReconnectResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { no: 2, name: "client_configuration", kind: "message", T: import_livekit_models_pb.ClientConfiguration } -]); -let ReconnectResponse = _ReconnectResponse; -const _TrackPublishedResponse = class _TrackPublishedResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string cid = 1; - */ - this.cid = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackPublishedResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackPublishedResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackPublishedResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackPublishedResponse, a, b); - } -}; -_TrackPublishedResponse.runtime = import_protobuf.proto3; -_TrackPublishedResponse.typeName = "livekit.TrackPublishedResponse"; -_TrackPublishedResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo } -]); -let TrackPublishedResponse = _TrackPublishedResponse; -const _TrackUnpublishedResponse = class _TrackUnpublishedResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackUnpublishedResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackUnpublishedResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackUnpublishedResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackUnpublishedResponse, a, b); - } -}; -_TrackUnpublishedResponse.runtime = import_protobuf.proto3; -_TrackUnpublishedResponse.typeName = "livekit.TrackUnpublishedResponse"; -_TrackUnpublishedResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackUnpublishedResponse = _TrackUnpublishedResponse; -const _SessionDescription = class _SessionDescription extends import_protobuf.Message { - constructor(data) { - super(); - /** - * "answer" | "offer" | "pranswer" | "rollback" - * - * @generated from field: string type = 1; - */ - this.type = ""; - /** - * @generated from field: string sdp = 2; - */ - this.sdp = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SessionDescription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SessionDescription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SessionDescription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SessionDescription, a, b); - } -}; -_SessionDescription.runtime = import_protobuf.proto3; -_SessionDescription.typeName = "livekit.SessionDescription"; -_SessionDescription.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sdp", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SessionDescription = _SessionDescription; -const _ParticipantUpdate = class _ParticipantUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - this.participants = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ParticipantUpdate, a, b); - } -}; -_ParticipantUpdate.runtime = import_protobuf.proto3; -_ParticipantUpdate.typeName = "livekit.ParticipantUpdate"; -_ParticipantUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "participants", kind: "message", T: import_livekit_models_pb.ParticipantInfo, repeated: true } -]); -let ParticipantUpdate = _ParticipantUpdate; -const _UpdateSubscription = class _UpdateSubscription extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string track_sids = 1; - */ - this.trackSids = []; - /** - * @generated from field: bool subscribe = 2; - */ - this.subscribe = false; - /** - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; - */ - this.participantTracks = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateSubscription, a, b); - } -}; -_UpdateSubscription.runtime = import_protobuf.proto3; -_UpdateSubscription.typeName = "livekit.UpdateSubscription"; -_UpdateSubscription.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "participant_tracks", kind: "message", T: import_livekit_models_pb.ParticipantTracks, repeated: true } -]); -let UpdateSubscription = _UpdateSubscription; -const _UpdateTrackSettings = class _UpdateTrackSettings extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string track_sids = 1; - */ - this.trackSids = []; - /** - * when true, the track is placed in a paused state, with no new data returned - * - * @generated from field: bool disabled = 3; - */ - this.disabled = false; - /** - * deprecated in favor of width & height - * - * @generated from field: livekit.VideoQuality quality = 4; - */ - this.quality = import_livekit_models_pb.VideoQuality.LOW; - /** - * for video, width to receive - * - * @generated from field: uint32 width = 5; - */ - this.width = 0; - /** - * for video, height to receive - * - * @generated from field: uint32 height = 6; - */ - this.height = 0; - /** - * @generated from field: uint32 fps = 7; - */ - this.fps = 0; - /** - * subscription priority. 1 being the highest (0 is unset) - * when unset, server sill assign priority based on the order of subscription - * server will use priority in the following ways: - * 1. when subscribed tracks exceed per-participant subscription limit, server will - * pause the lowest priority tracks - * 2. when the network is congested, server will assign available bandwidth to - * higher priority tracks first. lowest priority tracks can be paused - * - * @generated from field: uint32 priority = 8; - */ - this.priority = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateTrackSettings().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateTrackSettings().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateTrackSettings().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateTrackSettings, a, b); - } -}; -_UpdateTrackSettings.runtime = import_protobuf.proto3; -_UpdateTrackSettings.typeName = "livekit.UpdateTrackSettings"; -_UpdateTrackSettings.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "disabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, - { - no: 5, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "fps", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "priority", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateTrackSettings = _UpdateTrackSettings; -const _UpdateLocalAudioTrack = class _UpdateLocalAudioTrack extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.AudioTrackFeature features = 2; - */ - this.features = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLocalAudioTrack().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLocalAudioTrack().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLocalAudioTrack().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateLocalAudioTrack, a, b); - } -}; -_UpdateLocalAudioTrack.runtime = import_protobuf.proto3; -_UpdateLocalAudioTrack.typeName = "livekit.UpdateLocalAudioTrack"; -_UpdateLocalAudioTrack.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "features", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.AudioTrackFeature), repeated: true } -]); -let UpdateLocalAudioTrack = _UpdateLocalAudioTrack; -const _UpdateLocalVideoTrack = class _UpdateLocalVideoTrack extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: uint32 width = 2; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 3; - */ - this.height = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLocalVideoTrack().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLocalVideoTrack().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLocalVideoTrack().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateLocalVideoTrack, a, b); - } -}; -_UpdateLocalVideoTrack.runtime = import_protobuf.proto3; -_UpdateLocalVideoTrack.typeName = "livekit.UpdateLocalVideoTrack"; -_UpdateLocalVideoTrack.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateLocalVideoTrack = _UpdateLocalVideoTrack; -const _LeaveRequest = class _LeaveRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * sent when server initiates the disconnect due to server-restart - * indicates clients should attempt full-reconnect sequence - * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - * - * @generated from field: bool can_reconnect = 1; - */ - this.canReconnect = false; - /** - * @generated from field: livekit.DisconnectReason reason = 2; - */ - this.reason = import_livekit_models_pb.DisconnectReason.UNKNOWN_REASON; - /** - * @generated from field: livekit.LeaveRequest.Action action = 3; - */ - this.action = 0 /* DISCONNECT */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _LeaveRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _LeaveRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _LeaveRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_LeaveRequest, a, b); - } -}; -_LeaveRequest.runtime = import_protobuf.proto3; -_LeaveRequest.typeName = "livekit.LeaveRequest"; -_LeaveRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "can_reconnect", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DisconnectReason) }, - { no: 3, name: "action", kind: "enum", T: import_protobuf.proto3.getEnumType(LeaveRequest_Action) }, - { no: 4, name: "regions", kind: "message", T: RegionSettings } -]); -let LeaveRequest = _LeaveRequest; -var LeaveRequest_Action = /* @__PURE__ */ ((LeaveRequest_Action2) => { - LeaveRequest_Action2[LeaveRequest_Action2["DISCONNECT"] = 0] = "DISCONNECT"; - LeaveRequest_Action2[LeaveRequest_Action2["RESUME"] = 1] = "RESUME"; - LeaveRequest_Action2[LeaveRequest_Action2["RECONNECT"] = 2] = "RECONNECT"; - return LeaveRequest_Action2; -})(LeaveRequest_Action || {}); -import_protobuf.proto3.util.setEnumType(LeaveRequest_Action, "livekit.LeaveRequest.Action", [ - { no: 0, name: "DISCONNECT" }, - { no: 1, name: "RESUME" }, - { no: 2, name: "RECONNECT" } -]); -const _UpdateVideoLayers = class _UpdateVideoLayers extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.VideoLayer layers = 2; - */ - this.layers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateVideoLayers().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateVideoLayers().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateVideoLayers().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateVideoLayers, a, b); - } -}; -_UpdateVideoLayers.runtime = import_protobuf.proto3; -_UpdateVideoLayers.typeName = "livekit.UpdateVideoLayers"; -_UpdateVideoLayers.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "layers", kind: "message", T: import_livekit_models_pb.VideoLayer, repeated: true } -]); -let UpdateVideoLayers = _UpdateVideoLayers; -const _UpdateParticipantMetadata = class _UpdateParticipantMetadata extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string metadata = 1; - */ - this.metadata = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 3; - */ - this.attributes = {}; - /** - * @generated from field: uint32 request_id = 4; - */ - this.requestId = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateParticipantMetadata().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateParticipantMetadata().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateParticipantMetadata().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_UpdateParticipantMetadata, a, b); - } -}; -_UpdateParticipantMetadata.runtime = import_protobuf.proto3; -_UpdateParticipantMetadata.typeName = "livekit.UpdateParticipantMetadata"; -_UpdateParticipantMetadata.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 4, - name: "request_id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateParticipantMetadata = _UpdateParticipantMetadata; -const _ICEServer = class _ICEServer extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string urls = 1; - */ - this.urls = []; - /** - * @generated from field: string username = 2; - */ - this.username = ""; - /** - * @generated from field: string credential = 3; - */ - this.credential = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ICEServer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ICEServer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ICEServer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ICEServer, a, b); - } -}; -_ICEServer.runtime = import_protobuf.proto3; -_ICEServer.typeName = "livekit.ICEServer"; -_ICEServer.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "urls", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "credential", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ICEServer = _ICEServer; -const _SpeakersChanged = class _SpeakersChanged extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - this.speakers = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SpeakersChanged().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SpeakersChanged().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SpeakersChanged().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SpeakersChanged, a, b); - } -}; -_SpeakersChanged.runtime = import_protobuf.proto3; -_SpeakersChanged.typeName = "livekit.SpeakersChanged"; -_SpeakersChanged.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "speakers", kind: "message", T: import_livekit_models_pb.SpeakerInfo, repeated: true } -]); -let SpeakersChanged = _SpeakersChanged; -const _RoomUpdate = class _RoomUpdate extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RoomUpdate, a, b); - } -}; -_RoomUpdate.runtime = import_protobuf.proto3; -_RoomUpdate.typeName = "livekit.RoomUpdate"; -_RoomUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: import_livekit_models_pb.Room } -]); -let RoomUpdate = _RoomUpdate; -const _ConnectionQualityInfo = class _ConnectionQualityInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: livekit.ConnectionQuality quality = 2; - */ - this.quality = import_livekit_models_pb.ConnectionQuality.POOR; - /** - * @generated from field: float score = 3; - */ - this.score = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ConnectionQualityInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ConnectionQualityInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ConnectionQualityInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ConnectionQualityInfo, a, b); - } -}; -_ConnectionQualityInfo.runtime = import_protobuf.proto3; -_ConnectionQualityInfo.typeName = "livekit.ConnectionQualityInfo"; -_ConnectionQualityInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.ConnectionQuality) }, - { - no: 3, - name: "score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let ConnectionQualityInfo = _ConnectionQualityInfo; -const _ConnectionQualityUpdate = class _ConnectionQualityUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; - */ - this.updates = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ConnectionQualityUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ConnectionQualityUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ConnectionQualityUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ConnectionQualityUpdate, a, b); - } -}; -_ConnectionQualityUpdate.runtime = import_protobuf.proto3; -_ConnectionQualityUpdate.typeName = "livekit.ConnectionQualityUpdate"; -_ConnectionQualityUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true } -]); -let ConnectionQualityUpdate = _ConnectionQualityUpdate; -const _StreamStateInfo = class _StreamStateInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: string track_sid = 2; - */ - this.trackSid = ""; - /** - * @generated from field: livekit.StreamState state = 3; - */ - this.state = 0 /* ACTIVE */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamStateInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamStateInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamStateInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StreamStateInfo, a, b); - } -}; -_StreamStateInfo.runtime = import_protobuf.proto3; -_StreamStateInfo.typeName = "livekit.StreamStateInfo"; -_StreamStateInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "state", kind: "enum", T: import_protobuf.proto3.getEnumType(StreamState) } -]); -let StreamStateInfo = _StreamStateInfo; -const _StreamStateUpdate = class _StreamStateUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; - */ - this.streamStates = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamStateUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamStateUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamStateUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_StreamStateUpdate, a, b); - } -}; -_StreamStateUpdate.runtime = import_protobuf.proto3; -_StreamStateUpdate.typeName = "livekit.StreamStateUpdate"; -_StreamStateUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true } -]); -let StreamStateUpdate = _StreamStateUpdate; -const _SubscribedQuality = class _SubscribedQuality extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.VideoQuality quality = 1; - */ - this.quality = import_livekit_models_pb.VideoQuality.LOW; - /** - * @generated from field: bool enabled = 2; - */ - this.enabled = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedQuality().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedQuality().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedQuality().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscribedQuality, a, b); - } -}; -_SubscribedQuality.runtime = import_protobuf.proto3; -_SubscribedQuality.typeName = "livekit.SubscribedQuality"; -_SubscribedQuality.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "quality", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.VideoQuality) }, - { - no: 2, - name: "enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SubscribedQuality = _SubscribedQuality; -const _SubscribedCodec = class _SubscribedCodec extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string codec = 1; - */ - this.codec = ""; - /** - * @generated from field: repeated livekit.SubscribedQuality qualities = 2; - */ - this.qualities = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedCodec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedCodec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedCodec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscribedCodec, a, b); - } -}; -_SubscribedCodec.runtime = import_protobuf.proto3; -_SubscribedCodec.typeName = "livekit.SubscribedCodec"; -_SubscribedCodec.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "codec", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true } -]); -let SubscribedCodec = _SubscribedCodec; -const _SubscribedQualityUpdate = class _SubscribedQualityUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; - */ - this.subscribedQualities = []; - /** - * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; - */ - this.subscribedCodecs = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedQualityUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedQualityUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedQualityUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscribedQualityUpdate, a, b); - } -}; -_SubscribedQualityUpdate.runtime = import_protobuf.proto3; -_SubscribedQualityUpdate.typeName = "livekit.SubscribedQualityUpdate"; -_SubscribedQualityUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, - { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true } -]); -let SubscribedQualityUpdate = _SubscribedQualityUpdate; -const _TrackPermission = class _TrackPermission extends import_protobuf.Message { - constructor(data) { - super(); - /** - * permission could be granted either by participant sid or identity - * - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: bool all_tracks = 2; - */ - this.allTracks = false; - /** - * @generated from field: repeated string track_sids = 3; - */ - this.trackSids = []; - /** - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackPermission, a, b); - } -}; -_TrackPermission.runtime = import_protobuf.proto3; -_TrackPermission.typeName = "livekit.TrackPermission"; -_TrackPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "all_tracks", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackPermission = _TrackPermission; -const _SubscriptionPermission = class _SubscriptionPermission extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: bool all_participants = 1; - */ - this.allParticipants = false; - /** - * @generated from field: repeated livekit.TrackPermission track_permissions = 2; - */ - this.trackPermissions = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscriptionPermission, a, b); - } -}; -_SubscriptionPermission.runtime = import_protobuf.proto3; -_SubscriptionPermission.typeName = "livekit.SubscriptionPermission"; -_SubscriptionPermission.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "all_participants", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true } -]); -let SubscriptionPermission = _SubscriptionPermission; -const _SubscriptionPermissionUpdate = class _SubscriptionPermissionUpdate extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: string track_sid = 2; - */ - this.trackSid = ""; - /** - * @generated from field: bool allowed = 3; - */ - this.allowed = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionPermissionUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionPermissionUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionPermissionUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscriptionPermissionUpdate, a, b); - } -}; -_SubscriptionPermissionUpdate.runtime = import_protobuf.proto3; -_SubscriptionPermissionUpdate.typeName = "livekit.SubscriptionPermissionUpdate"; -_SubscriptionPermissionUpdate.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "allowed", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SubscriptionPermissionUpdate = _SubscriptionPermissionUpdate; -const _SyncState = class _SyncState extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; - */ - this.publishTracks = []; - /** - * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; - */ - this.dataChannels = []; - /** - * @generated from field: repeated string track_sids_disabled = 6; - */ - this.trackSidsDisabled = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SyncState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SyncState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SyncState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SyncState, a, b); - } -}; -_SyncState.runtime = import_protobuf.proto3; -_SyncState.typeName = "livekit.SyncState"; -_SyncState.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "answer", kind: "message", T: SessionDescription }, - { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, - { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, - { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, - { no: 5, name: "offer", kind: "message", T: SessionDescription }, - { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true } -]); -let SyncState = _SyncState; -const _DataChannelInfo = class _DataChannelInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string label = 1; - */ - this.label = ""; - /** - * @generated from field: uint32 id = 2; - */ - this.id = 0; - /** - * @generated from field: livekit.SignalTarget target = 3; - */ - this.target = 0 /* PUBLISHER */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataChannelInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataChannelInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataChannelInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DataChannelInfo, a, b); - } -}; -_DataChannelInfo.runtime = import_protobuf.proto3; -_DataChannelInfo.typeName = "livekit.DataChannelInfo"; -_DataChannelInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 3, name: "target", kind: "enum", T: import_protobuf.proto3.getEnumType(SignalTarget) } -]); -let DataChannelInfo = _DataChannelInfo; -const _SimulateScenario = class _SimulateScenario extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SimulateScenario.scenario - */ - this.scenario = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulateScenario().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulateScenario().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulateScenario().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SimulateScenario, a, b); - } -}; -_SimulateScenario.runtime = import_protobuf.proto3; -_SimulateScenario.typeName = "livekit.SimulateScenario"; -_SimulateScenario.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "speaker_update", kind: "scalar", T: 5, oneof: "scenario" }, - { no: 2, name: "node_failure", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 3, name: "migration", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 4, name: "server_leave", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 5, name: "switch_candidate_protocol", kind: "enum", T: import_protobuf.proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, - { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3, oneof: "scenario" }, - { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8, oneof: "scenario" } -]); -let SimulateScenario = _SimulateScenario; -const _Ping = class _Ping extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: int64 timestamp = 1; - */ - this.timestamp = import_protobuf.protoInt64.zero; - /** - * rtt in milliseconds calculated by client - * - * @generated from field: int64 rtt = 2; - */ - this.rtt = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Ping().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Ping().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Ping().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Ping, a, b); - } -}; -_Ping.runtime = import_protobuf.proto3; -_Ping.typeName = "livekit.Ping"; -_Ping.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "rtt", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let Ping = _Ping; -const _Pong = class _Pong extends import_protobuf.Message { - constructor(data) { - super(); - /** - * timestamp field of last received ping request - * - * @generated from field: int64 last_ping_timestamp = 1; - */ - this.lastPingTimestamp = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Pong().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Pong().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Pong().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_Pong, a, b); - } -}; -_Pong.runtime = import_protobuf.proto3; -_Pong.typeName = "livekit.Pong"; -_Pong.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "last_ping_timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let Pong = _Pong; -const _RegionSettings = class _RegionSettings extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RegionInfo regions = 1; - */ - this.regions = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegionSettings().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegionSettings().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegionSettings().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RegionSettings, a, b); - } -}; -_RegionSettings.runtime = import_protobuf.proto3; -_RegionSettings.typeName = "livekit.RegionSettings"; -_RegionSettings.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true } -]); -let RegionSettings = _RegionSettings; -const _RegionInfo = class _RegionInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string region = 1; - */ - this.region = ""; - /** - * @generated from field: string url = 2; - */ - this.url = ""; - /** - * @generated from field: int64 distance = 3; - */ - this.distance = import_protobuf.protoInt64.zero; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegionInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegionInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegionInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RegionInfo, a, b); - } -}; -_RegionInfo.runtime = import_protobuf.proto3; -_RegionInfo.typeName = "livekit.RegionInfo"; -_RegionInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "distance", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let RegionInfo = _RegionInfo; -const _SubscriptionResponse = class _SubscriptionResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: livekit.SubscriptionError err = 2; - */ - this.err = import_livekit_models_pb.SubscriptionError.SE_UNKNOWN; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SubscriptionResponse, a, b); - } -}; -_SubscriptionResponse.runtime = import_protobuf.proto3; -_SubscriptionResponse.typeName = "livekit.SubscriptionResponse"; -_SubscriptionResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "err", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.SubscriptionError) } -]); -let SubscriptionResponse = _SubscriptionResponse; -const _RequestResponse = class _RequestResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 request_id = 1; - */ - this.requestId = 0; - /** - * @generated from field: livekit.RequestResponse.Reason reason = 2; - */ - this.reason = 0 /* OK */; - /** - * @generated from field: string message = 3; - */ - this.message = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RequestResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RequestResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RequestResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_RequestResponse, a, b); - } -}; -_RequestResponse.runtime = import_protobuf.proto3; -_RequestResponse.typeName = "livekit.RequestResponse"; -_RequestResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 2, name: "reason", kind: "enum", T: import_protobuf.proto3.getEnumType(RequestResponse_Reason) }, - { - no: 3, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RequestResponse = _RequestResponse; -var RequestResponse_Reason = /* @__PURE__ */ ((RequestResponse_Reason2) => { - RequestResponse_Reason2[RequestResponse_Reason2["OK"] = 0] = "OK"; - RequestResponse_Reason2[RequestResponse_Reason2["NOT_FOUND"] = 1] = "NOT_FOUND"; - RequestResponse_Reason2[RequestResponse_Reason2["NOT_ALLOWED"] = 2] = "NOT_ALLOWED"; - RequestResponse_Reason2[RequestResponse_Reason2["LIMIT_EXCEEDED"] = 3] = "LIMIT_EXCEEDED"; - return RequestResponse_Reason2; -})(RequestResponse_Reason || {}); -import_protobuf.proto3.util.setEnumType(RequestResponse_Reason, "livekit.RequestResponse.Reason", [ - { no: 0, name: "OK" }, - { no: 1, name: "NOT_FOUND" }, - { no: 2, name: "NOT_ALLOWED" }, - { no: 3, name: "LIMIT_EXCEEDED" } -]); -const _TrackSubscribed = class _TrackSubscribed extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackSubscribed().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackSubscribed().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackSubscribed().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TrackSubscribed, a, b); - } -}; -_TrackSubscribed.runtime = import_protobuf.proto3; -_TrackSubscribed.typeName = "livekit.TrackSubscribed"; -_TrackSubscribed.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackSubscribed = _TrackSubscribed; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - AddTrackRequest, - CandidateProtocol, - ConnectionQualityInfo, - ConnectionQualityUpdate, - DataChannelInfo, - ICEServer, - JoinResponse, - LeaveRequest, - LeaveRequest_Action, - MuteTrackRequest, - ParticipantUpdate, - Ping, - Pong, - ReconnectResponse, - RegionInfo, - RegionSettings, - RequestResponse, - RequestResponse_Reason, - RoomUpdate, - SessionDescription, - SignalRequest, - SignalResponse, - SignalTarget, - SimulateScenario, - SimulcastCodec, - SpeakersChanged, - StreamState, - StreamStateInfo, - StreamStateUpdate, - SubscribedCodec, - SubscribedQuality, - SubscribedQualityUpdate, - SubscriptionPermission, - SubscriptionPermissionUpdate, - SubscriptionResponse, - SyncState, - TrackPermission, - TrackPublishedResponse, - TrackSubscribed, - TrackUnpublishedResponse, - TrickleRequest, - UpdateLocalAudioTrack, - UpdateLocalVideoTrack, - UpdateParticipantMetadata, - UpdateSubscription, - UpdateTrackSettings, - UpdateVideoLayers -}); -//# sourceMappingURL=livekit_rtc_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map b/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map deleted file mode 100644 index ea454f40..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_rtc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_rtc.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SignalTarget\n */\nexport enum SignalTarget {\n /**\n * @generated from enum value: PUBLISHER = 0;\n */\n PUBLISHER = 0,\n\n /**\n * @generated from enum value: SUBSCRIBER = 1;\n */\n SUBSCRIBER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SignalTarget)\nproto3.util.setEnumType(SignalTarget, \"livekit.SignalTarget\", [\n { no: 0, name: \"PUBLISHER\" },\n { no: 1, name: \"SUBSCRIBER\" },\n]);\n\n/**\n * @generated from enum livekit.StreamState\n */\nexport enum StreamState {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: PAUSED = 1;\n */\n PAUSED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamState)\nproto3.util.setEnumType(StreamState, \"livekit.StreamState\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"PAUSED\" },\n]);\n\n/**\n * @generated from enum livekit.CandidateProtocol\n */\nexport enum CandidateProtocol {\n /**\n * @generated from enum value: UDP = 0;\n */\n UDP = 0,\n\n /**\n * @generated from enum value: TCP = 1;\n */\n TCP = 1,\n\n /**\n * @generated from enum value: TLS = 2;\n */\n TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(CandidateProtocol)\nproto3.util.setEnumType(CandidateProtocol, \"livekit.CandidateProtocol\", [\n { no: 0, name: \"UDP\" },\n { no: 1, name: \"TCP\" },\n { no: 2, name: \"TLS\" },\n]);\n\n/**\n * @generated from message livekit.SignalRequest\n */\nexport class SignalRequest extends Message {\n /**\n * @generated from oneof livekit.SignalRequest.message\n */\n message: {\n /**\n * initial join exchange, for publisher\n *\n * @generated from field: livekit.SessionDescription offer = 1;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * participant answering publisher offer\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * @generated from field: livekit.TrickleRequest trickle = 3;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * @generated from field: livekit.AddTrackRequest add_track = 4;\n */\n value: AddTrackRequest;\n case: \"addTrack\";\n } | {\n /**\n * mute the participant's published tracks\n *\n * @generated from field: livekit.MuteTrackRequest mute = 5;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * Subscribe or unsubscribe from tracks\n *\n * @generated from field: livekit.UpdateSubscription subscription = 6;\n */\n value: UpdateSubscription;\n case: \"subscription\";\n } | {\n /**\n * Update settings of subscribed tracks\n *\n * @generated from field: livekit.UpdateTrackSettings track_setting = 7;\n */\n value: UpdateTrackSettings;\n case: \"trackSetting\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * Update published video layers\n *\n * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true];\n * @deprecated\n */\n value: UpdateVideoLayers;\n case: \"updateLayers\";\n } | {\n /**\n * Update subscriber permissions\n *\n * @generated from field: livekit.SubscriptionPermission subscription_permission = 11;\n */\n value: SubscriptionPermission;\n case: \"subscriptionPermission\";\n } | {\n /**\n * sync client's subscribe state to server during reconnect\n *\n * @generated from field: livekit.SyncState sync_state = 12;\n */\n value: SyncState;\n case: \"syncState\";\n } | {\n /**\n * Simulate conditions, for client validations\n *\n * @generated from field: livekit.SimulateScenario simulate = 13;\n */\n value: SimulateScenario;\n case: \"simulate\";\n } | {\n /**\n * client triggered ping to server\n *\n * deprecated by ping_req (message Ping)\n *\n * @generated from field: int64 ping = 14;\n */\n value: bigint;\n case: \"ping\";\n } | {\n /**\n * update a participant's own metadata, name, or attributes\n * requires canUpdateOwnParticipantMetadata permission\n *\n * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15;\n */\n value: UpdateParticipantMetadata;\n case: \"updateMetadata\";\n } | {\n /**\n * @generated from field: livekit.Ping ping_req = 16;\n */\n value: Ping;\n case: \"pingReq\";\n } | {\n /**\n * Update local audio track settings\n *\n * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;\n */\n value: UpdateLocalAudioTrack;\n case: \"updateAudioTrack\";\n } | {\n /**\n * Update local video track settings\n *\n * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;\n */\n value: UpdateLocalVideoTrack;\n case: \"updateVideoTrack\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 4, name: \"add_track\", kind: \"message\", T: AddTrackRequest, oneof: \"message\" },\n { no: 5, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 6, name: \"subscription\", kind: \"message\", T: UpdateSubscription, oneof: \"message\" },\n { no: 7, name: \"track_setting\", kind: \"message\", T: UpdateTrackSettings, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 10, name: \"update_layers\", kind: \"message\", T: UpdateVideoLayers, oneof: \"message\" },\n { no: 11, name: \"subscription_permission\", kind: \"message\", T: SubscriptionPermission, oneof: \"message\" },\n { no: 12, name: \"sync_state\", kind: \"message\", T: SyncState, oneof: \"message\" },\n { no: 13, name: \"simulate\", kind: \"message\", T: SimulateScenario, oneof: \"message\" },\n { no: 14, name: \"ping\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 15, name: \"update_metadata\", kind: \"message\", T: UpdateParticipantMetadata, oneof: \"message\" },\n { no: 16, name: \"ping_req\", kind: \"message\", T: Ping, oneof: \"message\" },\n { no: 17, name: \"update_audio_track\", kind: \"message\", T: UpdateLocalAudioTrack, oneof: \"message\" },\n { no: 18, name: \"update_video_track\", kind: \"message\", T: UpdateLocalVideoTrack, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest {\n return new SignalRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest {\n return new SignalRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalRequest {\n return new SignalRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SignalResponse\n */\nexport class SignalResponse extends Message {\n /**\n * @generated from oneof livekit.SignalResponse.message\n */\n message: {\n /**\n * sent when join is accepted\n *\n * @generated from field: livekit.JoinResponse join = 1;\n */\n value: JoinResponse;\n case: \"join\";\n } | {\n /**\n * sent when server answers publisher\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * sent when server is sending subscriber an offer\n *\n * @generated from field: livekit.SessionDescription offer = 3;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * sent when an ICE candidate is available\n *\n * @generated from field: livekit.TrickleRequest trickle = 4;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * sent when participants in the room has changed\n *\n * @generated from field: livekit.ParticipantUpdate update = 5;\n */\n value: ParticipantUpdate;\n case: \"update\";\n } | {\n /**\n * sent to the participant when their track has been published\n *\n * @generated from field: livekit.TrackPublishedResponse track_published = 6;\n */\n value: TrackPublishedResponse;\n case: \"trackPublished\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * server initiated mute\n *\n * @generated from field: livekit.MuteTrackRequest mute = 9;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * indicates changes to speaker status, including when they've gone to not speaking\n *\n * @generated from field: livekit.SpeakersChanged speakers_changed = 10;\n */\n value: SpeakersChanged;\n case: \"speakersChanged\";\n } | {\n /**\n * sent when metadata of the room has changed\n *\n * @generated from field: livekit.RoomUpdate room_update = 11;\n */\n value: RoomUpdate;\n case: \"roomUpdate\";\n } | {\n /**\n * when connection quality changed\n *\n * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12;\n */\n value: ConnectionQualityUpdate;\n case: \"connectionQuality\";\n } | {\n /**\n * when streamed tracks state changed, used to notify when any of the streams were paused due to\n * congestion\n *\n * @generated from field: livekit.StreamStateUpdate stream_state_update = 13;\n */\n value: StreamStateUpdate;\n case: \"streamStateUpdate\";\n } | {\n /**\n * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers\n *\n * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14;\n */\n value: SubscribedQualityUpdate;\n case: \"subscribedQualityUpdate\";\n } | {\n /**\n * when subscription permission changed\n *\n * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;\n */\n value: SubscriptionPermissionUpdate;\n case: \"subscriptionPermissionUpdate\";\n } | {\n /**\n * update the token the client was using, to prevent an active client from using an expired token\n *\n * @generated from field: string refresh_token = 16;\n */\n value: string;\n case: \"refreshToken\";\n } | {\n /**\n * server initiated track unpublish\n *\n * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17;\n */\n value: TrackUnpublishedResponse;\n case: \"trackUnpublished\";\n } | {\n /**\n * respond to ping\n *\n * deprecated by pong_resp (message Pong)\n *\n * @generated from field: int64 pong = 18;\n */\n value: bigint;\n case: \"pong\";\n } | {\n /**\n * sent when client reconnects\n *\n * @generated from field: livekit.ReconnectResponse reconnect = 19;\n */\n value: ReconnectResponse;\n case: \"reconnect\";\n } | {\n /**\n * respond to Ping\n *\n * @generated from field: livekit.Pong pong_resp = 20;\n */\n value: Pong;\n case: \"pongResp\";\n } | {\n /**\n * Subscription response, client should not expect any media from this subscription if it fails\n *\n * @generated from field: livekit.SubscriptionResponse subscription_response = 21;\n */\n value: SubscriptionResponse;\n case: \"subscriptionResponse\";\n } | {\n /**\n * Response relating to user inititated requests that carry a `request_id`\n *\n * @generated from field: livekit.RequestResponse request_response = 22;\n */\n value: RequestResponse;\n case: \"requestResponse\";\n } | {\n /**\n * notify to the publisher when a published track has been subscribed for the first time\n *\n * @generated from field: livekit.TrackSubscribed track_subscribed = 23;\n */\n value: TrackSubscribed;\n case: \"trackSubscribed\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"join\", kind: \"message\", T: JoinResponse, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 4, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 5, name: \"update\", kind: \"message\", T: ParticipantUpdate, oneof: \"message\" },\n { no: 6, name: \"track_published\", kind: \"message\", T: TrackPublishedResponse, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 9, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 10, name: \"speakers_changed\", kind: \"message\", T: SpeakersChanged, oneof: \"message\" },\n { no: 11, name: \"room_update\", kind: \"message\", T: RoomUpdate, oneof: \"message\" },\n { no: 12, name: \"connection_quality\", kind: \"message\", T: ConnectionQualityUpdate, oneof: \"message\" },\n { no: 13, name: \"stream_state_update\", kind: \"message\", T: StreamStateUpdate, oneof: \"message\" },\n { no: 14, name: \"subscribed_quality_update\", kind: \"message\", T: SubscribedQualityUpdate, oneof: \"message\" },\n { no: 15, name: \"subscription_permission_update\", kind: \"message\", T: SubscriptionPermissionUpdate, oneof: \"message\" },\n { no: 16, name: \"refresh_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"message\" },\n { no: 17, name: \"track_unpublished\", kind: \"message\", T: TrackUnpublishedResponse, oneof: \"message\" },\n { no: 18, name: \"pong\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 19, name: \"reconnect\", kind: \"message\", T: ReconnectResponse, oneof: \"message\" },\n { no: 20, name: \"pong_resp\", kind: \"message\", T: Pong, oneof: \"message\" },\n { no: 21, name: \"subscription_response\", kind: \"message\", T: SubscriptionResponse, oneof: \"message\" },\n { no: 22, name: \"request_response\", kind: \"message\", T: RequestResponse, oneof: \"message\" },\n { no: 23, name: \"track_subscribed\", kind: \"message\", T: TrackSubscribed, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse {\n return new SignalResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse {\n return new SignalResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalResponse {\n return new SignalResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulcastCodec\n */\nexport class SimulcastCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: string cid = 2;\n */\n cid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AddTrackRequest\n */\nexport class AddTrackRequest extends Message {\n /**\n * client ID of track, to match it when RTC track is received\n *\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 3;\n */\n type = TrackType.AUDIO;\n\n /**\n * to be deprecated in favor of layers\n *\n * @generated from field: uint32 width = 4;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 5;\n */\n height = 0;\n\n /**\n * true to add track and initialize to muted\n *\n * @generated from field: bool muted = 6;\n */\n muted = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 7;\n */\n disableDtx = false;\n\n /**\n * @generated from field: livekit.TrackSource source = 8;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 9;\n */\n layers: VideoLayer[] = [];\n\n /**\n * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10;\n */\n simulcastCodecs: SimulcastCodec[] = [];\n\n /**\n * server ID of track, publish new codec to exist track\n *\n * @generated from field: string sid = 11;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool stereo = 12;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 13;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 14;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * which stream the track belongs to, used to group tracks together.\n * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together\n *\n * @generated from field: string stream = 15;\n */\n stream = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AddTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 4, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 9, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 10, name: \"simulcast_codecs\", kind: \"message\", T: SimulcastCodec, repeated: true },\n { no: 11, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 15, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AddTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrickleRequest\n */\nexport class TrickleRequest extends Message {\n /**\n * @generated from field: string candidateInit = 1;\n */\n candidateInit = \"\";\n\n /**\n * @generated from field: livekit.SignalTarget target = 2;\n */\n target = SignalTarget.PUBLISHER;\n\n /**\n * @generated from field: bool final = 3;\n */\n final = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrickleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"candidateInit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n { no: 3, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrickleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteTrackRequest\n */\nexport class MuteTrackRequest extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool muted = 2;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JoinResponse\n */\nexport class JoinResponse extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 2;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: repeated livekit.ParticipantInfo other_participants = 3;\n */\n otherParticipants: ParticipantInfo[] = [];\n\n /**\n * deprecated. use server_info.version instead.\n *\n * @generated from field: string server_version = 4;\n */\n serverVersion = \"\";\n\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 5;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * use subscriber as the primary PeerConnection\n *\n * @generated from field: bool subscriber_primary = 6;\n */\n subscriberPrimary = false;\n\n /**\n * when the current server isn't available, return alternate url to retry connection\n * when this is set, the other fields will be largely empty\n *\n * @generated from field: string alternative_url = 7;\n */\n alternativeUrl = \"\";\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 8;\n */\n clientConfiguration?: ClientConfiguration;\n\n /**\n * deprecated. use server_info.region instead.\n *\n * @generated from field: string server_region = 9;\n */\n serverRegion = \"\";\n\n /**\n * @generated from field: int32 ping_timeout = 10;\n */\n pingTimeout = 0;\n\n /**\n * @generated from field: int32 ping_interval = 11;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 12;\n */\n serverInfo?: ServerInfo;\n\n /**\n * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled\n *\n * @generated from field: bytes sif_trailer = 13;\n */\n sifTrailer = new Uint8Array(0);\n\n /**\n * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;\n */\n enabledPublishCodecs: Codec[] = [];\n\n /**\n * when set, client should attempt to establish publish peer connection when joining room to speed up publishing\n *\n * @generated from field: bool fast_publish = 15;\n */\n fastPublish = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JoinResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n { no: 2, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 3, name: \"other_participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n { no: 4, name: \"server_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 6, name: \"subscriber_primary\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"alternative_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n { no: 9, name: \"server_region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"ping_timeout\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"ping_interval\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"server_info\", kind: \"message\", T: ServerInfo },\n { no: 13, name: \"sif_trailer\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 14, name: \"enabled_publish_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 15, name: \"fast_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse {\n return new JoinResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse {\n return new JoinResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JoinResponse {\n return new JoinResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(JoinResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ReconnectResponse\n */\nexport class ReconnectResponse extends Message {\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 1;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 2;\n */\n clientConfiguration?: ClientConfiguration;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ReconnectResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 2, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ReconnectResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPublishedResponse\n */\nexport class TrackPublishedResponse extends Message {\n /**\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 2;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackUnpublishedResponse\n */\nexport class TrackUnpublishedResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackUnpublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackUnpublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SessionDescription\n */\nexport class SessionDescription extends Message {\n /**\n * \"answer\" | \"offer\" | \"pranswer\" | \"rollback\"\n *\n * @generated from field: string type = 1;\n */\n type = \"\";\n\n /**\n * @generated from field: string sdp = 2;\n */\n sdp = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SessionDescription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sdp\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription {\n return new SessionDescription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription {\n return new SessionDescription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SessionDescription {\n return new SessionDescription().fromJsonString(jsonString, options);\n }\n\n static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean {\n return proto3.util.equals(SessionDescription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantUpdate\n */\nexport class ParticipantUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscription\n */\nexport class UpdateSubscription extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: bool subscribe = 2;\n */\n subscribe = false;\n\n /**\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateTrackSettings\n */\nexport class UpdateTrackSettings extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * when true, the track is placed in a paused state, with no new data returned\n *\n * @generated from field: bool disabled = 3;\n */\n disabled = false;\n\n /**\n * deprecated in favor of width & height\n *\n * @generated from field: livekit.VideoQuality quality = 4;\n */\n quality = VideoQuality.LOW;\n\n /**\n * for video, width to receive\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * for video, height to receive\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * @generated from field: uint32 fps = 7;\n */\n fps = 0;\n\n /**\n * subscription priority. 1 being the highest (0 is unset)\n * when unset, server sill assign priority based on the order of subscription\n * server will use priority in the following ways:\n * 1. when subscribed tracks exceed per-participant subscription limit, server will\n * pause the lowest priority tracks\n * 2. when the network is congested, server will assign available bandwidth to\n * higher priority tracks first. lowest priority tracks can be paused\n *\n * @generated from field: uint32 priority = 8;\n */\n priority = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateTrackSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"disabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"fps\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"priority\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateTrackSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalAudioTrack\n */\nexport class UpdateLocalAudioTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature features = 2;\n */\n features: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalAudioTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalAudioTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalVideoTrack\n */\nexport class UpdateLocalVideoTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalVideoTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalVideoTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.LeaveRequest\n */\nexport class LeaveRequest extends Message {\n /**\n * sent when server initiates the disconnect due to server-restart\n * indicates clients should attempt full-reconnect sequence\n * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13\n *\n * @generated from field: bool can_reconnect = 1;\n */\n canReconnect = false;\n\n /**\n * @generated from field: livekit.DisconnectReason reason = 2;\n */\n reason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: livekit.LeaveRequest.Action action = 3;\n */\n action = LeaveRequest_Action.DISCONNECT;\n\n /**\n * @generated from field: livekit.RegionSettings regions = 4;\n */\n regions?: RegionSettings;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.LeaveRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 3, name: \"action\", kind: \"enum\", T: proto3.getEnumType(LeaveRequest_Action) },\n { no: 4, name: \"regions\", kind: \"message\", T: RegionSettings },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(LeaveRequest, a, b);\n }\n}\n\n/**\n * indicates action clients should take on receiving this message\n *\n * @generated from enum livekit.LeaveRequest.Action\n */\nexport enum LeaveRequest_Action {\n /**\n * should disconnect\n *\n * @generated from enum value: DISCONNECT = 0;\n */\n DISCONNECT = 0,\n\n /**\n * should attempt a resume with `reconnect=1` in join URL\n *\n * @generated from enum value: RESUME = 1;\n */\n RESUME = 1,\n\n /**\n * should attempt a reconnect, i. e. no `reconnect=1`\n *\n * @generated from enum value: RECONNECT = 2;\n */\n RECONNECT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(LeaveRequest_Action)\nproto3.util.setEnumType(LeaveRequest_Action, \"livekit.LeaveRequest.Action\", [\n { no: 0, name: \"DISCONNECT\" },\n { no: 1, name: \"RESUME\" },\n { no: 2, name: \"RECONNECT\" },\n]);\n\n/**\n * message to indicate published video track dimensions are changing\n *\n * @generated from message livekit.UpdateVideoLayers\n * @deprecated\n */\nexport class UpdateVideoLayers extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 2;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateVideoLayers\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateVideoLayers, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantMetadata\n */\nexport class UpdateParticipantMetadata extends Message {\n /**\n * @generated from field: string metadata = 1;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 3;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: uint32 request_id = 4;\n */\n requestId = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantMetadata\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 4, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantMetadata, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEServer\n */\nexport class ICEServer extends Message {\n /**\n * @generated from field: repeated string urls = 1;\n */\n urls: string[] = [];\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string credential = 3;\n */\n credential = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEServer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"credential\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer {\n return new ICEServer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer {\n return new ICEServer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEServer {\n return new ICEServer().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEServer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakersChanged\n */\nexport class SpeakersChanged extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakersChanged\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakersChanged, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomUpdate\n */\nexport class RoomUpdate extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityInfo\n */\nexport class ConnectionQualityInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: livekit.ConnectionQuality quality = 2;\n */\n quality = ConnectionQuality.POOR;\n\n /**\n * @generated from field: float score = 3;\n */\n score = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(ConnectionQuality) },\n { no: 3, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityUpdate\n */\nexport class ConnectionQualityUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1;\n */\n updates: ConnectionQualityInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"updates\", kind: \"message\", T: ConnectionQualityInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateInfo\n */\nexport class StreamStateInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.StreamState state = 3;\n */\n state = StreamState.ACTIVE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(StreamState) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateUpdate\n */\nexport class StreamStateUpdate extends Message {\n /**\n * @generated from field: repeated livekit.StreamStateInfo stream_states = 1;\n */\n streamStates: StreamStateInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_states\", kind: \"message\", T: StreamStateInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQuality\n */\nexport class SubscribedQuality extends Message {\n /**\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: bool enabled = 2;\n */\n enabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQuality\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQuality, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedCodec\n */\nexport class SubscribedCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality qualities = 2;\n */\n qualities: SubscribedQuality[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQualityUpdate\n */\nexport class SubscribedQualityUpdate extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;\n */\n subscribedQualities: SubscribedQuality[] = [];\n\n /**\n * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3;\n */\n subscribedCodecs: SubscribedCodec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"subscribed_qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n { no: 3, name: \"subscribed_codecs\", kind: \"message\", T: SubscribedCodec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPermission\n */\nexport class TrackPermission extends Message {\n /**\n * permission could be granted either by participant sid or identity\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: bool all_tracks = 2;\n */\n allTracks = false;\n\n /**\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"all_tracks\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission {\n return new TrackPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission {\n return new TrackPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPermission {\n return new TrackPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermission\n */\nexport class SubscriptionPermission extends Message {\n /**\n * @generated from field: bool all_participants = 1;\n */\n allParticipants = false;\n\n /**\n * @generated from field: repeated livekit.TrackPermission track_permissions = 2;\n */\n trackPermissions: TrackPermission[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"all_participants\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"track_permissions\", kind: \"message\", T: TrackPermission, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermissionUpdate\n */\nexport class SubscriptionPermissionUpdate extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: bool allowed = 3;\n */\n allowed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermissionUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"allowed\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermissionUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SyncState\n */\nexport class SyncState extends Message {\n /**\n * last subscribe answer before reconnecting\n *\n * @generated from field: livekit.SessionDescription answer = 1;\n */\n answer?: SessionDescription;\n\n /**\n * @generated from field: livekit.UpdateSubscription subscription = 2;\n */\n subscription?: UpdateSubscription;\n\n /**\n * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3;\n */\n publishTracks: TrackPublishedResponse[] = [];\n\n /**\n * @generated from field: repeated livekit.DataChannelInfo data_channels = 4;\n */\n dataChannels: DataChannelInfo[] = [];\n\n /**\n * last received server side offer before reconnecting\n *\n * @generated from field: livekit.SessionDescription offer = 5;\n */\n offer?: SessionDescription;\n\n /**\n * @generated from field: repeated string track_sids_disabled = 6;\n */\n trackSidsDisabled: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SyncState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"answer\", kind: \"message\", T: SessionDescription },\n { no: 2, name: \"subscription\", kind: \"message\", T: UpdateSubscription },\n { no: 3, name: \"publish_tracks\", kind: \"message\", T: TrackPublishedResponse, repeated: true },\n { no: 4, name: \"data_channels\", kind: \"message\", T: DataChannelInfo, repeated: true },\n { no: 5, name: \"offer\", kind: \"message\", T: SessionDescription },\n { no: 6, name: \"track_sids_disabled\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SyncState {\n return new SyncState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SyncState {\n return new SyncState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SyncState {\n return new SyncState().fromJsonString(jsonString, options);\n }\n\n static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean {\n return proto3.util.equals(SyncState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataChannelInfo\n */\nexport class DataChannelInfo extends Message {\n /**\n * @generated from field: string label = 1;\n */\n label = \"\";\n\n /**\n * @generated from field: uint32 id = 2;\n */\n id = 0;\n\n /**\n * @generated from field: livekit.SignalTarget target = 3;\n */\n target = SignalTarget.PUBLISHER;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataChannelInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataChannelInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateScenario\n */\nexport class SimulateScenario extends Message {\n /**\n * @generated from oneof livekit.SimulateScenario.scenario\n */\n scenario: {\n /**\n * simulate N seconds of speaker activity\n *\n * @generated from field: int32 speaker_update = 1;\n */\n value: number;\n case: \"speakerUpdate\";\n } | {\n /**\n * simulate local node failure\n *\n * @generated from field: bool node_failure = 2;\n */\n value: boolean;\n case: \"nodeFailure\";\n } | {\n /**\n * simulate migration\n *\n * @generated from field: bool migration = 3;\n */\n value: boolean;\n case: \"migration\";\n } | {\n /**\n * server to send leave\n *\n * @generated from field: bool server_leave = 4;\n */\n value: boolean;\n case: \"serverLeave\";\n } | {\n /**\n * switch candidate protocol to tcp\n *\n * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5;\n */\n value: CandidateProtocol;\n case: \"switchCandidateProtocol\";\n } | {\n /**\n * maximum bandwidth for subscribers, in bps\n * when zero, clears artificial bandwidth limit\n *\n * @generated from field: int64 subscriber_bandwidth = 6;\n */\n value: bigint;\n case: \"subscriberBandwidth\";\n } | {\n /**\n * disconnect signal on resume\n *\n * @generated from field: bool disconnect_signal_on_resume = 7;\n */\n value: boolean;\n case: \"disconnectSignalOnResume\";\n } | {\n /**\n * disconnect signal on resume before sending any messages from server\n *\n * @generated from field: bool disconnect_signal_on_resume_no_messages = 8;\n */\n value: boolean;\n case: \"disconnectSignalOnResumeNoMessages\";\n } | {\n /**\n * full reconnect leave request\n *\n * @generated from field: bool leave_request_full_reconnect = 9;\n */\n value: boolean;\n case: \"leaveRequestFullReconnect\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateScenario\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speaker_update\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */, oneof: \"scenario\" },\n { no: 2, name: \"node_failure\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 3, name: \"migration\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 4, name: \"server_leave\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 5, name: \"switch_candidate_protocol\", kind: \"enum\", T: proto3.getEnumType(CandidateProtocol), oneof: \"scenario\" },\n { no: 6, name: \"subscriber_bandwidth\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"scenario\" },\n { no: 7, name: \"disconnect_signal_on_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 8, name: \"disconnect_signal_on_resume_no_messages\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 9, name: \"leave_request_full_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateScenario, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Ping\n */\nexport class Ping extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n /**\n * rtt in milliseconds calculated by client\n *\n * @generated from field: int64 rtt = 2;\n */\n rtt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Ping\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"rtt\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Ping {\n return new Ping().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Ping {\n return new Ping().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Ping {\n return new Ping().fromJsonString(jsonString, options);\n }\n\n static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean {\n return proto3.util.equals(Ping, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Pong\n */\nexport class Pong extends Message {\n /**\n * timestamp field of last received ping request\n *\n * @generated from field: int64 last_ping_timestamp = 1;\n */\n lastPingTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Pong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_ping_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Pong {\n return new Pong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Pong {\n return new Pong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Pong {\n return new Pong().fromJsonString(jsonString, options);\n }\n\n static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean {\n return proto3.util.equals(Pong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionSettings\n */\nexport class RegionSettings extends Message {\n /**\n * @generated from field: repeated livekit.RegionInfo regions = 1;\n */\n regions: RegionInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"regions\", kind: \"message\", T: RegionInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings {\n return new RegionSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings {\n return new RegionSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionSettings {\n return new RegionSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionInfo\n */\nexport class RegionInfo extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string url = 2;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 distance = 3;\n */\n distance = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"distance\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo {\n return new RegionInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo {\n return new RegionInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionInfo {\n return new RegionInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionResponse\n */\nexport class SubscriptionResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.SubscriptionError err = 2;\n */\n err = SubscriptionError.SE_UNKNOWN;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"err\", kind: \"enum\", T: proto3.getEnumType(SubscriptionError) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RequestResponse\n */\nexport class RequestResponse extends Message {\n /**\n * @generated from field: uint32 request_id = 1;\n */\n requestId = 0;\n\n /**\n * @generated from field: livekit.RequestResponse.Reason reason = 2;\n */\n reason = RequestResponse_Reason.OK;\n\n /**\n * @generated from field: string message = 3;\n */\n message = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RequestResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(RequestResponse_Reason) },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse {\n return new RequestResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse {\n return new RequestResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RequestResponse {\n return new RequestResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RequestResponse, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.RequestResponse.Reason\n */\nexport enum RequestResponse_Reason {\n /**\n * @generated from enum value: OK = 0;\n */\n OK = 0,\n\n /**\n * @generated from enum value: NOT_FOUND = 1;\n */\n NOT_FOUND = 1,\n\n /**\n * @generated from enum value: NOT_ALLOWED = 2;\n */\n NOT_ALLOWED = 2,\n\n /**\n * @generated from enum value: LIMIT_EXCEEDED = 3;\n */\n LIMIT_EXCEEDED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(RequestResponse_Reason)\nproto3.util.setEnumType(RequestResponse_Reason, \"livekit.RequestResponse.Reason\", [\n { no: 0, name: \"OK\" },\n { no: 1, name: \"NOT_FOUND\" },\n { no: 2, name: \"NOT_ALLOWED\" },\n { no: 3, name: \"LIMIT_EXCEEDED\" },\n]);\n\n/**\n * @generated from message livekit.TrackSubscribed\n */\nexport class TrackSubscribed extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackSubscribed\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackSubscribed, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAuQ;AAKhQ,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA,eAAY,KAAZ;AAKA,EAAAA,4BAAA,gBAAa,KAAb;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,cAAc,wBAAwB;AAAA,EAC5D,EAAE,IAAI,GAAG,MAAM,YAAY;AAAA,EAC3B,EAAE,IAAI,GAAG,MAAM,aAAa;AAC9B,CAAC;AAKM,IAAK,cAAL,kBAAKC,iBAAL;AAIL,EAAAA,0BAAA,YAAS,KAAT;AAKA,EAAAA,0BAAA,YAAS,KAAT;AATU,SAAAA;AAAA,GAAA;AAYZ,uBAAO,KAAK,YAAY,aAAa,uBAAuB;AAAA,EAC1D,EAAE,IAAI,GAAG,MAAM,SAAS;AAAA,EACxB,EAAE,IAAI,GAAG,MAAM,SAAS;AAC1B,CAAC;AAKM,IAAK,oBAAL,kBAAKC,uBAAL;AAIL,EAAAA,sCAAA,SAAM,KAAN;AAKA,EAAAA,sCAAA,SAAM,KAAN;AAKA,EAAAA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B,EAAE,IAAI,GAAG,MAAM,YAAY;AAAA,EAC3B,EAAE,IAAI,GAAG,MAAM,cAAc;AAAA,EAC7B,EAAE,IAAI,GAAG,MAAM,iBAAiB;AAClC,CAAC;AAKM,MAAM,mBAAN,MAAM,yBAAwB,wBAAyB;AAAA,EAM5D,YAAY,MAAwC;AAClD,UAAM;AAHR;AAAA;AAAA;AAAA,oBAAW;AAIT,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAQA,OAAO,WAAW,OAAmB,SAAuD;AAC1F,WAAO,IAAI,iBAAgB,EAAE,WAAW,OAAO,OAAO;AAAA,EACxD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAqD;AACzF,WAAO,IAAI,iBAAgB,EAAE,SAAS,WAAW,OAAO;AAAA,EAC1D;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAqD;AAC7F,WAAO,IAAI,iBAAgB,EAAE,eAAe,YAAY,OAAO;AAAA,EACjE;AAAA,EAEA,OAAO,OAAO,GAAgE,GAAyE;AACrJ,WAAO,uBAAO,KAAK,OAAO,kBAAiB,GAAG,CAAC;AAAA,EACjD;AACF;AAhCa,iBAWK,UAAyB;AAX9B,iBAYK,WAAW;AAZhB,iBAaK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAa,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC3E,CAAC;AAfI,IAAM,kBAAN;","names":["SignalTarget","StreamState","CandidateProtocol","LeaveRequest_Action","RequestResponse_Reason"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts deleted file mode 100644 index 92e22200..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts +++ /dev/null @@ -1,1602 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; -/** - * @generated from enum livekit.SignalTarget - */ -export declare enum SignalTarget { - /** - * @generated from enum value: PUBLISHER = 0; - */ - PUBLISHER = 0, - /** - * @generated from enum value: SUBSCRIBER = 1; - */ - SUBSCRIBER = 1 -} -/** - * @generated from enum livekit.StreamState - */ -export declare enum StreamState { - /** - * @generated from enum value: ACTIVE = 0; - */ - ACTIVE = 0, - /** - * @generated from enum value: PAUSED = 1; - */ - PAUSED = 1 -} -/** - * @generated from enum livekit.CandidateProtocol - */ -export declare enum CandidateProtocol { - /** - * @generated from enum value: UDP = 0; - */ - UDP = 0, - /** - * @generated from enum value: TCP = 1; - */ - TCP = 1, - /** - * @generated from enum value: TLS = 2; - */ - TLS = 2 -} -/** - * @generated from message livekit.SignalRequest - */ -export declare class SignalRequest extends Message { - /** - * @generated from oneof livekit.SignalRequest.message - */ - message: { - /** - * initial join exchange, for publisher - * - * @generated from field: livekit.SessionDescription offer = 1; - */ - value: SessionDescription; - case: "offer"; - } | { - /** - * participant answering publisher offer - * - * @generated from field: livekit.SessionDescription answer = 2; - */ - value: SessionDescription; - case: "answer"; - } | { - /** - * @generated from field: livekit.TrickleRequest trickle = 3; - */ - value: TrickleRequest; - case: "trickle"; - } | { - /** - * @generated from field: livekit.AddTrackRequest add_track = 4; - */ - value: AddTrackRequest; - case: "addTrack"; - } | { - /** - * mute the participant's published tracks - * - * @generated from field: livekit.MuteTrackRequest mute = 5; - */ - value: MuteTrackRequest; - case: "mute"; - } | { - /** - * Subscribe or unsubscribe from tracks - * - * @generated from field: livekit.UpdateSubscription subscription = 6; - */ - value: UpdateSubscription; - case: "subscription"; - } | { - /** - * Update settings of subscribed tracks - * - * @generated from field: livekit.UpdateTrackSettings track_setting = 7; - */ - value: UpdateTrackSettings; - case: "trackSetting"; - } | { - /** - * Immediately terminate session - * - * @generated from field: livekit.LeaveRequest leave = 8; - */ - value: LeaveRequest; - case: "leave"; - } | { - /** - * Update published video layers - * - * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; - * @deprecated - */ - value: UpdateVideoLayers; - case: "updateLayers"; - } | { - /** - * Update subscriber permissions - * - * @generated from field: livekit.SubscriptionPermission subscription_permission = 11; - */ - value: SubscriptionPermission; - case: "subscriptionPermission"; - } | { - /** - * sync client's subscribe state to server during reconnect - * - * @generated from field: livekit.SyncState sync_state = 12; - */ - value: SyncState; - case: "syncState"; - } | { - /** - * Simulate conditions, for client validations - * - * @generated from field: livekit.SimulateScenario simulate = 13; - */ - value: SimulateScenario; - case: "simulate"; - } | { - /** - * client triggered ping to server - * - * deprecated by ping_req (message Ping) - * - * @generated from field: int64 ping = 14; - */ - value: bigint; - case: "ping"; - } | { - /** - * update a participant's own metadata, name, or attributes - * requires canUpdateOwnParticipantMetadata permission - * - * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; - */ - value: UpdateParticipantMetadata; - case: "updateMetadata"; - } | { - /** - * @generated from field: livekit.Ping ping_req = 16; - */ - value: Ping; - case: "pingReq"; - } | { - /** - * Update local audio track settings - * - * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; - */ - value: UpdateLocalAudioTrack; - case: "updateAudioTrack"; - } | { - /** - * Update local video track settings - * - * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; - */ - value: UpdateLocalVideoTrack; - case: "updateVideoTrack"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SignalRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest; - static fromJsonString(jsonString: string, options?: Partial): SignalRequest; - static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SignalResponse - */ -export declare class SignalResponse extends Message { - /** - * @generated from oneof livekit.SignalResponse.message - */ - message: { - /** - * sent when join is accepted - * - * @generated from field: livekit.JoinResponse join = 1; - */ - value: JoinResponse; - case: "join"; - } | { - /** - * sent when server answers publisher - * - * @generated from field: livekit.SessionDescription answer = 2; - */ - value: SessionDescription; - case: "answer"; - } | { - /** - * sent when server is sending subscriber an offer - * - * @generated from field: livekit.SessionDescription offer = 3; - */ - value: SessionDescription; - case: "offer"; - } | { - /** - * sent when an ICE candidate is available - * - * @generated from field: livekit.TrickleRequest trickle = 4; - */ - value: TrickleRequest; - case: "trickle"; - } | { - /** - * sent when participants in the room has changed - * - * @generated from field: livekit.ParticipantUpdate update = 5; - */ - value: ParticipantUpdate; - case: "update"; - } | { - /** - * sent to the participant when their track has been published - * - * @generated from field: livekit.TrackPublishedResponse track_published = 6; - */ - value: TrackPublishedResponse; - case: "trackPublished"; - } | { - /** - * Immediately terminate session - * - * @generated from field: livekit.LeaveRequest leave = 8; - */ - value: LeaveRequest; - case: "leave"; - } | { - /** - * server initiated mute - * - * @generated from field: livekit.MuteTrackRequest mute = 9; - */ - value: MuteTrackRequest; - case: "mute"; - } | { - /** - * indicates changes to speaker status, including when they've gone to not speaking - * - * @generated from field: livekit.SpeakersChanged speakers_changed = 10; - */ - value: SpeakersChanged; - case: "speakersChanged"; - } | { - /** - * sent when metadata of the room has changed - * - * @generated from field: livekit.RoomUpdate room_update = 11; - */ - value: RoomUpdate; - case: "roomUpdate"; - } | { - /** - * when connection quality changed - * - * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12; - */ - value: ConnectionQualityUpdate; - case: "connectionQuality"; - } | { - /** - * when streamed tracks state changed, used to notify when any of the streams were paused due to - * congestion - * - * @generated from field: livekit.StreamStateUpdate stream_state_update = 13; - */ - value: StreamStateUpdate; - case: "streamStateUpdate"; - } | { - /** - * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers - * - * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14; - */ - value: SubscribedQualityUpdate; - case: "subscribedQualityUpdate"; - } | { - /** - * when subscription permission changed - * - * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15; - */ - value: SubscriptionPermissionUpdate; - case: "subscriptionPermissionUpdate"; - } | { - /** - * update the token the client was using, to prevent an active client from using an expired token - * - * @generated from field: string refresh_token = 16; - */ - value: string; - case: "refreshToken"; - } | { - /** - * server initiated track unpublish - * - * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17; - */ - value: TrackUnpublishedResponse; - case: "trackUnpublished"; - } | { - /** - * respond to ping - * - * deprecated by pong_resp (message Pong) - * - * @generated from field: int64 pong = 18; - */ - value: bigint; - case: "pong"; - } | { - /** - * sent when client reconnects - * - * @generated from field: livekit.ReconnectResponse reconnect = 19; - */ - value: ReconnectResponse; - case: "reconnect"; - } | { - /** - * respond to Ping - * - * @generated from field: livekit.Pong pong_resp = 20; - */ - value: Pong; - case: "pongResp"; - } | { - /** - * Subscription response, client should not expect any media from this subscription if it fails - * - * @generated from field: livekit.SubscriptionResponse subscription_response = 21; - */ - value: SubscriptionResponse; - case: "subscriptionResponse"; - } | { - /** - * Response relating to user inititated requests that carry a `request_id` - * - * @generated from field: livekit.RequestResponse request_response = 22; - */ - value: RequestResponse; - case: "requestResponse"; - } | { - /** - * notify to the publisher when a published track has been subscribed for the first time - * - * @generated from field: livekit.TrackSubscribed track_subscribed = 23; - */ - value: TrackSubscribed; - case: "trackSubscribed"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SignalResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse; - static fromJsonString(jsonString: string, options?: Partial): SignalResponse; - static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SimulcastCodec - */ -export declare class SimulcastCodec extends Message { - /** - * @generated from field: string codec = 1; - */ - codec: string; - /** - * @generated from field: string cid = 2; - */ - cid: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulcastCodec"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec; - static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec; - static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec; - static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.AddTrackRequest - */ -export declare class AddTrackRequest extends Message { - /** - * client ID of track, to match it when RTC track is received - * - * @generated from field: string cid = 1; - */ - cid: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * @generated from field: livekit.TrackType type = 3; - */ - type: TrackType; - /** - * to be deprecated in favor of layers - * - * @generated from field: uint32 width = 4; - */ - width: number; - /** - * @generated from field: uint32 height = 5; - */ - height: number; - /** - * true to add track and initialize to muted - * - * @generated from field: bool muted = 6; - */ - muted: boolean; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 7; - */ - disableDtx: boolean; - /** - * @generated from field: livekit.TrackSource source = 8; - */ - source: TrackSource; - /** - * @generated from field: repeated livekit.VideoLayer layers = 9; - */ - layers: VideoLayer[]; - /** - * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; - */ - simulcastCodecs: SimulcastCodec[]; - /** - * server ID of track, publish new codec to exist track - * - * @generated from field: string sid = 11; - */ - sid: string; - /** - * @generated from field: bool stereo = 12; - */ - stereo: boolean; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 13; - */ - disableRed: boolean; - /** - * @generated from field: livekit.Encryption.Type encryption = 14; - */ - encryption: Encryption_Type; - /** - * which stream the track belongs to, used to group tracks together. - * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together - * - * @generated from field: string stream = 15; - */ - stream: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AddTrackRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest; - static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest; - static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TrickleRequest - */ -export declare class TrickleRequest extends Message { - /** - * @generated from field: string candidateInit = 1; - */ - candidateInit: string; - /** - * @generated from field: livekit.SignalTarget target = 2; - */ - target: SignalTarget; - /** - * @generated from field: bool final = 3; - */ - final: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrickleRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest; - static fromJsonString(jsonString: string, options?: Partial): TrickleRequest; - static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.MuteTrackRequest - */ -export declare class MuteTrackRequest extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - /** - * @generated from field: bool muted = 2; - */ - muted: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteTrackRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest; - static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest; - static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.JoinResponse - */ -export declare class JoinResponse extends Message { - /** - * @generated from field: livekit.Room room = 1; - */ - room?: Room; - /** - * @generated from field: livekit.ParticipantInfo participant = 2; - */ - participant?: ParticipantInfo; - /** - * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; - */ - otherParticipants: ParticipantInfo[]; - /** - * deprecated. use server_info.version instead. - * - * @generated from field: string server_version = 4; - */ - serverVersion: string; - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 5; - */ - iceServers: ICEServer[]; - /** - * use subscriber as the primary PeerConnection - * - * @generated from field: bool subscriber_primary = 6; - */ - subscriberPrimary: boolean; - /** - * when the current server isn't available, return alternate url to retry connection - * when this is set, the other fields will be largely empty - * - * @generated from field: string alternative_url = 7; - */ - alternativeUrl: string; - /** - * @generated from field: livekit.ClientConfiguration client_configuration = 8; - */ - clientConfiguration?: ClientConfiguration; - /** - * deprecated. use server_info.region instead. - * - * @generated from field: string server_region = 9; - */ - serverRegion: string; - /** - * @generated from field: int32 ping_timeout = 10; - */ - pingTimeout: number; - /** - * @generated from field: int32 ping_interval = 11; - */ - pingInterval: number; - /** - * @generated from field: livekit.ServerInfo server_info = 12; - */ - serverInfo?: ServerInfo; - /** - * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled - * - * @generated from field: bytes sif_trailer = 13; - */ - sifTrailer: Uint8Array; - /** - * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; - */ - enabledPublishCodecs: Codec[]; - /** - * when set, client should attempt to establish publish peer connection when joining room to speed up publishing - * - * @generated from field: bool fast_publish = 15; - */ - fastPublish: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JoinResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse; - static fromJsonString(jsonString: string, options?: Partial): JoinResponse; - static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ReconnectResponse - */ -export declare class ReconnectResponse extends Message { - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 1; - */ - iceServers: ICEServer[]; - /** - * @generated from field: livekit.ClientConfiguration client_configuration = 2; - */ - clientConfiguration?: ClientConfiguration; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ReconnectResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse; - static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse; - static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TrackPublishedResponse - */ -export declare class TrackPublishedResponse extends Message { - /** - * @generated from field: string cid = 1; - */ - cid: string; - /** - * @generated from field: livekit.TrackInfo track = 2; - */ - track?: TrackInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackPublishedResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse; - static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse; - static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TrackUnpublishedResponse - */ -export declare class TrackUnpublishedResponse extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackUnpublishedResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse; - static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse; - static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SessionDescription - */ -export declare class SessionDescription extends Message { - /** - * "answer" | "offer" | "pranswer" | "rollback" - * - * @generated from field: string type = 1; - */ - type: string; - /** - * @generated from field: string sdp = 2; - */ - sdp: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SessionDescription"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription; - static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription; - static fromJsonString(jsonString: string, options?: Partial): SessionDescription; - static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ParticipantUpdate - */ -export declare class ParticipantUpdate extends Message { - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - participants: ParticipantInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate; - static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate; - static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateSubscription - */ -export declare class UpdateSubscription extends Message { - /** - * @generated from field: repeated string track_sids = 1; - */ - trackSids: string[]; - /** - * @generated from field: bool subscribe = 2; - */ - subscribe: boolean; - /** - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; - */ - participantTracks: ParticipantTracks[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscription"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription; - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription; - static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateTrackSettings - */ -export declare class UpdateTrackSettings extends Message { - /** - * @generated from field: repeated string track_sids = 1; - */ - trackSids: string[]; - /** - * when true, the track is placed in a paused state, with no new data returned - * - * @generated from field: bool disabled = 3; - */ - disabled: boolean; - /** - * deprecated in favor of width & height - * - * @generated from field: livekit.VideoQuality quality = 4; - */ - quality: VideoQuality; - /** - * for video, width to receive - * - * @generated from field: uint32 width = 5; - */ - width: number; - /** - * for video, height to receive - * - * @generated from field: uint32 height = 6; - */ - height: number; - /** - * @generated from field: uint32 fps = 7; - */ - fps: number; - /** - * subscription priority. 1 being the highest (0 is unset) - * when unset, server sill assign priority based on the order of subscription - * server will use priority in the following ways: - * 1. when subscribed tracks exceed per-participant subscription limit, server will - * pause the lowest priority tracks - * 2. when the network is congested, server will assign available bandwidth to - * higher priority tracks first. lowest priority tracks can be paused - * - * @generated from field: uint32 priority = 8; - */ - priority: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateTrackSettings"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings; - static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings; - static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateLocalAudioTrack - */ -export declare class UpdateLocalAudioTrack extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - /** - * @generated from field: repeated livekit.AudioTrackFeature features = 2; - */ - features: AudioTrackFeature[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLocalAudioTrack"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack; - static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack; - static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateLocalVideoTrack - */ -export declare class UpdateLocalVideoTrack extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - /** - * @generated from field: uint32 width = 2; - */ - width: number; - /** - * @generated from field: uint32 height = 3; - */ - height: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLocalVideoTrack"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack; - static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack; - static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.LeaveRequest - */ -export declare class LeaveRequest extends Message { - /** - * sent when server initiates the disconnect due to server-restart - * indicates clients should attempt full-reconnect sequence - * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - * - * @generated from field: bool can_reconnect = 1; - */ - canReconnect: boolean; - /** - * @generated from field: livekit.DisconnectReason reason = 2; - */ - reason: DisconnectReason; - /** - * @generated from field: livekit.LeaveRequest.Action action = 3; - */ - action: LeaveRequest_Action; - /** - * @generated from field: livekit.RegionSettings regions = 4; - */ - regions?: RegionSettings; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.LeaveRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest; - static fromJsonString(jsonString: string, options?: Partial): LeaveRequest; - static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean; -} -/** - * indicates action clients should take on receiving this message - * - * @generated from enum livekit.LeaveRequest.Action - */ -export declare enum LeaveRequest_Action { - /** - * should disconnect - * - * @generated from enum value: DISCONNECT = 0; - */ - DISCONNECT = 0, - /** - * should attempt a resume with `reconnect=1` in join URL - * - * @generated from enum value: RESUME = 1; - */ - RESUME = 1, - /** - * should attempt a reconnect, i. e. no `reconnect=1` - * - * @generated from enum value: RECONNECT = 2; - */ - RECONNECT = 2 -} -/** - * message to indicate published video track dimensions are changing - * - * @generated from message livekit.UpdateVideoLayers - * @deprecated - */ -export declare class UpdateVideoLayers extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - /** - * @generated from field: repeated livekit.VideoLayer layers = 2; - */ - layers: VideoLayer[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateVideoLayers"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers; - static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers; - static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.UpdateParticipantMetadata - */ -export declare class UpdateParticipantMetadata extends Message { - /** - * @generated from field: string metadata = 1; - */ - metadata: string; - /** - * @generated from field: string name = 2; - */ - name: string; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 3; - */ - attributes: { - [key: string]: string; - }; - /** - * @generated from field: uint32 request_id = 4; - */ - requestId: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateParticipantMetadata"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata; - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata; - static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata; - static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ICEServer - */ -export declare class ICEServer extends Message { - /** - * @generated from field: repeated string urls = 1; - */ - urls: string[]; - /** - * @generated from field: string username = 2; - */ - username: string; - /** - * @generated from field: string credential = 3; - */ - credential: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ICEServer"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer; - static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer; - static fromJsonString(jsonString: string, options?: Partial): ICEServer; - static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SpeakersChanged - */ -export declare class SpeakersChanged extends Message { - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - speakers: SpeakerInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SpeakersChanged"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged; - static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged; - static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged; - static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RoomUpdate - */ -export declare class RoomUpdate extends Message { - /** - * @generated from field: livekit.Room room = 1; - */ - room?: Room; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate; - static fromJsonString(jsonString: string, options?: Partial): RoomUpdate; - static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ConnectionQualityInfo - */ -export declare class ConnectionQualityInfo extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - /** - * @generated from field: livekit.ConnectionQuality quality = 2; - */ - quality: ConnectionQuality; - /** - * @generated from field: float score = 3; - */ - score: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ConnectionQualityInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo; - static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo; - static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ConnectionQualityUpdate - */ -export declare class ConnectionQualityUpdate extends Message { - /** - * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; - */ - updates: ConnectionQualityInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ConnectionQualityUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate; - static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate; - static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StreamStateInfo - */ -export declare class StreamStateInfo extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - /** - * @generated from field: string track_sid = 2; - */ - trackSid: string; - /** - * @generated from field: livekit.StreamState state = 3; - */ - state: StreamState; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamStateInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo; - static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo; - static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.StreamStateUpdate - */ -export declare class StreamStateUpdate extends Message { - /** - * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; - */ - streamStates: StreamStateInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamStateUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate; - static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate; - static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscribedQuality - */ -export declare class SubscribedQuality extends Message { - /** - * @generated from field: livekit.VideoQuality quality = 1; - */ - quality: VideoQuality; - /** - * @generated from field: bool enabled = 2; - */ - enabled: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedQuality"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality; - static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality; - static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscribedCodec - */ -export declare class SubscribedCodec extends Message { - /** - * @generated from field: string codec = 1; - */ - codec: string; - /** - * @generated from field: repeated livekit.SubscribedQuality qualities = 2; - */ - qualities: SubscribedQuality[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedCodec"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec; - static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec; - static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscribedQualityUpdate - */ -export declare class SubscribedQualityUpdate extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - /** - * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; - */ - subscribedQualities: SubscribedQuality[]; - /** - * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; - */ - subscribedCodecs: SubscribedCodec[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedQualityUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate; - static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate; - static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TrackPermission - */ -export declare class TrackPermission extends Message { - /** - * permission could be granted either by participant sid or identity - * - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - /** - * @generated from field: bool all_tracks = 2; - */ - allTracks: boolean; - /** - * @generated from field: repeated string track_sids = 3; - */ - trackSids: string[]; - /** - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackPermission"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission; - static fromJsonString(jsonString: string, options?: Partial): TrackPermission; - static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscriptionPermission - */ -export declare class SubscriptionPermission extends Message { - /** - * @generated from field: bool all_participants = 1; - */ - allParticipants: boolean; - /** - * @generated from field: repeated livekit.TrackPermission track_permissions = 2; - */ - trackPermissions: TrackPermission[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionPermission"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission; - static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission; - static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscriptionPermissionUpdate - */ -export declare class SubscriptionPermissionUpdate extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - /** - * @generated from field: string track_sid = 2; - */ - trackSid: string; - /** - * @generated from field: bool allowed = 3; - */ - allowed: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionPermissionUpdate"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate; - static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate; - static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SyncState - */ -export declare class SyncState extends Message { - /** - * last subscribe answer before reconnecting - * - * @generated from field: livekit.SessionDescription answer = 1; - */ - answer?: SessionDescription; - /** - * @generated from field: livekit.UpdateSubscription subscription = 2; - */ - subscription?: UpdateSubscription; - /** - * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; - */ - publishTracks: TrackPublishedResponse[]; - /** - * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; - */ - dataChannels: DataChannelInfo[]; - /** - * last received server side offer before reconnecting - * - * @generated from field: livekit.SessionDescription offer = 5; - */ - offer?: SessionDescription; - /** - * @generated from field: repeated string track_sids_disabled = 6; - */ - trackSidsDisabled: string[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SyncState"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SyncState; - static fromJson(jsonValue: JsonValue, options?: Partial): SyncState; - static fromJsonString(jsonString: string, options?: Partial): SyncState; - static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DataChannelInfo - */ -export declare class DataChannelInfo extends Message { - /** - * @generated from field: string label = 1; - */ - label: string; - /** - * @generated from field: uint32 id = 2; - */ - id: number; - /** - * @generated from field: livekit.SignalTarget target = 3; - */ - target: SignalTarget; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataChannelInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo; - static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo; - static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SimulateScenario - */ -export declare class SimulateScenario extends Message { - /** - * @generated from oneof livekit.SimulateScenario.scenario - */ - scenario: { - /** - * simulate N seconds of speaker activity - * - * @generated from field: int32 speaker_update = 1; - */ - value: number; - case: "speakerUpdate"; - } | { - /** - * simulate local node failure - * - * @generated from field: bool node_failure = 2; - */ - value: boolean; - case: "nodeFailure"; - } | { - /** - * simulate migration - * - * @generated from field: bool migration = 3; - */ - value: boolean; - case: "migration"; - } | { - /** - * server to send leave - * - * @generated from field: bool server_leave = 4; - */ - value: boolean; - case: "serverLeave"; - } | { - /** - * switch candidate protocol to tcp - * - * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5; - */ - value: CandidateProtocol; - case: "switchCandidateProtocol"; - } | { - /** - * maximum bandwidth for subscribers, in bps - * when zero, clears artificial bandwidth limit - * - * @generated from field: int64 subscriber_bandwidth = 6; - */ - value: bigint; - case: "subscriberBandwidth"; - } | { - /** - * disconnect signal on resume - * - * @generated from field: bool disconnect_signal_on_resume = 7; - */ - value: boolean; - case: "disconnectSignalOnResume"; - } | { - /** - * disconnect signal on resume before sending any messages from server - * - * @generated from field: bool disconnect_signal_on_resume_no_messages = 8; - */ - value: boolean; - case: "disconnectSignalOnResumeNoMessages"; - } | { - /** - * full reconnect leave request - * - * @generated from field: bool leave_request_full_reconnect = 9; - */ - value: boolean; - case: "leaveRequestFullReconnect"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulateScenario"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario; - static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario; - static fromJsonString(jsonString: string, options?: Partial): SimulateScenario; - static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.Ping - */ -export declare class Ping extends Message { - /** - * @generated from field: int64 timestamp = 1; - */ - timestamp: bigint; - /** - * rtt in milliseconds calculated by client - * - * @generated from field: int64 rtt = 2; - */ - rtt: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Ping"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Ping; - static fromJson(jsonValue: JsonValue, options?: Partial): Ping; - static fromJsonString(jsonString: string, options?: Partial): Ping; - static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.Pong - */ -export declare class Pong extends Message { - /** - * timestamp field of last received ping request - * - * @generated from field: int64 last_ping_timestamp = 1; - */ - lastPingTimestamp: bigint; - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Pong"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): Pong; - static fromJson(jsonValue: JsonValue, options?: Partial): Pong; - static fromJsonString(jsonString: string, options?: Partial): Pong; - static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RegionSettings - */ -export declare class RegionSettings extends Message { - /** - * @generated from field: repeated livekit.RegionInfo regions = 1; - */ - regions: RegionInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegionSettings"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings; - static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings; - static fromJsonString(jsonString: string, options?: Partial): RegionSettings; - static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RegionInfo - */ -export declare class RegionInfo extends Message { - /** - * @generated from field: string region = 1; - */ - region: string; - /** - * @generated from field: string url = 2; - */ - url: string; - /** - * @generated from field: int64 distance = 3; - */ - distance: bigint; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegionInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo; - static fromJsonString(jsonString: string, options?: Partial): RegionInfo; - static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SubscriptionResponse - */ -export declare class SubscriptionResponse extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - /** - * @generated from field: livekit.SubscriptionError err = 2; - */ - err: SubscriptionError; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse; - static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse; - static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.RequestResponse - */ -export declare class RequestResponse extends Message { - /** - * @generated from field: uint32 request_id = 1; - */ - requestId: number; - /** - * @generated from field: livekit.RequestResponse.Reason reason = 2; - */ - reason: RequestResponse_Reason; - /** - * @generated from field: string message = 3; - */ - message: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RequestResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse; - static fromJsonString(jsonString: string, options?: Partial): RequestResponse; - static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.RequestResponse.Reason - */ -export declare enum RequestResponse_Reason { - /** - * @generated from enum value: OK = 0; - */ - OK = 0, - /** - * @generated from enum value: NOT_FOUND = 1; - */ - NOT_FOUND = 1, - /** - * @generated from enum value: NOT_ALLOWED = 2; - */ - NOT_ALLOWED = 2, - /** - * @generated from enum value: LIMIT_EXCEEDED = 3; - */ - LIMIT_EXCEEDED = 3 -} -/** - * @generated from message livekit.TrackSubscribed - */ -export declare class TrackSubscribed extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackSubscribed"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; - static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; - static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; - static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_rtc_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map b/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map deleted file mode 100644 index 06e8ac91..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_rtc_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_rtc_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEhS;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,SAAS,IAAI;IAEb;;OAEG;IACH,UAAU,IAAI;CACf;AAOD;;GAEG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,MAAM,IAAI;CACX;AAOD;;GAEG;AACH,oBAAY,iBAAiB;IAC3B;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,GAAG,IAAI;CACR;AAQD;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACvD;;OAEG;IACH,OAAO,EAAE;QACP;;;;WAIG;QACH,KAAK,EAAE,kBAAkB,CAAC;QAC1B,IAAI,EAAE,OAAO,CAAC;KACf,GAAG;QACF;;;;WAIG;QACH,KAAK,EAA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AEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,cAAc,IAAI;CACnB;AASD;;GAEG;AACH,qBAAa,eAAgB,SAAQ,OAAO,CAAC,eAAe,CAAC;IAC3D;;OAEG;IACH,QAAQ,SAAM;gBAEF,IAAI,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC;IAKlD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,6BAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,eAAe;IAI3F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI1F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe;IAI9F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,OAAO;CAGvJ"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.js b/packages/javascript/dist/gen/livekit_rtc_pb.js deleted file mode 100644 index a19ce5d2..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.js +++ /dev/null @@ -1,2192 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; -var SignalTarget = /* @__PURE__ */ ((SignalTarget2) => { - SignalTarget2[SignalTarget2["PUBLISHER"] = 0] = "PUBLISHER"; - SignalTarget2[SignalTarget2["SUBSCRIBER"] = 1] = "SUBSCRIBER"; - return SignalTarget2; -})(SignalTarget || {}); -proto3.util.setEnumType(SignalTarget, "livekit.SignalTarget", [ - { no: 0, name: "PUBLISHER" }, - { no: 1, name: "SUBSCRIBER" } -]); -var StreamState = /* @__PURE__ */ ((StreamState2) => { - StreamState2[StreamState2["ACTIVE"] = 0] = "ACTIVE"; - StreamState2[StreamState2["PAUSED"] = 1] = "PAUSED"; - return StreamState2; -})(StreamState || {}); -proto3.util.setEnumType(StreamState, "livekit.StreamState", [ - { no: 0, name: "ACTIVE" }, - { no: 1, name: "PAUSED" } -]); -var CandidateProtocol = /* @__PURE__ */ ((CandidateProtocol2) => { - CandidateProtocol2[CandidateProtocol2["UDP"] = 0] = "UDP"; - CandidateProtocol2[CandidateProtocol2["TCP"] = 1] = "TCP"; - CandidateProtocol2[CandidateProtocol2["TLS"] = 2] = "TLS"; - return CandidateProtocol2; -})(CandidateProtocol || {}); -proto3.util.setEnumType(CandidateProtocol, "livekit.CandidateProtocol", [ - { no: 0, name: "UDP" }, - { no: 1, name: "TCP" }, - { no: 2, name: "TLS" } -]); -const _SignalRequest = class _SignalRequest extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SignalRequest.message - */ - this.message = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SignalRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SignalRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SignalRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SignalRequest, a, b); - } -}; -_SignalRequest.runtime = proto3; -_SignalRequest.typeName = "livekit.SignalRequest"; -_SignalRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, - { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, - { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, - { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, - { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, - { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, - { no: 14, name: "ping", kind: "scalar", T: 3, oneof: "message" }, - { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, - { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, - { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, - { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" } -]); -let SignalRequest = _SignalRequest; -const _SignalResponse = class _SignalResponse extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SignalResponse.message - */ - this.message = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SignalResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SignalResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SignalResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SignalResponse, a, b); - } -}; -_SignalResponse.runtime = proto3; -_SignalResponse.typeName = "livekit.SignalResponse"; -_SignalResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, - { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, - { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, - { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, - { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, - { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, - { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, - { no: 16, name: "refresh_token", kind: "scalar", T: 9, oneof: "message" }, - { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, - { no: 18, name: "pong", kind: "scalar", T: 3, oneof: "message" }, - { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, - { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, - { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, - { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, - { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" } -]); -let SignalResponse = _SignalResponse; -const _SimulcastCodec = class _SimulcastCodec extends Message { - constructor(data) { - super(); - /** - * @generated from field: string codec = 1; - */ - this.codec = ""; - /** - * @generated from field: string cid = 2; - */ - this.cid = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulcastCodec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulcastCodec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulcastCodec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SimulcastCodec, a, b); - } -}; -_SimulcastCodec.runtime = proto3; -_SimulcastCodec.typeName = "livekit.SimulcastCodec"; -_SimulcastCodec.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "codec", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SimulcastCodec = _SimulcastCodec; -const _AddTrackRequest = class _AddTrackRequest extends Message { - constructor(data) { - super(); - /** - * client ID of track, to match it when RTC track is received - * - * @generated from field: string cid = 1; - */ - this.cid = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * @generated from field: livekit.TrackType type = 3; - */ - this.type = TrackType.AUDIO; - /** - * to be deprecated in favor of layers - * - * @generated from field: uint32 width = 4; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 5; - */ - this.height = 0; - /** - * true to add track and initialize to muted - * - * @generated from field: bool muted = 6; - */ - this.muted = false; - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 7; - */ - this.disableDtx = false; - /** - * @generated from field: livekit.TrackSource source = 8; - */ - this.source = TrackSource.UNKNOWN; - /** - * @generated from field: repeated livekit.VideoLayer layers = 9; - */ - this.layers = []; - /** - * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; - */ - this.simulcastCodecs = []; - /** - * server ID of track, publish new codec to exist track - * - * @generated from field: string sid = 11; - */ - this.sid = ""; - /** - * @generated from field: bool stereo = 12; - */ - this.stereo = false; - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 13; - */ - this.disableRed = false; - /** - * @generated from field: livekit.Encryption.Type encryption = 14; - */ - this.encryption = Encryption_Type.NONE; - /** - * which stream the track belongs to, used to group tracks together. - * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together - * - * @generated from field: string stream = 15; - */ - this.stream = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _AddTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _AddTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _AddTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_AddTrackRequest, a, b); - } -}; -_AddTrackRequest.runtime = proto3; -_AddTrackRequest.typeName = "livekit.AddTrackRequest"; -_AddTrackRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, - { - no: 4, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 5, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 7, - name: "disable_dtx", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, - { - no: 11, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "stereo", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "disable_red", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { - no: 15, - name: "stream", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let AddTrackRequest = _AddTrackRequest; -const _TrickleRequest = class _TrickleRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string candidateInit = 1; - */ - this.candidateInit = ""; - /** - * @generated from field: livekit.SignalTarget target = 2; - */ - this.target = 0 /* PUBLISHER */; - /** - * @generated from field: bool final = 3; - */ - this.final = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrickleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrickleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrickleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrickleRequest, a, b); - } -}; -_TrickleRequest.runtime = proto3; -_TrickleRequest.typeName = "livekit.TrickleRequest"; -_TrickleRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "candidateInit", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, - { - no: 3, - name: "final", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let TrickleRequest = _TrickleRequest; -const _MuteTrackRequest = class _MuteTrackRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sid = 1; - */ - this.sid = ""; - /** - * @generated from field: bool muted = 2; - */ - this.muted = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _MuteTrackRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _MuteTrackRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _MuteTrackRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_MuteTrackRequest, a, b); - } -}; -_MuteTrackRequest.runtime = proto3; -_MuteTrackRequest.typeName = "livekit.MuteTrackRequest"; -_MuteTrackRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "muted", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let MuteTrackRequest = _MuteTrackRequest; -const _JoinResponse = class _JoinResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; - */ - this.otherParticipants = []; - /** - * deprecated. use server_info.version instead. - * - * @generated from field: string server_version = 4; - */ - this.serverVersion = ""; - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 5; - */ - this.iceServers = []; - /** - * use subscriber as the primary PeerConnection - * - * @generated from field: bool subscriber_primary = 6; - */ - this.subscriberPrimary = false; - /** - * when the current server isn't available, return alternate url to retry connection - * when this is set, the other fields will be largely empty - * - * @generated from field: string alternative_url = 7; - */ - this.alternativeUrl = ""; - /** - * deprecated. use server_info.region instead. - * - * @generated from field: string server_region = 9; - */ - this.serverRegion = ""; - /** - * @generated from field: int32 ping_timeout = 10; - */ - this.pingTimeout = 0; - /** - * @generated from field: int32 ping_interval = 11; - */ - this.pingInterval = 0; - /** - * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled - * - * @generated from field: bytes sif_trailer = 13; - */ - this.sifTrailer = new Uint8Array(0); - /** - * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; - */ - this.enabledPublishCodecs = []; - /** - * when set, client should attempt to establish publish peer connection when joining room to speed up publishing - * - * @generated from field: bool fast_publish = 15; - */ - this.fastPublish = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _JoinResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _JoinResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _JoinResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_JoinResponse, a, b); - } -}; -_JoinResponse.runtime = proto3; -_JoinResponse.typeName = "livekit.JoinResponse"; -_JoinResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: Room }, - { no: 2, name: "participant", kind: "message", T: ParticipantInfo }, - { no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true }, - { - no: 4, - name: "server_version", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { - no: 6, - name: "subscriber_primary", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 7, - name: "alternative_url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration }, - { - no: 9, - name: "server_region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "ping_timeout", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { - no: 11, - name: "ping_interval", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - }, - { no: 12, name: "server_info", kind: "message", T: ServerInfo }, - { - no: 13, - name: "sif_trailer", - kind: "scalar", - T: 12 - /* ScalarType.BYTES */ - }, - { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true }, - { - no: 15, - name: "fast_publish", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let JoinResponse = _JoinResponse; -const _ReconnectResponse = class _ReconnectResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 1; - */ - this.iceServers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ReconnectResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ReconnectResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ReconnectResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ReconnectResponse, a, b); - } -}; -_ReconnectResponse.runtime = proto3; -_ReconnectResponse.typeName = "livekit.ReconnectResponse"; -_ReconnectResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration } -]); -let ReconnectResponse = _ReconnectResponse; -const _TrackPublishedResponse = class _TrackPublishedResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string cid = 1; - */ - this.cid = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackPublishedResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackPublishedResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackPublishedResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackPublishedResponse, a, b); - } -}; -_TrackPublishedResponse.runtime = proto3; -_TrackPublishedResponse.typeName = "livekit.TrackPublishedResponse"; -_TrackPublishedResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "cid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "track", kind: "message", T: TrackInfo } -]); -let TrackPublishedResponse = _TrackPublishedResponse; -const _TrackUnpublishedResponse = class _TrackUnpublishedResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackUnpublishedResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackUnpublishedResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackUnpublishedResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackUnpublishedResponse, a, b); - } -}; -_TrackUnpublishedResponse.runtime = proto3; -_TrackUnpublishedResponse.typeName = "livekit.TrackUnpublishedResponse"; -_TrackUnpublishedResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackUnpublishedResponse = _TrackUnpublishedResponse; -const _SessionDescription = class _SessionDescription extends Message { - constructor(data) { - super(); - /** - * "answer" | "offer" | "pranswer" | "rollback" - * - * @generated from field: string type = 1; - */ - this.type = ""; - /** - * @generated from field: string sdp = 2; - */ - this.sdp = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SessionDescription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SessionDescription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SessionDescription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SessionDescription, a, b); - } -}; -_SessionDescription.runtime = proto3; -_SessionDescription.typeName = "livekit.SessionDescription"; -_SessionDescription.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "type", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sdp", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SessionDescription = _SessionDescription; -const _ParticipantUpdate = class _ParticipantUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - this.participants = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ParticipantUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ParticipantUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ParticipantUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ParticipantUpdate, a, b); - } -}; -_ParticipantUpdate.runtime = proto3; -_ParticipantUpdate.typeName = "livekit.ParticipantUpdate"; -_ParticipantUpdate.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true } -]); -let ParticipantUpdate = _ParticipantUpdate; -const _UpdateSubscription = class _UpdateSubscription extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string track_sids = 1; - */ - this.trackSids = []; - /** - * @generated from field: bool subscribe = 2; - */ - this.subscribe = false; - /** - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; - */ - this.participantTracks = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateSubscription().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateSubscription().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateSubscription().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateSubscription, a, b); - } -}; -_UpdateSubscription.runtime = proto3; -_UpdateSubscription.typeName = "livekit.UpdateSubscription"; -_UpdateSubscription.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "subscribe", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true } -]); -let UpdateSubscription = _UpdateSubscription; -const _UpdateTrackSettings = class _UpdateTrackSettings extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string track_sids = 1; - */ - this.trackSids = []; - /** - * when true, the track is placed in a paused state, with no new data returned - * - * @generated from field: bool disabled = 3; - */ - this.disabled = false; - /** - * deprecated in favor of width & height - * - * @generated from field: livekit.VideoQuality quality = 4; - */ - this.quality = VideoQuality.LOW; - /** - * for video, width to receive - * - * @generated from field: uint32 width = 5; - */ - this.width = 0; - /** - * for video, height to receive - * - * @generated from field: uint32 height = 6; - */ - this.height = 0; - /** - * @generated from field: uint32 fps = 7; - */ - this.fps = 0; - /** - * subscription priority. 1 being the highest (0 is unset) - * when unset, server sill assign priority based on the order of subscription - * server will use priority in the following ways: - * 1. when subscribed tracks exceed per-participant subscription limit, server will - * pause the lowest priority tracks - * 2. when the network is congested, server will assign available bandwidth to - * higher priority tracks first. lowest priority tracks can be paused - * - * @generated from field: uint32 priority = 8; - */ - this.priority = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateTrackSettings().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateTrackSettings().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateTrackSettings().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateTrackSettings, a, b); - } -}; -_UpdateTrackSettings.runtime = proto3; -_UpdateTrackSettings.typeName = "livekit.UpdateTrackSettings"; -_UpdateTrackSettings.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "disabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { - no: 5, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 6, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 7, - name: "fps", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 8, - name: "priority", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateTrackSettings = _UpdateTrackSettings; -const _UpdateLocalAudioTrack = class _UpdateLocalAudioTrack extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.AudioTrackFeature features = 2; - */ - this.features = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLocalAudioTrack().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLocalAudioTrack().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLocalAudioTrack().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateLocalAudioTrack, a, b); - } -}; -_UpdateLocalAudioTrack.runtime = proto3; -_UpdateLocalAudioTrack.typeName = "livekit.UpdateLocalAudioTrack"; -_UpdateLocalAudioTrack.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true } -]); -let UpdateLocalAudioTrack = _UpdateLocalAudioTrack; -const _UpdateLocalVideoTrack = class _UpdateLocalVideoTrack extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: uint32 width = 2; - */ - this.width = 0; - /** - * @generated from field: uint32 height = 3; - */ - this.height = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateLocalVideoTrack().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateLocalVideoTrack().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateLocalVideoTrack().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateLocalVideoTrack, a, b); - } -}; -_UpdateLocalVideoTrack.runtime = proto3; -_UpdateLocalVideoTrack.typeName = "livekit.UpdateLocalVideoTrack"; -_UpdateLocalVideoTrack.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "width", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { - no: 3, - name: "height", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateLocalVideoTrack = _UpdateLocalVideoTrack; -const _LeaveRequest = class _LeaveRequest extends Message { - constructor(data) { - super(); - /** - * sent when server initiates the disconnect due to server-restart - * indicates clients should attempt full-reconnect sequence - * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - * - * @generated from field: bool can_reconnect = 1; - */ - this.canReconnect = false; - /** - * @generated from field: livekit.DisconnectReason reason = 2; - */ - this.reason = DisconnectReason.UNKNOWN_REASON; - /** - * @generated from field: livekit.LeaveRequest.Action action = 3; - */ - this.action = 0 /* DISCONNECT */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _LeaveRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _LeaveRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _LeaveRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_LeaveRequest, a, b); - } -}; -_LeaveRequest.runtime = proto3; -_LeaveRequest.typeName = "livekit.LeaveRequest"; -_LeaveRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "can_reconnect", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, - { no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) }, - { no: 4, name: "regions", kind: "message", T: RegionSettings } -]); -let LeaveRequest = _LeaveRequest; -var LeaveRequest_Action = /* @__PURE__ */ ((LeaveRequest_Action2) => { - LeaveRequest_Action2[LeaveRequest_Action2["DISCONNECT"] = 0] = "DISCONNECT"; - LeaveRequest_Action2[LeaveRequest_Action2["RESUME"] = 1] = "RESUME"; - LeaveRequest_Action2[LeaveRequest_Action2["RECONNECT"] = 2] = "RECONNECT"; - return LeaveRequest_Action2; -})(LeaveRequest_Action || {}); -proto3.util.setEnumType(LeaveRequest_Action, "livekit.LeaveRequest.Action", [ - { no: 0, name: "DISCONNECT" }, - { no: 1, name: "RESUME" }, - { no: 2, name: "RECONNECT" } -]); -const _UpdateVideoLayers = class _UpdateVideoLayers extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.VideoLayer layers = 2; - */ - this.layers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateVideoLayers().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateVideoLayers().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateVideoLayers().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateVideoLayers, a, b); - } -}; -_UpdateVideoLayers.runtime = proto3; -_UpdateVideoLayers.typeName = "livekit.UpdateVideoLayers"; -_UpdateVideoLayers.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true } -]); -let UpdateVideoLayers = _UpdateVideoLayers; -const _UpdateParticipantMetadata = class _UpdateParticipantMetadata extends Message { - constructor(data) { - super(); - /** - * @generated from field: string metadata = 1; - */ - this.metadata = ""; - /** - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 3; - */ - this.attributes = {}; - /** - * @generated from field: uint32 request_id = 4; - */ - this.requestId = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _UpdateParticipantMetadata().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _UpdateParticipantMetadata().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _UpdateParticipantMetadata().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_UpdateParticipantMetadata, a, b); - } -}; -_UpdateParticipantMetadata.runtime = proto3; -_UpdateParticipantMetadata.typeName = "livekit.UpdateParticipantMetadata"; -_UpdateParticipantMetadata.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 4, - name: "request_id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - } -]); -let UpdateParticipantMetadata = _UpdateParticipantMetadata; -const _ICEServer = class _ICEServer extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated string urls = 1; - */ - this.urls = []; - /** - * @generated from field: string username = 2; - */ - this.username = ""; - /** - * @generated from field: string credential = 3; - */ - this.credential = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ICEServer().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ICEServer().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ICEServer().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ICEServer, a, b); - } -}; -_ICEServer.runtime = proto3; -_ICEServer.typeName = "livekit.ICEServer"; -_ICEServer.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "urls", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "credential", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let ICEServer = _ICEServer; -const _SpeakersChanged = class _SpeakersChanged extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - this.speakers = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SpeakersChanged().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SpeakersChanged().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SpeakersChanged().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SpeakersChanged, a, b); - } -}; -_SpeakersChanged.runtime = proto3; -_SpeakersChanged.typeName = "livekit.SpeakersChanged"; -_SpeakersChanged.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true } -]); -let SpeakersChanged = _SpeakersChanged; -const _RoomUpdate = class _RoomUpdate extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RoomUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RoomUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RoomUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RoomUpdate, a, b); - } -}; -_RoomUpdate.runtime = proto3; -_RoomUpdate.typeName = "livekit.RoomUpdate"; -_RoomUpdate.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "room", kind: "message", T: Room } -]); -let RoomUpdate = _RoomUpdate; -const _ConnectionQualityInfo = class _ConnectionQualityInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: livekit.ConnectionQuality quality = 2; - */ - this.quality = ConnectionQuality.POOR; - /** - * @generated from field: float score = 3; - */ - this.score = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ConnectionQualityInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ConnectionQualityInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ConnectionQualityInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ConnectionQualityInfo, a, b); - } -}; -_ConnectionQualityInfo.runtime = proto3; -_ConnectionQualityInfo.typeName = "livekit.ConnectionQualityInfo"; -_ConnectionQualityInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) }, - { - no: 3, - name: "score", - kind: "scalar", - T: 2 - /* ScalarType.FLOAT */ - } -]); -let ConnectionQualityInfo = _ConnectionQualityInfo; -const _ConnectionQualityUpdate = class _ConnectionQualityUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; - */ - this.updates = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ConnectionQualityUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ConnectionQualityUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ConnectionQualityUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ConnectionQualityUpdate, a, b); - } -}; -_ConnectionQualityUpdate.runtime = proto3; -_ConnectionQualityUpdate.typeName = "livekit.ConnectionQualityUpdate"; -_ConnectionQualityUpdate.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true } -]); -let ConnectionQualityUpdate = _ConnectionQualityUpdate; -const _StreamStateInfo = class _StreamStateInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: string track_sid = 2; - */ - this.trackSid = ""; - /** - * @generated from field: livekit.StreamState state = 3; - */ - this.state = 0 /* ACTIVE */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamStateInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamStateInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamStateInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StreamStateInfo, a, b); - } -}; -_StreamStateInfo.runtime = proto3; -_StreamStateInfo.typeName = "livekit.StreamStateInfo"; -_StreamStateInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) } -]); -let StreamStateInfo = _StreamStateInfo; -const _StreamStateUpdate = class _StreamStateUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; - */ - this.streamStates = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _StreamStateUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _StreamStateUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _StreamStateUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_StreamStateUpdate, a, b); - } -}; -_StreamStateUpdate.runtime = proto3; -_StreamStateUpdate.typeName = "livekit.StreamStateUpdate"; -_StreamStateUpdate.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true } -]); -let StreamStateUpdate = _StreamStateUpdate; -const _SubscribedQuality = class _SubscribedQuality extends Message { - constructor(data) { - super(); - /** - * @generated from field: livekit.VideoQuality quality = 1; - */ - this.quality = VideoQuality.LOW; - /** - * @generated from field: bool enabled = 2; - */ - this.enabled = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedQuality().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedQuality().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedQuality().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscribedQuality, a, b); - } -}; -_SubscribedQuality.runtime = proto3; -_SubscribedQuality.typeName = "livekit.SubscribedQuality"; -_SubscribedQuality.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { - no: 2, - name: "enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SubscribedQuality = _SubscribedQuality; -const _SubscribedCodec = class _SubscribedCodec extends Message { - constructor(data) { - super(); - /** - * @generated from field: string codec = 1; - */ - this.codec = ""; - /** - * @generated from field: repeated livekit.SubscribedQuality qualities = 2; - */ - this.qualities = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedCodec().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedCodec().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedCodec().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscribedCodec, a, b); - } -}; -_SubscribedCodec.runtime = proto3; -_SubscribedCodec.typeName = "livekit.SubscribedCodec"; -_SubscribedCodec.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "codec", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true } -]); -let SubscribedCodec = _SubscribedCodec; -const _SubscribedQualityUpdate = class _SubscribedQualityUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; - */ - this.subscribedQualities = []; - /** - * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; - */ - this.subscribedCodecs = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscribedQualityUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscribedQualityUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscribedQualityUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscribedQualityUpdate, a, b); - } -}; -_SubscribedQualityUpdate.runtime = proto3; -_SubscribedQualityUpdate.typeName = "livekit.SubscribedQualityUpdate"; -_SubscribedQualityUpdate.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, - { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true } -]); -let SubscribedQualityUpdate = _SubscribedQualityUpdate; -const _TrackPermission = class _TrackPermission extends Message { - constructor(data) { - super(); - /** - * permission could be granted either by participant sid or identity - * - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: bool all_tracks = 2; - */ - this.allTracks = false; - /** - * @generated from field: repeated string track_sids = 3; - */ - this.trackSids = []; - /** - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackPermission, a, b); - } -}; -_TrackPermission.runtime = proto3; -_TrackPermission.typeName = "livekit.TrackPermission"; -_TrackPermission.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "all_tracks", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 3, name: "track_sids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackPermission = _TrackPermission; -const _SubscriptionPermission = class _SubscriptionPermission extends Message { - constructor(data) { - super(); - /** - * @generated from field: bool all_participants = 1; - */ - this.allParticipants = false; - /** - * @generated from field: repeated livekit.TrackPermission track_permissions = 2; - */ - this.trackPermissions = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionPermission().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionPermission().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionPermission().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscriptionPermission, a, b); - } -}; -_SubscriptionPermission.runtime = proto3; -_SubscriptionPermission.typeName = "livekit.SubscriptionPermission"; -_SubscriptionPermission.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "all_participants", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true } -]); -let SubscriptionPermission = _SubscriptionPermission; -const _SubscriptionPermissionUpdate = class _SubscriptionPermissionUpdate extends Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_sid = 1; - */ - this.participantSid = ""; - /** - * @generated from field: string track_sid = 2; - */ - this.trackSid = ""; - /** - * @generated from field: bool allowed = 3; - */ - this.allowed = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionPermissionUpdate().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionPermissionUpdate().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionPermissionUpdate().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscriptionPermissionUpdate, a, b); - } -}; -_SubscriptionPermissionUpdate.runtime = proto3; -_SubscriptionPermissionUpdate.typeName = "livekit.SubscriptionPermissionUpdate"; -_SubscriptionPermissionUpdate.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "allowed", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SubscriptionPermissionUpdate = _SubscriptionPermissionUpdate; -const _SyncState = class _SyncState extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; - */ - this.publishTracks = []; - /** - * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; - */ - this.dataChannels = []; - /** - * @generated from field: repeated string track_sids_disabled = 6; - */ - this.trackSidsDisabled = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SyncState().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SyncState().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SyncState().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SyncState, a, b); - } -}; -_SyncState.runtime = proto3; -_SyncState.typeName = "livekit.SyncState"; -_SyncState.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "answer", kind: "message", T: SessionDescription }, - { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, - { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, - { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, - { no: 5, name: "offer", kind: "message", T: SessionDescription }, - { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true } -]); -let SyncState = _SyncState; -const _DataChannelInfo = class _DataChannelInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string label = 1; - */ - this.label = ""; - /** - * @generated from field: uint32 id = 2; - */ - this.id = 0; - /** - * @generated from field: livekit.SignalTarget target = 3; - */ - this.target = 0 /* PUBLISHER */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DataChannelInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DataChannelInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DataChannelInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DataChannelInfo, a, b); - } -}; -_DataChannelInfo.runtime = proto3; -_DataChannelInfo.typeName = "livekit.DataChannelInfo"; -_DataChannelInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "label", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) } -]); -let DataChannelInfo = _DataChannelInfo; -const _SimulateScenario = class _SimulateScenario extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SimulateScenario.scenario - */ - this.scenario = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SimulateScenario().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SimulateScenario().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SimulateScenario().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SimulateScenario, a, b); - } -}; -_SimulateScenario.runtime = proto3; -_SimulateScenario.typeName = "livekit.SimulateScenario"; -_SimulateScenario.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "speaker_update", kind: "scalar", T: 5, oneof: "scenario" }, - { no: 2, name: "node_failure", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 3, name: "migration", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 4, name: "server_leave", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, - { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3, oneof: "scenario" }, - { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8, oneof: "scenario" }, - { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8, oneof: "scenario" } -]); -let SimulateScenario = _SimulateScenario; -const _Ping = class _Ping extends Message { - constructor(data) { - super(); - /** - * @generated from field: int64 timestamp = 1; - */ - this.timestamp = protoInt64.zero; - /** - * rtt in milliseconds calculated by client - * - * @generated from field: int64 rtt = 2; - */ - this.rtt = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Ping().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Ping().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Ping().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Ping, a, b); - } -}; -_Ping.runtime = proto3; -_Ping.typeName = "livekit.Ping"; -_Ping.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "rtt", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let Ping = _Ping; -const _Pong = class _Pong extends Message { - constructor(data) { - super(); - /** - * timestamp field of last received ping request - * - * @generated from field: int64 last_ping_timestamp = 1; - */ - this.lastPingTimestamp = protoInt64.zero; - /** - * @generated from field: int64 timestamp = 2; - */ - this.timestamp = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _Pong().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _Pong().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _Pong().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_Pong, a, b); - } -}; -_Pong.runtime = proto3; -_Pong.typeName = "livekit.Pong"; -_Pong.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "last_ping_timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 2, - name: "timestamp", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let Pong = _Pong; -const _RegionSettings = class _RegionSettings extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.RegionInfo regions = 1; - */ - this.regions = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegionSettings().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegionSettings().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegionSettings().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RegionSettings, a, b); - } -}; -_RegionSettings.runtime = proto3; -_RegionSettings.typeName = "livekit.RegionSettings"; -_RegionSettings.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true } -]); -let RegionSettings = _RegionSettings; -const _RegionInfo = class _RegionInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string region = 1; - */ - this.region = ""; - /** - * @generated from field: string url = 2; - */ - this.url = ""; - /** - * @generated from field: int64 distance = 3; - */ - this.distance = protoInt64.zero; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RegionInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RegionInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RegionInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RegionInfo, a, b); - } -}; -_RegionInfo.runtime = proto3; -_RegionInfo.typeName = "livekit.RegionInfo"; -_RegionInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "region", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "url", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "distance", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - } -]); -let RegionInfo = _RegionInfo; -const _SubscriptionResponse = class _SubscriptionResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - /** - * @generated from field: livekit.SubscriptionError err = 2; - */ - this.err = SubscriptionError.SE_UNKNOWN; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SubscriptionResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SubscriptionResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SubscriptionResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SubscriptionResponse, a, b); - } -}; -_SubscriptionResponse.runtime = proto3; -_SubscriptionResponse.typeName = "livekit.SubscriptionResponse"; -_SubscriptionResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) } -]); -let SubscriptionResponse = _SubscriptionResponse; -const _RequestResponse = class _RequestResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: uint32 request_id = 1; - */ - this.requestId = 0; - /** - * @generated from field: livekit.RequestResponse.Reason reason = 2; - */ - this.reason = 0 /* OK */; - /** - * @generated from field: string message = 3; - */ - this.message = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _RequestResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _RequestResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _RequestResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_RequestResponse, a, b); - } -}; -_RequestResponse.runtime = proto3; -_RequestResponse.typeName = "livekit.RequestResponse"; -_RequestResponse.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "request_id", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) }, - { - no: 3, - name: "message", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let RequestResponse = _RequestResponse; -var RequestResponse_Reason = /* @__PURE__ */ ((RequestResponse_Reason2) => { - RequestResponse_Reason2[RequestResponse_Reason2["OK"] = 0] = "OK"; - RequestResponse_Reason2[RequestResponse_Reason2["NOT_FOUND"] = 1] = "NOT_FOUND"; - RequestResponse_Reason2[RequestResponse_Reason2["NOT_ALLOWED"] = 2] = "NOT_ALLOWED"; - RequestResponse_Reason2[RequestResponse_Reason2["LIMIT_EXCEEDED"] = 3] = "LIMIT_EXCEEDED"; - return RequestResponse_Reason2; -})(RequestResponse_Reason || {}); -proto3.util.setEnumType(RequestResponse_Reason, "livekit.RequestResponse.Reason", [ - { no: 0, name: "OK" }, - { no: 1, name: "NOT_FOUND" }, - { no: 2, name: "NOT_ALLOWED" }, - { no: 3, name: "LIMIT_EXCEEDED" } -]); -const _TrackSubscribed = class _TrackSubscribed extends Message { - constructor(data) { - super(); - /** - * @generated from field: string track_sid = 1; - */ - this.trackSid = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TrackSubscribed().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TrackSubscribed().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TrackSubscribed().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TrackSubscribed, a, b); - } -}; -_TrackSubscribed.runtime = proto3; -_TrackSubscribed.typeName = "livekit.TrackSubscribed"; -_TrackSubscribed.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "track_sid", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let TrackSubscribed = _TrackSubscribed; -export { - AddTrackRequest, - CandidateProtocol, - ConnectionQualityInfo, - ConnectionQualityUpdate, - DataChannelInfo, - ICEServer, - JoinResponse, - LeaveRequest, - LeaveRequest_Action, - MuteTrackRequest, - ParticipantUpdate, - Ping, - Pong, - ReconnectResponse, - RegionInfo, - RegionSettings, - RequestResponse, - RequestResponse_Reason, - RoomUpdate, - SessionDescription, - SignalRequest, - SignalResponse, - SignalTarget, - SimulateScenario, - SimulcastCodec, - SpeakersChanged, - StreamState, - StreamStateInfo, - StreamStateUpdate, - SubscribedCodec, - SubscribedQuality, - SubscribedQualityUpdate, - SubscriptionPermission, - SubscriptionPermissionUpdate, - SubscriptionResponse, - SyncState, - TrackPermission, - TrackPublishedResponse, - TrackSubscribed, - TrackUnpublishedResponse, - TrickleRequest, - UpdateLocalAudioTrack, - UpdateLocalVideoTrack, - UpdateParticipantMetadata, - UpdateSubscription, - UpdateTrackSettings, - UpdateVideoLayers -}; -//# sourceMappingURL=livekit_rtc_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_rtc_pb.js.map b/packages/javascript/dist/gen/livekit_rtc_pb.js.map deleted file mode 100644 index 9f116bc1..00000000 --- a/packages/javascript/dist/gen/livekit_rtc_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_rtc_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_rtc.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SignalTarget\n */\nexport enum SignalTarget {\n /**\n * @generated from enum value: PUBLISHER = 0;\n */\n PUBLISHER = 0,\n\n /**\n * @generated from enum value: SUBSCRIBER = 1;\n */\n SUBSCRIBER = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SignalTarget)\nproto3.util.setEnumType(SignalTarget, \"livekit.SignalTarget\", [\n { no: 0, name: \"PUBLISHER\" },\n { no: 1, name: \"SUBSCRIBER\" },\n]);\n\n/**\n * @generated from enum livekit.StreamState\n */\nexport enum StreamState {\n /**\n * @generated from enum value: ACTIVE = 0;\n */\n ACTIVE = 0,\n\n /**\n * @generated from enum value: PAUSED = 1;\n */\n PAUSED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(StreamState)\nproto3.util.setEnumType(StreamState, \"livekit.StreamState\", [\n { no: 0, name: \"ACTIVE\" },\n { no: 1, name: \"PAUSED\" },\n]);\n\n/**\n * @generated from enum livekit.CandidateProtocol\n */\nexport enum CandidateProtocol {\n /**\n * @generated from enum value: UDP = 0;\n */\n UDP = 0,\n\n /**\n * @generated from enum value: TCP = 1;\n */\n TCP = 1,\n\n /**\n * @generated from enum value: TLS = 2;\n */\n TLS = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(CandidateProtocol)\nproto3.util.setEnumType(CandidateProtocol, \"livekit.CandidateProtocol\", [\n { no: 0, name: \"UDP\" },\n { no: 1, name: \"TCP\" },\n { no: 2, name: \"TLS\" },\n]);\n\n/**\n * @generated from message livekit.SignalRequest\n */\nexport class SignalRequest extends Message {\n /**\n * @generated from oneof livekit.SignalRequest.message\n */\n message: {\n /**\n * initial join exchange, for publisher\n *\n * @generated from field: livekit.SessionDescription offer = 1;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * participant answering publisher offer\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * @generated from field: livekit.TrickleRequest trickle = 3;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * @generated from field: livekit.AddTrackRequest add_track = 4;\n */\n value: AddTrackRequest;\n case: \"addTrack\";\n } | {\n /**\n * mute the participant's published tracks\n *\n * @generated from field: livekit.MuteTrackRequest mute = 5;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * Subscribe or unsubscribe from tracks\n *\n * @generated from field: livekit.UpdateSubscription subscription = 6;\n */\n value: UpdateSubscription;\n case: \"subscription\";\n } | {\n /**\n * Update settings of subscribed tracks\n *\n * @generated from field: livekit.UpdateTrackSettings track_setting = 7;\n */\n value: UpdateTrackSettings;\n case: \"trackSetting\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * Update published video layers\n *\n * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true];\n * @deprecated\n */\n value: UpdateVideoLayers;\n case: \"updateLayers\";\n } | {\n /**\n * Update subscriber permissions\n *\n * @generated from field: livekit.SubscriptionPermission subscription_permission = 11;\n */\n value: SubscriptionPermission;\n case: \"subscriptionPermission\";\n } | {\n /**\n * sync client's subscribe state to server during reconnect\n *\n * @generated from field: livekit.SyncState sync_state = 12;\n */\n value: SyncState;\n case: \"syncState\";\n } | {\n /**\n * Simulate conditions, for client validations\n *\n * @generated from field: livekit.SimulateScenario simulate = 13;\n */\n value: SimulateScenario;\n case: \"simulate\";\n } | {\n /**\n * client triggered ping to server\n *\n * deprecated by ping_req (message Ping)\n *\n * @generated from field: int64 ping = 14;\n */\n value: bigint;\n case: \"ping\";\n } | {\n /**\n * update a participant's own metadata, name, or attributes\n * requires canUpdateOwnParticipantMetadata permission\n *\n * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15;\n */\n value: UpdateParticipantMetadata;\n case: \"updateMetadata\";\n } | {\n /**\n * @generated from field: livekit.Ping ping_req = 16;\n */\n value: Ping;\n case: \"pingReq\";\n } | {\n /**\n * Update local audio track settings\n *\n * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17;\n */\n value: UpdateLocalAudioTrack;\n case: \"updateAudioTrack\";\n } | {\n /**\n * Update local video track settings\n *\n * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18;\n */\n value: UpdateLocalVideoTrack;\n case: \"updateVideoTrack\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 4, name: \"add_track\", kind: \"message\", T: AddTrackRequest, oneof: \"message\" },\n { no: 5, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 6, name: \"subscription\", kind: \"message\", T: UpdateSubscription, oneof: \"message\" },\n { no: 7, name: \"track_setting\", kind: \"message\", T: UpdateTrackSettings, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 10, name: \"update_layers\", kind: \"message\", T: UpdateVideoLayers, oneof: \"message\" },\n { no: 11, name: \"subscription_permission\", kind: \"message\", T: SubscriptionPermission, oneof: \"message\" },\n { no: 12, name: \"sync_state\", kind: \"message\", T: SyncState, oneof: \"message\" },\n { no: 13, name: \"simulate\", kind: \"message\", T: SimulateScenario, oneof: \"message\" },\n { no: 14, name: \"ping\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 15, name: \"update_metadata\", kind: \"message\", T: UpdateParticipantMetadata, oneof: \"message\" },\n { no: 16, name: \"ping_req\", kind: \"message\", T: Ping, oneof: \"message\" },\n { no: 17, name: \"update_audio_track\", kind: \"message\", T: UpdateLocalAudioTrack, oneof: \"message\" },\n { no: 18, name: \"update_video_track\", kind: \"message\", T: UpdateLocalVideoTrack, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest {\n return new SignalRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest {\n return new SignalRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalRequest {\n return new SignalRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SignalResponse\n */\nexport class SignalResponse extends Message {\n /**\n * @generated from oneof livekit.SignalResponse.message\n */\n message: {\n /**\n * sent when join is accepted\n *\n * @generated from field: livekit.JoinResponse join = 1;\n */\n value: JoinResponse;\n case: \"join\";\n } | {\n /**\n * sent when server answers publisher\n *\n * @generated from field: livekit.SessionDescription answer = 2;\n */\n value: SessionDescription;\n case: \"answer\";\n } | {\n /**\n * sent when server is sending subscriber an offer\n *\n * @generated from field: livekit.SessionDescription offer = 3;\n */\n value: SessionDescription;\n case: \"offer\";\n } | {\n /**\n * sent when an ICE candidate is available\n *\n * @generated from field: livekit.TrickleRequest trickle = 4;\n */\n value: TrickleRequest;\n case: \"trickle\";\n } | {\n /**\n * sent when participants in the room has changed\n *\n * @generated from field: livekit.ParticipantUpdate update = 5;\n */\n value: ParticipantUpdate;\n case: \"update\";\n } | {\n /**\n * sent to the participant when their track has been published\n *\n * @generated from field: livekit.TrackPublishedResponse track_published = 6;\n */\n value: TrackPublishedResponse;\n case: \"trackPublished\";\n } | {\n /**\n * Immediately terminate session\n *\n * @generated from field: livekit.LeaveRequest leave = 8;\n */\n value: LeaveRequest;\n case: \"leave\";\n } | {\n /**\n * server initiated mute\n *\n * @generated from field: livekit.MuteTrackRequest mute = 9;\n */\n value: MuteTrackRequest;\n case: \"mute\";\n } | {\n /**\n * indicates changes to speaker status, including when they've gone to not speaking\n *\n * @generated from field: livekit.SpeakersChanged speakers_changed = 10;\n */\n value: SpeakersChanged;\n case: \"speakersChanged\";\n } | {\n /**\n * sent when metadata of the room has changed\n *\n * @generated from field: livekit.RoomUpdate room_update = 11;\n */\n value: RoomUpdate;\n case: \"roomUpdate\";\n } | {\n /**\n * when connection quality changed\n *\n * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12;\n */\n value: ConnectionQualityUpdate;\n case: \"connectionQuality\";\n } | {\n /**\n * when streamed tracks state changed, used to notify when any of the streams were paused due to\n * congestion\n *\n * @generated from field: livekit.StreamStateUpdate stream_state_update = 13;\n */\n value: StreamStateUpdate;\n case: \"streamStateUpdate\";\n } | {\n /**\n * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers\n *\n * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14;\n */\n value: SubscribedQualityUpdate;\n case: \"subscribedQualityUpdate\";\n } | {\n /**\n * when subscription permission changed\n *\n * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15;\n */\n value: SubscriptionPermissionUpdate;\n case: \"subscriptionPermissionUpdate\";\n } | {\n /**\n * update the token the client was using, to prevent an active client from using an expired token\n *\n * @generated from field: string refresh_token = 16;\n */\n value: string;\n case: \"refreshToken\";\n } | {\n /**\n * server initiated track unpublish\n *\n * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17;\n */\n value: TrackUnpublishedResponse;\n case: \"trackUnpublished\";\n } | {\n /**\n * respond to ping\n *\n * deprecated by pong_resp (message Pong)\n *\n * @generated from field: int64 pong = 18;\n */\n value: bigint;\n case: \"pong\";\n } | {\n /**\n * sent when client reconnects\n *\n * @generated from field: livekit.ReconnectResponse reconnect = 19;\n */\n value: ReconnectResponse;\n case: \"reconnect\";\n } | {\n /**\n * respond to Ping\n *\n * @generated from field: livekit.Pong pong_resp = 20;\n */\n value: Pong;\n case: \"pongResp\";\n } | {\n /**\n * Subscription response, client should not expect any media from this subscription if it fails\n *\n * @generated from field: livekit.SubscriptionResponse subscription_response = 21;\n */\n value: SubscriptionResponse;\n case: \"subscriptionResponse\";\n } | {\n /**\n * Response relating to user inititated requests that carry a `request_id`\n *\n * @generated from field: livekit.RequestResponse request_response = 22;\n */\n value: RequestResponse;\n case: \"requestResponse\";\n } | {\n /**\n * notify to the publisher when a published track has been subscribed for the first time\n *\n * @generated from field: livekit.TrackSubscribed track_subscribed = 23;\n */\n value: TrackSubscribed;\n case: \"trackSubscribed\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SignalResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"join\", kind: \"message\", T: JoinResponse, oneof: \"message\" },\n { no: 2, name: \"answer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 3, name: \"offer\", kind: \"message\", T: SessionDescription, oneof: \"message\" },\n { no: 4, name: \"trickle\", kind: \"message\", T: TrickleRequest, oneof: \"message\" },\n { no: 5, name: \"update\", kind: \"message\", T: ParticipantUpdate, oneof: \"message\" },\n { no: 6, name: \"track_published\", kind: \"message\", T: TrackPublishedResponse, oneof: \"message\" },\n { no: 8, name: \"leave\", kind: \"message\", T: LeaveRequest, oneof: \"message\" },\n { no: 9, name: \"mute\", kind: \"message\", T: MuteTrackRequest, oneof: \"message\" },\n { no: 10, name: \"speakers_changed\", kind: \"message\", T: SpeakersChanged, oneof: \"message\" },\n { no: 11, name: \"room_update\", kind: \"message\", T: RoomUpdate, oneof: \"message\" },\n { no: 12, name: \"connection_quality\", kind: \"message\", T: ConnectionQualityUpdate, oneof: \"message\" },\n { no: 13, name: \"stream_state_update\", kind: \"message\", T: StreamStateUpdate, oneof: \"message\" },\n { no: 14, name: \"subscribed_quality_update\", kind: \"message\", T: SubscribedQualityUpdate, oneof: \"message\" },\n { no: 15, name: \"subscription_permission_update\", kind: \"message\", T: SubscriptionPermissionUpdate, oneof: \"message\" },\n { no: 16, name: \"refresh_token\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, oneof: \"message\" },\n { no: 17, name: \"track_unpublished\", kind: \"message\", T: TrackUnpublishedResponse, oneof: \"message\" },\n { no: 18, name: \"pong\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"message\" },\n { no: 19, name: \"reconnect\", kind: \"message\", T: ReconnectResponse, oneof: \"message\" },\n { no: 20, name: \"pong_resp\", kind: \"message\", T: Pong, oneof: \"message\" },\n { no: 21, name: \"subscription_response\", kind: \"message\", T: SubscriptionResponse, oneof: \"message\" },\n { no: 22, name: \"request_response\", kind: \"message\", T: RequestResponse, oneof: \"message\" },\n { no: 23, name: \"track_subscribed\", kind: \"message\", T: TrackSubscribed, oneof: \"message\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse {\n return new SignalResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse {\n return new SignalResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SignalResponse {\n return new SignalResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SignalResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulcastCodec\n */\nexport class SimulcastCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: string cid = 2;\n */\n cid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulcastCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec {\n return new SimulcastCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulcastCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.AddTrackRequest\n */\nexport class AddTrackRequest extends Message {\n /**\n * client ID of track, to match it when RTC track is received\n *\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * @generated from field: livekit.TrackType type = 3;\n */\n type = TrackType.AUDIO;\n\n /**\n * to be deprecated in favor of layers\n *\n * @generated from field: uint32 width = 4;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 5;\n */\n height = 0;\n\n /**\n * true to add track and initialize to muted\n *\n * @generated from field: bool muted = 6;\n */\n muted = false;\n\n /**\n * true if DTX (Discontinuous Transmission) is disabled for audio\n *\n * @generated from field: bool disable_dtx = 7;\n */\n disableDtx = false;\n\n /**\n * @generated from field: livekit.TrackSource source = 8;\n */\n source = TrackSource.UNKNOWN;\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 9;\n */\n layers: VideoLayer[] = [];\n\n /**\n * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10;\n */\n simulcastCodecs: SimulcastCodec[] = [];\n\n /**\n * server ID of track, publish new codec to exist track\n *\n * @generated from field: string sid = 11;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool stereo = 12;\n */\n stereo = false;\n\n /**\n * true if RED (Redundant Encoding) is disabled for audio\n *\n * @generated from field: bool disable_red = 13;\n */\n disableRed = false;\n\n /**\n * @generated from field: livekit.Encryption.Type encryption = 14;\n */\n encryption = Encryption_Type.NONE;\n\n /**\n * which stream the track belongs to, used to group tracks together.\n * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together\n *\n * @generated from field: string stream = 15;\n */\n stream = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.AddTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"type\", kind: \"enum\", T: proto3.getEnumType(TrackType) },\n { no: 4, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"disable_dtx\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 8, name: \"source\", kind: \"enum\", T: proto3.getEnumType(TrackSource) },\n { no: 9, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n { no: 10, name: \"simulcast_codecs\", kind: \"message\", T: SimulcastCodec, repeated: true },\n { no: 11, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"stereo\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"disable_red\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 14, name: \"encryption\", kind: \"enum\", T: proto3.getEnumType(Encryption_Type) },\n { no: 15, name: \"stream\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest {\n return new AddTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(AddTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrickleRequest\n */\nexport class TrickleRequest extends Message {\n /**\n * @generated from field: string candidateInit = 1;\n */\n candidateInit = \"\";\n\n /**\n * @generated from field: livekit.SignalTarget target = 2;\n */\n target = SignalTarget.PUBLISHER;\n\n /**\n * @generated from field: bool final = 3;\n */\n final = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrickleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"candidateInit\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n { no: 3, name: \"final\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrickleRequest {\n return new TrickleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrickleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.MuteTrackRequest\n */\nexport class MuteTrackRequest extends Message {\n /**\n * @generated from field: string sid = 1;\n */\n sid = \"\";\n\n /**\n * @generated from field: bool muted = 2;\n */\n muted = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.MuteTrackRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"muted\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest {\n return new MuteTrackRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(MuteTrackRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.JoinResponse\n */\nexport class JoinResponse extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n /**\n * @generated from field: livekit.ParticipantInfo participant = 2;\n */\n participant?: ParticipantInfo;\n\n /**\n * @generated from field: repeated livekit.ParticipantInfo other_participants = 3;\n */\n otherParticipants: ParticipantInfo[] = [];\n\n /**\n * deprecated. use server_info.version instead.\n *\n * @generated from field: string server_version = 4;\n */\n serverVersion = \"\";\n\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 5;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * use subscriber as the primary PeerConnection\n *\n * @generated from field: bool subscriber_primary = 6;\n */\n subscriberPrimary = false;\n\n /**\n * when the current server isn't available, return alternate url to retry connection\n * when this is set, the other fields will be largely empty\n *\n * @generated from field: string alternative_url = 7;\n */\n alternativeUrl = \"\";\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 8;\n */\n clientConfiguration?: ClientConfiguration;\n\n /**\n * deprecated. use server_info.region instead.\n *\n * @generated from field: string server_region = 9;\n */\n serverRegion = \"\";\n\n /**\n * @generated from field: int32 ping_timeout = 10;\n */\n pingTimeout = 0;\n\n /**\n * @generated from field: int32 ping_interval = 11;\n */\n pingInterval = 0;\n\n /**\n * @generated from field: livekit.ServerInfo server_info = 12;\n */\n serverInfo?: ServerInfo;\n\n /**\n * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled\n *\n * @generated from field: bytes sif_trailer = 13;\n */\n sifTrailer = new Uint8Array(0);\n\n /**\n * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;\n */\n enabledPublishCodecs: Codec[] = [];\n\n /**\n * when set, client should attempt to establish publish peer connection when joining room to speed up publishing\n *\n * @generated from field: bool fast_publish = 15;\n */\n fastPublish = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.JoinResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n { no: 2, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 3, name: \"other_participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n { no: 4, name: \"server_version\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 6, name: \"subscriber_primary\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"alternative_url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n { no: 9, name: \"server_region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"ping_timeout\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 11, name: \"ping_interval\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 12, name: \"server_info\", kind: \"message\", T: ServerInfo },\n { no: 13, name: \"sif_trailer\", kind: \"scalar\", T: 12 /* ScalarType.BYTES */ },\n { no: 14, name: \"enabled_publish_codecs\", kind: \"message\", T: Codec, repeated: true },\n { no: 15, name: \"fast_publish\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse {\n return new JoinResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse {\n return new JoinResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): JoinResponse {\n return new JoinResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(JoinResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ReconnectResponse\n */\nexport class ReconnectResponse extends Message {\n /**\n * @generated from field: repeated livekit.ICEServer ice_servers = 1;\n */\n iceServers: ICEServer[] = [];\n\n /**\n * @generated from field: livekit.ClientConfiguration client_configuration = 2;\n */\n clientConfiguration?: ClientConfiguration;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ReconnectResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"ice_servers\", kind: \"message\", T: ICEServer, repeated: true },\n { no: 2, name: \"client_configuration\", kind: \"message\", T: ClientConfiguration },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse {\n return new ReconnectResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ReconnectResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPublishedResponse\n */\nexport class TrackPublishedResponse extends Message {\n /**\n * @generated from field: string cid = 1;\n */\n cid = \"\";\n\n /**\n * @generated from field: livekit.TrackInfo track = 2;\n */\n track?: TrackInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"cid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track\", kind: \"message\", T: TrackInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse {\n return new TrackPublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackUnpublishedResponse\n */\nexport class TrackUnpublishedResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackUnpublishedResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse {\n return new TrackUnpublishedResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackUnpublishedResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SessionDescription\n */\nexport class SessionDescription extends Message {\n /**\n * \"answer\" | \"offer\" | \"pranswer\" | \"rollback\"\n *\n * @generated from field: string type = 1;\n */\n type = \"\";\n\n /**\n * @generated from field: string sdp = 2;\n */\n sdp = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SessionDescription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sdp\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription {\n return new SessionDescription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription {\n return new SessionDescription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SessionDescription {\n return new SessionDescription().fromJsonString(jsonString, options);\n }\n\n static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean {\n return proto3.util.equals(SessionDescription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ParticipantUpdate\n */\nexport class ParticipantUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ParticipantInfo participants = 1;\n */\n participants: ParticipantInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ParticipantUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participants\", kind: \"message\", T: ParticipantInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate {\n return new ParticipantUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ParticipantUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateSubscription\n */\nexport class UpdateSubscription extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: bool subscribe = 2;\n */\n subscribe = false;\n\n /**\n * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3;\n */\n participantTracks: ParticipantTracks[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateSubscription\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"subscribe\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"participant_tracks\", kind: \"message\", T: ParticipantTracks, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription {\n return new UpdateSubscription().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateSubscription, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateTrackSettings\n */\nexport class UpdateTrackSettings extends Message {\n /**\n * @generated from field: repeated string track_sids = 1;\n */\n trackSids: string[] = [];\n\n /**\n * when true, the track is placed in a paused state, with no new data returned\n *\n * @generated from field: bool disabled = 3;\n */\n disabled = false;\n\n /**\n * deprecated in favor of width & height\n *\n * @generated from field: livekit.VideoQuality quality = 4;\n */\n quality = VideoQuality.LOW;\n\n /**\n * for video, width to receive\n *\n * @generated from field: uint32 width = 5;\n */\n width = 0;\n\n /**\n * for video, height to receive\n *\n * @generated from field: uint32 height = 6;\n */\n height = 0;\n\n /**\n * @generated from field: uint32 fps = 7;\n */\n fps = 0;\n\n /**\n * subscription priority. 1 being the highest (0 is unset)\n * when unset, server sill assign priority based on the order of subscription\n * server will use priority in the following ways:\n * 1. when subscribed tracks exceed per-participant subscription limit, server will\n * pause the lowest priority tracks\n * 2. when the network is congested, server will assign available bandwidth to\n * higher priority tracks first. lowest priority tracks can be paused\n *\n * @generated from field: uint32 priority = 8;\n */\n priority = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateTrackSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"disabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 4, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 5, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 6, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 7, name: \"fps\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 8, name: \"priority\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings {\n return new UpdateTrackSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateTrackSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalAudioTrack\n */\nexport class UpdateLocalAudioTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.AudioTrackFeature features = 2;\n */\n features: AudioTrackFeature[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalAudioTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"features\", kind: \"enum\", T: proto3.getEnumType(AudioTrackFeature), repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack {\n return new UpdateLocalAudioTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalAudioTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateLocalVideoTrack\n */\nexport class UpdateLocalVideoTrack extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: uint32 width = 2;\n */\n width = 0;\n\n /**\n * @generated from field: uint32 height = 3;\n */\n height = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateLocalVideoTrack\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"width\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"height\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack {\n return new UpdateLocalVideoTrack().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateLocalVideoTrack, a, b);\n }\n}\n\n/**\n * @generated from message livekit.LeaveRequest\n */\nexport class LeaveRequest extends Message {\n /**\n * sent when server initiates the disconnect due to server-restart\n * indicates clients should attempt full-reconnect sequence\n * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13\n *\n * @generated from field: bool can_reconnect = 1;\n */\n canReconnect = false;\n\n /**\n * @generated from field: livekit.DisconnectReason reason = 2;\n */\n reason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: livekit.LeaveRequest.Action action = 3;\n */\n action = LeaveRequest_Action.DISCONNECT;\n\n /**\n * @generated from field: livekit.RegionSettings regions = 4;\n */\n regions?: RegionSettings;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.LeaveRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"can_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 3, name: \"action\", kind: \"enum\", T: proto3.getEnumType(LeaveRequest_Action) },\n { no: 4, name: \"regions\", kind: \"message\", T: RegionSettings },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): LeaveRequest {\n return new LeaveRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(LeaveRequest, a, b);\n }\n}\n\n/**\n * indicates action clients should take on receiving this message\n *\n * @generated from enum livekit.LeaveRequest.Action\n */\nexport enum LeaveRequest_Action {\n /**\n * should disconnect\n *\n * @generated from enum value: DISCONNECT = 0;\n */\n DISCONNECT = 0,\n\n /**\n * should attempt a resume with `reconnect=1` in join URL\n *\n * @generated from enum value: RESUME = 1;\n */\n RESUME = 1,\n\n /**\n * should attempt a reconnect, i. e. no `reconnect=1`\n *\n * @generated from enum value: RECONNECT = 2;\n */\n RECONNECT = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(LeaveRequest_Action)\nproto3.util.setEnumType(LeaveRequest_Action, \"livekit.LeaveRequest.Action\", [\n { no: 0, name: \"DISCONNECT\" },\n { no: 1, name: \"RESUME\" },\n { no: 2, name: \"RECONNECT\" },\n]);\n\n/**\n * message to indicate published video track dimensions are changing\n *\n * @generated from message livekit.UpdateVideoLayers\n * @deprecated\n */\nexport class UpdateVideoLayers extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.VideoLayer layers = 2;\n */\n layers: VideoLayer[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateVideoLayers\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"layers\", kind: \"message\", T: VideoLayer, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers {\n return new UpdateVideoLayers().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateVideoLayers, a, b);\n }\n}\n\n/**\n * @generated from message livekit.UpdateParticipantMetadata\n */\nexport class UpdateParticipantMetadata extends Message {\n /**\n * @generated from field: string metadata = 1;\n */\n metadata = \"\";\n\n /**\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * attributes to update. it only updates attributes that have been set\n * to delete attributes, set the value to an empty string\n *\n * @generated from field: map attributes = 3;\n */\n attributes: { [key: string]: string } = {};\n\n /**\n * @generated from field: uint32 request_id = 4;\n */\n requestId = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.UpdateParticipantMetadata\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 4, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata {\n return new UpdateParticipantMetadata().fromJsonString(jsonString, options);\n }\n\n static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean {\n return proto3.util.equals(UpdateParticipantMetadata, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ICEServer\n */\nexport class ICEServer extends Message {\n /**\n * @generated from field: repeated string urls = 1;\n */\n urls: string[] = [];\n\n /**\n * @generated from field: string username = 2;\n */\n username = \"\";\n\n /**\n * @generated from field: string credential = 3;\n */\n credential = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ICEServer\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"urls\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"credential\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer {\n return new ICEServer().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer {\n return new ICEServer().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ICEServer {\n return new ICEServer().fromJsonString(jsonString, options);\n }\n\n static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean {\n return proto3.util.equals(ICEServer, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SpeakersChanged\n */\nexport class SpeakersChanged extends Message {\n /**\n * @generated from field: repeated livekit.SpeakerInfo speakers = 1;\n */\n speakers: SpeakerInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SpeakersChanged\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speakers\", kind: \"message\", T: SpeakerInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged {\n return new SpeakersChanged().fromJsonString(jsonString, options);\n }\n\n static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean {\n return proto3.util.equals(SpeakersChanged, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RoomUpdate\n */\nexport class RoomUpdate extends Message {\n /**\n * @generated from field: livekit.Room room = 1;\n */\n room?: Room;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RoomUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room\", kind: \"message\", T: Room },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RoomUpdate {\n return new RoomUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(RoomUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityInfo\n */\nexport class ConnectionQualityInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: livekit.ConnectionQuality quality = 2;\n */\n quality = ConnectionQuality.POOR;\n\n /**\n * @generated from field: float score = 3;\n */\n score = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(ConnectionQuality) },\n { no: 3, name: \"score\", kind: \"scalar\", T: 2 /* ScalarType.FLOAT */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo {\n return new ConnectionQualityInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ConnectionQualityUpdate\n */\nexport class ConnectionQualityUpdate extends Message {\n /**\n * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1;\n */\n updates: ConnectionQualityInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ConnectionQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"updates\", kind: \"message\", T: ConnectionQualityInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate {\n return new ConnectionQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(ConnectionQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateInfo\n */\nexport class StreamStateInfo extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.StreamState state = 3;\n */\n state = StreamState.ACTIVE;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"state\", kind: \"enum\", T: proto3.getEnumType(StreamState) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo {\n return new StreamStateInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.StreamStateUpdate\n */\nexport class StreamStateUpdate extends Message {\n /**\n * @generated from field: repeated livekit.StreamStateInfo stream_states = 1;\n */\n streamStates: StreamStateInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.StreamStateUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"stream_states\", kind: \"message\", T: StreamStateInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate {\n return new StreamStateUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(StreamStateUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQuality\n */\nexport class SubscribedQuality extends Message {\n /**\n * @generated from field: livekit.VideoQuality quality = 1;\n */\n quality = VideoQuality.LOW;\n\n /**\n * @generated from field: bool enabled = 2;\n */\n enabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQuality\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"quality\", kind: \"enum\", T: proto3.getEnumType(VideoQuality) },\n { no: 2, name: \"enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality {\n return new SubscribedQuality().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQuality, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedCodec\n */\nexport class SubscribedCodec extends Message {\n /**\n * @generated from field: string codec = 1;\n */\n codec = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality qualities = 2;\n */\n qualities: SubscribedQuality[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedCodec\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"codec\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec {\n return new SubscribedCodec().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedCodec, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscribedQualityUpdate\n */\nexport class SubscribedQualityUpdate extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2;\n */\n subscribedQualities: SubscribedQuality[] = [];\n\n /**\n * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3;\n */\n subscribedCodecs: SubscribedCodec[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscribedQualityUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"subscribed_qualities\", kind: \"message\", T: SubscribedQuality, repeated: true },\n { no: 3, name: \"subscribed_codecs\", kind: \"message\", T: SubscribedCodec, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate {\n return new SubscribedQualityUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscribedQualityUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TrackPermission\n */\nexport class TrackPermission extends Message {\n /**\n * permission could be granted either by participant sid or identity\n *\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: bool all_tracks = 2;\n */\n allTracks = false;\n\n /**\n * @generated from field: repeated string track_sids = 3;\n */\n trackSids: string[] = [];\n\n /**\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"all_tracks\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 3, name: \"track_sids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission {\n return new TrackPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission {\n return new TrackPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackPermission {\n return new TrackPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermission\n */\nexport class SubscriptionPermission extends Message {\n /**\n * @generated from field: bool all_participants = 1;\n */\n allParticipants = false;\n\n /**\n * @generated from field: repeated livekit.TrackPermission track_permissions = 2;\n */\n trackPermissions: TrackPermission[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermission\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"all_participants\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 2, name: \"track_permissions\", kind: \"message\", T: TrackPermission, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission {\n return new SubscriptionPermission().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermission, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionPermissionUpdate\n */\nexport class SubscriptionPermissionUpdate extends Message {\n /**\n * @generated from field: string participant_sid = 1;\n */\n participantSid = \"\";\n\n /**\n * @generated from field: string track_sid = 2;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: bool allowed = 3;\n */\n allowed = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionPermissionUpdate\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"allowed\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate {\n return new SubscriptionPermissionUpdate().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionPermissionUpdate, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SyncState\n */\nexport class SyncState extends Message {\n /**\n * last subscribe answer before reconnecting\n *\n * @generated from field: livekit.SessionDescription answer = 1;\n */\n answer?: SessionDescription;\n\n /**\n * @generated from field: livekit.UpdateSubscription subscription = 2;\n */\n subscription?: UpdateSubscription;\n\n /**\n * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3;\n */\n publishTracks: TrackPublishedResponse[] = [];\n\n /**\n * @generated from field: repeated livekit.DataChannelInfo data_channels = 4;\n */\n dataChannels: DataChannelInfo[] = [];\n\n /**\n * last received server side offer before reconnecting\n *\n * @generated from field: livekit.SessionDescription offer = 5;\n */\n offer?: SessionDescription;\n\n /**\n * @generated from field: repeated string track_sids_disabled = 6;\n */\n trackSidsDisabled: string[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SyncState\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"answer\", kind: \"message\", T: SessionDescription },\n { no: 2, name: \"subscription\", kind: \"message\", T: UpdateSubscription },\n { no: 3, name: \"publish_tracks\", kind: \"message\", T: TrackPublishedResponse, repeated: true },\n { no: 4, name: \"data_channels\", kind: \"message\", T: DataChannelInfo, repeated: true },\n { no: 5, name: \"offer\", kind: \"message\", T: SessionDescription },\n { no: 6, name: \"track_sids_disabled\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SyncState {\n return new SyncState().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SyncState {\n return new SyncState().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SyncState {\n return new SyncState().fromJsonString(jsonString, options);\n }\n\n static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean {\n return proto3.util.equals(SyncState, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DataChannelInfo\n */\nexport class DataChannelInfo extends Message {\n /**\n * @generated from field: string label = 1;\n */\n label = \"\";\n\n /**\n * @generated from field: uint32 id = 2;\n */\n id = 0;\n\n /**\n * @generated from field: livekit.SignalTarget target = 3;\n */\n target = SignalTarget.PUBLISHER;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DataChannelInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"label\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 3, name: \"target\", kind: \"enum\", T: proto3.getEnumType(SignalTarget) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo {\n return new DataChannelInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(DataChannelInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SimulateScenario\n */\nexport class SimulateScenario extends Message {\n /**\n * @generated from oneof livekit.SimulateScenario.scenario\n */\n scenario: {\n /**\n * simulate N seconds of speaker activity\n *\n * @generated from field: int32 speaker_update = 1;\n */\n value: number;\n case: \"speakerUpdate\";\n } | {\n /**\n * simulate local node failure\n *\n * @generated from field: bool node_failure = 2;\n */\n value: boolean;\n case: \"nodeFailure\";\n } | {\n /**\n * simulate migration\n *\n * @generated from field: bool migration = 3;\n */\n value: boolean;\n case: \"migration\";\n } | {\n /**\n * server to send leave\n *\n * @generated from field: bool server_leave = 4;\n */\n value: boolean;\n case: \"serverLeave\";\n } | {\n /**\n * switch candidate protocol to tcp\n *\n * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5;\n */\n value: CandidateProtocol;\n case: \"switchCandidateProtocol\";\n } | {\n /**\n * maximum bandwidth for subscribers, in bps\n * when zero, clears artificial bandwidth limit\n *\n * @generated from field: int64 subscriber_bandwidth = 6;\n */\n value: bigint;\n case: \"subscriberBandwidth\";\n } | {\n /**\n * disconnect signal on resume\n *\n * @generated from field: bool disconnect_signal_on_resume = 7;\n */\n value: boolean;\n case: \"disconnectSignalOnResume\";\n } | {\n /**\n * disconnect signal on resume before sending any messages from server\n *\n * @generated from field: bool disconnect_signal_on_resume_no_messages = 8;\n */\n value: boolean;\n case: \"disconnectSignalOnResumeNoMessages\";\n } | {\n /**\n * full reconnect leave request\n *\n * @generated from field: bool leave_request_full_reconnect = 9;\n */\n value: boolean;\n case: \"leaveRequestFullReconnect\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SimulateScenario\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"speaker_update\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */, oneof: \"scenario\" },\n { no: 2, name: \"node_failure\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 3, name: \"migration\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 4, name: \"server_leave\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 5, name: \"switch_candidate_protocol\", kind: \"enum\", T: proto3.getEnumType(CandidateProtocol), oneof: \"scenario\" },\n { no: 6, name: \"subscriber_bandwidth\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */, oneof: \"scenario\" },\n { no: 7, name: \"disconnect_signal_on_resume\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 8, name: \"disconnect_signal_on_resume_no_messages\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n { no: 9, name: \"leave_request_full_reconnect\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */, oneof: \"scenario\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SimulateScenario {\n return new SimulateScenario().fromJsonString(jsonString, options);\n }\n\n static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean {\n return proto3.util.equals(SimulateScenario, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Ping\n */\nexport class Ping extends Message {\n /**\n * @generated from field: int64 timestamp = 1;\n */\n timestamp = protoInt64.zero;\n\n /**\n * rtt in milliseconds calculated by client\n *\n * @generated from field: int64 rtt = 2;\n */\n rtt = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Ping\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"rtt\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Ping {\n return new Ping().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Ping {\n return new Ping().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Ping {\n return new Ping().fromJsonString(jsonString, options);\n }\n\n static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean {\n return proto3.util.equals(Ping, a, b);\n }\n}\n\n/**\n * @generated from message livekit.Pong\n */\nexport class Pong extends Message {\n /**\n * timestamp field of last received ping request\n *\n * @generated from field: int64 last_ping_timestamp = 1;\n */\n lastPingTimestamp = protoInt64.zero;\n\n /**\n * @generated from field: int64 timestamp = 2;\n */\n timestamp = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.Pong\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"last_ping_timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 2, name: \"timestamp\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): Pong {\n return new Pong().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): Pong {\n return new Pong().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): Pong {\n return new Pong().fromJsonString(jsonString, options);\n }\n\n static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean {\n return proto3.util.equals(Pong, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionSettings\n */\nexport class RegionSettings extends Message {\n /**\n * @generated from field: repeated livekit.RegionInfo regions = 1;\n */\n regions: RegionInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionSettings\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"regions\", kind: \"message\", T: RegionInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings {\n return new RegionSettings().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings {\n return new RegionSettings().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionSettings {\n return new RegionSettings().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionSettings, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RegionInfo\n */\nexport class RegionInfo extends Message {\n /**\n * @generated from field: string region = 1;\n */\n region = \"\";\n\n /**\n * @generated from field: string url = 2;\n */\n url = \"\";\n\n /**\n * @generated from field: int64 distance = 3;\n */\n distance = protoInt64.zero;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RegionInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"region\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"url\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"distance\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo {\n return new RegionInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo {\n return new RegionInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RegionInfo {\n return new RegionInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(RegionInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SubscriptionResponse\n */\nexport class SubscriptionResponse extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n /**\n * @generated from field: livekit.SubscriptionError err = 2;\n */\n err = SubscriptionError.SE_UNKNOWN;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SubscriptionResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"err\", kind: \"enum\", T: proto3.getEnumType(SubscriptionError) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse {\n return new SubscriptionResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(SubscriptionResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.RequestResponse\n */\nexport class RequestResponse extends Message {\n /**\n * @generated from field: uint32 request_id = 1;\n */\n requestId = 0;\n\n /**\n * @generated from field: livekit.RequestResponse.Reason reason = 2;\n */\n reason = RequestResponse_Reason.OK;\n\n /**\n * @generated from field: string message = 3;\n */\n message = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.RequestResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 2, name: \"reason\", kind: \"enum\", T: proto3.getEnumType(RequestResponse_Reason) },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse {\n return new RequestResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse {\n return new RequestResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): RequestResponse {\n return new RequestResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(RequestResponse, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.RequestResponse.Reason\n */\nexport enum RequestResponse_Reason {\n /**\n * @generated from enum value: OK = 0;\n */\n OK = 0,\n\n /**\n * @generated from enum value: NOT_FOUND = 1;\n */\n NOT_FOUND = 1,\n\n /**\n * @generated from enum value: NOT_ALLOWED = 2;\n */\n NOT_ALLOWED = 2,\n\n /**\n * @generated from enum value: LIMIT_EXCEEDED = 3;\n */\n LIMIT_EXCEEDED = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(RequestResponse_Reason)\nproto3.util.setEnumType(RequestResponse_Reason, \"livekit.RequestResponse.Reason\", [\n { no: 0, name: \"OK\" },\n { no: 1, name: \"NOT_FOUND\" },\n { no: 2, name: \"NOT_ALLOWED\" },\n { no: 3, name: \"LIMIT_EXCEEDED\" },\n]);\n\n/**\n * @generated from message livekit.TrackSubscribed\n */\nexport class TrackSubscribed extends Message {\n /**\n * @generated from field: string track_sid = 1;\n */\n trackSid = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TrackSubscribed\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"track_sid\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed {\n return new TrackSubscribed().fromJsonString(jsonString, options);\n }\n\n static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean {\n return proto3.util.equals(TrackSubscribed, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,mBAAmB,qBAAqB,OAAO,mBAAmB,kBAAkB,iBAAiB,iBAAiB,mBAAmB,MAAM,YAAY,aAAa,mBAAmB,WAAW,aAAa,WAAW,YAAY,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,IAAG,MAAM;AAAA,IAAa,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAC3E,CAAC;AAfI,IAAM,kBAAN;","names":["SignalTarget","StreamState","CandidateProtocol","LeaveRequest_Action","RequestResponse_Reason"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.cjs b/packages/javascript/dist/gen/livekit_sip_pb.cjs deleted file mode 100644 index 9ba6a8d9..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.cjs +++ /dev/null @@ -1,2118 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_sip_pb_exports = {}; -__export(livekit_sip_pb_exports, { - CreateSIPDispatchRuleRequest: () => CreateSIPDispatchRuleRequest, - CreateSIPInboundTrunkRequest: () => CreateSIPInboundTrunkRequest, - CreateSIPOutboundTrunkRequest: () => CreateSIPOutboundTrunkRequest, - CreateSIPParticipantRequest: () => CreateSIPParticipantRequest, - CreateSIPTrunkRequest: () => CreateSIPTrunkRequest, - DeleteSIPDispatchRuleRequest: () => DeleteSIPDispatchRuleRequest, - DeleteSIPTrunkRequest: () => DeleteSIPTrunkRequest, - GetSIPInboundTrunkRequest: () => GetSIPInboundTrunkRequest, - GetSIPInboundTrunkResponse: () => GetSIPInboundTrunkResponse, - GetSIPOutboundTrunkRequest: () => GetSIPOutboundTrunkRequest, - GetSIPOutboundTrunkResponse: () => GetSIPOutboundTrunkResponse, - ListSIPDispatchRuleRequest: () => ListSIPDispatchRuleRequest, - ListSIPDispatchRuleResponse: () => ListSIPDispatchRuleResponse, - ListSIPInboundTrunkRequest: () => ListSIPInboundTrunkRequest, - ListSIPInboundTrunkResponse: () => ListSIPInboundTrunkResponse, - ListSIPOutboundTrunkRequest: () => ListSIPOutboundTrunkRequest, - ListSIPOutboundTrunkResponse: () => ListSIPOutboundTrunkResponse, - ListSIPTrunkRequest: () => ListSIPTrunkRequest, - ListSIPTrunkResponse: () => ListSIPTrunkResponse, - SIPCallInfo: () => SIPCallInfo, - SIPCallStatus: () => SIPCallStatus, - SIPDispatchRule: () => SIPDispatchRule, - SIPDispatchRuleCallee: () => SIPDispatchRuleCallee, - SIPDispatchRuleDirect: () => SIPDispatchRuleDirect, - SIPDispatchRuleIndividual: () => SIPDispatchRuleIndividual, - SIPDispatchRuleInfo: () => SIPDispatchRuleInfo, - SIPFeature: () => SIPFeature, - SIPInboundTrunkInfo: () => SIPInboundTrunkInfo, - SIPOutboundTrunkInfo: () => SIPOutboundTrunkInfo, - SIPParticipantInfo: () => SIPParticipantInfo, - SIPTransport: () => SIPTransport, - SIPTrunkInfo: () => SIPTrunkInfo, - SIPTrunkInfo_TrunkKind: () => SIPTrunkInfo_TrunkKind, - SIPUri: () => SIPUri, - TransferSIPParticipantRequest: () => TransferSIPParticipantRequest -}); -module.exports = __toCommonJS(livekit_sip_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var SIPTransport = /* @__PURE__ */ ((SIPTransport2) => { - SIPTransport2[SIPTransport2["SIP_TRANSPORT_AUTO"] = 0] = "SIP_TRANSPORT_AUTO"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_UDP"] = 1] = "SIP_TRANSPORT_UDP"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_TCP"] = 2] = "SIP_TRANSPORT_TCP"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_TLS"] = 3] = "SIP_TRANSPORT_TLS"; - return SIPTransport2; -})(SIPTransport || {}); -import_protobuf.proto3.util.setEnumType(SIPTransport, "livekit.SIPTransport", [ - { no: 0, name: "SIP_TRANSPORT_AUTO" }, - { no: 1, name: "SIP_TRANSPORT_UDP" }, - { no: 2, name: "SIP_TRANSPORT_TCP" }, - { no: 3, name: "SIP_TRANSPORT_TLS" } -]); -var SIPCallStatus = /* @__PURE__ */ ((SIPCallStatus2) => { - SIPCallStatus2[SIPCallStatus2["SCS_CALL_INCOMING"] = 0] = "SCS_CALL_INCOMING"; - SIPCallStatus2[SIPCallStatus2["SCS_PARTICIPANT_JOINED"] = 1] = "SCS_PARTICIPANT_JOINED"; - SIPCallStatus2[SIPCallStatus2["SCS_ACTIVE"] = 2] = "SCS_ACTIVE"; - SIPCallStatus2[SIPCallStatus2["SCS_DISCONNECTED"] = 3] = "SCS_DISCONNECTED"; - SIPCallStatus2[SIPCallStatus2["SCS_ERROR"] = 4] = "SCS_ERROR"; - return SIPCallStatus2; -})(SIPCallStatus || {}); -import_protobuf.proto3.util.setEnumType(SIPCallStatus, "livekit.SIPCallStatus", [ - { no: 0, name: "SCS_CALL_INCOMING" }, - { no: 1, name: "SCS_PARTICIPANT_JOINED" }, - { no: 2, name: "SCS_ACTIVE" }, - { no: 3, name: "SCS_DISCONNECTED" }, - { no: 4, name: "SCS_ERROR" } -]); -var SIPFeature = /* @__PURE__ */ ((SIPFeature2) => { - SIPFeature2[SIPFeature2["NONE"] = 0] = "NONE"; - SIPFeature2[SIPFeature2["KRISP_ENABLED"] = 1] = "KRISP_ENABLED"; - return SIPFeature2; -})(SIPFeature || {}); -import_protobuf.proto3.util.setEnumType(SIPFeature, "livekit.SIPFeature", [ - { no: 0, name: "NONE" }, - { no: 1, name: "KRISP_ENABLED" } -]); -const _CreateSIPTrunkRequest = class _CreateSIPTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 1; - */ - this.inboundAddresses = []; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 2; - */ - this.outboundAddress = ""; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 3; - */ - this.outboundNumber = ""; - /** - * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; - * @deprecated - */ - this.inboundNumbersRegex = []; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 9; - */ - this.inboundNumbers = []; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 5; - */ - this.inboundUsername = ""; - /** - * @generated from field: string inbound_password = 6; - */ - this.inboundPassword = ""; - /** - * @generated from field: string outbound_username = 7; - */ - this.outboundUsername = ""; - /** - * @generated from field: string outbound_password = 8; - */ - this.outboundPassword = ""; - /** - * Optional human-readable name for the Trunk. - * - * @generated from field: string name = 10; - */ - this.name = ""; - /** - * Optional user-defined metadata for the Trunk. - * - * @generated from field: string metadata = 11; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateSIPTrunkRequest, a, b); - } -}; -_CreateSIPTrunkRequest.runtime = import_protobuf.proto3; -_CreateSIPTrunkRequest.typeName = "livekit.CreateSIPTrunkRequest"; -_CreateSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "outbound_address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "outbound_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, - { no: 9, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "inbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "inbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "outbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "outbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let CreateSIPTrunkRequest = _CreateSIPTrunkRequest; -const _SIPTrunkInfo = class _SIPTrunkInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; - */ - this.kind = 0 /* TRUNK_LEGACY */; - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 2; - */ - this.inboundAddresses = []; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 3; - */ - this.outboundAddress = ""; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 4; - */ - this.outboundNumber = ""; - /** - * Transport used for inbound and outbound calls. - * - * @generated from field: livekit.SIPTransport transport = 13; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - /** - * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; - * @deprecated - */ - this.inboundNumbersRegex = []; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 10; - */ - this.inboundNumbers = []; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 6; - */ - this.inboundUsername = ""; - /** - * @generated from field: string inbound_password = 7; - */ - this.inboundPassword = ""; - /** - * @generated from field: string outbound_username = 8; - */ - this.outboundUsername = ""; - /** - * @generated from field: string outbound_password = 9; - */ - this.outboundPassword = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 11; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 12; - */ - this.metadata = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPTrunkInfo, a, b); - } -}; -_SIPTrunkInfo.runtime = import_protobuf.proto3; -_SIPTrunkInfo.typeName = "livekit.SIPTrunkInfo"; -_SIPTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 14, name: "kind", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, - { no: 2, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "outbound_address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "outbound_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 13, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) }, - { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, - { no: 10, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 6, - name: "inbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "inbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "outbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "outbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPTrunkInfo = _SIPTrunkInfo; -var SIPTrunkInfo_TrunkKind = /* @__PURE__ */ ((SIPTrunkInfo_TrunkKind2) => { - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_LEGACY"] = 0] = "TRUNK_LEGACY"; - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_INBOUND"] = 1] = "TRUNK_INBOUND"; - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_OUTBOUND"] = 2] = "TRUNK_OUTBOUND"; - return SIPTrunkInfo_TrunkKind2; -})(SIPTrunkInfo_TrunkKind || {}); -import_protobuf.proto3.util.setEnumType(SIPTrunkInfo_TrunkKind, "livekit.SIPTrunkInfo.TrunkKind", [ - { no: 0, name: "TRUNK_LEGACY" }, - { no: 1, name: "TRUNK_INBOUND" }, - { no: 2, name: "TRUNK_OUTBOUND" } -]); -const _CreateSIPInboundTrunkRequest = class _CreateSIPInboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateSIPInboundTrunkRequest, a, b); - } -}; -_CreateSIPInboundTrunkRequest.runtime = import_protobuf.proto3; -_CreateSIPInboundTrunkRequest.typeName = "livekit.CreateSIPInboundTrunkRequest"; -_CreateSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } -]); -let CreateSIPInboundTrunkRequest = _CreateSIPInboundTrunkRequest; -const _SIPInboundTrunkInfo = class _SIPInboundTrunkInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. - * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. - * - * @generated from field: repeated string numbers = 4; - */ - this.numbers = []; - /** - * CIDR or IPs that traffic is accepted from. - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string allowed_addresses = 5; - */ - this.allowedAddresses = []; - /** - * Numbers that are allowed to make calls to this Trunk. - * An empty list means calls from any phone number is accepted. - * - * @generated from field: repeated string allowed_numbers = 6; - */ - this.allowedNumbers = []; - /** - * Username and password used to authenticate inbound SIP invites. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - this.authUsername = ""; - /** - * @generated from field: string auth_password = 8; - */ - this.authPassword = ""; - /** - * Include these SIP X-* headers in 200 OK responses. - * - * @generated from field: map headers = 9; - */ - this.headers = {}; - /** - * Map SIP X-* headers from INVITE to SIP participant attributes. - * - * @generated from field: map headers_to_attributes = 10; - */ - this.headersToAttributes = {}; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 14; - */ - this.attributesToHeaders = {}; - /** - * @generated from field: bool krisp_enabled = 13; - */ - this.krispEnabled = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPInboundTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPInboundTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPInboundTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPInboundTrunkInfo, a, b); - } -}; -_SIPInboundTrunkInfo.runtime = import_protobuf.proto3; -_SIPInboundTrunkInfo.typeName = "livekit.SIPInboundTrunkInfo"; -_SIPInboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "numbers", kind: "scalar", T: 9, repeated: true }, - { no: 5, name: "allowed_addresses", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "allowed_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 7, - name: "auth_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "auth_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 14, name: "attributes_to_headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration }, - { - no: 13, - name: "krisp_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SIPInboundTrunkInfo = _SIPInboundTrunkInfo; -const _CreateSIPOutboundTrunkRequest = class _CreateSIPOutboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateSIPOutboundTrunkRequest, a, b); - } -}; -_CreateSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; -_CreateSIPOutboundTrunkRequest.typeName = "livekit.CreateSIPOutboundTrunkRequest"; -_CreateSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } -]); -let CreateSIPOutboundTrunkRequest = _CreateSIPOutboundTrunkRequest; -const _SIPOutboundTrunkInfo = class _SIPOutboundTrunkInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * Hostname or IP that SIP INVITE is sent too. - * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. - * - * @generated from field: string address = 4; - */ - this.address = ""; - /** - * SIP Transport used for outbound call. - * - * @generated from field: livekit.SIPTransport transport = 5; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - /** - * Numbers used to make the calls. Random one from this list will be selected. - * - * @generated from field: repeated string numbers = 6; - */ - this.numbers = []; - /** - * Username and password used to authenticate with SIP server. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - this.authUsername = ""; - /** - * @generated from field: string auth_password = 8; - */ - this.authPassword = ""; - /** - * Include these SIP X-* headers in INVITE request. - * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - * - * @generated from field: map headers = 9; - */ - this.headers = {}; - /** - * Map SIP X-* headers from 200 OK to SIP participant attributes. - * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - * - * @generated from field: map headers_to_attributes = 10; - */ - this.headersToAttributes = {}; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 11; - */ - this.attributesToHeaders = {}; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPOutboundTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPOutboundTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPOutboundTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPOutboundTrunkInfo, a, b); - } -}; -_SIPOutboundTrunkInfo.runtime = import_protobuf.proto3; -_SIPOutboundTrunkInfo.typeName = "livekit.SIPOutboundTrunkInfo"; -_SIPOutboundTrunkInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) }, - { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 7, - name: "auth_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "auth_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 11, name: "attributes_to_headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let SIPOutboundTrunkInfo = _SIPOutboundTrunkInfo; -const _GetSIPInboundTrunkRequest = class _GetSIPInboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkRequest, a, b); - } -}; -_GetSIPInboundTrunkRequest.runtime = import_protobuf.proto3; -_GetSIPInboundTrunkRequest.typeName = "livekit.GetSIPInboundTrunkRequest"; -_GetSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let GetSIPInboundTrunkRequest = _GetSIPInboundTrunkRequest; -const _GetSIPInboundTrunkResponse = class _GetSIPInboundTrunkResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPInboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPInboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPInboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_GetSIPInboundTrunkResponse, a, b); - } -}; -_GetSIPInboundTrunkResponse.runtime = import_protobuf.proto3; -_GetSIPInboundTrunkResponse.typeName = "livekit.GetSIPInboundTrunkResponse"; -_GetSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } -]); -let GetSIPInboundTrunkResponse = _GetSIPInboundTrunkResponse; -const _GetSIPOutboundTrunkRequest = class _GetSIPOutboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkRequest, a, b); - } -}; -_GetSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; -_GetSIPOutboundTrunkRequest.typeName = "livekit.GetSIPOutboundTrunkRequest"; -_GetSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let GetSIPOutboundTrunkRequest = _GetSIPOutboundTrunkRequest; -const _GetSIPOutboundTrunkResponse = class _GetSIPOutboundTrunkResponse extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPOutboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPOutboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_GetSIPOutboundTrunkResponse, a, b); - } -}; -_GetSIPOutboundTrunkResponse.runtime = import_protobuf.proto3; -_GetSIPOutboundTrunkResponse.typeName = "livekit.GetSIPOutboundTrunkResponse"; -_GetSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } -]); -let GetSIPOutboundTrunkResponse = _GetSIPOutboundTrunkResponse; -const _ListSIPTrunkRequest = class _ListSIPTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPTrunkRequest, a, b); - } -}; -_ListSIPTrunkRequest.runtime = import_protobuf.proto3; -_ListSIPTrunkRequest.typeName = "livekit.ListSIPTrunkRequest"; -_ListSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); -let ListSIPTrunkRequest = _ListSIPTrunkRequest; -const _ListSIPTrunkResponse = class _ListSIPTrunkResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPTrunkInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPTrunkResponse, a, b); - } -}; -_ListSIPTrunkResponse.runtime = import_protobuf.proto3; -_ListSIPTrunkResponse.typeName = "livekit.ListSIPTrunkResponse"; -_ListSIPTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true } -]); -let ListSIPTrunkResponse = _ListSIPTrunkResponse; -const _ListSIPInboundTrunkRequest = class _ListSIPInboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkRequest, a, b); - } -}; -_ListSIPInboundTrunkRequest.runtime = import_protobuf.proto3; -_ListSIPInboundTrunkRequest.typeName = "livekit.ListSIPInboundTrunkRequest"; -_ListSIPInboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); -let ListSIPInboundTrunkRequest = _ListSIPInboundTrunkRequest; -const _ListSIPInboundTrunkResponse = class _ListSIPInboundTrunkResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPInboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPInboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPInboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPInboundTrunkResponse, a, b); - } -}; -_ListSIPInboundTrunkResponse.runtime = import_protobuf.proto3; -_ListSIPInboundTrunkResponse.typeName = "livekit.ListSIPInboundTrunkResponse"; -_ListSIPInboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true } -]); -let ListSIPInboundTrunkResponse = _ListSIPInboundTrunkResponse; -const _ListSIPOutboundTrunkRequest = class _ListSIPOutboundTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkRequest, a, b); - } -}; -_ListSIPOutboundTrunkRequest.runtime = import_protobuf.proto3; -_ListSIPOutboundTrunkRequest.typeName = "livekit.ListSIPOutboundTrunkRequest"; -_ListSIPOutboundTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); -let ListSIPOutboundTrunkRequest = _ListSIPOutboundTrunkRequest; -const _ListSIPOutboundTrunkResponse = class _ListSIPOutboundTrunkResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPOutboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPOutboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPOutboundTrunkResponse, a, b); - } -}; -_ListSIPOutboundTrunkResponse.runtime = import_protobuf.proto3; -_ListSIPOutboundTrunkResponse.typeName = "livekit.ListSIPOutboundTrunkResponse"; -_ListSIPOutboundTrunkResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true } -]); -let ListSIPOutboundTrunkResponse = _ListSIPOutboundTrunkResponse; -const _DeleteSIPTrunkRequest = class _DeleteSIPTrunkRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteSIPTrunkRequest, a, b); - } -}; -_DeleteSIPTrunkRequest.runtime = import_protobuf.proto3; -_DeleteSIPTrunkRequest.typeName = "livekit.DeleteSIPTrunkRequest"; -_DeleteSIPTrunkRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteSIPTrunkRequest = _DeleteSIPTrunkRequest; -const _SIPDispatchRuleDirect = class _SIPDispatchRuleDirect extends import_protobuf.Message { - constructor(data) { - super(); - /** - * What room should call be directed into - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleDirect().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleDirect().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleDirect().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPDispatchRuleDirect, a, b); - } -}; -_SIPDispatchRuleDirect.runtime = import_protobuf.proto3; -_SIPDispatchRuleDirect.typeName = "livekit.SIPDispatchRuleDirect"; -_SIPDispatchRuleDirect.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPDispatchRuleDirect = _SIPDispatchRuleDirect; -const _SIPDispatchRuleIndividual = class _SIPDispatchRuleIndividual extends import_protobuf.Message { - constructor(data) { - super(); - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - this.roomPrefix = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleIndividual().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleIndividual().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleIndividual().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPDispatchRuleIndividual, a, b); - } -}; -_SIPDispatchRuleIndividual.runtime = import_protobuf.proto3; -_SIPDispatchRuleIndividual.typeName = "livekit.SIPDispatchRuleIndividual"; -_SIPDispatchRuleIndividual.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPDispatchRuleIndividual = _SIPDispatchRuleIndividual; -const _SIPDispatchRuleCallee = class _SIPDispatchRuleCallee extends import_protobuf.Message { - constructor(data) { - super(); - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - this.roomPrefix = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - /** - * Optionally append random suffix - * - * @generated from field: bool randomize = 3; - */ - this.randomize = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleCallee().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleCallee().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleCallee().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPDispatchRuleCallee, a, b); - } -}; -_SIPDispatchRuleCallee.runtime = import_protobuf.proto3; -_SIPDispatchRuleCallee.typeName = "livekit.SIPDispatchRuleCallee"; -_SIPDispatchRuleCallee.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "randomize", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SIPDispatchRuleCallee = _SIPDispatchRuleCallee; -const _SIPDispatchRule = class _SIPDispatchRule extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SIPDispatchRule.rule - */ - this.rule = { case: void 0 }; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRule().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRule().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRule().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPDispatchRule, a, b); - } -}; -_SIPDispatchRule.runtime = import_protobuf.proto3; -_SIPDispatchRule.typeName = "livekit.SIPDispatchRule"; -_SIPDispatchRule.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, - { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, - { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" } -]); -let SIPDispatchRule = _SIPDispatchRule; -const _CreateSIPDispatchRuleRequest = class _CreateSIPDispatchRuleRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * What trunks are accepted for this dispatch rule - * If empty all trunks will match this dispatch rule - * - * @generated from field: repeated string trunk_ids = 2; - */ - this.trunkIds = []; - /** - * By default the From value (Phone number) is used for participant name/identity and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 3; - */ - this.hidePhoneNumber = false; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 6; - */ - this.inboundNumbers = []; - /** - * Optional human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 4; - */ - this.name = ""; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 7; - */ - this.attributes = {}; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateSIPDispatchRuleRequest, a, b); - } -}; -_CreateSIPDispatchRuleRequest.runtime = import_protobuf.proto3; -_CreateSIPDispatchRuleRequest.typeName = "livekit.CreateSIPDispatchRuleRequest"; -_CreateSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 6, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let CreateSIPDispatchRuleRequest = _CreateSIPDispatchRuleRequest; -const _SIPDispatchRuleInfo = class _SIPDispatchRuleInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - this.sipDispatchRuleId = ""; - /** - * @generated from field: repeated string trunk_ids = 3; - */ - this.trunkIds = []; - /** - * @generated from field: bool hide_phone_number = 4; - */ - this.hidePhoneNumber = false; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 7; - */ - this.inboundNumbers = []; - /** - * Human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 5; - */ - this.name = ""; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 6; - */ - this.metadata = ""; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 8; - */ - this.attributes = {}; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPDispatchRuleInfo, a, b); - } -}; -_SIPDispatchRuleInfo.runtime = import_protobuf.proto3; -_SIPDispatchRuleInfo.typeName = "livekit.SIPDispatchRuleInfo"; -_SIPDispatchRuleInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 3, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let SIPDispatchRuleInfo = _SIPDispatchRuleInfo; -const _ListSIPDispatchRuleRequest = class _ListSIPDispatchRuleRequest extends import_protobuf.Message { - constructor(data) { - super(); - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleRequest, a, b); - } -}; -_ListSIPDispatchRuleRequest.runtime = import_protobuf.proto3; -_ListSIPDispatchRuleRequest.typeName = "livekit.ListSIPDispatchRuleRequest"; -_ListSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => []); -let ListSIPDispatchRuleRequest = _ListSIPDispatchRuleRequest; -const _ListSIPDispatchRuleResponse = class _ListSIPDispatchRuleResponse extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; - */ - this.items = []; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPDispatchRuleResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPDispatchRuleResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPDispatchRuleResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_ListSIPDispatchRuleResponse, a, b); - } -}; -_ListSIPDispatchRuleResponse.runtime = import_protobuf.proto3; -_ListSIPDispatchRuleResponse.typeName = "livekit.ListSIPDispatchRuleResponse"; -_ListSIPDispatchRuleResponse.fields = import_protobuf.proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true } -]); -let ListSIPDispatchRuleResponse = _ListSIPDispatchRuleResponse; -const _DeleteSIPDispatchRuleRequest = class _DeleteSIPDispatchRuleRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - this.sipDispatchRuleId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_DeleteSIPDispatchRuleRequest, a, b); - } -}; -_DeleteSIPDispatchRuleRequest.runtime = import_protobuf.proto3; -_DeleteSIPDispatchRuleRequest.typeName = "livekit.DeleteSIPDispatchRuleRequest"; -_DeleteSIPDispatchRuleRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteSIPDispatchRuleRequest = _DeleteSIPDispatchRuleRequest; -const _CreateSIPParticipantRequest = class _CreateSIPParticipantRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * What SIP Trunk should be used to dial the user - * - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * What number should be dialed via SIP - * - * @generated from field: string sip_call_to = 2; - */ - this.sipCallTo = ""; - /** - * Optional SIP From number to use. If empty, trunk number is used. - * - * @generated from field: string sip_number = 15; - */ - this.sipNumber = ""; - /** - * What LiveKit room should this participant be connected too - * - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * Optional identity of the participant in LiveKit room - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * Optional name of the participant in LiveKit room - * - * @generated from field: string participant_name = 7; - */ - this.participantName = ""; - /** - * Optional user-defined metadata. Will be attached to a created Participant in the room. - * - * @generated from field: string participant_metadata = 8; - */ - this.participantMetadata = ""; - /** - * Optional user-defined attributes. Will be attached to a created Participant in the room. - * - * @generated from field: map participant_attributes = 9; - */ - this.participantAttributes = {}; - /** - * Optionally send following DTMF digits (extension codes) when making a call. - * Character 'w' can be used to add a 0.5 sec delay. - * - * @generated from field: string dtmf = 5; - */ - this.dtmf = ""; - /** - * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. - * - * @generated from field: bool play_ringtone = 6 [deprecated = true]; - * @deprecated - */ - this.playRingtone = false; - /** - * @generated from field: bool play_dialtone = 13; - */ - this.playDialtone = false; - /** - * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 10; - */ - this.hidePhoneNumber = false; - /** - * Enable voice isolation for the callee. - * - * NEXT ID: 16 - * - * @generated from field: bool enable_krisp = 14; - */ - this.enableKrisp = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_CreateSIPParticipantRequest, a, b); - } -}; -_CreateSIPParticipantRequest.runtime = import_protobuf.proto3; -_CreateSIPParticipantRequest.typeName = "livekit.CreateSIPParticipantRequest"; -_CreateSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sip_call_to", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 15, - name: "sip_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "participant_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 5, - name: "dtmf", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "play_ringtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "play_dialtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "ringing_timeout", kind: "message", T: import_protobuf.Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: import_protobuf.Duration }, - { - no: 14, - name: "enable_krisp", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let CreateSIPParticipantRequest = _CreateSIPParticipantRequest; -const _SIPParticipantInfo = class _SIPParticipantInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_id = 1; - */ - this.participantId = ""; - /** - * @generated from field: string participant_identity = 2; - */ - this.participantIdentity = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * @generated from field: string sip_call_id = 4; - */ - this.sipCallId = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPParticipantInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPParticipantInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPParticipantInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPParticipantInfo, a, b); - } -}; -_SIPParticipantInfo.runtime = import_protobuf.proto3; -_SIPParticipantInfo.typeName = "livekit.SIPParticipantInfo"; -_SIPParticipantInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "sip_call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPParticipantInfo = _SIPParticipantInfo; -const _TransferSIPParticipantRequest = class _TransferSIPParticipantRequest extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_identity = 1; - */ - this.participantIdentity = ""; - /** - * @generated from field: string room_name = 2; - */ - this.roomName = ""; - /** - * @generated from field: string transfer_to = 3; - */ - this.transferTo = ""; - /** - * Optionally play dialtone to the SIP participant as an audible indicator of being transferred - * - * @generated from field: bool play_dialtone = 4; - */ - this.playDialtone = false; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TransferSIPParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TransferSIPParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TransferSIPParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_TransferSIPParticipantRequest, a, b); - } -}; -_TransferSIPParticipantRequest.runtime = import_protobuf.proto3; -_TransferSIPParticipantRequest.typeName = "livekit.TransferSIPParticipantRequest"; -_TransferSIPParticipantRequest.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "transfer_to", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "play_dialtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let TransferSIPParticipantRequest = _TransferSIPParticipantRequest; -const _SIPCallInfo = class _SIPCallInfo extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string call_id = 1; - */ - this.callId = ""; - /** - * @generated from field: string trunk_id = 2; - */ - this.trunkId = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 4; - */ - this.roomId = ""; - /** - * @generated from field: string participant_identity = 5; - */ - this.participantIdentity = ""; - /** - * @generated from field: repeated livekit.SIPFeature enabled_features = 14; - */ - this.enabledFeatures = []; - /** - * @generated from field: livekit.SIPCallStatus call_status = 8; - */ - this.callStatus = 0 /* SCS_CALL_INCOMING */; - /** - * @generated from field: int64 created_at = 9; - */ - this.createdAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 started_at = 10; - */ - this.startedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int64 ended_at = 11; - */ - this.endedAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 12; - */ - this.disconnectReason = import_livekit_models_pb.DisconnectReason.UNKNOWN_REASON; - /** - * @generated from field: string error = 13; - */ - this.error = ""; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPCallInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPCallInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPCallInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPCallInfo, a, b); - } -}; -_SIPCallInfo.runtime = import_protobuf.proto3; -_SIPCallInfo.typeName = "livekit.SIPCallInfo"; -_SIPCallInfo.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "from_uri", kind: "message", T: SIPUri }, - { no: 7, name: "to_uri", kind: "message", T: SIPUri }, - { no: 14, name: "enabled_features", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPFeature), repeated: true }, - { no: 8, name: "call_status", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPCallStatus) }, - { - no: 9, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 10, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 12, name: "disconnect_reason", kind: "enum", T: import_protobuf.proto3.getEnumType(import_livekit_models_pb.DisconnectReason) }, - { - no: 13, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPCallInfo = _SIPCallInfo; -const _SIPUri = class _SIPUri extends import_protobuf.Message { - constructor(data) { - super(); - /** - * @generated from field: string user = 1; - */ - this.user = ""; - /** - * @generated from field: string host = 2; - */ - this.host = ""; - /** - * @generated from field: string ip = 3; - */ - this.ip = ""; - /** - * @generated from field: uint32 port = 4; - */ - this.port = 0; - /** - * @generated from field: livekit.SIPTransport transport = 5; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPUri().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPUri().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPUri().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_SIPUri, a, b); - } -}; -_SIPUri.runtime = import_protobuf.proto3; -_SIPUri.typeName = "livekit.SIPUri"; -_SIPUri.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "user", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "host", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "ip", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "port", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 5, name: "transport", kind: "enum", T: import_protobuf.proto3.getEnumType(SIPTransport) } -]); -let SIPUri = _SIPUri; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - CreateSIPDispatchRuleRequest, - CreateSIPInboundTrunkRequest, - CreateSIPOutboundTrunkRequest, - CreateSIPParticipantRequest, - CreateSIPTrunkRequest, - DeleteSIPDispatchRuleRequest, - DeleteSIPTrunkRequest, - GetSIPInboundTrunkRequest, - GetSIPInboundTrunkResponse, - GetSIPOutboundTrunkRequest, - GetSIPOutboundTrunkResponse, - ListSIPDispatchRuleRequest, - ListSIPDispatchRuleResponse, - ListSIPInboundTrunkRequest, - ListSIPInboundTrunkResponse, - ListSIPOutboundTrunkRequest, - ListSIPOutboundTrunkResponse, - ListSIPTrunkRequest, - ListSIPTrunkResponse, - SIPCallInfo, - SIPCallStatus, - SIPDispatchRule, - SIPDispatchRuleCallee, - SIPDispatchRuleDirect, - SIPDispatchRuleIndividual, - SIPDispatchRuleInfo, - SIPFeature, - SIPInboundTrunkInfo, - SIPOutboundTrunkInfo, - SIPParticipantInfo, - SIPTransport, - SIPTrunkInfo, - SIPTrunkInfo_TrunkKind, - SIPUri, - TransferSIPParticipantRequest -}); -//# sourceMappingURL=livekit_sip_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.cjs.map b/packages/javascript/dist/gen/livekit_sip_pb.cjs.map deleted file mode 100644 index c178656d..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_sip_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_sip.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Duration, Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { DisconnectReason } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SIPTransport\n */\nexport enum SIPTransport {\n /**\n * @generated from enum value: SIP_TRANSPORT_AUTO = 0;\n */\n SIP_TRANSPORT_AUTO = 0,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_UDP = 1;\n */\n SIP_TRANSPORT_UDP = 1,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TCP = 2;\n */\n SIP_TRANSPORT_TCP = 2,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TLS = 3;\n */\n SIP_TRANSPORT_TLS = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTransport)\nproto3.util.setEnumType(SIPTransport, \"livekit.SIPTransport\", [\n { no: 0, name: \"SIP_TRANSPORT_AUTO\" },\n { no: 1, name: \"SIP_TRANSPORT_UDP\" },\n { no: 2, name: \"SIP_TRANSPORT_TCP\" },\n { no: 3, name: \"SIP_TRANSPORT_TLS\" },\n]);\n\n/**\n * @generated from enum livekit.SIPCallStatus\n */\nexport enum SIPCallStatus {\n /**\n * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet\n *\n * @generated from enum value: SCS_CALL_INCOMING = 0;\n */\n SCS_CALL_INCOMING = 0,\n\n /**\n * SIP participant for outgoing call has been created. The SIP outgoing call is being established\n *\n * @generated from enum value: SCS_PARTICIPANT_JOINED = 1;\n */\n SCS_PARTICIPANT_JOINED = 1,\n\n /**\n * Call is ongoing. SIP participant is active in the LiveKit room\n *\n * @generated from enum value: SCS_ACTIVE = 2;\n */\n SCS_ACTIVE = 2,\n\n /**\n * Call has ended\n *\n * @generated from enum value: SCS_DISCONNECTED = 3;\n */\n SCS_DISCONNECTED = 3,\n\n /**\n * Call has ended or never succeeded because of an error\n *\n * @generated from enum value: SCS_ERROR = 4;\n */\n SCS_ERROR = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPCallStatus)\nproto3.util.setEnumType(SIPCallStatus, \"livekit.SIPCallStatus\", [\n { no: 0, name: \"SCS_CALL_INCOMING\" },\n { no: 1, name: \"SCS_PARTICIPANT_JOINED\" },\n { no: 2, name: \"SCS_ACTIVE\" },\n { no: 3, name: \"SCS_DISCONNECTED\" },\n { no: 4, name: \"SCS_ERROR\" },\n]);\n\n/**\n * @generated from enum livekit.SIPFeature\n */\nexport enum SIPFeature {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: KRISP_ENABLED = 1;\n */\n KRISP_ENABLED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPFeature)\nproto3.util.setEnumType(SIPFeature, \"livekit.SIPFeature\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"KRISP_ENABLED\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPTrunkRequest\n * @deprecated\n */\nexport class CreateSIPTrunkRequest extends Message {\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 1;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 2;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 3;\n */\n outboundNumber = \"\";\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 9;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 5;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 6;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 7;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 8;\n */\n outboundPassword = \"\";\n\n /**\n * Optional human-readable name for the Trunk.\n *\n * @generated from field: string name = 10;\n */\n name = \"\";\n\n /**\n * Optional user-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 11;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 9, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPTrunkInfo\n * @deprecated\n */\nexport class SIPTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;\n */\n kind = SIPTrunkInfo_TrunkKind.TRUNK_LEGACY;\n\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 2;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 3;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 4;\n */\n outboundNumber = \"\";\n\n /**\n * Transport used for inbound and outbound calls.\n *\n * @generated from field: livekit.SIPTransport transport = 13;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 10;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 6;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 7;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 8;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 9;\n */\n outboundPassword = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 11;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 12;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },\n { no: 2, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 5, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 10, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.SIPTrunkInfo.TrunkKind\n */\nexport enum SIPTrunkInfo_TrunkKind {\n /**\n * @generated from enum value: TRUNK_LEGACY = 0;\n */\n TRUNK_LEGACY = 0,\n\n /**\n * @generated from enum value: TRUNK_INBOUND = 1;\n */\n TRUNK_INBOUND = 1,\n\n /**\n * @generated from enum value: TRUNK_OUTBOUND = 2;\n */\n TRUNK_OUTBOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTrunkInfo_TrunkKind)\nproto3.util.setEnumType(SIPTrunkInfo_TrunkKind, \"livekit.SIPTrunkInfo.TrunkKind\", [\n { no: 0, name: \"TRUNK_LEGACY\" },\n { no: 1, name: \"TRUNK_INBOUND\" },\n { no: 2, name: \"TRUNK_OUTBOUND\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPInboundTrunkRequest\n */\nexport class CreateSIPInboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPInboundTrunkInfo\n */\nexport class SIPInboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.\n * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.\n *\n * @generated from field: repeated string numbers = 4;\n */\n numbers: string[] = [];\n\n /**\n * CIDR or IPs that traffic is accepted from.\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string allowed_addresses = 5;\n */\n allowedAddresses: string[] = [];\n\n /**\n * Numbers that are allowed to make calls to this Trunk.\n * An empty list means calls from any phone number is accepted.\n *\n * @generated from field: repeated string allowed_numbers = 6;\n */\n allowedNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound SIP invites.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in 200 OK responses.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from INVITE to SIP participant attributes.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 14;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n /**\n * Max time for the caller to wait for track subscription.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * @generated from field: bool krisp_enabled = 13;\n */\n krispEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPInboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"allowed_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"allowed_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 14, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 13, name: \"krisp_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPInboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPOutboundTrunkRequest\n */\nexport class CreateSIPOutboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPOutboundTrunkInfo\n */\nexport class SIPOutboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Hostname or IP that SIP INVITE is sent too.\n * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.\n *\n * @generated from field: string address = 4;\n */\n address = \"\";\n\n /**\n * SIP Transport used for outbound call.\n *\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * Numbers used to make the calls. Random one from this list will be selected.\n *\n * @generated from field: repeated string numbers = 6;\n */\n numbers: string[] = [];\n\n /**\n * Username and password used to authenticate with SIP server.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in INVITE request.\n * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from 200 OK to SIP participant attributes.\n * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 11;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPOutboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 6, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPOutboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkRequest\n */\nexport class GetSIPInboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkResponse\n */\nexport class GetSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkRequest\n */\nexport class GetSIPOutboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkResponse\n */\nexport class GetSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkRequest\n * @deprecated\n */\nexport class ListSIPTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkResponse\n * @deprecated\n */\nexport class ListSIPTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPTrunkInfo items = 1;\n */\n items: SIPTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkRequest\n */\nexport class ListSIPInboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkResponse\n */\nexport class ListSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;\n */\n items: SIPInboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPInboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkRequest\n */\nexport class ListSIPOutboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkResponse\n */\nexport class ListSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;\n */\n items: SIPOutboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPOutboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPTrunkRequest\n */\nexport class DeleteSIPTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleDirect\n */\nexport class SIPDispatchRuleDirect extends Message {\n /**\n * What room should call be directed into\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleDirect\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleDirect, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleIndividual\n */\nexport class SIPDispatchRuleIndividual extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleIndividual\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleIndividual, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleCallee\n */\nexport class SIPDispatchRuleCallee extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n /**\n * Optionally append random suffix\n *\n * @generated from field: bool randomize = 3;\n */\n randomize = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleCallee\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"randomize\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleCallee, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRule\n */\nexport class SIPDispatchRule extends Message {\n /**\n * @generated from oneof livekit.SIPDispatchRule.rule\n */\n rule: {\n /**\n * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room\n * This places users into an existing room. Optionally you can require a pin before a user can\n * enter the room\n *\n * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;\n */\n value: SIPDispatchRuleDirect;\n case: \"dispatchRuleDirect\";\n } | {\n /**\n * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.\n *\n * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;\n */\n value: SIPDispatchRuleIndividual;\n case: \"dispatchRuleIndividual\";\n } | {\n /**\n * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.\n *\n * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;\n */\n value: SIPDispatchRuleCallee;\n case: \"dispatchRuleCallee\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRule\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_rule_direct\", kind: \"message\", T: SIPDispatchRuleDirect, oneof: \"rule\" },\n { no: 2, name: \"dispatch_rule_individual\", kind: \"message\", T: SIPDispatchRuleIndividual, oneof: \"rule\" },\n { no: 3, name: \"dispatch_rule_callee\", kind: \"message\", T: SIPDispatchRuleCallee, oneof: \"rule\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRule, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPDispatchRuleRequest\n */\nexport class CreateSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 1;\n */\n rule?: SIPDispatchRule;\n\n /**\n * What trunks are accepted for this dispatch rule\n * If empty all trunks will match this dispatch rule\n *\n * @generated from field: repeated string trunk_ids = 2;\n */\n trunkIds: string[] = [];\n\n /**\n * By default the From value (Phone number) is used for participant name/identity and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 3;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 6;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Optional human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 4;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 7;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 2, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleInfo\n */\nexport class SIPDispatchRuleInfo extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 2;\n */\n rule?: SIPDispatchRule;\n\n /**\n * @generated from field: repeated string trunk_ids = 3;\n */\n trunkIds: string[] = [];\n\n /**\n * @generated from field: bool hide_phone_number = 4;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 7;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 8;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 3, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleRequest\n */\nexport class ListSIPDispatchRuleRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleResponse\n */\nexport class ListSIPDispatchRuleResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;\n */\n items: SIPDispatchRuleInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPDispatchRuleInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPDispatchRuleRequest\n */\nexport class DeleteSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * A SIP Participant is a singular SIP session connected to a LiveKit room via\n * a SIP Trunk into a SIP DispatchRule\n *\n * @generated from message livekit.CreateSIPParticipantRequest\n */\nexport class CreateSIPParticipantRequest extends Message {\n /**\n * What SIP Trunk should be used to dial the user\n *\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * What number should be dialed via SIP\n *\n * @generated from field: string sip_call_to = 2;\n */\n sipCallTo = \"\";\n\n /**\n * Optional SIP From number to use. If empty, trunk number is used.\n *\n * @generated from field: string sip_number = 15;\n */\n sipNumber = \"\";\n\n /**\n * What LiveKit room should this participant be connected too\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * Optional identity of the participant in LiveKit room\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * Optional name of the participant in LiveKit room\n *\n * @generated from field: string participant_name = 7;\n */\n participantName = \"\";\n\n /**\n * Optional user-defined metadata. Will be attached to a created Participant in the room.\n *\n * @generated from field: string participant_metadata = 8;\n */\n participantMetadata = \"\";\n\n /**\n * Optional user-defined attributes. Will be attached to a created Participant in the room.\n *\n * @generated from field: map participant_attributes = 9;\n */\n participantAttributes: { [key: string]: string } = {};\n\n /**\n * Optionally send following DTMF digits (extension codes) when making a call.\n * Character 'w' can be used to add a 0.5 sec delay.\n *\n * @generated from field: string dtmf = 5;\n */\n dtmf = \"\";\n\n /**\n * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.\n *\n * @generated from field: bool play_ringtone = 6 [deprecated = true];\n * @deprecated\n */\n playRingtone = false;\n\n /**\n * @generated from field: bool play_dialtone = 13;\n */\n playDialtone = false;\n\n /**\n * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 10;\n */\n hidePhoneNumber = false;\n\n /**\n * Max time for the callee to answer the call.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * Enable voice isolation for the callee.\n *\n * NEXT ID: 16\n *\n * @generated from field: bool enable_krisp = 14;\n */\n enableKrisp = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sip_call_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"sip_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 5, name: \"dtmf\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"play_ringtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 14, name: \"enable_krisp\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPParticipantInfo\n */\nexport class SIPParticipantInfo extends Message {\n /**\n * @generated from field: string participant_id = 1;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string participant_identity = 2;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string sip_call_id = 4;\n */\n sipCallId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TransferSIPParticipantRequest\n */\nexport class TransferSIPParticipantRequest extends Message {\n /**\n * @generated from field: string participant_identity = 1;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 2;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string transfer_to = 3;\n */\n transferTo = \"\";\n\n /**\n * Optionally play dialtone to the SIP participant as an audible indicator of being transferred\n *\n * @generated from field: bool play_dialtone = 4;\n */\n playDialtone = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TransferSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"transfer_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TransferSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPCallInfo\n */\nexport class SIPCallInfo extends Message {\n /**\n * @generated from field: string call_id = 1;\n */\n callId = \"\";\n\n /**\n * @generated from field: string trunk_id = 2;\n */\n trunkId = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 4;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: livekit.SIPUri from_uri = 6;\n */\n fromUri?: SIPUri;\n\n /**\n * @generated from field: livekit.SIPUri to_uri = 7;\n */\n toUri?: SIPUri;\n\n /**\n * @generated from field: repeated livekit.SIPFeature enabled_features = 14;\n */\n enabledFeatures: SIPFeature[] = [];\n\n /**\n * @generated from field: livekit.SIPCallStatus call_status = 8;\n */\n callStatus = SIPCallStatus.SCS_CALL_INCOMING;\n\n /**\n * @generated from field: int64 created_at = 9;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 12;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: string error = 13;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPCallInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"from_uri\", kind: \"message\", T: SIPUri },\n { no: 7, name: \"to_uri\", kind: \"message\", T: SIPUri },\n { no: 14, name: \"enabled_features\", kind: \"enum\", T: proto3.getEnumType(SIPFeature), repeated: true },\n { no: 8, name: \"call_status\", kind: \"enum\", T: proto3.getEnumType(SIPCallStatus) },\n { no: 9, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 12, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 13, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPCallInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPUri\n */\nexport class SIPUri extends Message {\n /**\n * @generated from field: string user = 1;\n */\n user = \"\";\n\n /**\n * @generated from field: string host = 2;\n */\n host = \"\";\n\n /**\n * @generated from field: string ip = 3;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 port = 4;\n */\n port = 0;\n\n /**\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPUri\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"user\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"host\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"port\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri {\n return new SIPUri().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri {\n return new SIPUri().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPUri {\n return new SIPUri().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPUri, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAAsD;AACtD,+BAAiC;AAK1B,IAAK,eAAL,kBAAKA,kBAAL;AAIL,EAAAA,4BAAA,wBAAqB,KAArB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAKA,EAAAA,4BAAA,uBAAoB,KAApB;AAnBU,SAAAA;AAAA,GAAA;AAsBZ,uBAAO,KAAK,YAAY,cAAc,wBAAwB;AAAA,EAC5D,EAAE,IAAI,GAAG,MAAM,qBAAqB;AAAA,EACpC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AAAA,EACnC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AAAA,EACnC,EAAE,IAAI,GAAG,MAAM,oBAAoB;AACrC,CAAC;AAKM,IAAK,gBAAL,kBAAKC,mBAAL;AAML,EAAAA,8BAAA,uBAAoB,KAApB;AAOA,EAAAA,8BAAA,4BAAyB,KAAzB;AAOA,EAAAA,8BAAA,gBAAa,KAAb;AAOA,EAAAA,8BAAA,sBAAmB,KAAnB;AAOA,EAAAA,8BAAA,eAAY,KAAZ;AAlCU,SAAAA;AAAA,GAAA;AAqCZ,uBAAO,KAAK,YAAY,eA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,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAYA,OAAO,WAAW,OAAmB,SAA8C;AACjF,WAAO,IAAI,QAAO,EAAE,WAAW,OAAO,OAAO;AAAA,EAC/C;AAAA,EAEA,OAAO,SAAS,WAAsB,SAA4C;AAChF,WAAO,IAAI,QAAO,EAAE,SAAS,WAAW,OAAO;AAAA,EACjD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAA4C;AACpF,WAAO,IAAI,QAAO,EAAE,eAAe,YAAY,OAAO;AAAA,EACxD;AAAA,EAEA,OAAO,OAAO,GAA8C,GAAuD;AACjH,WAAO,uBAAO,KAAK,OAAO,SAAQ,GAAG,CAAC;AAAA,EACxC;AACF;AAxDa,QA+BK,UAAyB;AA/B9B,QAgCK,WAAW;AAhChB,QAiCK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,QAAQ,GAAG,uBAAO,YAAY,YAAY,EAAE;AAChF,CAAC;AAvCI,IAAM,SAAN;","names":["SIPTransport","SIPCallStatus","SIPFeature","SIPTrunkInfo_TrunkKind"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.d.ts b/packages/javascript/dist/gen/livekit_sip_pb.d.ts deleted file mode 100644 index 97931bdd..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.d.ts +++ /dev/null @@ -1,1226 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Duration, Message, proto3 } from "@bufbuild/protobuf"; -import { DisconnectReason } from "./livekit_models_pb.js"; -/** - * @generated from enum livekit.SIPTransport - */ -export declare enum SIPTransport { - /** - * @generated from enum value: SIP_TRANSPORT_AUTO = 0; - */ - SIP_TRANSPORT_AUTO = 0, - /** - * @generated from enum value: SIP_TRANSPORT_UDP = 1; - */ - SIP_TRANSPORT_UDP = 1, - /** - * @generated from enum value: SIP_TRANSPORT_TCP = 2; - */ - SIP_TRANSPORT_TCP = 2, - /** - * @generated from enum value: SIP_TRANSPORT_TLS = 3; - */ - SIP_TRANSPORT_TLS = 3 -} -/** - * @generated from enum livekit.SIPCallStatus - */ -export declare enum SIPCallStatus { - /** - * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet - * - * @generated from enum value: SCS_CALL_INCOMING = 0; - */ - SCS_CALL_INCOMING = 0, - /** - * SIP participant for outgoing call has been created. The SIP outgoing call is being established - * - * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; - */ - SCS_PARTICIPANT_JOINED = 1, - /** - * Call is ongoing. SIP participant is active in the LiveKit room - * - * @generated from enum value: SCS_ACTIVE = 2; - */ - SCS_ACTIVE = 2, - /** - * Call has ended - * - * @generated from enum value: SCS_DISCONNECTED = 3; - */ - SCS_DISCONNECTED = 3, - /** - * Call has ended or never succeeded because of an error - * - * @generated from enum value: SCS_ERROR = 4; - */ - SCS_ERROR = 4 -} -/** - * @generated from enum livekit.SIPFeature - */ -export declare enum SIPFeature { - /** - * @generated from enum value: NONE = 0; - */ - NONE = 0, - /** - * @generated from enum value: KRISP_ENABLED = 1; - */ - KRISP_ENABLED = 1 -} -/** - * @generated from message livekit.CreateSIPTrunkRequest - * @deprecated - */ -export declare class CreateSIPTrunkRequest extends Message { - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 1; - */ - inboundAddresses: string[]; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 2; - */ - outboundAddress: string; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 3; - */ - outboundNumber: string; - /** - * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; - * @deprecated - */ - inboundNumbersRegex: string[]; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 9; - */ - inboundNumbers: string[]; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 5; - */ - inboundUsername: string; - /** - * @generated from field: string inbound_password = 6; - */ - inboundPassword: string; - /** - * @generated from field: string outbound_username = 7; - */ - outboundUsername: string; - /** - * @generated from field: string outbound_password = 8; - */ - outboundPassword: string; - /** - * Optional human-readable name for the Trunk. - * - * @generated from field: string name = 10; - */ - name: string; - /** - * Optional user-defined metadata for the Trunk. - * - * @generated from field: string metadata = 11; - */ - metadata: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; - static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPTrunkInfo - * @deprecated - */ -export declare class SIPTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - /** - * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; - */ - kind: SIPTrunkInfo_TrunkKind; - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 2; - */ - inboundAddresses: string[]; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 3; - */ - outboundAddress: string; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 4; - */ - outboundNumber: string; - /** - * Transport used for inbound and outbound calls. - * - * @generated from field: livekit.SIPTransport transport = 13; - */ - transport: SIPTransport; - /** - * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; - * @deprecated - */ - inboundNumbersRegex: string[]; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 10; - */ - inboundNumbers: string[]; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 6; - */ - inboundUsername: string; - /** - * @generated from field: string inbound_password = 7; - */ - inboundPassword: string; - /** - * @generated from field: string outbound_username = 8; - */ - outboundUsername: string; - /** - * @generated from field: string outbound_password = 9; - */ - outboundPassword: string; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 11; - */ - name: string; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 12; - */ - metadata: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPTrunkInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; - static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from enum livekit.SIPTrunkInfo.TrunkKind - */ -export declare enum SIPTrunkInfo_TrunkKind { - /** - * @generated from enum value: TRUNK_LEGACY = 0; - */ - TRUNK_LEGACY = 0, - /** - * @generated from enum value: TRUNK_INBOUND = 1; - */ - TRUNK_INBOUND = 1, - /** - * @generated from enum value: TRUNK_OUTBOUND = 2; - */ - TRUNK_OUTBOUND = 2 -} -/** - * @generated from message livekit.CreateSIPInboundTrunkRequest - */ -export declare class CreateSIPInboundTrunkRequest extends Message { - /** - * Trunk ID is ignored - * - * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; - */ - trunk?: SIPInboundTrunkInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; - static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPInboundTrunkInfo - */ -export declare class SIPInboundTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - name: string; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - metadata: string; - /** - * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. - * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. - * - * @generated from field: repeated string numbers = 4; - */ - numbers: string[]; - /** - * CIDR or IPs that traffic is accepted from. - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string allowed_addresses = 5; - */ - allowedAddresses: string[]; - /** - * Numbers that are allowed to make calls to this Trunk. - * An empty list means calls from any phone number is accepted. - * - * @generated from field: repeated string allowed_numbers = 6; - */ - allowedNumbers: string[]; - /** - * Username and password used to authenticate inbound SIP invites. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - authUsername: string; - /** - * @generated from field: string auth_password = 8; - */ - authPassword: string; - /** - * Include these SIP X-* headers in 200 OK responses. - * - * @generated from field: map headers = 9; - */ - headers: { - [key: string]: string; - }; - /** - * Map SIP X-* headers from INVITE to SIP participant attributes. - * - * @generated from field: map headers_to_attributes = 10; - */ - headersToAttributes: { - [key: string]: string; - }; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 14; - */ - attributesToHeaders: { - [key: string]: string; - }; - /** - * Max time for the caller to wait for track subscription. - * - * @generated from field: google.protobuf.Duration ringing_timeout = 11; - */ - ringingTimeout?: Duration; - /** - * Max call duration. - * - * @generated from field: google.protobuf.Duration max_call_duration = 12; - */ - maxCallDuration?: Duration; - /** - * @generated from field: bool krisp_enabled = 13; - */ - krispEnabled: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPInboundTrunkInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; - static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.CreateSIPOutboundTrunkRequest - */ -export declare class CreateSIPOutboundTrunkRequest extends Message { - /** - * Trunk ID is ignored - * - * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; - */ - trunk?: SIPOutboundTrunkInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; - static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPOutboundTrunkInfo - */ -export declare class SIPOutboundTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - name: string; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - metadata: string; - /** - * Hostname or IP that SIP INVITE is sent too. - * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. - * - * @generated from field: string address = 4; - */ - address: string; - /** - * SIP Transport used for outbound call. - * - * @generated from field: livekit.SIPTransport transport = 5; - */ - transport: SIPTransport; - /** - * Numbers used to make the calls. Random one from this list will be selected. - * - * @generated from field: repeated string numbers = 6; - */ - numbers: string[]; - /** - * Username and password used to authenticate with SIP server. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - authUsername: string; - /** - * @generated from field: string auth_password = 8; - */ - authPassword: string; - /** - * Include these SIP X-* headers in INVITE request. - * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - * - * @generated from field: map headers = 9; - */ - headers: { - [key: string]: string; - }; - /** - * Map SIP X-* headers from 200 OK to SIP participant attributes. - * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - * - * @generated from field: map headers_to_attributes = 10; - */ - headersToAttributes: { - [key: string]: string; - }; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 11; - */ - attributesToHeaders: { - [key: string]: string; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPOutboundTrunkInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; - static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.GetSIPInboundTrunkRequest - */ -export declare class GetSIPInboundTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; - static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.GetSIPInboundTrunkResponse - */ -export declare class GetSIPInboundTrunkResponse extends Message { - /** - * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; - */ - trunk?: SIPInboundTrunkInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; - static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; - static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.GetSIPOutboundTrunkRequest - */ -export declare class GetSIPOutboundTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; - static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.GetSIPOutboundTrunkResponse - */ -export declare class GetSIPOutboundTrunkResponse extends Message { - /** - * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; - */ - trunk?: SIPOutboundTrunkInfo; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; - static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; - static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPTrunkRequest - * @deprecated - */ -export declare class ListSIPTrunkRequest extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; - static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPTrunkResponse - * @deprecated - */ -export declare class ListSIPTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPTrunkInfo items = 1; - */ - items: SIPTrunkInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPTrunkResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; - static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; - static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPInboundTrunkRequest - */ -export declare class ListSIPInboundTrunkRequest extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; - static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPInboundTrunkResponse - */ -export declare class ListSIPInboundTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; - */ - items: SIPInboundTrunkInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; - static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; - static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPOutboundTrunkRequest - */ -export declare class ListSIPOutboundTrunkRequest extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; - static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPOutboundTrunkResponse - */ -export declare class ListSIPOutboundTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; - */ - items: SIPOutboundTrunkInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; - static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; - static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteSIPTrunkRequest - */ -export declare class DeleteSIPTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteSIPTrunkRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; - static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; - static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPDispatchRuleDirect - */ -export declare class SIPDispatchRuleDirect extends Message { - /** - * What room should call be directed into - * - * @generated from field: string room_name = 1; - */ - roomName: string; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleDirect"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; - static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPDispatchRuleIndividual - */ -export declare class SIPDispatchRuleIndividual extends Message { - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - roomPrefix: string; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleIndividual"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; - static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPDispatchRuleCallee - */ -export declare class SIPDispatchRuleCallee extends Message { - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - roomPrefix: string; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - /** - * Optionally append random suffix - * - * @generated from field: bool randomize = 3; - */ - randomize: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleCallee"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; - static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPDispatchRule - */ -export declare class SIPDispatchRule extends Message { - /** - * @generated from oneof livekit.SIPDispatchRule.rule - */ - rule: { - /** - * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room - * This places users into an existing room. Optionally you can require a pin before a user can - * enter the room - * - * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; - */ - value: SIPDispatchRuleDirect; - case: "dispatchRuleDirect"; - } | { - /** - * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. - * - * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; - */ - value: SIPDispatchRuleIndividual; - case: "dispatchRuleIndividual"; - } | { - /** - * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. - * - * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; - */ - value: SIPDispatchRuleCallee; - case: "dispatchRuleCallee"; - } | { - case: undefined; - value?: undefined; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRule"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; - static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.CreateSIPDispatchRuleRequest - */ -export declare class CreateSIPDispatchRuleRequest extends Message { - /** - * @generated from field: livekit.SIPDispatchRule rule = 1; - */ - rule?: SIPDispatchRule; - /** - * What trunks are accepted for this dispatch rule - * If empty all trunks will match this dispatch rule - * - * @generated from field: repeated string trunk_ids = 2; - */ - trunkIds: string[]; - /** - * By default the From value (Phone number) is used for participant name/identity and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 3; - */ - hidePhoneNumber: boolean; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 6; - */ - inboundNumbers: string[]; - /** - * Optional human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 4; - */ - name: string; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 5; - */ - metadata: string; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 7; - */ - attributes: { - [key: string]: string; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; - static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPDispatchRuleInfo - */ -export declare class SIPDispatchRuleInfo extends Message { - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - sipDispatchRuleId: string; - /** - * @generated from field: livekit.SIPDispatchRule rule = 2; - */ - rule?: SIPDispatchRule; - /** - * @generated from field: repeated string trunk_ids = 3; - */ - trunkIds: string[]; - /** - * @generated from field: bool hide_phone_number = 4; - */ - hidePhoneNumber: boolean; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 7; - */ - inboundNumbers: string[]; - /** - * Human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 5; - */ - name: string; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 6; - */ - metadata: string; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 8; - */ - attributes: { - [key: string]: string; - }; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; - static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPDispatchRuleRequest - */ -export declare class ListSIPDispatchRuleRequest extends Message { - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; - static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; - static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.ListSIPDispatchRuleResponse - */ -export declare class ListSIPDispatchRuleResponse extends Message { - /** - * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; - */ - items: SIPDispatchRuleInfo[]; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; - static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; - static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.DeleteSIPDispatchRuleRequest - */ -export declare class DeleteSIPDispatchRuleRequest extends Message { - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - sipDispatchRuleId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; - static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; - static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} -/** - * A SIP Participant is a singular SIP session connected to a LiveKit room via - * a SIP Trunk into a SIP DispatchRule - * - * @generated from message livekit.CreateSIPParticipantRequest - */ -export declare class CreateSIPParticipantRequest extends Message { - /** - * What SIP Trunk should be used to dial the user - * - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - /** - * What number should be dialed via SIP - * - * @generated from field: string sip_call_to = 2; - */ - sipCallTo: string; - /** - * Optional SIP From number to use. If empty, trunk number is used. - * - * @generated from field: string sip_number = 15; - */ - sipNumber: string; - /** - * What LiveKit room should this participant be connected too - * - * @generated from field: string room_name = 3; - */ - roomName: string; - /** - * Optional identity of the participant in LiveKit room - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - /** - * Optional name of the participant in LiveKit room - * - * @generated from field: string participant_name = 7; - */ - participantName: string; - /** - * Optional user-defined metadata. Will be attached to a created Participant in the room. - * - * @generated from field: string participant_metadata = 8; - */ - participantMetadata: string; - /** - * Optional user-defined attributes. Will be attached to a created Participant in the room. - * - * @generated from field: map participant_attributes = 9; - */ - participantAttributes: { - [key: string]: string; - }; - /** - * Optionally send following DTMF digits (extension codes) when making a call. - * Character 'w' can be used to add a 0.5 sec delay. - * - * @generated from field: string dtmf = 5; - */ - dtmf: string; - /** - * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. - * - * @generated from field: bool play_ringtone = 6 [deprecated = true]; - * @deprecated - */ - playRingtone: boolean; - /** - * @generated from field: bool play_dialtone = 13; - */ - playDialtone: boolean; - /** - * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 10; - */ - hidePhoneNumber: boolean; - /** - * Max time for the callee to answer the call. - * - * @generated from field: google.protobuf.Duration ringing_timeout = 11; - */ - ringingTimeout?: Duration; - /** - * Max call duration. - * - * @generated from field: google.protobuf.Duration max_call_duration = 12; - */ - maxCallDuration?: Duration; - /** - * Enable voice isolation for the callee. - * - * NEXT ID: 16 - * - * @generated from field: bool enable_krisp = 14; - */ - enableKrisp: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPParticipantRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; - static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; - static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPParticipantInfo - */ -export declare class SIPParticipantInfo extends Message { - /** - * @generated from field: string participant_id = 1; - */ - participantId: string; - /** - * @generated from field: string participant_identity = 2; - */ - participantIdentity: string; - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - /** - * @generated from field: string sip_call_id = 4; - */ - sipCallId: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPParticipantInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; - static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.TransferSIPParticipantRequest - */ -export declare class TransferSIPParticipantRequest extends Message { - /** - * @generated from field: string participant_identity = 1; - */ - participantIdentity: string; - /** - * @generated from field: string room_name = 2; - */ - roomName: string; - /** - * @generated from field: string transfer_to = 3; - */ - transferTo: string; - /** - * Optionally play dialtone to the SIP participant as an audible indicator of being transferred - * - * @generated from field: bool play_dialtone = 4; - */ - playDialtone: boolean; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TransferSIPParticipantRequest"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; - static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; - static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; - static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPCallInfo - */ -export declare class SIPCallInfo extends Message { - /** - * @generated from field: string call_id = 1; - */ - callId: string; - /** - * @generated from field: string trunk_id = 2; - */ - trunkId: string; - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 4; - */ - roomId: string; - /** - * @generated from field: string participant_identity = 5; - */ - participantIdentity: string; - /** - * @generated from field: livekit.SIPUri from_uri = 6; - */ - fromUri?: SIPUri; - /** - * @generated from field: livekit.SIPUri to_uri = 7; - */ - toUri?: SIPUri; - /** - * @generated from field: repeated livekit.SIPFeature enabled_features = 14; - */ - enabledFeatures: SIPFeature[]; - /** - * @generated from field: livekit.SIPCallStatus call_status = 8; - */ - callStatus: SIPCallStatus; - /** - * @generated from field: int64 created_at = 9; - */ - createdAt: bigint; - /** - * @generated from field: int64 started_at = 10; - */ - startedAt: bigint; - /** - * @generated from field: int64 ended_at = 11; - */ - endedAt: bigint; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 12; - */ - disconnectReason: DisconnectReason; - /** - * @generated from field: string error = 13; - */ - error: string; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPCallInfo"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; - static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; - static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; -} -/** - * @generated from message livekit.SIPUri - */ -export declare class SIPUri extends Message { - /** - * @generated from field: string user = 1; - */ - user: string; - /** - * @generated from field: string host = 2; - */ - host: string; - /** - * @generated from field: string ip = 3; - */ - ip: string; - /** - * @generated from field: uint32 port = 4; - */ - port: number; - /** - * @generated from field: livekit.SIPTransport transport = 5; - */ - transport: SIPTransport; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPUri"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; - static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; - static fromJsonString(jsonString: string, options?: Partial): SIPUri; - static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_sip_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map b/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map deleted file mode 100644 index f0be77d3..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_sip_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_sip_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,kBAAkB,IAAI;IAEtB;;OAEG;IACH,iBAAiB,IAAI;IAErB;;OAEG;IACH,iBAAiB,IAAI;IAErB;;OAEG;IACH,iBAAiB,IAAI;CACtB;AASD;;GAEG;AACH,oBAAY,aAAa;IACvB;;;;OAIG;IACH,iBAAiB,IAAI;IAErB;;;;OAIG;IACH,sBAAsB,IAAI;IAE1B;;;;OAIG;IACH,UAAU,IAAI;IAEd;;;;OAIG;IACH,gBAAgB,IAAI;IAEpB;;;;OAIG;IACH,SAAS,IAAI;CACd;AAUD;;GAEG;AACH,oBAAY,UAAU;IACpB;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,aAAa,IAAI;CAClB;AAOD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,OAAO,CAAC,qBAAqB,CAAC;IACvE;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC;;;;OAIG;IACH,eAAe,SAAM;IAErB;;;;OAIG;IACH,cAAc,SAAM;IAEpB;;;OAGG;IACH,mBAAmB,EAAE,MAAM,EAAE,CAAM;IAEnC;;;;;;OAMG;IACH,cAAc,EAAE,MAAM,EAAE,CAAM;IAE9B;;;;;OAKG;IACH,eAAe,SAAM;IAErB;;OAEG;IACH,eAAe,SAAM;IAErB;;OAEG;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EG;IACH,IAAI,SAAM;IAEV;;OAEG;IACH,EAAE,SAAM;IAER;;OAEG;IACH,IAAI,SAAK;IAET;;OAEG;IACH,SAAS,eAAmC;gBAEhC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC;IAKzC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,oBAAoB;IAC5C,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAM9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,MAAM;IAIlF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIjF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;IAIrF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnH"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.js b/packages/javascript/dist/gen/livekit_sip_pb.js deleted file mode 100644 index 60716049..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.js +++ /dev/null @@ -1,2061 +0,0 @@ -import { Duration, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { DisconnectReason } from "./livekit_models_pb.js"; -var SIPTransport = /* @__PURE__ */ ((SIPTransport2) => { - SIPTransport2[SIPTransport2["SIP_TRANSPORT_AUTO"] = 0] = "SIP_TRANSPORT_AUTO"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_UDP"] = 1] = "SIP_TRANSPORT_UDP"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_TCP"] = 2] = "SIP_TRANSPORT_TCP"; - SIPTransport2[SIPTransport2["SIP_TRANSPORT_TLS"] = 3] = "SIP_TRANSPORT_TLS"; - return SIPTransport2; -})(SIPTransport || {}); -proto3.util.setEnumType(SIPTransport, "livekit.SIPTransport", [ - { no: 0, name: "SIP_TRANSPORT_AUTO" }, - { no: 1, name: "SIP_TRANSPORT_UDP" }, - { no: 2, name: "SIP_TRANSPORT_TCP" }, - { no: 3, name: "SIP_TRANSPORT_TLS" } -]); -var SIPCallStatus = /* @__PURE__ */ ((SIPCallStatus2) => { - SIPCallStatus2[SIPCallStatus2["SCS_CALL_INCOMING"] = 0] = "SCS_CALL_INCOMING"; - SIPCallStatus2[SIPCallStatus2["SCS_PARTICIPANT_JOINED"] = 1] = "SCS_PARTICIPANT_JOINED"; - SIPCallStatus2[SIPCallStatus2["SCS_ACTIVE"] = 2] = "SCS_ACTIVE"; - SIPCallStatus2[SIPCallStatus2["SCS_DISCONNECTED"] = 3] = "SCS_DISCONNECTED"; - SIPCallStatus2[SIPCallStatus2["SCS_ERROR"] = 4] = "SCS_ERROR"; - return SIPCallStatus2; -})(SIPCallStatus || {}); -proto3.util.setEnumType(SIPCallStatus, "livekit.SIPCallStatus", [ - { no: 0, name: "SCS_CALL_INCOMING" }, - { no: 1, name: "SCS_PARTICIPANT_JOINED" }, - { no: 2, name: "SCS_ACTIVE" }, - { no: 3, name: "SCS_DISCONNECTED" }, - { no: 4, name: "SCS_ERROR" } -]); -var SIPFeature = /* @__PURE__ */ ((SIPFeature2) => { - SIPFeature2[SIPFeature2["NONE"] = 0] = "NONE"; - SIPFeature2[SIPFeature2["KRISP_ENABLED"] = 1] = "KRISP_ENABLED"; - return SIPFeature2; -})(SIPFeature || {}); -proto3.util.setEnumType(SIPFeature, "livekit.SIPFeature", [ - { no: 0, name: "NONE" }, - { no: 1, name: "KRISP_ENABLED" } -]); -const _CreateSIPTrunkRequest = class _CreateSIPTrunkRequest extends Message { - constructor(data) { - super(); - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 1; - */ - this.inboundAddresses = []; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 2; - */ - this.outboundAddress = ""; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 3; - */ - this.outboundNumber = ""; - /** - * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; - * @deprecated - */ - this.inboundNumbersRegex = []; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 9; - */ - this.inboundNumbers = []; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 5; - */ - this.inboundUsername = ""; - /** - * @generated from field: string inbound_password = 6; - */ - this.inboundPassword = ""; - /** - * @generated from field: string outbound_username = 7; - */ - this.outboundUsername = ""; - /** - * @generated from field: string outbound_password = 8; - */ - this.outboundPassword = ""; - /** - * Optional human-readable name for the Trunk. - * - * @generated from field: string name = 10; - */ - this.name = ""; - /** - * Optional user-defined metadata for the Trunk. - * - * @generated from field: string metadata = 11; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateSIPTrunkRequest, a, b); - } -}; -_CreateSIPTrunkRequest.runtime = proto3; -_CreateSIPTrunkRequest.typeName = "livekit.CreateSIPTrunkRequest"; -_CreateSIPTrunkRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, - { - no: 2, - name: "outbound_address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "outbound_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, - { no: 9, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "inbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "inbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "outbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "outbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 10, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let CreateSIPTrunkRequest = _CreateSIPTrunkRequest; -const _SIPTrunkInfo = class _SIPTrunkInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; - */ - this.kind = 0 /* TRUNK_LEGACY */; - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 2; - */ - this.inboundAddresses = []; - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 3; - */ - this.outboundAddress = ""; - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 4; - */ - this.outboundNumber = ""; - /** - * Transport used for inbound and outbound calls. - * - * @generated from field: livekit.SIPTransport transport = 13; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - /** - * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; - * @deprecated - */ - this.inboundNumbersRegex = []; - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 10; - */ - this.inboundNumbers = []; - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 6; - */ - this.inboundUsername = ""; - /** - * @generated from field: string inbound_password = 7; - */ - this.inboundPassword = ""; - /** - * @generated from field: string outbound_username = 8; - */ - this.outboundUsername = ""; - /** - * @generated from field: string outbound_password = 9; - */ - this.outboundPassword = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 11; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 12; - */ - this.metadata = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPTrunkInfo, a, b); - } -}; -_SIPTrunkInfo.runtime = proto3; -_SIPTrunkInfo.typeName = "livekit.SIPTrunkInfo"; -_SIPTrunkInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, - { no: 2, name: "inbound_addresses", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "outbound_address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "outbound_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, - { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9, repeated: true }, - { no: 10, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 6, - name: "inbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "inbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "outbound_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 9, - name: "outbound_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 11, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 12, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPTrunkInfo = _SIPTrunkInfo; -var SIPTrunkInfo_TrunkKind = /* @__PURE__ */ ((SIPTrunkInfo_TrunkKind2) => { - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_LEGACY"] = 0] = "TRUNK_LEGACY"; - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_INBOUND"] = 1] = "TRUNK_INBOUND"; - SIPTrunkInfo_TrunkKind2[SIPTrunkInfo_TrunkKind2["TRUNK_OUTBOUND"] = 2] = "TRUNK_OUTBOUND"; - return SIPTrunkInfo_TrunkKind2; -})(SIPTrunkInfo_TrunkKind || {}); -proto3.util.setEnumType(SIPTrunkInfo_TrunkKind, "livekit.SIPTrunkInfo.TrunkKind", [ - { no: 0, name: "TRUNK_LEGACY" }, - { no: 1, name: "TRUNK_INBOUND" }, - { no: 2, name: "TRUNK_OUTBOUND" } -]); -const _CreateSIPInboundTrunkRequest = class _CreateSIPInboundTrunkRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateSIPInboundTrunkRequest, a, b); - } -}; -_CreateSIPInboundTrunkRequest.runtime = proto3; -_CreateSIPInboundTrunkRequest.typeName = "livekit.CreateSIPInboundTrunkRequest"; -_CreateSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } -]); -let CreateSIPInboundTrunkRequest = _CreateSIPInboundTrunkRequest; -const _SIPInboundTrunkInfo = class _SIPInboundTrunkInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. - * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. - * - * @generated from field: repeated string numbers = 4; - */ - this.numbers = []; - /** - * CIDR or IPs that traffic is accepted from. - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string allowed_addresses = 5; - */ - this.allowedAddresses = []; - /** - * Numbers that are allowed to make calls to this Trunk. - * An empty list means calls from any phone number is accepted. - * - * @generated from field: repeated string allowed_numbers = 6; - */ - this.allowedNumbers = []; - /** - * Username and password used to authenticate inbound SIP invites. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - this.authUsername = ""; - /** - * @generated from field: string auth_password = 8; - */ - this.authPassword = ""; - /** - * Include these SIP X-* headers in 200 OK responses. - * - * @generated from field: map headers = 9; - */ - this.headers = {}; - /** - * Map SIP X-* headers from INVITE to SIP participant attributes. - * - * @generated from field: map headers_to_attributes = 10; - */ - this.headersToAttributes = {}; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 14; - */ - this.attributesToHeaders = {}; - /** - * @generated from field: bool krisp_enabled = 13; - */ - this.krispEnabled = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPInboundTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPInboundTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPInboundTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPInboundTrunkInfo, a, b); - } -}; -_SIPInboundTrunkInfo.runtime = proto3; -_SIPInboundTrunkInfo.typeName = "livekit.SIPInboundTrunkInfo"; -_SIPInboundTrunkInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 4, name: "numbers", kind: "scalar", T: 9, repeated: true }, - { no: 5, name: "allowed_addresses", kind: "scalar", T: 9, repeated: true }, - { no: 6, name: "allowed_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 7, - name: "auth_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "auth_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 14, name: "attributes_to_headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: Duration }, - { - no: 13, - name: "krisp_enabled", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SIPInboundTrunkInfo = _SIPInboundTrunkInfo; -const _CreateSIPOutboundTrunkRequest = class _CreateSIPOutboundTrunkRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateSIPOutboundTrunkRequest, a, b); - } -}; -_CreateSIPOutboundTrunkRequest.runtime = proto3; -_CreateSIPOutboundTrunkRequest.typeName = "livekit.CreateSIPOutboundTrunkRequest"; -_CreateSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } -]); -let CreateSIPOutboundTrunkRequest = _CreateSIPOutboundTrunkRequest; -const _SIPOutboundTrunkInfo = class _SIPOutboundTrunkInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - this.name = ""; - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - this.metadata = ""; - /** - * Hostname or IP that SIP INVITE is sent too. - * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. - * - * @generated from field: string address = 4; - */ - this.address = ""; - /** - * SIP Transport used for outbound call. - * - * @generated from field: livekit.SIPTransport transport = 5; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - /** - * Numbers used to make the calls. Random one from this list will be selected. - * - * @generated from field: repeated string numbers = 6; - */ - this.numbers = []; - /** - * Username and password used to authenticate with SIP server. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - this.authUsername = ""; - /** - * @generated from field: string auth_password = 8; - */ - this.authPassword = ""; - /** - * Include these SIP X-* headers in INVITE request. - * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - * - * @generated from field: map headers = 9; - */ - this.headers = {}; - /** - * Map SIP X-* headers from 200 OK to SIP participant attributes. - * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - * - * @generated from field: map headers_to_attributes = 10; - */ - this.headersToAttributes = {}; - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 11; - */ - this.attributesToHeaders = {}; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPOutboundTrunkInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPOutboundTrunkInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPOutboundTrunkInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPOutboundTrunkInfo, a, b); - } -}; -_SIPOutboundTrunkInfo.runtime = proto3; -_SIPOutboundTrunkInfo.typeName = "livekit.SIPOutboundTrunkInfo"; -_SIPOutboundTrunkInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "address", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, - { no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 7, - name: "auth_username", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "auth_password", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { no: 11, name: "attributes_to_headers", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let SIPOutboundTrunkInfo = _SIPOutboundTrunkInfo; -const _GetSIPInboundTrunkRequest = class _GetSIPInboundTrunkRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_GetSIPInboundTrunkRequest, a, b); - } -}; -_GetSIPInboundTrunkRequest.runtime = proto3; -_GetSIPInboundTrunkRequest.typeName = "livekit.GetSIPInboundTrunkRequest"; -_GetSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let GetSIPInboundTrunkRequest = _GetSIPInboundTrunkRequest; -const _GetSIPInboundTrunkResponse = class _GetSIPInboundTrunkResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPInboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPInboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPInboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_GetSIPInboundTrunkResponse, a, b); - } -}; -_GetSIPInboundTrunkResponse.runtime = proto3; -_GetSIPInboundTrunkResponse.typeName = "livekit.GetSIPInboundTrunkResponse"; -_GetSIPInboundTrunkResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo } -]); -let GetSIPInboundTrunkResponse = _GetSIPInboundTrunkResponse; -const _GetSIPOutboundTrunkRequest = class _GetSIPOutboundTrunkRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_GetSIPOutboundTrunkRequest, a, b); - } -}; -_GetSIPOutboundTrunkRequest.runtime = proto3; -_GetSIPOutboundTrunkRequest.typeName = "livekit.GetSIPOutboundTrunkRequest"; -_GetSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let GetSIPOutboundTrunkRequest = _GetSIPOutboundTrunkRequest; -const _GetSIPOutboundTrunkResponse = class _GetSIPOutboundTrunkResponse extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _GetSIPOutboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _GetSIPOutboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_GetSIPOutboundTrunkResponse, a, b); - } -}; -_GetSIPOutboundTrunkResponse.runtime = proto3; -_GetSIPOutboundTrunkResponse.typeName = "livekit.GetSIPOutboundTrunkResponse"; -_GetSIPOutboundTrunkResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo } -]); -let GetSIPOutboundTrunkResponse = _GetSIPOutboundTrunkResponse; -const _ListSIPTrunkRequest = class _ListSIPTrunkRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPTrunkRequest, a, b); - } -}; -_ListSIPTrunkRequest.runtime = proto3; -_ListSIPTrunkRequest.typeName = "livekit.ListSIPTrunkRequest"; -_ListSIPTrunkRequest.fields = proto3.util.newFieldList(() => []); -let ListSIPTrunkRequest = _ListSIPTrunkRequest; -const _ListSIPTrunkResponse = class _ListSIPTrunkResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPTrunkInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPTrunkResponse, a, b); - } -}; -_ListSIPTrunkResponse.runtime = proto3; -_ListSIPTrunkResponse.typeName = "livekit.ListSIPTrunkResponse"; -_ListSIPTrunkResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true } -]); -let ListSIPTrunkResponse = _ListSIPTrunkResponse; -const _ListSIPInboundTrunkRequest = class _ListSIPInboundTrunkRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPInboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPInboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPInboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPInboundTrunkRequest, a, b); - } -}; -_ListSIPInboundTrunkRequest.runtime = proto3; -_ListSIPInboundTrunkRequest.typeName = "livekit.ListSIPInboundTrunkRequest"; -_ListSIPInboundTrunkRequest.fields = proto3.util.newFieldList(() => []); -let ListSIPInboundTrunkRequest = _ListSIPInboundTrunkRequest; -const _ListSIPInboundTrunkResponse = class _ListSIPInboundTrunkResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPInboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPInboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPInboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPInboundTrunkResponse, a, b); - } -}; -_ListSIPInboundTrunkResponse.runtime = proto3; -_ListSIPInboundTrunkResponse.typeName = "livekit.ListSIPInboundTrunkResponse"; -_ListSIPInboundTrunkResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true } -]); -let ListSIPInboundTrunkResponse = _ListSIPInboundTrunkResponse; -const _ListSIPOutboundTrunkRequest = class _ListSIPOutboundTrunkRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPOutboundTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPOutboundTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPOutboundTrunkRequest, a, b); - } -}; -_ListSIPOutboundTrunkRequest.runtime = proto3; -_ListSIPOutboundTrunkRequest.typeName = "livekit.ListSIPOutboundTrunkRequest"; -_ListSIPOutboundTrunkRequest.fields = proto3.util.newFieldList(() => []); -let ListSIPOutboundTrunkRequest = _ListSIPOutboundTrunkRequest; -const _ListSIPOutboundTrunkResponse = class _ListSIPOutboundTrunkResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPOutboundTrunkResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPOutboundTrunkResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPOutboundTrunkResponse, a, b); - } -}; -_ListSIPOutboundTrunkResponse.runtime = proto3; -_ListSIPOutboundTrunkResponse.typeName = "livekit.ListSIPOutboundTrunkResponse"; -_ListSIPOutboundTrunkResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true } -]); -let ListSIPOutboundTrunkResponse = _ListSIPOutboundTrunkResponse; -const _DeleteSIPTrunkRequest = class _DeleteSIPTrunkRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteSIPTrunkRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteSIPTrunkRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteSIPTrunkRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteSIPTrunkRequest, a, b); - } -}; -_DeleteSIPTrunkRequest.runtime = proto3; -_DeleteSIPTrunkRequest.typeName = "livekit.DeleteSIPTrunkRequest"; -_DeleteSIPTrunkRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteSIPTrunkRequest = _DeleteSIPTrunkRequest; -const _SIPDispatchRuleDirect = class _SIPDispatchRuleDirect extends Message { - constructor(data) { - super(); - /** - * What room should call be directed into - * - * @generated from field: string room_name = 1; - */ - this.roomName = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleDirect().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleDirect().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleDirect().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPDispatchRuleDirect, a, b); - } -}; -_SIPDispatchRuleDirect.runtime = proto3; -_SIPDispatchRuleDirect.typeName = "livekit.SIPDispatchRuleDirect"; -_SIPDispatchRuleDirect.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPDispatchRuleDirect = _SIPDispatchRuleDirect; -const _SIPDispatchRuleIndividual = class _SIPDispatchRuleIndividual extends Message { - constructor(data) { - super(); - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - this.roomPrefix = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleIndividual().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleIndividual().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleIndividual().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPDispatchRuleIndividual, a, b); - } -}; -_SIPDispatchRuleIndividual.runtime = proto3; -_SIPDispatchRuleIndividual.typeName = "livekit.SIPDispatchRuleIndividual"; -_SIPDispatchRuleIndividual.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPDispatchRuleIndividual = _SIPDispatchRuleIndividual; -const _SIPDispatchRuleCallee = class _SIPDispatchRuleCallee extends Message { - constructor(data) { - super(); - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - this.roomPrefix = ""; - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - this.pin = ""; - /** - * Optionally append random suffix - * - * @generated from field: bool randomize = 3; - */ - this.randomize = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleCallee().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleCallee().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleCallee().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPDispatchRuleCallee, a, b); - } -}; -_SIPDispatchRuleCallee.runtime = proto3; -_SIPDispatchRuleCallee.typeName = "livekit.SIPDispatchRuleCallee"; -_SIPDispatchRuleCallee.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "room_prefix", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "pin", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "randomize", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let SIPDispatchRuleCallee = _SIPDispatchRuleCallee; -const _SIPDispatchRule = class _SIPDispatchRule extends Message { - constructor(data) { - super(); - /** - * @generated from oneof livekit.SIPDispatchRule.rule - */ - this.rule = { case: void 0 }; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRule().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRule().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRule().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPDispatchRule, a, b); - } -}; -_SIPDispatchRule.runtime = proto3; -_SIPDispatchRule.typeName = "livekit.SIPDispatchRule"; -_SIPDispatchRule.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, - { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, - { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" } -]); -let SIPDispatchRule = _SIPDispatchRule; -const _CreateSIPDispatchRuleRequest = class _CreateSIPDispatchRuleRequest extends Message { - constructor(data) { - super(); - /** - * What trunks are accepted for this dispatch rule - * If empty all trunks will match this dispatch rule - * - * @generated from field: repeated string trunk_ids = 2; - */ - this.trunkIds = []; - /** - * By default the From value (Phone number) is used for participant name/identity and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 3; - */ - this.hidePhoneNumber = false; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 6; - */ - this.inboundNumbers = []; - /** - * Optional human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 4; - */ - this.name = ""; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 5; - */ - this.metadata = ""; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 7; - */ - this.attributes = {}; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateSIPDispatchRuleRequest, a, b); - } -}; -_CreateSIPDispatchRuleRequest.runtime = proto3; -_CreateSIPDispatchRuleRequest.typeName = "livekit.CreateSIPDispatchRuleRequest"; -_CreateSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 3, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 6, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 7, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let CreateSIPDispatchRuleRequest = _CreateSIPDispatchRuleRequest; -const _SIPDispatchRuleInfo = class _SIPDispatchRuleInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - this.sipDispatchRuleId = ""; - /** - * @generated from field: repeated string trunk_ids = 3; - */ - this.trunkIds = []; - /** - * @generated from field: bool hide_phone_number = 4; - */ - this.hidePhoneNumber = false; - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 7; - */ - this.inboundNumbers = []; - /** - * Human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 5; - */ - this.name = ""; - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 6; - */ - this.metadata = ""; - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 8; - */ - this.attributes = {}; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPDispatchRuleInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPDispatchRuleInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPDispatchRuleInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPDispatchRuleInfo, a, b); - } -}; -_SIPDispatchRuleInfo.runtime = proto3; -_SIPDispatchRuleInfo.typeName = "livekit.SIPDispatchRuleInfo"; -_SIPDispatchRuleInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 3, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }, - { - no: 4, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 7, name: "inbound_numbers", kind: "scalar", T: 9, repeated: true }, - { - no: 5, - name: "name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 8, name: "attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } } -]); -let SIPDispatchRuleInfo = _SIPDispatchRuleInfo; -const _ListSIPDispatchRuleRequest = class _ListSIPDispatchRuleRequest extends Message { - constructor(data) { - super(); - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPDispatchRuleRequest, a, b); - } -}; -_ListSIPDispatchRuleRequest.runtime = proto3; -_ListSIPDispatchRuleRequest.typeName = "livekit.ListSIPDispatchRuleRequest"; -_ListSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => []); -let ListSIPDispatchRuleRequest = _ListSIPDispatchRuleRequest; -const _ListSIPDispatchRuleResponse = class _ListSIPDispatchRuleResponse extends Message { - constructor(data) { - super(); - /** - * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; - */ - this.items = []; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _ListSIPDispatchRuleResponse().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _ListSIPDispatchRuleResponse().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _ListSIPDispatchRuleResponse().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_ListSIPDispatchRuleResponse, a, b); - } -}; -_ListSIPDispatchRuleResponse.runtime = proto3; -_ListSIPDispatchRuleResponse.typeName = "livekit.ListSIPDispatchRuleResponse"; -_ListSIPDispatchRuleResponse.fields = proto3.util.newFieldList(() => [ - { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true } -]); -let ListSIPDispatchRuleResponse = _ListSIPDispatchRuleResponse; -const _DeleteSIPDispatchRuleRequest = class _DeleteSIPDispatchRuleRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - this.sipDispatchRuleId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _DeleteSIPDispatchRuleRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_DeleteSIPDispatchRuleRequest, a, b); - } -}; -_DeleteSIPDispatchRuleRequest.runtime = proto3; -_DeleteSIPDispatchRuleRequest.typeName = "livekit.DeleteSIPDispatchRuleRequest"; -_DeleteSIPDispatchRuleRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_dispatch_rule_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let DeleteSIPDispatchRuleRequest = _DeleteSIPDispatchRuleRequest; -const _CreateSIPParticipantRequest = class _CreateSIPParticipantRequest extends Message { - constructor(data) { - super(); - /** - * What SIP Trunk should be used to dial the user - * - * @generated from field: string sip_trunk_id = 1; - */ - this.sipTrunkId = ""; - /** - * What number should be dialed via SIP - * - * @generated from field: string sip_call_to = 2; - */ - this.sipCallTo = ""; - /** - * Optional SIP From number to use. If empty, trunk number is used. - * - * @generated from field: string sip_number = 15; - */ - this.sipNumber = ""; - /** - * What LiveKit room should this participant be connected too - * - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * Optional identity of the participant in LiveKit room - * - * @generated from field: string participant_identity = 4; - */ - this.participantIdentity = ""; - /** - * Optional name of the participant in LiveKit room - * - * @generated from field: string participant_name = 7; - */ - this.participantName = ""; - /** - * Optional user-defined metadata. Will be attached to a created Participant in the room. - * - * @generated from field: string participant_metadata = 8; - */ - this.participantMetadata = ""; - /** - * Optional user-defined attributes. Will be attached to a created Participant in the room. - * - * @generated from field: map participant_attributes = 9; - */ - this.participantAttributes = {}; - /** - * Optionally send following DTMF digits (extension codes) when making a call. - * Character 'w' can be used to add a 0.5 sec delay. - * - * @generated from field: string dtmf = 5; - */ - this.dtmf = ""; - /** - * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. - * - * @generated from field: bool play_ringtone = 6 [deprecated = true]; - * @deprecated - */ - this.playRingtone = false; - /** - * @generated from field: bool play_dialtone = 13; - */ - this.playDialtone = false; - /** - * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 10; - */ - this.hidePhoneNumber = false; - /** - * Enable voice isolation for the callee. - * - * NEXT ID: 16 - * - * @generated from field: bool enable_krisp = 14; - */ - this.enableKrisp = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _CreateSIPParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _CreateSIPParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _CreateSIPParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_CreateSIPParticipantRequest, a, b); - } -}; -_CreateSIPParticipantRequest.runtime = proto3; -_CreateSIPParticipantRequest.typeName = "livekit.CreateSIPParticipantRequest"; -_CreateSIPParticipantRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "sip_trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "sip_call_to", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 15, - name: "sip_number", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "participant_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 8, - name: "participant_metadata", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 9, name: "participant_attributes", kind: "map", K: 9, V: { - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } }, - { - no: 5, - name: "dtmf", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 6, - name: "play_ringtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 13, - name: "play_dialtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { - no: 10, - name: "hide_phone_number", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - }, - { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: Duration }, - { - no: 14, - name: "enable_krisp", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let CreateSIPParticipantRequest = _CreateSIPParticipantRequest; -const _SIPParticipantInfo = class _SIPParticipantInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_id = 1; - */ - this.participantId = ""; - /** - * @generated from field: string participant_identity = 2; - */ - this.participantIdentity = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * @generated from field: string sip_call_id = 4; - */ - this.sipCallId = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPParticipantInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPParticipantInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPParticipantInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPParticipantInfo, a, b); - } -}; -_SIPParticipantInfo.runtime = proto3; -_SIPParticipantInfo.typeName = "livekit.SIPParticipantInfo"; -_SIPParticipantInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "sip_call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPParticipantInfo = _SIPParticipantInfo; -const _TransferSIPParticipantRequest = class _TransferSIPParticipantRequest extends Message { - constructor(data) { - super(); - /** - * @generated from field: string participant_identity = 1; - */ - this.participantIdentity = ""; - /** - * @generated from field: string room_name = 2; - */ - this.roomName = ""; - /** - * @generated from field: string transfer_to = 3; - */ - this.transferTo = ""; - /** - * Optionally play dialtone to the SIP participant as an audible indicator of being transferred - * - * @generated from field: bool play_dialtone = 4; - */ - this.playDialtone = false; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _TransferSIPParticipantRequest().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _TransferSIPParticipantRequest().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _TransferSIPParticipantRequest().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_TransferSIPParticipantRequest, a, b); - } -}; -_TransferSIPParticipantRequest.runtime = proto3; -_TransferSIPParticipantRequest.typeName = "livekit.TransferSIPParticipantRequest"; -_TransferSIPParticipantRequest.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "transfer_to", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "play_dialtone", - kind: "scalar", - T: 8 - /* ScalarType.BOOL */ - } -]); -let TransferSIPParticipantRequest = _TransferSIPParticipantRequest; -const _SIPCallInfo = class _SIPCallInfo extends Message { - constructor(data) { - super(); - /** - * @generated from field: string call_id = 1; - */ - this.callId = ""; - /** - * @generated from field: string trunk_id = 2; - */ - this.trunkId = ""; - /** - * @generated from field: string room_name = 3; - */ - this.roomName = ""; - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 4; - */ - this.roomId = ""; - /** - * @generated from field: string participant_identity = 5; - */ - this.participantIdentity = ""; - /** - * @generated from field: repeated livekit.SIPFeature enabled_features = 14; - */ - this.enabledFeatures = []; - /** - * @generated from field: livekit.SIPCallStatus call_status = 8; - */ - this.callStatus = 0 /* SCS_CALL_INCOMING */; - /** - * @generated from field: int64 created_at = 9; - */ - this.createdAt = protoInt64.zero; - /** - * @generated from field: int64 started_at = 10; - */ - this.startedAt = protoInt64.zero; - /** - * @generated from field: int64 ended_at = 11; - */ - this.endedAt = protoInt64.zero; - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 12; - */ - this.disconnectReason = DisconnectReason.UNKNOWN_REASON; - /** - * @generated from field: string error = 13; - */ - this.error = ""; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPCallInfo().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPCallInfo().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPCallInfo().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPCallInfo, a, b); - } -}; -_SIPCallInfo.runtime = proto3; -_SIPCallInfo.typeName = "livekit.SIPCallInfo"; -_SIPCallInfo.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "call_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "trunk_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "room_name", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "room_id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 5, - name: "participant_identity", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 6, name: "from_uri", kind: "message", T: SIPUri }, - { no: 7, name: "to_uri", kind: "message", T: SIPUri }, - { no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true }, - { no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) }, - { - no: 9, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 10, - name: "started_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "ended_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, - { - no: 13, - name: "error", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - } -]); -let SIPCallInfo = _SIPCallInfo; -const _SIPUri = class _SIPUri extends Message { - constructor(data) { - super(); - /** - * @generated from field: string user = 1; - */ - this.user = ""; - /** - * @generated from field: string host = 2; - */ - this.host = ""; - /** - * @generated from field: string ip = 3; - */ - this.ip = ""; - /** - * @generated from field: uint32 port = 4; - */ - this.port = 0; - /** - * @generated from field: livekit.SIPTransport transport = 5; - */ - this.transport = 0 /* SIP_TRANSPORT_AUTO */; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _SIPUri().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _SIPUri().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _SIPUri().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_SIPUri, a, b); - } -}; -_SIPUri.runtime = proto3; -_SIPUri.typeName = "livekit.SIPUri"; -_SIPUri.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "user", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 2, - name: "host", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 3, - name: "ip", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 4, - name: "port", - kind: "scalar", - T: 13 - /* ScalarType.UINT32 */ - }, - { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) } -]); -let SIPUri = _SIPUri; -export { - CreateSIPDispatchRuleRequest, - CreateSIPInboundTrunkRequest, - CreateSIPOutboundTrunkRequest, - CreateSIPParticipantRequest, - CreateSIPTrunkRequest, - DeleteSIPDispatchRuleRequest, - DeleteSIPTrunkRequest, - GetSIPInboundTrunkRequest, - GetSIPInboundTrunkResponse, - GetSIPOutboundTrunkRequest, - GetSIPOutboundTrunkResponse, - ListSIPDispatchRuleRequest, - ListSIPDispatchRuleResponse, - ListSIPInboundTrunkRequest, - ListSIPInboundTrunkResponse, - ListSIPOutboundTrunkRequest, - ListSIPOutboundTrunkResponse, - ListSIPTrunkRequest, - ListSIPTrunkResponse, - SIPCallInfo, - SIPCallStatus, - SIPDispatchRule, - SIPDispatchRuleCallee, - SIPDispatchRuleDirect, - SIPDispatchRuleIndividual, - SIPDispatchRuleInfo, - SIPFeature, - SIPInboundTrunkInfo, - SIPOutboundTrunkInfo, - SIPParticipantInfo, - SIPTransport, - SIPTrunkInfo, - SIPTrunkInfo_TrunkKind, - SIPUri, - TransferSIPParticipantRequest -}; -//# sourceMappingURL=livekit_sip_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_sip_pb.js.map b/packages/javascript/dist/gen/livekit_sip_pb.js.map deleted file mode 100644 index 5c6f9f13..00000000 --- a/packages/javascript/dist/gen/livekit_sip_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_sip_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_sip.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Duration, Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { DisconnectReason } from \"./livekit_models_pb.js\";\n\n/**\n * @generated from enum livekit.SIPTransport\n */\nexport enum SIPTransport {\n /**\n * @generated from enum value: SIP_TRANSPORT_AUTO = 0;\n */\n SIP_TRANSPORT_AUTO = 0,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_UDP = 1;\n */\n SIP_TRANSPORT_UDP = 1,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TCP = 2;\n */\n SIP_TRANSPORT_TCP = 2,\n\n /**\n * @generated from enum value: SIP_TRANSPORT_TLS = 3;\n */\n SIP_TRANSPORT_TLS = 3,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTransport)\nproto3.util.setEnumType(SIPTransport, \"livekit.SIPTransport\", [\n { no: 0, name: \"SIP_TRANSPORT_AUTO\" },\n { no: 1, name: \"SIP_TRANSPORT_UDP\" },\n { no: 2, name: \"SIP_TRANSPORT_TCP\" },\n { no: 3, name: \"SIP_TRANSPORT_TLS\" },\n]);\n\n/**\n * @generated from enum livekit.SIPCallStatus\n */\nexport enum SIPCallStatus {\n /**\n * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet\n *\n * @generated from enum value: SCS_CALL_INCOMING = 0;\n */\n SCS_CALL_INCOMING = 0,\n\n /**\n * SIP participant for outgoing call has been created. The SIP outgoing call is being established\n *\n * @generated from enum value: SCS_PARTICIPANT_JOINED = 1;\n */\n SCS_PARTICIPANT_JOINED = 1,\n\n /**\n * Call is ongoing. SIP participant is active in the LiveKit room\n *\n * @generated from enum value: SCS_ACTIVE = 2;\n */\n SCS_ACTIVE = 2,\n\n /**\n * Call has ended\n *\n * @generated from enum value: SCS_DISCONNECTED = 3;\n */\n SCS_DISCONNECTED = 3,\n\n /**\n * Call has ended or never succeeded because of an error\n *\n * @generated from enum value: SCS_ERROR = 4;\n */\n SCS_ERROR = 4,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPCallStatus)\nproto3.util.setEnumType(SIPCallStatus, \"livekit.SIPCallStatus\", [\n { no: 0, name: \"SCS_CALL_INCOMING\" },\n { no: 1, name: \"SCS_PARTICIPANT_JOINED\" },\n { no: 2, name: \"SCS_ACTIVE\" },\n { no: 3, name: \"SCS_DISCONNECTED\" },\n { no: 4, name: \"SCS_ERROR\" },\n]);\n\n/**\n * @generated from enum livekit.SIPFeature\n */\nexport enum SIPFeature {\n /**\n * @generated from enum value: NONE = 0;\n */\n NONE = 0,\n\n /**\n * @generated from enum value: KRISP_ENABLED = 1;\n */\n KRISP_ENABLED = 1,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPFeature)\nproto3.util.setEnumType(SIPFeature, \"livekit.SIPFeature\", [\n { no: 0, name: \"NONE\" },\n { no: 1, name: \"KRISP_ENABLED\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPTrunkRequest\n * @deprecated\n */\nexport class CreateSIPTrunkRequest extends Message {\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 1;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 2;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 3;\n */\n outboundNumber = \"\";\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 9;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 5;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 6;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 7;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 8;\n */\n outboundPassword = \"\";\n\n /**\n * Optional human-readable name for the Trunk.\n *\n * @generated from field: string name = 10;\n */\n name = \"\";\n\n /**\n * Optional user-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 11;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 2, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 9, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest {\n return new CreateSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPTrunkInfo\n * @deprecated\n */\nexport class SIPTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14;\n */\n kind = SIPTrunkInfo_TrunkKind.TRUNK_LEGACY;\n\n /**\n * CIDR or IPs that traffic is accepted from\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string inbound_addresses = 2;\n */\n inboundAddresses: string[] = [];\n\n /**\n * IP that SIP INVITE is sent too\n *\n * @generated from field: string outbound_address = 3;\n */\n outboundAddress = \"\";\n\n /**\n * Number used to make outbound calls\n *\n * @generated from field: string outbound_number = 4;\n */\n outboundNumber = \"\";\n\n /**\n * Transport used for inbound and outbound calls.\n *\n * @generated from field: livekit.SIPTransport transport = 13;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true];\n * @deprecated\n */\n inboundNumbersRegex: string[] = [];\n\n /**\n * Accepted `To` values. This Trunk will only accept a call made to\n * these numbers. This allows you to have distinct Trunks for different phone\n * numbers at the same provider.\n *\n * @generated from field: repeated string inbound_numbers = 10;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound and outbound SIP invites\n * May be empty to have no Authentication\n *\n * @generated from field: string inbound_username = 6;\n */\n inboundUsername = \"\";\n\n /**\n * @generated from field: string inbound_password = 7;\n */\n inboundPassword = \"\";\n\n /**\n * @generated from field: string outbound_username = 8;\n */\n outboundUsername = \"\";\n\n /**\n * @generated from field: string outbound_password = 9;\n */\n outboundPassword = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 11;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 12;\n */\n metadata = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 14, name: \"kind\", kind: \"enum\", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) },\n { no: 2, name: \"inbound_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"outbound_address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"outbound_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 13, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 5, name: \"inbound_numbers_regex\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 10, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"inbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"inbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"outbound_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"outbound_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 11, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 12, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo {\n return new SIPTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from enum livekit.SIPTrunkInfo.TrunkKind\n */\nexport enum SIPTrunkInfo_TrunkKind {\n /**\n * @generated from enum value: TRUNK_LEGACY = 0;\n */\n TRUNK_LEGACY = 0,\n\n /**\n * @generated from enum value: TRUNK_INBOUND = 1;\n */\n TRUNK_INBOUND = 1,\n\n /**\n * @generated from enum value: TRUNK_OUTBOUND = 2;\n */\n TRUNK_OUTBOUND = 2,\n}\n// Retrieve enum metadata with: proto3.getEnumType(SIPTrunkInfo_TrunkKind)\nproto3.util.setEnumType(SIPTrunkInfo_TrunkKind, \"livekit.SIPTrunkInfo.TrunkKind\", [\n { no: 0, name: \"TRUNK_LEGACY\" },\n { no: 1, name: \"TRUNK_INBOUND\" },\n { no: 2, name: \"TRUNK_OUTBOUND\" },\n]);\n\n/**\n * @generated from message livekit.CreateSIPInboundTrunkRequest\n */\nexport class CreateSIPInboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest {\n return new CreateSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPInboundTrunkInfo\n */\nexport class SIPInboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers.\n * Creating multiple Trunks with different phone numbers allows having different rules for a single provider.\n *\n * @generated from field: repeated string numbers = 4;\n */\n numbers: string[] = [];\n\n /**\n * CIDR or IPs that traffic is accepted from.\n * An empty list means all inbound traffic is accepted.\n *\n * @generated from field: repeated string allowed_addresses = 5;\n */\n allowedAddresses: string[] = [];\n\n /**\n * Numbers that are allowed to make calls to this Trunk.\n * An empty list means calls from any phone number is accepted.\n *\n * @generated from field: repeated string allowed_numbers = 6;\n */\n allowedNumbers: string[] = [];\n\n /**\n * Username and password used to authenticate inbound SIP invites.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in 200 OK responses.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from INVITE to SIP participant attributes.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 14;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n /**\n * Max time for the caller to wait for track subscription.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * @generated from field: bool krisp_enabled = 13;\n */\n krispEnabled = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPInboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"allowed_addresses\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 6, name: \"allowed_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 14, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 13, name: \"krisp_enabled\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo {\n return new SIPInboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPInboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPOutboundTrunkRequest\n */\nexport class CreateSIPOutboundTrunkRequest extends Message {\n /**\n * Trunk ID is ignored\n *\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest {\n return new CreateSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPOutboundTrunkInfo\n */\nexport class SIPOutboundTrunkInfo extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * Human-readable name for the Trunk.\n *\n * @generated from field: string name = 2;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Trunk.\n *\n * @generated from field: string metadata = 3;\n */\n metadata = \"\";\n\n /**\n * Hostname or IP that SIP INVITE is sent too.\n * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix.\n *\n * @generated from field: string address = 4;\n */\n address = \"\";\n\n /**\n * SIP Transport used for outbound call.\n *\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n /**\n * Numbers used to make the calls. Random one from this list will be selected.\n *\n * @generated from field: repeated string numbers = 6;\n */\n numbers: string[] = [];\n\n /**\n * Username and password used to authenticate with SIP server.\n * May be empty to have no authentication.\n *\n * @generated from field: string auth_username = 7;\n */\n authUsername = \"\";\n\n /**\n * @generated from field: string auth_password = 8;\n */\n authPassword = \"\";\n\n /**\n * Include these SIP X-* headers in INVITE request.\n * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.\n *\n * @generated from field: map headers = 9;\n */\n headers: { [key: string]: string } = {};\n\n /**\n * Map SIP X-* headers from 200 OK to SIP participant attributes.\n * Keys are the names of X-* headers and values are the names of attributes they will be mapped to.\n *\n * @generated from field: map headers_to_attributes = 10;\n */\n headersToAttributes: { [key: string]: string } = {};\n\n /**\n * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.\n * Keys are the names of attributes and values are the names of X-* headers they will be mapped to.\n *\n * @generated from field: map attributes_to_headers = 11;\n */\n attributesToHeaders: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPOutboundTrunkInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"address\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n { no: 6, name: \"numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"auth_username\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"auth_password\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 10, name: \"headers_to_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 11, name: \"attributes_to_headers\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo {\n return new SIPOutboundTrunkInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPOutboundTrunkInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkRequest\n */\nexport class GetSIPInboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest {\n return new GetSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPInboundTrunkResponse\n */\nexport class GetSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1;\n */\n trunk?: SIPInboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPInboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse {\n return new GetSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkRequest\n */\nexport class GetSIPOutboundTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest {\n return new GetSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.GetSIPOutboundTrunkResponse\n */\nexport class GetSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1;\n */\n trunk?: SIPOutboundTrunkInfo;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.GetSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"trunk\", kind: \"message\", T: SIPOutboundTrunkInfo },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse {\n return new GetSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(GetSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkRequest\n * @deprecated\n */\nexport class ListSIPTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest {\n return new ListSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPTrunkResponse\n * @deprecated\n */\nexport class ListSIPTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPTrunkInfo items = 1;\n */\n items: SIPTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse {\n return new ListSIPTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkRequest\n */\nexport class ListSIPInboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest {\n return new ListSIPInboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPInboundTrunkResponse\n */\nexport class ListSIPInboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1;\n */\n items: SIPInboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPInboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPInboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse {\n return new ListSIPInboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPInboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkRequest\n */\nexport class ListSIPOutboundTrunkRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest {\n return new ListSIPOutboundTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPOutboundTrunkResponse\n */\nexport class ListSIPOutboundTrunkResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1;\n */\n items: SIPOutboundTrunkInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPOutboundTrunkResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPOutboundTrunkInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse {\n return new ListSIPOutboundTrunkResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPOutboundTrunkResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPTrunkRequest\n */\nexport class DeleteSIPTrunkRequest extends Message {\n /**\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPTrunkRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest {\n return new DeleteSIPTrunkRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPTrunkRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleDirect\n */\nexport class SIPDispatchRuleDirect extends Message {\n /**\n * What room should call be directed into\n *\n * @generated from field: string room_name = 1;\n */\n roomName = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleDirect\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect {\n return new SIPDispatchRuleDirect().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleDirect, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleIndividual\n */\nexport class SIPDispatchRuleIndividual extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleIndividual\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual {\n return new SIPDispatchRuleIndividual().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleIndividual, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleCallee\n */\nexport class SIPDispatchRuleCallee extends Message {\n /**\n * Prefix used on new room name\n *\n * @generated from field: string room_prefix = 1;\n */\n roomPrefix = \"\";\n\n /**\n * Optional pin required to enter room\n *\n * @generated from field: string pin = 2;\n */\n pin = \"\";\n\n /**\n * Optionally append random suffix\n *\n * @generated from field: bool randomize = 3;\n */\n randomize = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleCallee\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"room_prefix\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"pin\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"randomize\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee {\n return new SIPDispatchRuleCallee().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleCallee, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRule\n */\nexport class SIPDispatchRule extends Message {\n /**\n * @generated from oneof livekit.SIPDispatchRule.rule\n */\n rule: {\n /**\n * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room\n * This places users into an existing room. Optionally you can require a pin before a user can\n * enter the room\n *\n * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;\n */\n value: SIPDispatchRuleDirect;\n case: \"dispatchRuleDirect\";\n } | {\n /**\n * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller.\n *\n * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;\n */\n value: SIPDispatchRuleIndividual;\n case: \"dispatchRuleIndividual\";\n } | {\n /**\n * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.\n *\n * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;\n */\n value: SIPDispatchRuleCallee;\n case: \"dispatchRuleCallee\";\n } | { case: undefined; value?: undefined } = { case: undefined };\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRule\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"dispatch_rule_direct\", kind: \"message\", T: SIPDispatchRuleDirect, oneof: \"rule\" },\n { no: 2, name: \"dispatch_rule_individual\", kind: \"message\", T: SIPDispatchRuleIndividual, oneof: \"rule\" },\n { no: 3, name: \"dispatch_rule_callee\", kind: \"message\", T: SIPDispatchRuleCallee, oneof: \"rule\" },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule {\n return new SIPDispatchRule().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRule, a, b);\n }\n}\n\n/**\n * @generated from message livekit.CreateSIPDispatchRuleRequest\n */\nexport class CreateSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 1;\n */\n rule?: SIPDispatchRule;\n\n /**\n * What trunks are accepted for this dispatch rule\n * If empty all trunks will match this dispatch rule\n *\n * @generated from field: repeated string trunk_ids = 2;\n */\n trunkIds: string[] = [];\n\n /**\n * By default the From value (Phone number) is used for participant name/identity and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 3;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 6;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Optional human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 4;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 5;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 7;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 2, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 3, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 6, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest {\n return new CreateSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPDispatchRuleInfo\n */\nexport class SIPDispatchRuleInfo extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n /**\n * @generated from field: livekit.SIPDispatchRule rule = 2;\n */\n rule?: SIPDispatchRule;\n\n /**\n * @generated from field: repeated string trunk_ids = 3;\n */\n trunkIds: string[] = [];\n\n /**\n * @generated from field: bool hide_phone_number = 4;\n */\n hidePhoneNumber = false;\n\n /**\n * Dispatch Rule will only accept a call made to these numbers (if set).\n *\n * @generated from field: repeated string inbound_numbers = 7;\n */\n inboundNumbers: string[] = [];\n\n /**\n * Human-readable name for the Dispatch Rule.\n *\n * @generated from field: string name = 5;\n */\n name = \"\";\n\n /**\n * User-defined metadata for the Dispatch Rule.\n * Participants created by this rule will inherit this metadata.\n *\n * @generated from field: string metadata = 6;\n */\n metadata = \"\";\n\n /**\n * User-defined attributes for the Dispatch Rule.\n * Participants created by this rule will inherit these attributes.\n *\n * @generated from field: map attributes = 8;\n */\n attributes: { [key: string]: string } = {};\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPDispatchRuleInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"rule\", kind: \"message\", T: SIPDispatchRule },\n { no: 3, name: \"trunk_ids\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 7, name: \"inbound_numbers\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 5, name: \"name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo {\n return new SIPDispatchRuleInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPDispatchRuleInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleRequest\n */\nexport class ListSIPDispatchRuleRequest extends Message {\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest {\n return new ListSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.ListSIPDispatchRuleResponse\n */\nexport class ListSIPDispatchRuleResponse extends Message {\n /**\n * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1;\n */\n items: SIPDispatchRuleInfo[] = [];\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.ListSIPDispatchRuleResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"items\", kind: \"message\", T: SIPDispatchRuleInfo, repeated: true },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse {\n return new ListSIPDispatchRuleResponse().fromJsonString(jsonString, options);\n }\n\n static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean {\n return proto3.util.equals(ListSIPDispatchRuleResponse, a, b);\n }\n}\n\n/**\n * @generated from message livekit.DeleteSIPDispatchRuleRequest\n */\nexport class DeleteSIPDispatchRuleRequest extends Message {\n /**\n * @generated from field: string sip_dispatch_rule_id = 1;\n */\n sipDispatchRuleId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.DeleteSIPDispatchRuleRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_dispatch_rule_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest {\n return new DeleteSIPDispatchRuleRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(DeleteSIPDispatchRuleRequest, a, b);\n }\n}\n\n/**\n * A SIP Participant is a singular SIP session connected to a LiveKit room via\n * a SIP Trunk into a SIP DispatchRule\n *\n * @generated from message livekit.CreateSIPParticipantRequest\n */\nexport class CreateSIPParticipantRequest extends Message {\n /**\n * What SIP Trunk should be used to dial the user\n *\n * @generated from field: string sip_trunk_id = 1;\n */\n sipTrunkId = \"\";\n\n /**\n * What number should be dialed via SIP\n *\n * @generated from field: string sip_call_to = 2;\n */\n sipCallTo = \"\";\n\n /**\n * Optional SIP From number to use. If empty, trunk number is used.\n *\n * @generated from field: string sip_number = 15;\n */\n sipNumber = \"\";\n\n /**\n * What LiveKit room should this participant be connected too\n *\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * Optional identity of the participant in LiveKit room\n *\n * @generated from field: string participant_identity = 4;\n */\n participantIdentity = \"\";\n\n /**\n * Optional name of the participant in LiveKit room\n *\n * @generated from field: string participant_name = 7;\n */\n participantName = \"\";\n\n /**\n * Optional user-defined metadata. Will be attached to a created Participant in the room.\n *\n * @generated from field: string participant_metadata = 8;\n */\n participantMetadata = \"\";\n\n /**\n * Optional user-defined attributes. Will be attached to a created Participant in the room.\n *\n * @generated from field: map participant_attributes = 9;\n */\n participantAttributes: { [key: string]: string } = {};\n\n /**\n * Optionally send following DTMF digits (extension codes) when making a call.\n * Character 'w' can be used to add a 0.5 sec delay.\n *\n * @generated from field: string dtmf = 5;\n */\n dtmf = \"\";\n\n /**\n * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect.\n *\n * @generated from field: bool play_ringtone = 6 [deprecated = true];\n * @deprecated\n */\n playRingtone = false;\n\n /**\n * @generated from field: bool play_dialtone = 13;\n */\n playDialtone = false;\n\n /**\n * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes.\n * If true, a random value for identity will be used and numbers will be omitted from attributes.\n *\n * @generated from field: bool hide_phone_number = 10;\n */\n hidePhoneNumber = false;\n\n /**\n * Max time for the callee to answer the call.\n *\n * @generated from field: google.protobuf.Duration ringing_timeout = 11;\n */\n ringingTimeout?: Duration;\n\n /**\n * Max call duration.\n *\n * @generated from field: google.protobuf.Duration max_call_duration = 12;\n */\n maxCallDuration?: Duration;\n\n /**\n * Enable voice isolation for the callee.\n *\n * NEXT ID: 16\n *\n * @generated from field: bool enable_krisp = 14;\n */\n enableKrisp = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.CreateSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"sip_trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"sip_call_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 15, name: \"sip_number\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"participant_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 8, name: \"participant_metadata\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"participant_attributes\", kind: \"map\", K: 9 /* ScalarType.STRING */, V: {kind: \"scalar\", T: 9 /* ScalarType.STRING */} },\n { no: 5, name: \"dtmf\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"play_ringtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 13, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 10, name: \"hide_phone_number\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n { no: 11, name: \"ringing_timeout\", kind: \"message\", T: Duration },\n { no: 12, name: \"max_call_duration\", kind: \"message\", T: Duration },\n { no: 14, name: \"enable_krisp\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest {\n return new CreateSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(CreateSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPParticipantInfo\n */\nexport class SIPParticipantInfo extends Message {\n /**\n * @generated from field: string participant_id = 1;\n */\n participantId = \"\";\n\n /**\n * @generated from field: string participant_identity = 2;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string sip_call_id = 4;\n */\n sipCallId = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPParticipantInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"sip_call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo {\n return new SIPParticipantInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPParticipantInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.TransferSIPParticipantRequest\n */\nexport class TransferSIPParticipantRequest extends Message {\n /**\n * @generated from field: string participant_identity = 1;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: string room_name = 2;\n */\n roomName = \"\";\n\n /**\n * @generated from field: string transfer_to = 3;\n */\n transferTo = \"\";\n\n /**\n * Optionally play dialtone to the SIP participant as an audible indicator of being transferred\n *\n * @generated from field: bool play_dialtone = 4;\n */\n playDialtone = false;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.TransferSIPParticipantRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"transfer_to\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"play_dialtone\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest {\n return new TransferSIPParticipantRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean {\n return proto3.util.equals(TransferSIPParticipantRequest, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPCallInfo\n */\nexport class SIPCallInfo extends Message {\n /**\n * @generated from field: string call_id = 1;\n */\n callId = \"\";\n\n /**\n * @generated from field: string trunk_id = 2;\n */\n trunkId = \"\";\n\n /**\n * @generated from field: string room_name = 3;\n */\n roomName = \"\";\n\n /**\n * ID of the current/previous room published to\n *\n * @generated from field: string room_id = 4;\n */\n roomId = \"\";\n\n /**\n * @generated from field: string participant_identity = 5;\n */\n participantIdentity = \"\";\n\n /**\n * @generated from field: livekit.SIPUri from_uri = 6;\n */\n fromUri?: SIPUri;\n\n /**\n * @generated from field: livekit.SIPUri to_uri = 7;\n */\n toUri?: SIPUri;\n\n /**\n * @generated from field: repeated livekit.SIPFeature enabled_features = 14;\n */\n enabledFeatures: SIPFeature[] = [];\n\n /**\n * @generated from field: livekit.SIPCallStatus call_status = 8;\n */\n callStatus = SIPCallStatus.SCS_CALL_INCOMING;\n\n /**\n * @generated from field: int64 created_at = 9;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 started_at = 10;\n */\n startedAt = protoInt64.zero;\n\n /**\n * @generated from field: int64 ended_at = 11;\n */\n endedAt = protoInt64.zero;\n\n /**\n * @generated from field: livekit.DisconnectReason disconnect_reason = 12;\n */\n disconnectReason = DisconnectReason.UNKNOWN_REASON;\n\n /**\n * @generated from field: string error = 13;\n */\n error = \"\";\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPCallInfo\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"call_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"trunk_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"room_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"room_id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"participant_identity\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 6, name: \"from_uri\", kind: \"message\", T: SIPUri },\n { no: 7, name: \"to_uri\", kind: \"message\", T: SIPUri },\n { no: 14, name: \"enabled_features\", kind: \"enum\", T: proto3.getEnumType(SIPFeature), repeated: true },\n { no: 8, name: \"call_status\", kind: \"enum\", T: proto3.getEnumType(SIPCallStatus) },\n { no: 9, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 10, name: \"started_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"ended_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 12, name: \"disconnect_reason\", kind: \"enum\", T: proto3.getEnumType(DisconnectReason) },\n { no: 13, name: \"error\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo {\n return new SIPCallInfo().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean {\n return proto3.util.equals(SIPCallInfo, a, b);\n }\n}\n\n/**\n * @generated from message livekit.SIPUri\n */\nexport class SIPUri extends Message {\n /**\n * @generated from field: string user = 1;\n */\n user = \"\";\n\n /**\n * @generated from field: string host = 2;\n */\n host = \"\";\n\n /**\n * @generated from field: string ip = 3;\n */\n ip = \"\";\n\n /**\n * @generated from field: uint32 port = 4;\n */\n port = 0;\n\n /**\n * @generated from field: livekit.SIPTransport transport = 5;\n */\n transport = SIPTransport.SIP_TRANSPORT_AUTO;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.SIPUri\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"user\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"host\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"ip\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"port\", kind: \"scalar\", T: 13 /* ScalarType.UINT32 */ },\n { no: 5, name: \"transport\", kind: \"enum\", T: proto3.getEnumType(SIPTransport) },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri {\n return new SIPUri().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri {\n return new SIPUri().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): SIPUri {\n return new SIPUri().fromJsonString(jsonString, options);\n }\n\n static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | P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M;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACpE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAQ,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA2B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,aAAa,MAAM,QAAQ,GAAG,OAAO,YAAY,YAAY,EAAE;AAChF,CAAC;AAvCI,IAAM,SAAN;","names":["SIPTransport","SIPCallStatus","SIPFeature","SIPTrunkInfo_TrunkKind"]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.cjs b/packages/javascript/dist/gen/livekit_webhook_pb.cjs deleted file mode 100644 index db371ccb..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.cjs +++ /dev/null @@ -1,111 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var livekit_webhook_pb_exports = {}; -__export(livekit_webhook_pb_exports, { - WebhookEvent: () => WebhookEvent -}); -module.exports = __toCommonJS(livekit_webhook_pb_exports); -var import_protobuf = require("@bufbuild/protobuf"); -var import_livekit_models_pb = require("./livekit_models_pb.cjs"); -var import_livekit_egress_pb = require("./livekit_egress_pb.cjs"); -var import_livekit_ingress_pb = require("./livekit_ingress_pb.cjs"); -const _WebhookEvent = class _WebhookEvent extends import_protobuf.Message { - constructor(data) { - super(); - /** - * one of room_started, room_finished, participant_joined, participant_left, - * track_published, track_unpublished, egress_started, egress_updated, egress_ended, - * ingress_started, ingress_ended - * - * @generated from field: string event = 1; - */ - this.event = ""; - /** - * unique event uuid - * - * @generated from field: string id = 6; - */ - this.id = ""; - /** - * timestamp in seconds - * - * @generated from field: int64 created_at = 7; - */ - this.createdAt = import_protobuf.protoInt64.zero; - /** - * @generated from field: int32 num_dropped = 11; - */ - this.numDropped = 0; - import_protobuf.proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WebhookEvent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WebhookEvent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WebhookEvent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return import_protobuf.proto3.util.equals(_WebhookEvent, a, b); - } -}; -_WebhookEvent.runtime = import_protobuf.proto3; -_WebhookEvent.typeName = "livekit.WebhookEvent"; -_WebhookEvent.fields = import_protobuf.proto3.util.newFieldList(() => [ - { - no: 1, - name: "event", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "room", kind: "message", T: import_livekit_models_pb.Room }, - { no: 3, name: "participant", kind: "message", T: import_livekit_models_pb.ParticipantInfo }, - { no: 9, name: "egress_info", kind: "message", T: import_livekit_egress_pb.EgressInfo }, - { no: 10, name: "ingress_info", kind: "message", T: import_livekit_ingress_pb.IngressInfo }, - { no: 8, name: "track", kind: "message", T: import_livekit_models_pb.TrackInfo }, - { - no: 6, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "num_dropped", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let WebhookEvent = _WebhookEvent; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - WebhookEvent -}); -//# sourceMappingURL=livekit_webhook_pb.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map b/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map deleted file mode 100644 index 27d56317..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_webhook_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_webhook.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, Room, TrackInfo } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\n\n/**\n * @generated from message livekit.WebhookEvent\n */\nexport class WebhookEvent extends Message {\n /**\n * one of room_started, room_finished, participant_joined, participant_left,\n * track_published, track_unpublished, egress_started, egress_updated, egress_ended,\n * ingress_started, ingress_ended\n *\n * @generated from field: string event = 1;\n */\n event = \"\";\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * set when event is participant_* or track_*\n *\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n /**\n * set when event is egress_*\n *\n * @generated from field: livekit.EgressInfo egress_info = 9;\n */\n egressInfo?: EgressInfo;\n\n /**\n * set when event is ingress_*\n *\n * @generated from field: livekit.IngressInfo ingress_info = 10;\n */\n ingressInfo?: IngressInfo;\n\n /**\n * set when event is track_*\n *\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * unique event uuid\n *\n * @generated from field: string id = 6;\n */\n id = \"\";\n\n /**\n * timestamp in seconds\n *\n * @generated from field: int64 created_at = 7;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int32 num_dropped = 11;\n */\n numDropped = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebhookEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"event\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 9, name: \"egress_info\", kind: \"message\", T: EgressInfo },\n { no: 10, name: \"ingress_info\", kind: \"message\", T: IngressInfo },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 6, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"num_dropped\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebhookEvent, a, b);\n }\n}\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBA,sBAA4C;AAC5C,+BAAiD;AACjD,+BAA2B;AAC3B,gCAA4B;AAKrB,MAAM,gBAAN,MAAM,sBAAqB,wBAAsB;AAAA,EA8DtD,YAAY,MAAqC;AAC/C,UAAM;AAvDR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAQ;AAwCR;AAAA;AAAA;AAAA;AAAA;AAAA,cAAK;AAOL;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAY,2BAAW;AAKvB;AAAA;AAAA;AAAA,sBAAa;AAIX,2BAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAgBA,OAAO,WAAW,OAAmB,SAAoD;AACvF,WAAO,IAAI,cAAa,EAAE,WAAW,OAAO,OAAO;AAAA,EACrD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAkD;AACtF,WAAO,IAAI,cAAa,EAAE,SAAS,WAAW,OAAO;AAAA,EACvD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAkD;AAC1F,WAAO,IAAI,cAAa,EAAE,eAAe,YAAY,OAAO;AAAA,EAC9D;AAAA,EAEA,OAAO,OAAO,GAA0D,GAAmE;AACzI,WAAO,uBAAO,KAAK,OAAO,eAAc,GAAG,CAAC;AAAA,EAC9C;AACF;AAhGa,cAmEK,UAAyB;AAnE9B,cAoEK,WAAW;AApEhB,cAqEK,SAAoB,uBAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAS,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,8BAAK;AAAA,EAChD,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,yCAAgB;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,oCAAW;AAAA,EAC7D,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,sCAAY;AAAA,EAChE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,mCAAU;AAAA,EACtD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAI,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC7E,CAAC;AA/EI,IAAM,eAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts deleted file mode 100644 index 1c4446e1..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; -/** - * @generated from message livekit.WebhookEvent - */ -export declare class WebhookEvent extends Message { - /** - * one of room_started, room_finished, participant_joined, participant_left, - * track_published, track_unpublished, egress_started, egress_updated, egress_ended, - * ingress_started, ingress_ended - * - * @generated from field: string event = 1; - */ - event: string; - /** - * @generated from field: livekit.Room room = 2; - */ - room?: Room; - /** - * set when event is participant_* or track_* - * - * @generated from field: livekit.ParticipantInfo participant = 3; - */ - participant?: ParticipantInfo; - /** - * set when event is egress_* - * - * @generated from field: livekit.EgressInfo egress_info = 9; - */ - egressInfo?: EgressInfo; - /** - * set when event is ingress_* - * - * @generated from field: livekit.IngressInfo ingress_info = 10; - */ - ingressInfo?: IngressInfo; - /** - * set when event is track_* - * - * @generated from field: livekit.TrackInfo track = 8; - */ - track?: TrackInfo; - /** - * unique event uuid - * - * @generated from field: string id = 6; - */ - id: string; - /** - * timestamp in seconds - * - * @generated from field: int64 created_at = 7; - */ - createdAt: bigint; - /** - * @generated from field: int32 num_dropped = 11; - */ - numDropped: number; - constructor(data?: PartialMessage); - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WebhookEvent"; - static readonly fields: FieldList; - static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent; - static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent; - static fromJsonString(jsonString: string, options?: Partial): WebhookEvent; - static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean; -} -//# sourceMappingURL=livekit_webhook_pb.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map b/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map deleted file mode 100644 index e64810a1..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"livekit_webhook_pb.d.ts","sourceRoot":"","sources":["../../src/gen/livekit_webhook_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAc,MAAM,oB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,GAAG,YAAY,CAAC,YAAY,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3I"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.js b/packages/javascript/dist/gen/livekit_webhook_pb.js deleted file mode 100644 index 8896754a..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.js +++ /dev/null @@ -1,88 +0,0 @@ -import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; -import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; -const _WebhookEvent = class _WebhookEvent extends Message { - constructor(data) { - super(); - /** - * one of room_started, room_finished, participant_joined, participant_left, - * track_published, track_unpublished, egress_started, egress_updated, egress_ended, - * ingress_started, ingress_ended - * - * @generated from field: string event = 1; - */ - this.event = ""; - /** - * unique event uuid - * - * @generated from field: string id = 6; - */ - this.id = ""; - /** - * timestamp in seconds - * - * @generated from field: int64 created_at = 7; - */ - this.createdAt = protoInt64.zero; - /** - * @generated from field: int32 num_dropped = 11; - */ - this.numDropped = 0; - proto3.util.initPartial(data, this); - } - static fromBinary(bytes, options) { - return new _WebhookEvent().fromBinary(bytes, options); - } - static fromJson(jsonValue, options) { - return new _WebhookEvent().fromJson(jsonValue, options); - } - static fromJsonString(jsonString, options) { - return new _WebhookEvent().fromJsonString(jsonString, options); - } - static equals(a, b) { - return proto3.util.equals(_WebhookEvent, a, b); - } -}; -_WebhookEvent.runtime = proto3; -_WebhookEvent.typeName = "livekit.WebhookEvent"; -_WebhookEvent.fields = proto3.util.newFieldList(() => [ - { - no: 1, - name: "event", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { no: 2, name: "room", kind: "message", T: Room }, - { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, - { no: 9, name: "egress_info", kind: "message", T: EgressInfo }, - { no: 10, name: "ingress_info", kind: "message", T: IngressInfo }, - { no: 8, name: "track", kind: "message", T: TrackInfo }, - { - no: 6, - name: "id", - kind: "scalar", - T: 9 - /* ScalarType.STRING */ - }, - { - no: 7, - name: "created_at", - kind: "scalar", - T: 3 - /* ScalarType.INT64 */ - }, - { - no: 11, - name: "num_dropped", - kind: "scalar", - T: 5 - /* ScalarType.INT32 */ - } -]); -let WebhookEvent = _WebhookEvent; -export { - WebhookEvent -}; -//# sourceMappingURL=livekit_webhook_pb.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/livekit_webhook_pb.js.map b/packages/javascript/dist/gen/livekit_webhook_pb.js.map deleted file mode 100644 index 796db345..00000000 --- a/packages/javascript/dist/gen/livekit_webhook_pb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/livekit_webhook_pb.ts"],"sourcesContent":["// Copyright 2023 LiveKit, Inc.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\n// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file livekit_webhook.proto (package livekit, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3, protoInt64 } from \"@bufbuild/protobuf\";\nimport { ParticipantInfo, Room, TrackInfo } from \"./livekit_models_pb.js\";\nimport { EgressInfo } from \"./livekit_egress_pb.js\";\nimport { IngressInfo } from \"./livekit_ingress_pb.js\";\n\n/**\n * @generated from message livekit.WebhookEvent\n */\nexport class WebhookEvent extends Message {\n /**\n * one of room_started, room_finished, participant_joined, participant_left,\n * track_published, track_unpublished, egress_started, egress_updated, egress_ended,\n * ingress_started, ingress_ended\n *\n * @generated from field: string event = 1;\n */\n event = \"\";\n\n /**\n * @generated from field: livekit.Room room = 2;\n */\n room?: Room;\n\n /**\n * set when event is participant_* or track_*\n *\n * @generated from field: livekit.ParticipantInfo participant = 3;\n */\n participant?: ParticipantInfo;\n\n /**\n * set when event is egress_*\n *\n * @generated from field: livekit.EgressInfo egress_info = 9;\n */\n egressInfo?: EgressInfo;\n\n /**\n * set when event is ingress_*\n *\n * @generated from field: livekit.IngressInfo ingress_info = 10;\n */\n ingressInfo?: IngressInfo;\n\n /**\n * set when event is track_*\n *\n * @generated from field: livekit.TrackInfo track = 8;\n */\n track?: TrackInfo;\n\n /**\n * unique event uuid\n *\n * @generated from field: string id = 6;\n */\n id = \"\";\n\n /**\n * timestamp in seconds\n *\n * @generated from field: int64 created_at = 7;\n */\n createdAt = protoInt64.zero;\n\n /**\n * @generated from field: int32 num_dropped = 11;\n */\n numDropped = 0;\n\n constructor(data?: PartialMessage) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"livekit.WebhookEvent\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"event\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"room\", kind: \"message\", T: Room },\n { no: 3, name: \"participant\", kind: \"message\", T: ParticipantInfo },\n { no: 9, name: \"egress_info\", kind: \"message\", T: EgressInfo },\n { no: 10, name: \"ingress_info\", kind: \"message\", T: IngressInfo },\n { no: 8, name: \"track\", kind: \"message\", T: TrackInfo },\n { no: 6, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 7, name: \"created_at\", kind: \"scalar\", T: 3 /* ScalarType.INT64 */ },\n { no: 11, name: \"num_dropped\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial): WebhookEvent {\n return new WebhookEvent().fromJsonString(jsonString, options);\n }\n\n static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean {\n return proto3.util.equals(WebhookEvent, a, b);\n }\n}\n\n"],"mappings":"AAoBA,SAAS,SAAS,QAAQ,kBAAkB;AAC5C,SAAS,iBAAiB,MAAM,iBAAiB;AACjD,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAKrB,MAAM,gBAAN,MAAM,sBAAqB,QAAsB;AAAA,EA8DtD,YAAY,MAAqC;AAC/C,UAAM;AAvDR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAQ;AAwCR;AAAA;AAAA;AAAA;AAAA;AAAA,cAAK;AAOL;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAY,WAAW;AAKvB;AAAA;AAAA;AAAA,sBAAa;AAIX,WAAO,KAAK,YAAY,MAAM,IAAI;AAAA,EACpC;AAAA,EAgBA,OAAO,WAAW,OAAmB,SAAoD;AACvF,WAAO,IAAI,cAAa,EAAE,WAAW,OAAO,OAAO;AAAA,EACrD;AAAA,EAEA,OAAO,SAAS,WAAsB,SAAkD;AACtF,WAAO,IAAI,cAAa,EAAE,SAAS,WAAW,OAAO;AAAA,EACvD;AAAA,EAEA,OAAO,eAAe,YAAoB,SAAkD;AAC1F,WAAO,IAAI,cAAa,EAAE,eAAe,YAAY,OAAO;AAAA,EAC9D;AAAA,EAEA,OAAO,OAAO,GAA0D,GAAmE;AACzI,WAAO,OAAO,KAAK,OAAO,eAAc,GAAG,CAAC;AAAA,EAC9C;AACF;AAhGa,cAmEK,UAAyB;AAnE9B,cAoEK,WAAW;AApEhB,cAqEK,SAAoB,OAAO,KAAK,aAAa,MAAM;AAAA,EACjE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAS,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EACrE,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,WAAW,GAAG,KAAK;AAAA,EAChD,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,gBAAgB;AAAA,EAClE,EAAE,IAAI,GAAG,MAAM,eAAe,MAAM,WAAW,GAAG,WAAW;AAAA,EAC7D,EAAE,IAAI,IAAI,MAAM,gBAAgB,MAAM,WAAW,GAAG,YAAY;AAAA,EAChE,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WAAW,GAAG,UAAU;AAAA,EACtD;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAM,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAA0B;AAAA,EAClE;AAAA,IAAE,IAAI;AAAA,IAAG,MAAM;AAAA,IAAc,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAAA,EACzE;AAAA,IAAE,IAAI;AAAA,IAAI,MAAM;AAAA,IAAe,MAAM;AAAA,IAAU,GAAG;AAAA;AAAA,EAAyB;AAC7E,CAAC;AA/EI,IAAM,eAAN;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.cjs b/packages/javascript/dist/gen/version.cjs deleted file mode 100644 index 61ea73f8..00000000 --- a/packages/javascript/dist/gen/version.cjs +++ /dev/null @@ -1,28 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var version_exports = {}; -__export(version_exports, { - version: () => version -}); -module.exports = __toCommonJS(version_exports); -const version = "1.29.0"; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - version -}); -//# sourceMappingURL=version.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.cjs.map b/packages/javascript/dist/gen/version.cjs.map deleted file mode 100644 index 3eaaec48..00000000 --- a/packages/javascript/dist/gen/version.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/version.ts"],"sourcesContent":["// Generated by genversion.\nexport const version = '1.29.0';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,MAAM,UAAU;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.d.ts b/packages/javascript/dist/gen/version.d.ts deleted file mode 100644 index 1d13e1a3..00000000 --- a/packages/javascript/dist/gen/version.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const version = "1.29.0"; -//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.d.ts.map b/packages/javascript/dist/gen/version.d.ts.map deleted file mode 100644 index bc07efd9..00000000 --- a/packages/javascript/dist/gen/version.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/gen/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"} \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.js b/packages/javascript/dist/gen/version.js deleted file mode 100644 index 9acf3ece..00000000 --- a/packages/javascript/dist/gen/version.js +++ /dev/null @@ -1,5 +0,0 @@ -const version = "1.29.0"; -export { - version -}; -//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/packages/javascript/dist/gen/version.js.map b/packages/javascript/dist/gen/version.js.map deleted file mode 100644 index c7e524be..00000000 --- a/packages/javascript/dist/gen/version.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/gen/version.ts"],"sourcesContent":["// Generated by genversion.\nexport const version = '1.29.0';\n"],"mappings":"AACO,MAAM,UAAU;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/index.cjs b/packages/javascript/dist/index.cjs deleted file mode 100644 index fb47d256..00000000 --- a/packages/javascript/dist/index.cjs +++ /dev/null @@ -1,51 +0,0 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -var src_exports = {}; -__export(src_exports, { - protoInt64: () => import_protobuf.protoInt64 -}); -module.exports = __toCommonJS(src_exports); -var import_protobuf = require("@bufbuild/protobuf"); -__reExport(src_exports, require("./gen/livekit_agent_dispatch_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_agent_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_egress_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_ingress_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_metrics_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_models_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_room_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_rtc_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_sip_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/livekit_webhook_pb.cjs"), module.exports); -__reExport(src_exports, require("./gen/version.cjs"), module.exports); -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - protoInt64, - ...require("./gen/livekit_agent_dispatch_pb.cjs"), - ...require("./gen/livekit_agent_pb.cjs"), - ...require("./gen/livekit_egress_pb.cjs"), - ...require("./gen/livekit_ingress_pb.cjs"), - ...require("./gen/livekit_metrics_pb.cjs"), - ...require("./gen/livekit_models_pb.cjs"), - ...require("./gen/livekit_room_pb.cjs"), - ...require("./gen/livekit_rtc_pb.cjs"), - ...require("./gen/livekit_sip_pb.cjs"), - ...require("./gen/livekit_webhook_pb.cjs"), - ...require("./gen/version.cjs") -}); -//# sourceMappingURL=index.cjs.map \ No newline at end of file diff --git a/packages/javascript/dist/index.cjs.map b/packages/javascript/dist/index.cjs.map deleted file mode 100644 index cb64637e..00000000 --- a/packages/javascript/dist/index.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { protoInt64 } from \"@bufbuild/protobuf\";\nexport * from \"./gen/livekit_agent_dispatch_pb.js\";\nexport * from \"./gen/livekit_agent_pb.js\";\nexport * from \"./gen/livekit_egress_pb.js\";\nexport * from \"./gen/livekit_ingress_pb.js\";\nexport * from \"./gen/livekit_metrics_pb.js\";\nexport * from \"./gen/livekit_models_pb.js\";\nexport * from \"./gen/livekit_room_pb.js\";\nexport * from \"./gen/livekit_rtc_pb.js\";\nexport * from \"./gen/livekit_sip_pb.js\";\nexport * from \"./gen/livekit_webhook_pb.js\";\nexport * from \"./gen/version.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAA2B;AAC3B,wBAAc,+CADd;AAEA,wBAAc,sCAFd;AAGA,wBAAc,uCAHd;AAIA,wBAAc,wCAJd;AAKA,wBAAc,wCALd;AAMA,wBAAc,uCANd;AAOA,wBAAc,qCAPd;AAQA,wBAAc,oCARd;AASA,wBAAc,oCATd;AAUA,wBAAc,wCAVd;AAWA,wBAAc,6BAXd;","names":[]} \ No newline at end of file diff --git a/packages/javascript/dist/index.d.ts b/packages/javascript/dist/index.d.ts deleted file mode 100644 index 5a02ff5b..00000000 --- a/packages/javascript/dist/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export { protoInt64 } from "@bufbuild/protobuf"; -export * from "./gen/livekit_agent_dispatch_pb.js"; -export * from "./gen/livekit_agent_pb.js"; -export * from "./gen/livekit_egress_pb.js"; -export * from "./gen/livekit_ingress_pb.js"; -export * from "./gen/livekit_metrics_pb.js"; -export * from "./gen/livekit_models_pb.js"; -export * from "./gen/livekit_room_pb.js"; -export * from "./gen/livekit_rtc_pb.js"; -export * from "./gen/livekit_sip_pb.js"; -export * from "./gen/livekit_webhook_pb.js"; -export * from "./gen/version.js"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/packages/javascript/dist/index.d.ts.map b/packages/javascript/dist/index.d.ts.map deleted file mode 100644 index 28daff13..00000000 --- a/packages/javascript/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC"} \ No newline at end of file diff --git a/packages/javascript/dist/index.js b/packages/javascript/dist/index.js deleted file mode 100644 index 7c41df3d..00000000 --- a/packages/javascript/dist/index.js +++ /dev/null @@ -1,16 +0,0 @@ -import { protoInt64 } from "@bufbuild/protobuf"; -export * from "./gen/livekit_agent_dispatch_pb.js"; -export * from "./gen/livekit_agent_pb.js"; -export * from "./gen/livekit_egress_pb.js"; -export * from "./gen/livekit_ingress_pb.js"; -export * from "./gen/livekit_metrics_pb.js"; -export * from "./gen/livekit_models_pb.js"; -export * from "./gen/livekit_room_pb.js"; -export * from "./gen/livekit_rtc_pb.js"; -export * from "./gen/livekit_sip_pb.js"; -export * from "./gen/livekit_webhook_pb.js"; -export * from "./gen/version.js"; -export { - protoInt64 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/javascript/dist/index.js.map b/packages/javascript/dist/index.js.map deleted file mode 100644 index 9dbd44b1..00000000 --- a/packages/javascript/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { protoInt64 } from \"@bufbuild/protobuf\";\nexport * from \"./gen/livekit_agent_dispatch_pb.js\";\nexport * from \"./gen/livekit_agent_pb.js\";\nexport * from \"./gen/livekit_egress_pb.js\";\nexport * from \"./gen/livekit_ingress_pb.js\";\nexport * from \"./gen/livekit_metrics_pb.js\";\nexport * from \"./gen/livekit_models_pb.js\";\nexport * from \"./gen/livekit_room_pb.js\";\nexport * from \"./gen/livekit_rtc_pb.js\";\nexport * from \"./gen/livekit_sip_pb.js\";\nexport * from \"./gen/livekit_webhook_pb.js\";\nexport * from \"./gen/version.js\";\n"],"mappings":"AAAA,SAAS,kBAAkB;AAC3B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]} \ No newline at end of file From 14016e01c69f028648a8c2c47607e9983e350f94 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 13:04:19 +0100 Subject: [PATCH 3/6] fix gitignore --- packages/javascript/.gitignore | 4 ++-- packages/javascript/src/cjs/gen/version.d.ts | 1 + packages/javascript/src/esm/gen/version.d.ts | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 packages/javascript/src/cjs/gen/version.d.ts create mode 100644 packages/javascript/src/esm/gen/version.d.ts diff --git a/packages/javascript/.gitignore b/packages/javascript/.gitignore index b0af45ae..b92dd991 100644 --- a/packages/javascript/.gitignore +++ b/packages/javascript/.gitignore @@ -1,6 +1,6 @@ node_modules/ -src/esm/gen -src/cjs/gen +src/esm/gen/* !src/esm/gen/version.d.ts +src/cjs/gen/* !src/cjs/gen/version.d.ts diff --git a/packages/javascript/src/cjs/gen/version.d.ts b/packages/javascript/src/cjs/gen/version.d.ts new file mode 100644 index 00000000..9a468d94 --- /dev/null +++ b/packages/javascript/src/cjs/gen/version.d.ts @@ -0,0 +1 @@ +export const version: string; diff --git a/packages/javascript/src/esm/gen/version.d.ts b/packages/javascript/src/esm/gen/version.d.ts new file mode 100644 index 00000000..9a468d94 --- /dev/null +++ b/packages/javascript/src/esm/gen/version.d.ts @@ -0,0 +1 @@ +export const version: string; From e253e0b4c143898eccba986dde45d88adcdc8a90 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 16:56:02 +0100 Subject: [PATCH 4/6] use unbuild --- .github/workflows/generate.yaml | 2 +- packages/javascript/.gitignore | 5 +- packages/javascript/build.config.js | 11 + packages/javascript/package.json | 34 +- packages/javascript/src/cjs/gen/version.d.ts | 1 - packages/javascript/src/cjs/index.cjs | 27 - packages/javascript/src/cjs/index.d.ts | 12 - packages/javascript/src/esm/gen/version.d.ts | 1 - .../src/gen/livekit_agent_dispatch_pb.d.ts | 253 ++ .../src/gen/livekit_agent_dispatch_pb.js | 103 + .../javascript/src/gen/livekit_agent_pb.d.ts | 741 +++++ .../javascript/src/gen/livekit_agent_pb.js | 266 ++ .../src/gen/livekit_analytics_pb.d.ts | 889 ++++++ .../src/gen/livekit_analytics_pb.js | 264 ++ .../javascript/src/gen/livekit_egress_pb.d.ts | 2056 ++++++++++++ .../javascript/src/gen/livekit_egress_pb.js | 594 ++++ .../src/gen/livekit_ingress_pb.d.ts | 843 +++++ .../javascript/src/gen/livekit_ingress_pb.js | 269 ++ .../src/gen/livekit_internal_pb.d.ts | 622 ++++ .../javascript/src/gen/livekit_internal_pb.js | 191 ++ .../src/gen/livekit_metrics_pb.d.ts | 376 +++ .../javascript/src/gen/livekit_metrics_pb.js | 97 + .../javascript/src/gen/livekit_models_pb.d.ts | 2837 +++++++++++++++++ .../javascript/src/gen/livekit_models_pb.js | 913 ++++++ .../javascript/src/gen/livekit_room_pb.d.ts | 774 +++++ .../javascript/src/gen/livekit_room_pb.js | 259 ++ .../javascript/src/gen/livekit_rtc_pb.d.ts | 2001 ++++++++++++ packages/javascript/src/gen/livekit_rtc_pb.js | 634 ++++ .../javascript/src/gen/livekit_sip_pb.d.ts | 1551 +++++++++ packages/javascript/src/gen/livekit_sip_pb.js | 483 +++ .../src/gen/livekit_webhook_pb.d.ts | 105 + .../javascript/src/gen/livekit_webhook_pb.js | 42 + packages/javascript/src/gen/version.js | 2 + packages/javascript/src/{esm => }/index.d.ts | 0 packages/javascript/src/{esm => }/index.js | 1 + packages/javascript/tsup.config.ts | 43 - pnpm-lock.yaml | 1700 +++++++++- 37 files changed, 18881 insertions(+), 121 deletions(-) create mode 100644 packages/javascript/build.config.js delete mode 100644 packages/javascript/src/cjs/gen/version.d.ts delete mode 100644 packages/javascript/src/cjs/index.cjs delete mode 100644 packages/javascript/src/cjs/index.d.ts delete mode 100644 packages/javascript/src/esm/gen/version.d.ts create mode 100644 packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_agent_dispatch_pb.js create mode 100644 packages/javascript/src/gen/livekit_agent_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_agent_pb.js create mode 100644 packages/javascript/src/gen/livekit_analytics_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_analytics_pb.js create mode 100644 packages/javascript/src/gen/livekit_egress_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_egress_pb.js create mode 100644 packages/javascript/src/gen/livekit_ingress_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_ingress_pb.js create mode 100644 packages/javascript/src/gen/livekit_internal_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_internal_pb.js create mode 100644 packages/javascript/src/gen/livekit_metrics_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_metrics_pb.js create mode 100644 packages/javascript/src/gen/livekit_models_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_models_pb.js create mode 100644 packages/javascript/src/gen/livekit_room_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_room_pb.js create mode 100644 packages/javascript/src/gen/livekit_rtc_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_rtc_pb.js create mode 100644 packages/javascript/src/gen/livekit_sip_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_sip_pb.js create mode 100644 packages/javascript/src/gen/livekit_webhook_pb.d.ts create mode 100644 packages/javascript/src/gen/livekit_webhook_pb.js create mode 100644 packages/javascript/src/gen/version.js rename packages/javascript/src/{esm => }/index.d.ts (100%) rename packages/javascript/src/{esm => }/index.js (97%) delete mode 100644 packages/javascript/tsup.config.ts diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index d2ce40e3..8d1006e8 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -70,6 +70,6 @@ jobs: - name: Add changes uses: EndBug/add-and-commit@v9 with: - add: '["livekit", "rpc", "infra"]' + add: '["livekit", "rpc", "infra", "packages/javascript/src/gen"]' default_author: github_actions message: generated protobuf diff --git a/packages/javascript/.gitignore b/packages/javascript/.gitignore index b92dd991..3497ab5d 100644 --- a/packages/javascript/.gitignore +++ b/packages/javascript/.gitignore @@ -1,6 +1,3 @@ node_modules/ -src/esm/gen/* -!src/esm/gen/version.d.ts -src/cjs/gen/* -!src/cjs/gen/version.d.ts +dist diff --git a/packages/javascript/build.config.js b/packages/javascript/build.config.js new file mode 100644 index 00000000..578b421a --- /dev/null +++ b/packages/javascript/build.config.js @@ -0,0 +1,11 @@ +// @ts-check + +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + declaration: true, + sourcemap: true, + rollup: { + emitCJS: true, + }, +}); diff --git a/packages/javascript/package.json b/packages/javascript/package.json index 3ba5a843..5b60ce92 100644 --- a/packages/javascript/package.json +++ b/packages/javascript/package.json @@ -3,39 +3,29 @@ "version": "1.29.2", "description": "", "type": "module", - "main": "src/esm/index.js", - "require": "src/cjs/index.cjs", - "types": "src/esm/index.d.ts", + "require": "dist/index.cjs", "files": [ - "src" + "src", + "dist" ], "exports": { ".": { "import": { - "types": "./src/esm/index.d.ts", - "default": "./src/esm/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { - "types": "./src/cjs/index.d.ts", - "default": "./src/cjs/index.cjs" - } - }, - "./*": { - "import": { - "types": "./src/esm/gen/livekit_*_pb.d.ts", - "default": "./src/esm/gen/livekit_*_pb.js" - }, - "require": { - "types": "./src/cjs/gen/livekit_*_pb.d.ts", - "default": "./src/cjs/gen/livekit_*_pb.js" + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } } }, + "main": "./dist/index.mjs", + "types": "./dist/index.d.mts", "scripts": { - "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=ts -I=../../protobufs ../../protobufs/livekit_*.proto", - "build:esm": "genversion --esm --semi src/esm/gen/version.js && protoc --es_out src/esm/gen --es_opt target=dts+js -I=../../protobufs ../../protobufs/livekit_*.proto", - "build:cjs": "genversion --semi --property version,name src/cjs/gen/version.js && protoc --es_out src/cjs/gen --es_opt target=dts+js --es_opt js_import_style=legacy_commonjs --es_opt import_extension=none -I=../../protobufs ../../protobufs/livekit_*.proto", - "build": "pnpm build:esm && pnpm build:cjs" + "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=dts+js -I=../../protobufs ../../protobufs/livekit_*.proto", + "generate:version": "genversion --esm --semi src/gen/version.js", + "build": "pnpm generate:version && pnpm generate:proto && unbuild" }, "keywords": [], "author": "LiveKit", diff --git a/packages/javascript/src/cjs/gen/version.d.ts b/packages/javascript/src/cjs/gen/version.d.ts deleted file mode 100644 index 9a468d94..00000000 --- a/packages/javascript/src/cjs/gen/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const version: string; diff --git a/packages/javascript/src/cjs/index.cjs b/packages/javascript/src/cjs/index.cjs deleted file mode 100644 index c9b8667d..00000000 --- a/packages/javascript/src/cjs/index.cjs +++ /dev/null @@ -1,27 +0,0 @@ -const { protoInt64 } = require("@bufbuild/protobuf"); -const dispatch = require("./gen/livekit_agent_dispatch_pb"); -const agent = require("./gen/livekit_agent_pb"); -const egress = require("./gen/livekit_egress_pb"); -const ingress = require("./gen/livekit_ingress_pb"); -const metrics = require("./gen/livekit_metrics_pb"); -const models = require("./gen/livekit_models_pb"); -const room = require("./gen/livekit_room_pb"); -const rtc = require("./gen/livekit_rtc_pb"); -const sip = require("./gen/livekit_sip_pb"); -const webhook = require("./gen/livekit_webhook_pb"); -const { version } = require("./gen/version"); - -module.exports = { - protoInt64, - ...dispatch, - ...agent, - ...egress, - ...ingress, - ...metrics, - ...models, - ...room, - ...rtc, - ...sip, - ...webhook, - version, -}; diff --git a/packages/javascript/src/cjs/index.d.ts b/packages/javascript/src/cjs/index.d.ts deleted file mode 100644 index 31f8c7b1..00000000 --- a/packages/javascript/src/cjs/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export { protoInt64 } from "@bufbuild/protobuf"; -export * from "./gen/livekit_agent_dispatch_pb"; -export * from "./gen/livekit_agent_pb"; -export * from "./gen/livekit_egress_pb"; -export * from "./gen/livekit_ingress_pb"; -export * from "./gen/livekit_metrics_pb"; -export * from "./gen/livekit_models_pb"; -export * from "./gen/livekit_room_pb"; -export * from "./gen/livekit_rtc_pb"; -export * from "./gen/livekit_sip_pb"; -export * from "./gen/livekit_webhook_pb"; -export * from "./gen/version"; diff --git a/packages/javascript/src/esm/gen/version.d.ts b/packages/javascript/src/esm/gen/version.d.ts deleted file mode 100644 index 9a468d94..00000000 --- a/packages/javascript/src/esm/gen/version.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const version: string; diff --git a/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts b/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts new file mode 100644 index 00000000..6f4c68b5 --- /dev/null +++ b/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts @@ -0,0 +1,253 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { Job } from "./livekit_agent_pb.js"; + +/** + * @generated from message livekit.CreateAgentDispatchRequest + */ +export declare class CreateAgentDispatchRequest extends Message { + /** + * @generated from field: string agent_name = 1; + */ + agentName: string; + + /** + * @generated from field: string room = 2; + */ + room: string; + + /** + * @generated from field: string metadata = 3; + */ + metadata: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateAgentDispatchRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest; + + static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomAgentDispatch + */ +export declare class RoomAgentDispatch extends Message { + /** + * @generated from field: string agent_name = 1; + */ + agentName: string; + + /** + * @generated from field: string metadata = 2; + */ + metadata: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomAgentDispatch"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch; + + static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch; + + static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteAgentDispatchRequest + */ +export declare class DeleteAgentDispatchRequest extends Message { + /** + * @generated from field: string dispatch_id = 1; + */ + dispatchId: string; + + /** + * @generated from field: string room = 2; + */ + room: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteAgentDispatchRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest; + + static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListAgentDispatchRequest + */ +export declare class ListAgentDispatchRequest extends Message { + /** + * if set, only the dispatch whose id is given will be returned + * + * @generated from field: string dispatch_id = 1; + */ + dispatchId: string; + + /** + * name of the room to list agents for. Must be set. + * + * @generated from field: string room = 2; + */ + room: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListAgentDispatchRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest; + + static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListAgentDispatchResponse + */ +export declare class ListAgentDispatchResponse extends Message { + /** + * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; + */ + agentDispatches: AgentDispatch[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListAgentDispatchResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse; + + static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AgentDispatch + */ +export declare class AgentDispatch extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string agent_name = 2; + */ + agentName: string; + + /** + * @generated from field: string room = 3; + */ + room: string; + + /** + * @generated from field: string metadata = 4; + */ + metadata: string; + + /** + * @generated from field: livekit.AgentDispatchState state = 5; + */ + state?: AgentDispatchState; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AgentDispatch"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch; + + static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch; + + static fromJsonString(jsonString: string, options?: Partial): AgentDispatch; + + static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AgentDispatchState + */ +export declare class AgentDispatchState extends Message { + /** + * For dispatches of tyoe JT_ROOM, there will be at most 1 job. + * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. + * + * @generated from field: repeated livekit.Job jobs = 1; + */ + jobs: Job[]; + + /** + * @generated from field: int64 created_at = 2; + */ + createdAt: bigint; + + /** + * @generated from field: int64 deleted_at = 3; + */ + deletedAt: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AgentDispatchState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState; + + static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState; + + static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState; + + static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_agent_dispatch_pb.js b/packages/javascript/src/gen/livekit_agent_dispatch_pb.js new file mode 100644 index 00000000..f7f52311 --- /dev/null +++ b/packages/javascript/src/gen/livekit_agent_dispatch_pb.js @@ -0,0 +1,103 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { Job } from "./livekit_agent_pb.js"; + +/** + * @generated from message livekit.CreateAgentDispatchRequest + */ +export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateAgentDispatchRequest", + () => [ + { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.RoomAgentDispatch + */ +export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomAgentDispatch", + () => [ + { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.DeleteAgentDispatchRequest + */ +export const DeleteAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteAgentDispatchRequest", + () => [ + { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ListAgentDispatchRequest + */ +export const ListAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListAgentDispatchRequest", + () => [ + { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ListAgentDispatchResponse + */ +export const ListAgentDispatchResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListAgentDispatchResponse", + () => [ + { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true }, + ], +); + +/** + * @generated from message livekit.AgentDispatch + */ +export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AgentDispatch", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "state", kind: "message", T: AgentDispatchState }, + ], +); + +/** + * @generated from message livekit.AgentDispatchState + */ +export const AgentDispatchState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AgentDispatchState", + () => [ + { no: 1, name: "jobs", kind: "message", T: Job, repeated: true }, + { no: 2, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "deleted_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_agent_pb.d.ts b/packages/javascript/src/gen/livekit_agent_pb.d.ts new file mode 100644 index 00000000..28275b77 --- /dev/null +++ b/packages/javascript/src/gen/livekit_agent_pb.d.ts @@ -0,0 +1,741 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_agent.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.JobType + */ +export declare enum JobType { + /** + * @generated from enum value: JT_ROOM = 0; + */ + JT_ROOM = 0, + + /** + * @generated from enum value: JT_PUBLISHER = 1; + */ + JT_PUBLISHER = 1, +} + +/** + * @generated from enum livekit.WorkerStatus + */ +export declare enum WorkerStatus { + /** + * @generated from enum value: WS_AVAILABLE = 0; + */ + WS_AVAILABLE = 0, + + /** + * @generated from enum value: WS_FULL = 1; + */ + WS_FULL = 1, +} + +/** + * @generated from enum livekit.JobStatus + */ +export declare enum JobStatus { + /** + * @generated from enum value: JS_PENDING = 0; + */ + JS_PENDING = 0, + + /** + * @generated from enum value: JS_RUNNING = 1; + */ + JS_RUNNING = 1, + + /** + * @generated from enum value: JS_SUCCESS = 2; + */ + JS_SUCCESS = 2, + + /** + * @generated from enum value: JS_FAILED = 3; + */ + JS_FAILED = 3, +} + +/** + * @generated from message livekit.Job + */ +export declare class Job extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string dispatch_id = 9; + */ + dispatchId: string; + + /** + * @generated from field: livekit.JobType type = 2; + */ + type: JobType; + + /** + * @generated from field: livekit.Room room = 3; + */ + room?: Room; + + /** + * @generated from field: optional livekit.ParticipantInfo participant = 4; + */ + participant?: ParticipantInfo; + + /** + * @generated from field: string namespace = 5 [deprecated = true]; + * @deprecated + */ + namespace: string; + + /** + * @generated from field: string metadata = 6; + */ + metadata: string; + + /** + * @generated from field: string agent_name = 7; + */ + agentName: string; + + /** + * @generated from field: livekit.JobState state = 8; + */ + state?: JobState; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Job"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Job; + + static fromJson(jsonValue: JsonValue, options?: Partial): Job; + + static fromJsonString(jsonString: string, options?: Partial): Job; + + static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.JobState + */ +export declare class JobState extends Message { + /** + * @generated from field: livekit.JobStatus status = 1; + */ + status: JobStatus; + + /** + * @generated from field: string error = 2; + */ + error: string; + + /** + * @generated from field: int64 started_at = 3; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 4; + */ + endedAt: bigint; + + /** + * @generated from field: int64 updated_at = 5; + */ + updatedAt: bigint; + + /** + * @generated from field: string participant_identity = 6; + */ + participantIdentity: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): JobState; + + static fromJson(jsonValue: JsonValue, options?: Partial): JobState; + + static fromJsonString(jsonString: string, options?: Partial): JobState; + + static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean; +} + +/** + * from Worker to Server + * + * @generated from message livekit.WorkerMessage + */ +export declare class WorkerMessage extends Message { + /** + * @generated from oneof livekit.WorkerMessage.message + */ + message: { + /** + * agent workers need to register themselves with the server first + * + * @generated from field: livekit.RegisterWorkerRequest register = 1; + */ + value: RegisterWorkerRequest; + case: "register"; + } | { + /** + * worker confirms to server that it's available for a job, or declines it + * + * @generated from field: livekit.AvailabilityResponse availability = 2; + */ + value: AvailabilityResponse; + case: "availability"; + } | { + /** + * worker can update its status to the server, including taking itself out of the pool + * + * @generated from field: livekit.UpdateWorkerStatus update_worker = 3; + */ + value: UpdateWorkerStatus; + case: "updateWorker"; + } | { + /** + * job can send status updates to the server, useful for tracking progress + * + * @generated from field: livekit.UpdateJobStatus update_job = 4; + */ + value: UpdateJobStatus; + case: "updateJob"; + } | { + /** + * @generated from field: livekit.WorkerPing ping = 5; + */ + value: WorkerPing; + case: "ping"; + } | { + /** + * @generated from field: livekit.SimulateJobRequest simulate_job = 6; + */ + value: SimulateJobRequest; + case: "simulateJob"; + } | { + /** + * @generated from field: livekit.MigrateJobRequest migrate_job = 7; + */ + value: MigrateJobRequest; + case: "migrateJob"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerMessage"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage; + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage; + + static fromJsonString(jsonString: string, options?: Partial): WorkerMessage; + + static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean; +} + +/** + * from Server to Worker + * + * @generated from message livekit.ServerMessage + */ +export declare class ServerMessage extends Message { + /** + * @generated from oneof livekit.ServerMessage.message + */ + message: { + /** + * server confirms the registration, from this moment on, the worker is considered active + * + * @generated from field: livekit.RegisterWorkerResponse register = 1; + */ + value: RegisterWorkerResponse; + case: "register"; + } | { + /** + * server asks worker to confirm availability for a job + * + * @generated from field: livekit.AvailabilityRequest availability = 2; + */ + value: AvailabilityRequest; + case: "availability"; + } | { + /** + * @generated from field: livekit.JobAssignment assignment = 3; + */ + value: JobAssignment; + case: "assignment"; + } | { + /** + * @generated from field: livekit.JobTermination termination = 5; + */ + value: JobTermination; + case: "termination"; + } | { + /** + * @generated from field: livekit.WorkerPong pong = 4; + */ + value: WorkerPong; + case: "pong"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ServerMessage"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage; + + static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage; + + static fromJsonString(jsonString: string, options?: Partial): ServerMessage; + + static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SimulateJobRequest + */ +export declare class SimulateJobRequest extends Message { + /** + * @generated from field: livekit.JobType type = 1; + */ + type: JobType; + + /** + * @generated from field: livekit.Room room = 2; + */ + room?: Room; + + /** + * @generated from field: livekit.ParticipantInfo participant = 3; + */ + participant?: ParticipantInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulateJobRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest; + + static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest; + + static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.WorkerPing + */ +export declare class WorkerPing extends Message { + /** + * @generated from field: int64 timestamp = 1; + */ + timestamp: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerPing"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing; + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing; + + static fromJsonString(jsonString: string, options?: Partial): WorkerPing; + + static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.WorkerPong + */ +export declare class WorkerPong extends Message { + /** + * @generated from field: int64 last_timestamp = 1; + */ + lastTimestamp: bigint; + + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WorkerPong"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong; + + static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong; + + static fromJsonString(jsonString: string, options?: Partial): WorkerPong; + + static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RegisterWorkerRequest + */ +export declare class RegisterWorkerRequest extends Message { + /** + * @generated from field: livekit.JobType type = 1; + */ + type: JobType; + + /** + * @generated from field: string agent_name = 8; + */ + agentName: string; + + /** + * string worker_id = 2; + * + * @generated from field: string version = 3; + */ + version: string; + + /** + * string name = 4 [deprecated = true]; + * + * @generated from field: uint32 ping_interval = 5; + */ + pingInterval: number; + + /** + * @generated from field: optional string namespace = 6; + */ + namespace?: string; + + /** + * @generated from field: livekit.ParticipantPermission allowed_permissions = 7; + */ + allowedPermissions?: ParticipantPermission; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegisterWorkerRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest; + + static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest; + + static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RegisterWorkerResponse + */ +export declare class RegisterWorkerResponse extends Message { + /** + * @generated from field: string worker_id = 1; + */ + workerId: string; + + /** + * @generated from field: livekit.ServerInfo server_info = 3; + */ + serverInfo?: ServerInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegisterWorkerResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse; + + static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse; + + static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.MigrateJobRequest + */ +export declare class MigrateJobRequest extends Message { + /** + * string job_id = 1 [deprecated = true]; + * + * @generated from field: repeated string job_ids = 2; + */ + jobIds: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MigrateJobRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest; + + static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest; + + static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AvailabilityRequest + */ +export declare class AvailabilityRequest extends Message { + /** + * @generated from field: livekit.Job job = 1; + */ + job?: Job; + + /** + * True when the job was previously assigned to another worker but has been + * migrated due to different reasons (e.g. worker failure, job migration) + * + * @generated from field: bool resuming = 2; + */ + resuming: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AvailabilityRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest; + + static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest; + + static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AvailabilityResponse + */ +export declare class AvailabilityResponse extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + + /** + * @generated from field: bool available = 2; + */ + available: boolean; + + /** + * @generated from field: bool supports_resume = 3; + */ + supportsResume: boolean; + + /** + * @generated from field: string participant_name = 4; + */ + participantName: string; + + /** + * @generated from field: string participant_identity = 5; + */ + participantIdentity: string; + + /** + * @generated from field: string participant_metadata = 6; + */ + participantMetadata: string; + + /** + * @generated from field: map participant_attributes = 7; + */ + participantAttributes: { [key: string]: string }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AvailabilityResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse; + + static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse; + + static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateJobStatus + */ +export declare class UpdateJobStatus extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + + /** + * The worker can indicate the job end by either specifying SUCCESS or FAILED + * + * @generated from field: livekit.JobStatus status = 2; + */ + status: JobStatus; + + /** + * metadata shown on the dashboard, useful for debugging + * + * @generated from field: string error = 3; + */ + error: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateJobStatus"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus; + + static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus; + + static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateWorkerStatus + */ +export declare class UpdateWorkerStatus extends Message { + /** + * @generated from field: optional livekit.WorkerStatus status = 1; + */ + status?: WorkerStatus; + + /** + * optional string metadata = 2 [deprecated=true]; + * + * @generated from field: float load = 3; + */ + load: number; + + /** + * @generated from field: uint32 job_count = 4; + */ + jobCount: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateWorkerStatus"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus; + + static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus; + + static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.JobAssignment + */ +export declare class JobAssignment extends Message { + /** + * @generated from field: livekit.Job job = 1; + */ + job?: Job; + + /** + * @generated from field: optional string url = 2; + */ + url?: string; + + /** + * @generated from field: string token = 3; + */ + token: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobAssignment"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment; + + static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment; + + static fromJsonString(jsonString: string, options?: Partial): JobAssignment; + + static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.JobTermination + */ +export declare class JobTermination extends Message { + /** + * @generated from field: string job_id = 1; + */ + jobId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JobTermination"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination; + + static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination; + + static fromJsonString(jsonString: string, options?: Partial): JobTermination; + + static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_agent_pb.js b/packages/javascript/src/gen/livekit_agent_pb.js new file mode 100644 index 00000000..69ec3a66 --- /dev/null +++ b/packages/javascript/src/gen/livekit_agent_pb.js @@ -0,0 +1,266 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_agent.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.JobType + */ +export const JobType = /*@__PURE__*/ proto3.makeEnum( + "livekit.JobType", + [ + {no: 0, name: "JT_ROOM"}, + {no: 1, name: "JT_PUBLISHER"}, + ], +); + +/** + * @generated from enum livekit.WorkerStatus + */ +export const WorkerStatus = /*@__PURE__*/ proto3.makeEnum( + "livekit.WorkerStatus", + [ + {no: 0, name: "WS_AVAILABLE"}, + {no: 1, name: "WS_FULL"}, + ], +); + +/** + * @generated from enum livekit.JobStatus + */ +export const JobStatus = /*@__PURE__*/ proto3.makeEnum( + "livekit.JobStatus", + [ + {no: 0, name: "JS_PENDING"}, + {no: 1, name: "JS_RUNNING"}, + {no: 2, name: "JS_SUCCESS"}, + {no: 3, name: "JS_FAILED"}, + ], +); + +/** + * @generated from message livekit.Job + */ +export const Job = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Job", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { no: 3, name: "room", kind: "message", T: Room }, + { no: 4, name: "participant", kind: "message", T: ParticipantInfo, opt: true }, + { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "state", kind: "message", T: JobState }, + ], +); + +/** + * @generated from message livekit.JobState + */ +export const JobState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.JobState", + () => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, + { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 4, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 5, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * from Worker to Server + * + * @generated from message livekit.WorkerMessage + */ +export const WorkerMessage = /*@__PURE__*/ proto3.makeMessageType( + "livekit.WorkerMessage", + () => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, + { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, + { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, + { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, + { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, + { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" }, + ], +); + +/** + * from Server to Worker + * + * @generated from message livekit.ServerMessage + */ +export const ServerMessage = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ServerMessage", + () => [ + { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, + { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, + { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, + { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, + { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" }, + ], +); + +/** + * @generated from message livekit.SimulateJobRequest + */ +export const SimulateJobRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SimulateJobRequest", + () => [ + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { no: 2, name: "room", kind: "message", T: Room }, + { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, + ], +); + +/** + * @generated from message livekit.WorkerPing + */ +export const WorkerPing = /*@__PURE__*/ proto3.makeMessageType( + "livekit.WorkerPing", + () => [ + { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.WorkerPong + */ +export const WorkerPong = /*@__PURE__*/ proto3.makeMessageType( + "livekit.WorkerPong", + () => [ + { no: 1, name: "last_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.RegisterWorkerRequest + */ +export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RegisterWorkerRequest", + () => [ + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, + { no: 8, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission }, + ], +); + +/** + * @generated from message livekit.RegisterWorkerResponse + */ +export const RegisterWorkerResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RegisterWorkerResponse", + () => [ + { no: 1, name: "worker_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "server_info", kind: "message", T: ServerInfo }, + ], +); + +/** + * @generated from message livekit.MigrateJobRequest + */ +export const MigrateJobRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MigrateJobRequest", + () => [ + { no: 2, name: "job_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * @generated from message livekit.AvailabilityRequest + */ +export const AvailabilityRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AvailabilityRequest", + () => [ + { no: 1, name: "job", kind: "message", T: Job }, + { no: 2, name: "resuming", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.AvailabilityResponse + */ +export const AvailabilityResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AvailabilityResponse", + () => [ + { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "available", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "supports_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ], +); + +/** + * @generated from message livekit.UpdateJobStatus + */ +export const UpdateJobStatus = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateJobStatus", + () => [ + { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, + { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.UpdateWorkerStatus + */ +export const UpdateWorkerStatus = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateWorkerStatus", + () => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true }, + { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 4, name: "job_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.JobAssignment + */ +export const JobAssignment = /*@__PURE__*/ proto3.makeMessageType( + "livekit.JobAssignment", + () => [ + { no: 1, name: "job", kind: "message", T: Job }, + { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.JobTermination + */ +export const JobTermination = /*@__PURE__*/ proto3.makeMessageType( + "livekit.JobTermination", + () => [ + { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_analytics_pb.d.ts b/packages/javascript/src/gen/livekit_analytics_pb.d.ts new file mode 100644 index 00000000..06e8122c --- /dev/null +++ b/packages/javascript/src/gen/livekit_analytics_pb.d.ts @@ -0,0 +1,889 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_analytics.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; +import type { EgressInfo } from "./livekit_egress_pb.js"; +import type { IngressInfo } from "./livekit_ingress_pb.js"; +import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; + +/** + * @generated from enum livekit.StreamType + */ +export declare enum StreamType { + /** + * @generated from enum value: UPSTREAM = 0; + */ + UPSTREAM = 0, + + /** + * @generated from enum value: DOWNSTREAM = 1; + */ + DOWNSTREAM = 1, +} + +/** + * @generated from enum livekit.AnalyticsEventType + */ +export declare enum AnalyticsEventType { + /** + * @generated from enum value: ROOM_CREATED = 0; + */ + ROOM_CREATED = 0, + + /** + * @generated from enum value: ROOM_ENDED = 1; + */ + ROOM_ENDED = 1, + + /** + * @generated from enum value: PARTICIPANT_JOINED = 2; + */ + PARTICIPANT_JOINED = 2, + + /** + * @generated from enum value: PARTICIPANT_LEFT = 3; + */ + PARTICIPANT_LEFT = 3, + + /** + * @generated from enum value: TRACK_PUBLISHED = 4; + */ + TRACK_PUBLISHED = 4, + + /** + * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20; + */ + TRACK_PUBLISH_REQUESTED = 20, + + /** + * @generated from enum value: TRACK_UNPUBLISHED = 5; + */ + TRACK_UNPUBLISHED = 5, + + /** + * @generated from enum value: TRACK_SUBSCRIBED = 6; + */ + TRACK_SUBSCRIBED = 6, + + /** + * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21; + */ + TRACK_SUBSCRIBE_REQUESTED = 21, + + /** + * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25; + */ + TRACK_SUBSCRIBE_FAILED = 25, + + /** + * @generated from enum value: TRACK_UNSUBSCRIBED = 7; + */ + TRACK_UNSUBSCRIBED = 7, + + /** + * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10; + */ + TRACK_PUBLISHED_UPDATE = 10, + + /** + * @generated from enum value: TRACK_MUTED = 23; + */ + TRACK_MUTED = 23, + + /** + * @generated from enum value: TRACK_UNMUTED = 24; + */ + TRACK_UNMUTED = 24, + + /** + * @generated from enum value: TRACK_PUBLISH_STATS = 26; + */ + TRACK_PUBLISH_STATS = 26, + + /** + * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27; + */ + TRACK_SUBSCRIBE_STATS = 27, + + /** + * @generated from enum value: PARTICIPANT_ACTIVE = 11; + */ + PARTICIPANT_ACTIVE = 11, + + /** + * @generated from enum value: PARTICIPANT_RESUMED = 22; + */ + PARTICIPANT_RESUMED = 22, + + /** + * @generated from enum value: EGRESS_STARTED = 12; + */ + EGRESS_STARTED = 12, + + /** + * @generated from enum value: EGRESS_ENDED = 13; + */ + EGRESS_ENDED = 13, + + /** + * @generated from enum value: EGRESS_UPDATED = 28; + */ + EGRESS_UPDATED = 28, + + /** + * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14; + */ + TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14, + + /** + * @generated from enum value: RECONNECTED = 15; + */ + RECONNECTED = 15, + + /** + * @generated from enum value: INGRESS_CREATED = 18; + */ + INGRESS_CREATED = 18, + + /** + * @generated from enum value: INGRESS_DELETED = 19; + */ + INGRESS_DELETED = 19, + + /** + * @generated from enum value: INGRESS_STARTED = 16; + */ + INGRESS_STARTED = 16, + + /** + * @generated from enum value: INGRESS_ENDED = 17; + */ + INGRESS_ENDED = 17, + + /** + * @generated from enum value: INGRESS_UPDATED = 29; + */ + INGRESS_UPDATED = 29, + + /** + * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30; + */ + SIP_INBOUND_TRUNK_CREATED = 30, + + /** + * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31; + */ + SIP_INBOUND_TRUNK_DELETED = 31, + + /** + * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32; + */ + SIP_OUTBOUND_TRUNK_CREATED = 32, + + /** + * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33; + */ + SIP_OUTBOUND_TRUNK_DELETED = 33, + + /** + * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34; + */ + SIP_DISPATCH_RULE_CREATED = 34, + + /** + * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35; + */ + SIP_DISPATCH_RULE_DELETED = 35, + + /** + * @generated from enum value: SIP_PARTICIPANT_CREATED = 36; + */ + SIP_PARTICIPANT_CREATED = 36, + + /** + * @generated from enum value: SIP_CALL_INCOMING = 37; + */ + SIP_CALL_INCOMING = 37, + + /** + * @generated from enum value: SIP_CALL_STARTED = 38; + */ + SIP_CALL_STARTED = 38, + + /** + * @generated from enum value: SIP_CALL_ENDED = 39; + */ + SIP_CALL_ENDED = 39, +} + +/** + * @generated from message livekit.AnalyticsVideoLayer + */ +export declare class AnalyticsVideoLayer extends Message { + /** + * @generated from field: int32 layer = 1; + */ + layer: number; + + /** + * @generated from field: uint32 packets = 2; + */ + packets: number; + + /** + * @generated from field: uint64 bytes = 3; + */ + bytes: bigint; + + /** + * @generated from field: uint32 frames = 4; + */ + frames: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsVideoLayer"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer; + + static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsStream + */ +export declare class AnalyticsStream extends Message { + /** + * @generated from field: uint32 ssrc = 1; + */ + ssrc: number; + + /** + * @generated from field: uint32 primary_packets = 2; + */ + primaryPackets: number; + + /** + * @generated from field: uint64 primary_bytes = 3; + */ + primaryBytes: bigint; + + /** + * @generated from field: uint32 retransmit_packets = 4; + */ + retransmitPackets: number; + + /** + * @generated from field: uint64 retransmit_bytes = 5; + */ + retransmitBytes: bigint; + + /** + * @generated from field: uint32 padding_packets = 6; + */ + paddingPackets: number; + + /** + * @generated from field: uint64 padding_bytes = 7; + */ + paddingBytes: bigint; + + /** + * @generated from field: uint32 packets_lost = 8; + */ + packetsLost: number; + + /** + * @generated from field: uint32 frames = 9; + */ + frames: number; + + /** + * @generated from field: uint32 rtt = 10; + */ + rtt: number; + + /** + * @generated from field: uint32 jitter = 11; + */ + jitter: number; + + /** + * @generated from field: uint32 nacks = 12; + */ + nacks: number; + + /** + * @generated from field: uint32 plis = 13; + */ + plis: number; + + /** + * @generated from field: uint32 firs = 14; + */ + firs: number; + + /** + * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; + */ + videoLayers: AnalyticsVideoLayer[]; + + /** + * @generated from field: google.protobuf.Timestamp start_time = 17; + */ + startTime?: Timestamp; + + /** + * @generated from field: google.protobuf.Timestamp end_time = 18; + */ + endTime?: Timestamp; + + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + packetsOutOfOrder: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStream"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream; + + static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsStat + */ +export declare class AnalyticsStat extends Message { + /** + * unique id for this stat + * + * @generated from field: string id = 14; + */ + id: string; + + /** + * @generated from field: string analytics_key = 1; + */ + analyticsKey: string; + + /** + * @generated from field: livekit.StreamType kind = 2; + */ + kind: StreamType; + + /** + * @generated from field: google.protobuf.Timestamp time_stamp = 3; + */ + timeStamp?: Timestamp; + + /** + * @generated from field: string node = 4; + */ + node: string; + + /** + * @generated from field: string room_id = 5; + */ + roomId: string; + + /** + * @generated from field: string room_name = 6; + */ + roomName: string; + + /** + * @generated from field: string participant_id = 7; + */ + participantId: string; + + /** + * @generated from field: string track_id = 8; + */ + trackId: string; + + /** + * average score + * + * @generated from field: float score = 9; + */ + score: number; + + /** + * @generated from field: repeated livekit.AnalyticsStream streams = 10; + */ + streams: AnalyticsStream[]; + + /** + * @generated from field: string mime = 11; + */ + mime: string; + + /** + * @generated from field: float min_score = 12; + */ + minScore: number; + + /** + * @generated from field: float median_score = 13; + */ + medianScore: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStat"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat; + + static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsStats + */ +export declare class AnalyticsStats extends Message { + /** + * @generated from field: repeated livekit.AnalyticsStat stats = 1; + */ + stats: AnalyticsStat[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsStats"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats; + + static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsClientMeta + */ +export declare class AnalyticsClientMeta extends Message { + /** + * @generated from field: string region = 1; + */ + region: string; + + /** + * @generated from field: string node = 2; + */ + node: string; + + /** + * @generated from field: string client_addr = 3; + */ + clientAddr: string; + + /** + * @generated from field: uint32 client_connect_time = 4; + */ + clientConnectTime: number; + + /** + * udp, tcp, turn + * + * @generated from field: string connection_type = 5; + */ + connectionType: string; + + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 6; + */ + reconnectReason: ReconnectReason; + + /** + * @generated from field: optional string geo_hash = 7; + */ + geoHash?: string; + + /** + * @generated from field: optional string country = 8; + */ + country?: string; + + /** + * @generated from field: optional uint32 isp_asn = 9; + */ + ispAsn?: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsClientMeta"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta; + + static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsEvent + */ +export declare class AnalyticsEvent extends Message { + /** + * unique id for this event + * + * @generated from field: string id = 25; + */ + id: string; + + /** + * @generated from field: livekit.AnalyticsEventType type = 1; + */ + type: AnalyticsEventType; + + /** + * @generated from field: google.protobuf.Timestamp timestamp = 2; + */ + timestamp?: Timestamp; + + /** + * @generated from field: string room_id = 3; + */ + roomId: string; + + /** + * @generated from field: livekit.Room room = 4; + */ + room?: Room; + + /** + * @generated from field: string participant_id = 5; + */ + participantId: string; + + /** + * @generated from field: livekit.ParticipantInfo participant = 6; + */ + participant?: ParticipantInfo; + + /** + * @generated from field: string track_id = 7; + */ + trackId: string; + + /** + * @generated from field: livekit.TrackInfo track = 8; + */ + track?: TrackInfo; + + /** + * @generated from field: string analytics_key = 10; + */ + analyticsKey: string; + + /** + * @generated from field: livekit.ClientInfo client_info = 11; + */ + clientInfo?: ClientInfo; + + /** + * @generated from field: livekit.AnalyticsClientMeta client_meta = 12; + */ + clientMeta?: AnalyticsClientMeta; + + /** + * @generated from field: string egress_id = 13; + */ + egressId: string; + + /** + * @generated from field: string ingress_id = 19; + */ + ingressId: string; + + /** + * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; + */ + maxSubscribedVideoQuality: VideoQuality; + + /** + * @generated from field: livekit.ParticipantInfo publisher = 15; + */ + publisher?: ParticipantInfo; + + /** + * @generated from field: string mime = 16; + */ + mime: string; + + /** + * @generated from field: livekit.EgressInfo egress = 17; + */ + egress?: EgressInfo; + + /** + * @generated from field: livekit.IngressInfo ingress = 18; + */ + ingress?: IngressInfo; + + /** + * @generated from field: string error = 20; + */ + error: string; + + /** + * @generated from field: livekit.RTPStats rtp_stats = 21; + */ + rtpStats?: RTPStats; + + /** + * @generated from field: int32 video_layer = 22; + */ + videoLayer: number; + + /** + * @generated from field: string node_id = 24; + */ + nodeId: string; + + /** + * @generated from field: string sip_call_id = 26; + */ + sipCallId: string; + + /** + * @generated from field: livekit.SIPCallInfo sip_call = 27; + */ + sipCall?: SIPCallInfo; + + /** + * @generated from field: string sip_trunk_id = 28; + */ + sipTrunkId: string; + + /** + * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29; + */ + sipInboundTrunk?: SIPInboundTrunkInfo; + + /** + * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30; + */ + sipOutboundTrunk?: SIPOutboundTrunkInfo; + + /** + * @generated from field: string sip_dispatch_rule_id = 31; + */ + sipDispatchRuleId: string; + + /** + * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32; + */ + sipDispatchRule?: SIPDispatchRuleInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsEvent"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent; + + static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsEvents + */ +export declare class AnalyticsEvents extends Message { + /** + * @generated from field: repeated livekit.AnalyticsEvent events = 1; + */ + events: AnalyticsEvent[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsEvents"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents; + + static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsRoomParticipant + */ +export declare class AnalyticsRoomParticipant extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * @generated from field: string name = 3; + */ + name: string; + + /** + * @generated from field: livekit.ParticipantInfo.State state = 4; + */ + state: ParticipantInfo_State; + + /** + * @generated from field: google.protobuf.Timestamp joined_at = 5; + */ + joinedAt?: Timestamp; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsRoomParticipant"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant; + + static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsRoom + */ +export declare class AnalyticsRoom extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: string project_id = 5; + */ + projectId: string; + + /** + * @generated from field: google.protobuf.Timestamp created_at = 3; + */ + createdAt?: Timestamp; + + /** + * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; + */ + participants: AnalyticsRoomParticipant[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsRoom"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom; + + static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AnalyticsNodeRooms + */ +export declare class AnalyticsNodeRooms extends Message { + /** + * @generated from field: string node_id = 1; + */ + nodeId: string; + + /** + * @generated from field: uint64 sequence_number = 2; + */ + sequenceNumber: bigint; + + /** + * @generated from field: google.protobuf.Timestamp timestamp = 3; + */ + timestamp?: Timestamp; + + /** + * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; + */ + rooms: AnalyticsRoom[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AnalyticsNodeRooms"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms; + + static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms; + + static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms; + + static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_analytics_pb.js b/packages/javascript/src/gen/livekit_analytics_pb.js new file mode 100644 index 00000000..6baca83b --- /dev/null +++ b/packages/javascript/src/gen/livekit_analytics_pb.js @@ -0,0 +1,264 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_analytics.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3, Timestamp } from "@bufbuild/protobuf"; +import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; +import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; + +/** + * @generated from enum livekit.StreamType + */ +export const StreamType = /*@__PURE__*/ proto3.makeEnum( + "livekit.StreamType", + [ + {no: 0, name: "UPSTREAM"}, + {no: 1, name: "DOWNSTREAM"}, + ], +); + +/** + * @generated from enum livekit.AnalyticsEventType + */ +export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum( + "livekit.AnalyticsEventType", + [ + {no: 0, name: "ROOM_CREATED"}, + {no: 1, name: "ROOM_ENDED"}, + {no: 2, name: "PARTICIPANT_JOINED"}, + {no: 3, name: "PARTICIPANT_LEFT"}, + {no: 4, name: "TRACK_PUBLISHED"}, + {no: 20, name: "TRACK_PUBLISH_REQUESTED"}, + {no: 5, name: "TRACK_UNPUBLISHED"}, + {no: 6, name: "TRACK_SUBSCRIBED"}, + {no: 21, name: "TRACK_SUBSCRIBE_REQUESTED"}, + {no: 25, name: "TRACK_SUBSCRIBE_FAILED"}, + {no: 7, name: "TRACK_UNSUBSCRIBED"}, + {no: 10, name: "TRACK_PUBLISHED_UPDATE"}, + {no: 23, name: "TRACK_MUTED"}, + {no: 24, name: "TRACK_UNMUTED"}, + {no: 26, name: "TRACK_PUBLISH_STATS"}, + {no: 27, name: "TRACK_SUBSCRIBE_STATS"}, + {no: 11, name: "PARTICIPANT_ACTIVE"}, + {no: 22, name: "PARTICIPANT_RESUMED"}, + {no: 12, name: "EGRESS_STARTED"}, + {no: 13, name: "EGRESS_ENDED"}, + {no: 28, name: "EGRESS_UPDATED"}, + {no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"}, + {no: 15, name: "RECONNECTED"}, + {no: 18, name: "INGRESS_CREATED"}, + {no: 19, name: "INGRESS_DELETED"}, + {no: 16, name: "INGRESS_STARTED"}, + {no: 17, name: "INGRESS_ENDED"}, + {no: 29, name: "INGRESS_UPDATED"}, + {no: 30, name: "SIP_INBOUND_TRUNK_CREATED"}, + {no: 31, name: "SIP_INBOUND_TRUNK_DELETED"}, + {no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED"}, + {no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED"}, + {no: 34, name: "SIP_DISPATCH_RULE_CREATED"}, + {no: 35, name: "SIP_DISPATCH_RULE_DELETED"}, + {no: 36, name: "SIP_PARTICIPANT_CREATED"}, + {no: 37, name: "SIP_CALL_INCOMING"}, + {no: 38, name: "SIP_CALL_STARTED"}, + {no: 39, name: "SIP_CALL_ENDED"}, + ], +); + +/** + * @generated from message livekit.AnalyticsVideoLayer + */ +export const AnalyticsVideoLayer = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsVideoLayer", + () => [ + { no: 1, name: "layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.AnalyticsStream + */ +export const AnalyticsStream = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsStream", + () => [ + { no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "primary_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "primary_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "retransmit_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "retransmit_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 6, name: "padding_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 7, name: "padding_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 9, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 10, name: "rtt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 11, name: "jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 12, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 13, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 14, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, + { no: 17, name: "start_time", kind: "message", T: Timestamp }, + { no: 18, name: "end_time", kind: "message", T: Timestamp }, + { no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.AnalyticsStat + */ +export const AnalyticsStat = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsStat", + () => [ + { no: 14, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 1, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) }, + { no: 3, name: "time_stamp", kind: "message", T: Timestamp }, + { no: 4, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, + { no: 11, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "min_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 13, name: "median_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + ], +); + +/** + * @generated from message livekit.AnalyticsStats + */ +export const AnalyticsStats = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsStats", + () => [ + { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true }, + ], +); + +/** + * @generated from message livekit.AnalyticsClientMeta + */ +export const AnalyticsClientMeta = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsClientMeta", + () => [ + { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "client_connect_time", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "connection_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, + { no: 7, name: "geo_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 8, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 9, name: "isp_asn", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true }, + ], +); + +/** + * @generated from message livekit.AnalyticsEvent + */ +export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsEvent", + () => [ + { no: 25, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) }, + { no: 2, name: "timestamp", kind: "message", T: Timestamp }, + { no: 3, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "room", kind: "message", T: Room }, + { no: 5, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "participant", kind: "message", T: ParticipantInfo }, + { no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "track", kind: "message", T: TrackInfo }, + { no: 10, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "client_info", kind: "message", T: ClientInfo }, + { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, + { no: 13, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 19, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { no: 15, name: "publisher", kind: "message", T: ParticipantInfo }, + { no: 16, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 17, name: "egress", kind: "message", T: EgressInfo }, + { no: 18, name: "ingress", kind: "message", T: IngressInfo }, + { no: 20, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 21, name: "rtp_stats", kind: "message", T: RTPStats }, + { no: 22, name: "video_layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 24, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 26, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 27, name: "sip_call", kind: "message", T: SIPCallInfo }, + { no: 28, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo }, + { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo }, + { no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo }, + ], +); + +/** + * @generated from message livekit.AnalyticsEvents + */ +export const AnalyticsEvents = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsEvents", + () => [ + { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true }, + ], +); + +/** + * @generated from message livekit.AnalyticsRoomParticipant + */ +export const AnalyticsRoomParticipant = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsRoomParticipant", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, + { no: 5, name: "joined_at", kind: "message", T: Timestamp }, + ], +); + +/** + * @generated from message livekit.AnalyticsRoom + */ +export const AnalyticsRoom = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsRoom", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "created_at", kind: "message", T: Timestamp }, + { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true }, + ], +); + +/** + * @generated from message livekit.AnalyticsNodeRooms + */ +export const AnalyticsNodeRooms = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AnalyticsNodeRooms", + () => [ + { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 3, name: "timestamp", kind: "message", T: Timestamp }, + { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_egress_pb.d.ts b/packages/javascript/src/gen/livekit_egress_pb.d.ts new file mode 100644 index 00000000..31db0249 --- /dev/null +++ b/packages/javascript/src/gen/livekit_egress_pb.d.ts @@ -0,0 +1,2056 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_egress.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.EncodedFileType + */ +export declare enum EncodedFileType { + /** + * file type chosen based on codecs + * + * @generated from enum value: DEFAULT_FILETYPE = 0; + */ + DEFAULT_FILETYPE = 0, + + /** + * @generated from enum value: MP4 = 1; + */ + MP4 = 1, + + /** + * @generated from enum value: OGG = 2; + */ + OGG = 2, +} + +/** + * @generated from enum livekit.SegmentedFileProtocol + */ +export declare enum SegmentedFileProtocol { + /** + * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; + */ + DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, + + /** + * @generated from enum value: HLS_PROTOCOL = 1; + */ + HLS_PROTOCOL = 1, +} + +/** + * @generated from enum livekit.SegmentedFileSuffix + */ +export declare enum SegmentedFileSuffix { + /** + * @generated from enum value: INDEX = 0; + */ + INDEX = 0, + + /** + * @generated from enum value: TIMESTAMP = 1; + */ + TIMESTAMP = 1, +} + +/** + * @generated from enum livekit.ImageFileSuffix + */ +export declare enum ImageFileSuffix { + /** + * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; + */ + IMAGE_SUFFIX_INDEX = 0, + + /** + * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; + */ + IMAGE_SUFFIX_TIMESTAMP = 1, +} + +/** + * @generated from enum livekit.StreamProtocol + */ +export declare enum StreamProtocol { + /** + * protocol chosen based on urls + * + * @generated from enum value: DEFAULT_PROTOCOL = 0; + */ + DEFAULT_PROTOCOL = 0, + + /** + * @generated from enum value: RTMP = 1; + */ + RTMP = 1, + + /** + * @generated from enum value: SRT = 2; + */ + SRT = 2, +} + +/** + * @generated from enum livekit.EncodingOptionsPreset + */ +export declare enum EncodingOptionsPreset { + /** + * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS + * + * @generated from enum value: H264_720P_30 = 0; + */ + H264_720P_30 = 0, + + /** + * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_720P_60 = 1; + */ + H264_720P_60 = 1, + + /** + * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_1080P_30 = 2; + */ + H264_1080P_30 = 2, + + /** + * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS + * + * @generated from enum value: H264_1080P_60 = 3; + */ + H264_1080P_60 = 3, + + /** + * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_720P_30 = 4; + */ + PORTRAIT_H264_720P_30 = 4, + + /** + * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_720P_60 = 5; + */ + PORTRAIT_H264_720P_60 = 5, + + /** + * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; + */ + PORTRAIT_H264_1080P_30 = 6, + + /** + * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS + * + * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; + */ + PORTRAIT_H264_1080P_60 = 7, +} + +/** + * @generated from enum livekit.EgressStatus + */ +export declare enum EgressStatus { + /** + * @generated from enum value: EGRESS_STARTING = 0; + */ + EGRESS_STARTING = 0, + + /** + * @generated from enum value: EGRESS_ACTIVE = 1; + */ + EGRESS_ACTIVE = 1, + + /** + * @generated from enum value: EGRESS_ENDING = 2; + */ + EGRESS_ENDING = 2, + + /** + * @generated from enum value: EGRESS_COMPLETE = 3; + */ + EGRESS_COMPLETE = 3, + + /** + * @generated from enum value: EGRESS_FAILED = 4; + */ + EGRESS_FAILED = 4, + + /** + * @generated from enum value: EGRESS_ABORTED = 5; + */ + EGRESS_ABORTED = 5, + + /** + * @generated from enum value: EGRESS_LIMIT_REACHED = 6; + */ + EGRESS_LIMIT_REACHED = 6, +} + +/** + * composite using a web browser + * + * @generated from message livekit.RoomCompositeEgressRequest + */ +export declare class RoomCompositeEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * (optional) + * + * @generated from field: string layout = 2; + */ + layout: string; + + /** + * (default false) + * + * @generated from field: bool audio_only = 3; + */ + audioOnly: boolean; + + /** + * (default false) + * + * @generated from field: bool video_only = 4; + */ + videoOnly: boolean; + + /** + * template base url (default https://recorder.livekit.io) + * + * @generated from field: string custom_base_url = 5; + */ + customBaseUrl: string; + + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.RoomCompositeEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from oneof livekit.RoomCompositeEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 8; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 9; + */ + value: EncodingOptions; + case: "advanced"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + fileOutputs: EncodedFileOutput[]; + + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + streamOutputs: StreamOutput[]; + + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + segmentOutputs: SegmentedFileOutput[]; + + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + imageOutputs: ImageOutput[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomCompositeEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; + + static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * record any website + * + * @generated from message livekit.WebEgressRequest + */ +export declare class WebEgressRequest extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + + /** + * @generated from field: bool audio_only = 2; + */ + audioOnly: boolean; + + /** + * @generated from field: bool video_only = 3; + */ + videoOnly: boolean; + + /** + * @generated from field: bool await_start_signal = 12; + */ + awaitStartSignal: boolean; + + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.WebEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from oneof livekit.WebEgressRequest.options + */ + options: { + /** + * @generated from field: livekit.EncodingOptionsPreset preset = 7; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.EncodingOptions advanced = 8; + */ + value: EncodingOptions; + case: "advanced"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; + */ + fileOutputs: EncodedFileOutput[]; + + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; + */ + streamOutputs: StreamOutput[]; + + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; + */ + segmentOutputs: SegmentedFileOutput[]; + + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 13; + */ + imageOutputs: ImageOutput[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WebEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; + + static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * record audio and video from a single participant + * + * @generated from message livekit.ParticipantEgressRequest + */ +export declare class ParticipantEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * required + * + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * (default false) + * + * @generated from field: bool screen_share = 3; + */ + screenShare: boolean; + + /** + * @generated from oneof livekit.ParticipantEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 4; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 5; + */ + value: EncodingOptions; + case: "advanced"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; + */ + fileOutputs: EncodedFileOutput[]; + + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; + */ + streamOutputs: StreamOutput[]; + + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; + */ + segmentOutputs: SegmentedFileOutput[]; + + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 9; + */ + imageOutputs: ImageOutput[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; + + static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * containerize up to one audio and one video track + * + * @generated from message livekit.TrackCompositeEgressRequest + */ +export declare class TrackCompositeEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * (optional) + * + * @generated from field: string audio_track_id = 2; + */ + audioTrackId: string; + + /** + * (optional) + * + * @generated from field: string video_track_id = 3; + */ + videoTrackId: string; + + /** + * deprecated (use _output fields) + * + * @generated from oneof livekit.TrackCompositeEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; + * @deprecated + */ + value: EncodedFileOutput; + case: "file"; + } | { + /** + * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; + * @deprecated + */ + value: StreamOutput; + case: "stream"; + } | { + /** + * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; + * @deprecated + */ + value: SegmentedFileOutput; + case: "segments"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from oneof livekit.TrackCompositeEgressRequest.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 6; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 7; + */ + value: EncodingOptions; + case: "advanced"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; + */ + fileOutputs: EncodedFileOutput[]; + + /** + * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; + */ + streamOutputs: StreamOutput[]; + + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; + */ + segmentOutputs: SegmentedFileOutput[]; + + /** + * @generated from field: repeated livekit.ImageOutput image_outputs = 14; + */ + imageOutputs: ImageOutput[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackCompositeEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; + + static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * record tracks individually, without transcoding + * + * @generated from message livekit.TrackEgressRequest + */ +export declare class TrackEgressRequest extends Message { + /** + * required + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * required + * + * @generated from field: string track_id = 2; + */ + trackId: string; + + /** + * required + * + * @generated from oneof livekit.TrackEgressRequest.output + */ + output: { + /** + * @generated from field: livekit.DirectFileOutput file = 3; + */ + value: DirectFileOutput; + case: "file"; + } | { + /** + * @generated from field: string websocket_url = 4; + */ + value: string; + case: "websocketUrl"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; + + static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.EncodedFileOutput + */ +export declare class EncodedFileOutput extends Message { + /** + * (optional) + * + * @generated from field: livekit.EncodedFileType file_type = 1; + */ + fileType: EncodedFileType; + + /** + * see egress docs for templating (default {room_name}-{time}) + * + * @generated from field: string filepath = 2; + */ + filepath: string; + + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 6; + */ + disableManifest: boolean; + + /** + * @generated from oneof livekit.EncodedFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 3; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 4; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 5; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 7; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EncodedFileOutput"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; + + static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; + + static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; + + static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; +} + +/** + * Used to generate HLS segments or other kind of segmented output + * + * @generated from message livekit.SegmentedFileOutput + */ +export declare class SegmentedFileOutput extends Message { + /** + * (optional) + * + * @generated from field: livekit.SegmentedFileProtocol protocol = 1; + */ + protocol: SegmentedFileProtocol; + + /** + * (optional) + * + * @generated from field: string filename_prefix = 2; + */ + filenamePrefix: string; + + /** + * (optional) + * + * @generated from field: string playlist_name = 3; + */ + playlistName: string; + + /** + * (optional, disabled if not provided). Path of a live playlist + * + * @generated from field: string live_playlist_name = 11; + */ + livePlaylistName: string; + + /** + * in seconds (optional) + * + * @generated from field: uint32 segment_duration = 4; + */ + segmentDuration: number; + + /** + * (optional, default INDEX) + * + * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; + */ + filenameSuffix: SegmentedFileSuffix; + + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 8; + */ + disableManifest: boolean; + + /** + * required + * + * @generated from oneof livekit.SegmentedFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 5; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 6; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 7; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 9; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SegmentedFileOutput"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; + + static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; + + static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; + + static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DirectFileOutput + */ +export declare class DirectFileOutput extends Message { + /** + * see egress docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + filepath: string; + + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + disableManifest: boolean; + + /** + * @generated from oneof livekit.DirectFileOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 2; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 3; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 4; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 6; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DirectFileOutput"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; + + static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; + + static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; + + static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ImageOutput + */ +export declare class ImageOutput extends Message { + /** + * in seconds (required) + * + * @generated from field: uint32 capture_interval = 1; + */ + captureInterval: number; + + /** + * (optional, defaults to track width) + * + * @generated from field: int32 width = 2; + */ + width: number; + + /** + * (optional, defaults to track height) + * + * @generated from field: int32 height = 3; + */ + height: number; + + /** + * (optional) + * + * @generated from field: string filename_prefix = 4; + */ + filenamePrefix: string; + + /** + * (optional, default INDEX) + * + * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; + */ + filenameSuffix: ImageFileSuffix; + + /** + * (optional) + * + * @generated from field: livekit.ImageCodec image_codec = 6; + */ + imageCodec: ImageCodec; + + /** + * disable upload of manifest file (default false) + * + * @generated from field: bool disable_manifest = 7; + */ + disableManifest: boolean; + + /** + * required + * + * @generated from oneof livekit.ImageOutput.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 8; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 9; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 10; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 11; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ImageOutput"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; + + static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; + + static fromJsonString(jsonString: string, options?: Partial): ImageOutput; + + static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.S3Upload + */ +export declare class S3Upload extends Message { + /** + * @generated from field: string access_key = 1; + */ + accessKey: string; + + /** + * @generated from field: string secret = 2; + */ + secret: string; + + /** + * @generated from field: string session_token = 11; + */ + sessionToken: string; + + /** + * @generated from field: string region = 3; + */ + region: string; + + /** + * @generated from field: string endpoint = 4; + */ + endpoint: string; + + /** + * @generated from field: string bucket = 5; + */ + bucket: string; + + /** + * @generated from field: bool force_path_style = 6; + */ + forcePathStyle: boolean; + + /** + * @generated from field: map metadata = 7; + */ + metadata: { [key: string]: string }; + + /** + * @generated from field: string tagging = 8; + */ + tagging: string; + + /** + * Content-Disposition header + * + * @generated from field: string content_disposition = 9; + */ + contentDisposition: string; + + /** + * @generated from field: livekit.ProxyConfig proxy = 10; + */ + proxy?: ProxyConfig; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.S3Upload"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; + + static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; + + static fromJsonString(jsonString: string, options?: Partial): S3Upload; + + static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.GCPUpload + */ +export declare class GCPUpload extends Message { + /** + * service account credentials serialized in JSON "credentials.json" + * + * @generated from field: string credentials = 1; + */ + credentials: string; + + /** + * @generated from field: string bucket = 2; + */ + bucket: string; + + /** + * @generated from field: livekit.ProxyConfig proxy = 3; + */ + proxy?: ProxyConfig; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GCPUpload"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; + + static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; + + static fromJsonString(jsonString: string, options?: Partial): GCPUpload; + + static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AzureBlobUpload + */ +export declare class AzureBlobUpload extends Message { + /** + * @generated from field: string account_name = 1; + */ + accountName: string; + + /** + * @generated from field: string account_key = 2; + */ + accountKey: string; + + /** + * @generated from field: string container_name = 3; + */ + containerName: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AzureBlobUpload"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; + + static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; + + static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; + + static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AliOSSUpload + */ +export declare class AliOSSUpload extends Message { + /** + * @generated from field: string access_key = 1; + */ + accessKey: string; + + /** + * @generated from field: string secret = 2; + */ + secret: string; + + /** + * @generated from field: string region = 3; + */ + region: string; + + /** + * @generated from field: string endpoint = 4; + */ + endpoint: string; + + /** + * @generated from field: string bucket = 5; + */ + bucket: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AliOSSUpload"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; + + static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; + + static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; + + static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ProxyConfig + */ +export declare class ProxyConfig extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + + /** + * @generated from field: string username = 2; + */ + username: string; + + /** + * @generated from field: string password = 3; + */ + password: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ProxyConfig"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; + + static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; + + static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; + + static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StreamOutput + */ +export declare class StreamOutput extends Message { + /** + * required + * + * @generated from field: livekit.StreamProtocol protocol = 1; + */ + protocol: StreamProtocol; + + /** + * required + * + * @generated from field: repeated string urls = 2; + */ + urls: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamOutput"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; + + static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; + + static fromJsonString(jsonString: string, options?: Partial): StreamOutput; + + static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.EncodingOptions + */ +export declare class EncodingOptions extends Message { + /** + * (default 1920) + * + * @generated from field: int32 width = 1; + */ + width: number; + + /** + * (default 1080) + * + * @generated from field: int32 height = 2; + */ + height: number; + + /** + * (default 24) + * + * @generated from field: int32 depth = 3; + */ + depth: number; + + /** + * (default 30) + * + * @generated from field: int32 framerate = 4; + */ + framerate: number; + + /** + * (default OPUS) + * + * @generated from field: livekit.AudioCodec audio_codec = 5; + */ + audioCodec: AudioCodec; + + /** + * (default 128) + * + * @generated from field: int32 audio_bitrate = 6; + */ + audioBitrate: number; + + /** + * quality setting on audio encoder + * + * @generated from field: int32 audio_quality = 11; + */ + audioQuality: number; + + /** + * (default 44100) + * + * @generated from field: int32 audio_frequency = 7; + */ + audioFrequency: number; + + /** + * (default H264_MAIN) + * + * @generated from field: livekit.VideoCodec video_codec = 8; + */ + videoCodec: VideoCodec; + + /** + * (default 4500) + * + * @generated from field: int32 video_bitrate = 9; + */ + videoBitrate: number; + + /** + * quality setting on video encoder + * + * @generated from field: int32 video_quality = 12; + */ + videoQuality: number; + + /** + * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) + * + * @generated from field: double key_frame_interval = 10; + */ + keyFrameInterval: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EncodingOptions"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; + + static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; + + static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; + + static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateLayoutRequest + */ +export declare class UpdateLayoutRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + + /** + * @generated from field: string layout = 2; + */ + layout: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLayoutRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; + + static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateStreamRequest + */ +export declare class UpdateStreamRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + + /** + * @generated from field: repeated string add_output_urls = 2; + */ + addOutputUrls: string[]; + + /** + * @generated from field: repeated string remove_output_urls = 3; + */ + removeOutputUrls: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateStreamRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; + + static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListEgressRequest + */ +export declare class ListEgressRequest extends Message { + /** + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * (optional, filter by egress ID) + * + * @generated from field: string egress_id = 2; + */ + egressId: string; + + /** + * (optional, list active egress only) + * + * @generated from field: bool active = 3; + */ + active: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; + + static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListEgressResponse + */ +export declare class ListEgressResponse extends Message { + /** + * @generated from field: repeated livekit.EgressInfo items = 1; + */ + items: EgressInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListEgressResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; + + static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StopEgressRequest + */ +export declare class StopEgressRequest extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StopEgressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; + + static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; + + static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.EgressInfo + */ +export declare class EgressInfo extends Message { + /** + * @generated from field: string egress_id = 1; + */ + egressId: string; + + /** + * @generated from field: string room_id = 2; + */ + roomId: string; + + /** + * @generated from field: string room_name = 13; + */ + roomName: string; + + /** + * @generated from field: livekit.EgressStatus status = 3; + */ + status: EgressStatus; + + /** + * @generated from field: int64 started_at = 10; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 11; + */ + endedAt: bigint; + + /** + * @generated from field: int64 updated_at = 18; + */ + updatedAt: bigint; + + /** + * @generated from field: string details = 21; + */ + details: string; + + /** + * @generated from field: string error = 9; + */ + error: string; + + /** + * @generated from field: int32 error_code = 22; + */ + errorCode: number; + + /** + * @generated from oneof livekit.EgressInfo.request + */ + request: { + /** + * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; + */ + value: RoomCompositeEgressRequest; + case: "roomComposite"; + } | { + /** + * @generated from field: livekit.WebEgressRequest web = 14; + */ + value: WebEgressRequest; + case: "web"; + } | { + /** + * @generated from field: livekit.ParticipantEgressRequest participant = 19; + */ + value: ParticipantEgressRequest; + case: "participant"; + } | { + /** + * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; + */ + value: TrackCompositeEgressRequest; + case: "trackComposite"; + } | { + /** + * @generated from field: livekit.TrackEgressRequest track = 6; + */ + value: TrackEgressRequest; + case: "track"; + } | { case: undefined; value?: undefined }; + + /** + * deprecated (use _result fields) + * + * @generated from oneof livekit.EgressInfo.result + */ + result: { + /** + * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; + * @deprecated + */ + value: StreamInfoList; + case: "stream"; + } | { + /** + * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; + * @deprecated + */ + value: FileInfo; + case: "file"; + } | { + /** + * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; + * @deprecated + */ + value: SegmentsInfo; + case: "segments"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.StreamInfo stream_results = 15; + */ + streamResults: StreamInfo[]; + + /** + * @generated from field: repeated livekit.FileInfo file_results = 16; + */ + fileResults: FileInfo[]; + + /** + * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; + */ + segmentResults: SegmentsInfo[]; + + /** + * @generated from field: repeated livekit.ImagesInfo image_results = 20; + */ + imageResults: ImagesInfo[]; + + /** + * @generated from field: string manifest_location = 23; + */ + manifestLocation: string; + + /** + * next ID: 26 + * + * @generated from field: bool backup_storage_used = 25; + */ + backupStorageUsed: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EgressInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; + + static fromJsonString(jsonString: string, options?: Partial): EgressInfo; + + static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StreamInfoList + * @deprecated + */ +export declare class StreamInfoList extends Message { + /** + * @generated from field: repeated livekit.StreamInfo info = 1; + */ + info: StreamInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamInfoList"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; + + static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; + + static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; + + static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StreamInfo + */ +export declare class StreamInfo extends Message { + /** + * @generated from field: string url = 1; + */ + url: string; + + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + + /** + * @generated from field: int64 duration = 4; + */ + duration: bigint; + + /** + * @generated from field: livekit.StreamInfo.Status status = 5; + */ + status: StreamInfo_Status; + + /** + * @generated from field: string error = 6; + */ + error: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; + + static fromJsonString(jsonString: string, options?: Partial): StreamInfo; + + static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.StreamInfo.Status + */ +export declare enum StreamInfo_Status { + /** + * @generated from enum value: ACTIVE = 0; + */ + ACTIVE = 0, + + /** + * @generated from enum value: FINISHED = 1; + */ + FINISHED = 1, + + /** + * @generated from enum value: FAILED = 2; + */ + FAILED = 2, +} + +/** + * @generated from message livekit.FileInfo + */ +export declare class FileInfo extends Message { + /** + * @generated from field: string filename = 1; + */ + filename: string; + + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + + /** + * @generated from field: int64 duration = 6; + */ + duration: bigint; + + /** + * @generated from field: int64 size = 4; + */ + size: bigint; + + /** + * @generated from field: string location = 5; + */ + location: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.FileInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; + + static fromJsonString(jsonString: string, options?: Partial): FileInfo; + + static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SegmentsInfo + */ +export declare class SegmentsInfo extends Message { + /** + * @generated from field: string playlist_name = 1; + */ + playlistName: string; + + /** + * @generated from field: string live_playlist_name = 8; + */ + livePlaylistName: string; + + /** + * @generated from field: int64 duration = 2; + */ + duration: bigint; + + /** + * @generated from field: int64 size = 3; + */ + size: bigint; + + /** + * @generated from field: string playlist_location = 4; + */ + playlistLocation: string; + + /** + * @generated from field: string live_playlist_location = 9; + */ + livePlaylistLocation: string; + + /** + * @generated from field: int64 segment_count = 5; + */ + segmentCount: bigint; + + /** + * @generated from field: int64 started_at = 6; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 7; + */ + endedAt: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SegmentsInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; + + static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; + + static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ImagesInfo + */ +export declare class ImagesInfo extends Message { + /** + * @generated from field: string filename_prefix = 4; + */ + filenamePrefix: string; + + /** + * @generated from field: int64 image_count = 1; + */ + imageCount: bigint; + + /** + * @generated from field: int64 started_at = 2; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 3; + */ + endedAt: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ImagesInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; + + static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; + + static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AutoParticipantEgress + */ +export declare class AutoParticipantEgress extends Message { + /** + * @generated from oneof livekit.AutoParticipantEgress.options + */ + options: { + /** + * (default H264_720P_30) + * + * @generated from field: livekit.EncodingOptionsPreset preset = 1; + */ + value: EncodingOptionsPreset; + case: "preset"; + } | { + /** + * (optional) + * + * @generated from field: livekit.EncodingOptions advanced = 2; + */ + value: EncodingOptions; + case: "advanced"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; + */ + fileOutputs: EncodedFileOutput[]; + + /** + * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; + */ + segmentOutputs: SegmentedFileOutput[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AutoParticipantEgress"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; + + static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; + + static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; + + static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AutoTrackEgress + */ +export declare class AutoTrackEgress extends Message { + /** + * see docs for templating (default {track_id}-{time}) + * + * @generated from field: string filepath = 1; + */ + filepath: string; + + /** + * disables upload of json manifest file (default false) + * + * @generated from field: bool disable_manifest = 5; + */ + disableManifest: boolean; + + /** + * @generated from oneof livekit.AutoTrackEgress.output + */ + output: { + /** + * @generated from field: livekit.S3Upload s3 = 2; + */ + value: S3Upload; + case: "s3"; + } | { + /** + * @generated from field: livekit.GCPUpload gcp = 3; + */ + value: GCPUpload; + case: "gcp"; + } | { + /** + * @generated from field: livekit.AzureBlobUpload azure = 4; + */ + value: AzureBlobUpload; + case: "azure"; + } | { + /** + * @generated from field: livekit.AliOSSUpload aliOSS = 6; + */ + value: AliOSSUpload; + case: "aliOSS"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AutoTrackEgress"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; + + static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; + + static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; + + static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_egress_pb.js b/packages/javascript/src/gen/livekit_egress_pb.js new file mode 100644 index 00000000..68d07558 --- /dev/null +++ b/packages/javascript/src/gen/livekit_egress_pb.js @@ -0,0 +1,594 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_egress.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.EncodedFileType + */ +export const EncodedFileType = /*@__PURE__*/ proto3.makeEnum( + "livekit.EncodedFileType", + [ + {no: 0, name: "DEFAULT_FILETYPE"}, + {no: 1, name: "MP4"}, + {no: 2, name: "OGG"}, + ], +); + +/** + * @generated from enum livekit.SegmentedFileProtocol + */ +export const SegmentedFileProtocol = /*@__PURE__*/ proto3.makeEnum( + "livekit.SegmentedFileProtocol", + [ + {no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"}, + {no: 1, name: "HLS_PROTOCOL"}, + ], +); + +/** + * @generated from enum livekit.SegmentedFileSuffix + */ +export const SegmentedFileSuffix = /*@__PURE__*/ proto3.makeEnum( + "livekit.SegmentedFileSuffix", + [ + {no: 0, name: "INDEX"}, + {no: 1, name: "TIMESTAMP"}, + ], +); + +/** + * @generated from enum livekit.ImageFileSuffix + */ +export const ImageFileSuffix = /*@__PURE__*/ proto3.makeEnum( + "livekit.ImageFileSuffix", + [ + {no: 0, name: "IMAGE_SUFFIX_INDEX"}, + {no: 1, name: "IMAGE_SUFFIX_TIMESTAMP"}, + ], +); + +/** + * @generated from enum livekit.StreamProtocol + */ +export const StreamProtocol = /*@__PURE__*/ proto3.makeEnum( + "livekit.StreamProtocol", + [ + {no: 0, name: "DEFAULT_PROTOCOL"}, + {no: 1, name: "RTMP"}, + {no: 2, name: "SRT"}, + ], +); + +/** + * @generated from enum livekit.EncodingOptionsPreset + */ +export const EncodingOptionsPreset = /*@__PURE__*/ proto3.makeEnum( + "livekit.EncodingOptionsPreset", + [ + {no: 0, name: "H264_720P_30"}, + {no: 1, name: "H264_720P_60"}, + {no: 2, name: "H264_1080P_30"}, + {no: 3, name: "H264_1080P_60"}, + {no: 4, name: "PORTRAIT_H264_720P_30"}, + {no: 5, name: "PORTRAIT_H264_720P_60"}, + {no: 6, name: "PORTRAIT_H264_1080P_30"}, + {no: 7, name: "PORTRAIT_H264_1080P_60"}, + ], +); + +/** + * @generated from enum livekit.EgressStatus + */ +export const EgressStatus = /*@__PURE__*/ proto3.makeEnum( + "livekit.EgressStatus", + [ + {no: 0, name: "EGRESS_STARTING"}, + {no: 1, name: "EGRESS_ACTIVE"}, + {no: 2, name: "EGRESS_ENDING"}, + {no: 3, name: "EGRESS_COMPLETE"}, + {no: 4, name: "EGRESS_FAILED"}, + {no: 5, name: "EGRESS_ABORTED"}, + {no: 6, name: "EGRESS_LIMIT_REACHED"}, + ], +); + +/** + * composite using a web browser + * + * @generated from message livekit.RoomCompositeEgressRequest + */ +export const RoomCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomCompositeEgressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "custom_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, + ], +); + +/** + * record any website + * + * @generated from message livekit.WebEgressRequest + */ +export const WebEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.WebEgressRequest", + () => [ + { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 12, name: "await_start_signal", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, + ], +); + +/** + * record audio and video from a single participant + * + * @generated from message livekit.ParticipantEgressRequest + */ +export const ParticipantEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ParticipantEgressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "screen_share", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, + ], +); + +/** + * containerize up to one audio and one video track + * + * @generated from message livekit.TrackCompositeEgressRequest + */ +export const TrackCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackCompositeEgressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "audio_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, + { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, + { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, + { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, + { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, + ], +); + +/** + * record tracks individually, without transcoding + * + * @generated from message livekit.TrackEgressRequest + */ +export const TrackEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackEgressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, + { no: 4, name: "websocket_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output" }, + ], +); + +/** + * @generated from message livekit.EncodedFileOutput + */ +export const EncodedFileOutput = /*@__PURE__*/ proto3.makeMessageType( + "livekit.EncodedFileOutput", + () => [ + { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) }, + { no: 2, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, + ], +); + +/** + * Used to generate HLS segments or other kind of segmented output + * + * @generated from message livekit.SegmentedFileOutput + */ +export const SegmentedFileOutput = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SegmentedFileOutput", + () => [ + { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) }, + { no: 2, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "segment_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) }, + { no: 8, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, + ], +); + +/** + * @generated from message livekit.DirectFileOutput + */ +export const DirectFileOutput = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DirectFileOutput", + () => [ + { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, + ], +); + +/** + * @generated from message livekit.ImageOutput + */ +export const ImageOutput = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ImageOutput", + () => [ + { no: 1, name: "capture_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) }, + { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) }, + { no: 7, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, + ], +); + +/** + * @generated from message livekit.S3Upload + */ +export const S3Upload = /*@__PURE__*/ proto3.makeMessageType( + "livekit.S3Upload", + () => [ + { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "force_path_style", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "proxy", kind: "message", T: ProxyConfig }, + ], +); + +/** + * @generated from message livekit.GCPUpload + */ +export const GCPUpload = /*@__PURE__*/ proto3.makeMessageType( + "livekit.GCPUpload", + () => [ + { no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "proxy", kind: "message", T: ProxyConfig }, + ], +); + +/** + * @generated from message livekit.AzureBlobUpload + */ +export const AzureBlobUpload = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AzureBlobUpload", + () => [ + { no: 1, name: "account_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "account_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "container_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.AliOSSUpload + */ +export const AliOSSUpload = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AliOSSUpload", + () => [ + { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ProxyConfig + */ +export const ProxyConfig = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ProxyConfig", + () => [ + { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.StreamOutput + */ +export const StreamOutput = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StreamOutput", + () => [ + { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) }, + { no: 2, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * @generated from message livekit.EncodingOptions + */ +export const EncodingOptions = /*@__PURE__*/ proto3.makeMessageType( + "livekit.EncodingOptions", + () => [ + { no: 1, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "framerate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, + { no: 6, name: "audio_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 11, name: "audio_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 7, name: "audio_frequency", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, + { no: 9, name: "video_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 12, name: "video_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 10, name: "key_frame_interval", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + ], +); + +/** + * @generated from message livekit.UpdateLayoutRequest + */ +export const UpdateLayoutRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateLayoutRequest", + () => [ + { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.UpdateStreamRequest + */ +export const UpdateStreamRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateStreamRequest", + () => [ + { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "add_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 3, name: "remove_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * @generated from message livekit.ListEgressRequest + */ +export const ListEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListEgressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.ListEgressResponse + */ +export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListEgressResponse", + () => [ + { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.StopEgressRequest + */ +export const StopEgressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StopEgressRequest", + () => [ + { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.EgressInfo + */ +export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.EgressInfo", + () => [ + { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) }, + { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 22, name: "error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, + { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, + { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, + { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, + { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, + { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, + { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, + { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, + { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, + { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, + { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, + { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, + { no: 23, name: "manifest_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 25, name: "backup_storage_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.StreamInfoList + * @deprecated + */ +export const StreamInfoList = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StreamInfoList", + () => [ + { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.StreamInfo + */ +export const StreamInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StreamInfo", + () => [ + { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 4, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) }, + { no: 6, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from enum livekit.StreamInfo.Status + */ +export const StreamInfo_Status = /*@__PURE__*/ proto3.makeEnum( + "livekit.StreamInfo.Status", + [ + {no: 0, name: "ACTIVE"}, + {no: 1, name: "FINISHED"}, + {no: 2, name: "FAILED"}, + ], +); + +/** + * @generated from message livekit.FileInfo + */ +export const FileInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.FileInfo", + () => [ + { no: 1, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 6, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 5, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SegmentsInfo + */ +export const SegmentsInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SegmentsInfo", + () => [ + { no: 1, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 4, name: "playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "live_playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "segment_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 6, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 7, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.ImagesInfo + */ +export const ImagesInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ImagesInfo", + () => [ + { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 1, name: "image_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.AutoParticipantEgress + */ +export const AutoParticipantEgress = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AutoParticipantEgress", + () => [ + { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, + { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, + { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, + { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, + ], +); + +/** + * @generated from message livekit.AutoTrackEgress + */ +export const AutoTrackEgress = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AutoTrackEgress", + () => [ + { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, + { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, + { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, + { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_ingress_pb.d.ts b/packages/javascript/src/gen/livekit_ingress_pb.d.ts new file mode 100644 index 00000000..41978a16 --- /dev/null +++ b/packages/javascript/src/gen/livekit_ingress_pb.d.ts @@ -0,0 +1,843 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_ingress.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.IngressInput + */ +export declare enum IngressInput { + /** + * @generated from enum value: RTMP_INPUT = 0; + */ + RTMP_INPUT = 0, + + /** + * @generated from enum value: WHIP_INPUT = 1; + */ + WHIP_INPUT = 1, + + /** + * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream + * + * @generated from enum value: URL_INPUT = 2; + */ + URL_INPUT = 2, +} + +/** + * @generated from enum livekit.IngressAudioEncodingPreset + */ +export declare enum IngressAudioEncodingPreset { + /** + * OPUS, 2 channels, 96kbps + * + * @generated from enum value: OPUS_STEREO_96KBPS = 0; + */ + OPUS_STEREO_96KBPS = 0, + + /** + * OPUS, 1 channel, 64kbps + * + * @generated from enum value: OPUS_MONO_64KBS = 1; + */ + OPUS_MONO_64KBS = 1, +} + +/** + * @generated from enum livekit.IngressVideoEncodingPreset + */ +export declare enum IngressVideoEncodingPreset { + /** + * 1280x720, 30fps, 1900kbps main layer, 3 layers total + * + * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0; + */ + H264_720P_30FPS_3_LAYERS = 0, + + /** + * 1980x1080, 30fps, 3500kbps main layer, 3 layers total + * + * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1; + */ + H264_1080P_30FPS_3_LAYERS = 1, + + /** + * 960x540, 25fps, 1000kbps main layer, 2 layers total + * + * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2; + */ + H264_540P_25FPS_2_LAYERS = 2, + + /** + * 1280x720, 30fps, 1900kbps, no simulcast + * + * @generated from enum value: H264_720P_30FPS_1_LAYER = 3; + */ + H264_720P_30FPS_1_LAYER = 3, + + /** + * 1980x1080, 30fps, 3500kbps, no simulcast + * + * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4; + */ + H264_1080P_30FPS_1_LAYER = 4, + + /** + * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5; + */ + H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5, + + /** + * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6; + */ + H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6, + + /** + * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7; + */ + H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7, + + /** + * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8; + */ + H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8, + + /** + * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content + * + * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9; + */ + H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9, +} + +/** + * @generated from message livekit.CreateIngressRequest + */ +export declare class CreateIngressRequest extends Message { + /** + * @generated from field: livekit.IngressInput input_type = 1; + */ + inputType: IngressInput; + + /** + * Where to pull media from, only for URL input type + * + * @generated from field: string url = 9; + */ + url: string; + + /** + * User provided identifier for the ingress + * + * @generated from field: string name = 2; + */ + name: string; + + /** + * room to publish to + * + * @generated from field: string room_name = 3; + */ + roomName: string; + + /** + * publish as participant + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + + /** + * name of publishing participant (used for display only) + * + * @generated from field: string participant_name = 5; + */ + participantName: string; + + /** + * metadata associated with the publishing participant + * + * @generated from field: string participant_metadata = 10; + */ + participantMetadata: string; + + /** + * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. + * + * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + bypassTranscoding: boolean; + + /** + * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. + * + * @generated from field: optional bool enable_transcoding = 11; + */ + enableTranscoding?: boolean; + + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateIngressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest; + + static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressAudioOptions + */ +export declare class IngressAudioOptions extends Message { + /** + * @generated from field: string name = 1; + */ + name: string; + + /** + * @generated from field: livekit.TrackSource source = 2; + */ + source: TrackSource; + + /** + * @generated from oneof livekit.IngressAudioOptions.encoding_options + */ + encodingOptions: { + /** + * @generated from field: livekit.IngressAudioEncodingPreset preset = 3; + */ + value: IngressAudioEncodingPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.IngressAudioEncodingOptions options = 4; + */ + value: IngressAudioEncodingOptions; + case: "options"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressAudioOptions"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions; + + static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions; + + static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressVideoOptions + */ +export declare class IngressVideoOptions extends Message { + /** + * @generated from field: string name = 1; + */ + name: string; + + /** + * @generated from field: livekit.TrackSource source = 2; + */ + source: TrackSource; + + /** + * @generated from oneof livekit.IngressVideoOptions.encoding_options + */ + encodingOptions: { + /** + * @generated from field: livekit.IngressVideoEncodingPreset preset = 3; + */ + value: IngressVideoEncodingPreset; + case: "preset"; + } | { + /** + * @generated from field: livekit.IngressVideoEncodingOptions options = 4; + */ + value: IngressVideoEncodingOptions; + case: "options"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressVideoOptions"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions; + + static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions; + + static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressAudioEncodingOptions + */ +export declare class IngressAudioEncodingOptions extends Message { + /** + * desired audio codec to publish to room + * + * @generated from field: livekit.AudioCodec audio_codec = 1; + */ + audioCodec: AudioCodec; + + /** + * @generated from field: uint32 bitrate = 2; + */ + bitrate: number; + + /** + * @generated from field: bool disable_dtx = 3; + */ + disableDtx: boolean; + + /** + * @generated from field: uint32 channels = 4; + */ + channels: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressAudioEncodingOptions"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions; + + static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions; + + static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressVideoEncodingOptions + */ +export declare class IngressVideoEncodingOptions extends Message { + /** + * desired codec to publish to room + * + * @generated from field: livekit.VideoCodec video_codec = 1; + */ + videoCodec: VideoCodec; + + /** + * @generated from field: double frame_rate = 2; + */ + frameRate: number; + + /** + * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions + * + * @generated from field: repeated livekit.VideoLayer layers = 3; + */ + layers: VideoLayer[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressVideoEncodingOptions"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions; + + static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions; + + static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressInfo + */ +export declare class IngressInfo extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: string stream_key = 3; + */ + streamKey: string; + + /** + * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) + * + * @generated from field: string url = 4; + */ + url: string; + + /** + * for RTMP input, it'll be a rtmp:// URL + * for FILE input, it'll be a http:// URL + * for SRT input, it'll be a srt:// URL + * + * @generated from field: livekit.IngressInput input_type = 5; + */ + inputType: IngressInput; + + /** + * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; + * @deprecated + */ + bypassTranscoding: boolean; + + /** + * @generated from field: optional bool enable_transcoding = 15; + */ + enableTranscoding?: boolean; + + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + + /** + * @generated from field: string room_name = 8; + */ + roomName: string; + + /** + * @generated from field: string participant_identity = 9; + */ + participantIdentity: string; + + /** + * @generated from field: string participant_name = 10; + */ + participantName: string; + + /** + * @generated from field: string participant_metadata = 14; + */ + participantMetadata: string; + + /** + * @generated from field: bool reusable = 11; + */ + reusable: boolean; + + /** + * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) + * + * @generated from field: livekit.IngressState state = 12; + */ + state?: IngressState; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo; + + static fromJsonString(jsonString: string, options?: Partial): IngressInfo; + + static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.IngressState + */ +export declare class IngressState extends Message { + /** + * @generated from field: livekit.IngressState.Status status = 1; + */ + status: IngressState_Status; + + /** + * Error/non compliance description if any + * + * @generated from field: string error = 2; + */ + error: string; + + /** + * @generated from field: livekit.InputVideoState video = 3; + */ + video?: InputVideoState; + + /** + * @generated from field: livekit.InputAudioState audio = 4; + */ + audio?: InputAudioState; + + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 5; + */ + roomId: string; + + /** + * @generated from field: int64 started_at = 7; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 8; + */ + endedAt: bigint; + + /** + * @generated from field: int64 updated_at = 10; + */ + updatedAt: bigint; + + /** + * @generated from field: string resource_id = 9; + */ + resourceId: string; + + /** + * @generated from field: repeated livekit.TrackInfo tracks = 6; + */ + tracks: TrackInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.IngressState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): IngressState; + + static fromJson(jsonValue: JsonValue, options?: Partial): IngressState; + + static fromJsonString(jsonString: string, options?: Partial): IngressState; + + static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.IngressState.Status + */ +export declare enum IngressState_Status { + /** + * @generated from enum value: ENDPOINT_INACTIVE = 0; + */ + ENDPOINT_INACTIVE = 0, + + /** + * @generated from enum value: ENDPOINT_BUFFERING = 1; + */ + ENDPOINT_BUFFERING = 1, + + /** + * @generated from enum value: ENDPOINT_PUBLISHING = 2; + */ + ENDPOINT_PUBLISHING = 2, + + /** + * @generated from enum value: ENDPOINT_ERROR = 3; + */ + ENDPOINT_ERROR = 3, + + /** + * @generated from enum value: ENDPOINT_COMPLETE = 4; + */ + ENDPOINT_COMPLETE = 4, +} + +/** + * @generated from message livekit.InputVideoState + */ +export declare class InputVideoState extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + + /** + * @generated from field: uint32 average_bitrate = 2; + */ + averageBitrate: number; + + /** + * @generated from field: uint32 width = 3; + */ + width: number; + + /** + * @generated from field: uint32 height = 4; + */ + height: number; + + /** + * @generated from field: double framerate = 5; + */ + framerate: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.InputVideoState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState; + + static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState; + + static fromJsonString(jsonString: string, options?: Partial): InputVideoState; + + static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.InputAudioState + */ +export declare class InputAudioState extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + + /** + * @generated from field: uint32 average_bitrate = 2; + */ + averageBitrate: number; + + /** + * @generated from field: uint32 channels = 3; + */ + channels: number; + + /** + * @generated from field: uint32 sample_rate = 4; + */ + sampleRate: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.InputAudioState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState; + + static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState; + + static fromJsonString(jsonString: string, options?: Partial): InputAudioState; + + static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateIngressRequest + */ +export declare class UpdateIngressRequest extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + + /** + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + + /** + * @generated from field: string participant_name = 5; + */ + participantName: string; + + /** + * @generated from field: string participant_metadata = 9; + */ + participantMetadata: string; + + /** + * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; + * @deprecated + */ + bypassTranscoding?: boolean; + + /** + * @generated from field: optional bool enable_transcoding = 10; + */ + enableTranscoding?: boolean; + + /** + * @generated from field: livekit.IngressAudioOptions audio = 6; + */ + audio?: IngressAudioOptions; + + /** + * @generated from field: livekit.IngressVideoOptions video = 7; + */ + video?: IngressVideoOptions; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateIngressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest; + + static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListIngressRequest + */ +export declare class ListIngressRequest extends Message { + /** + * when blank, lists all ingress endpoints + * + * (optional, filter by room name) + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * (optional, filter by ingress ID) + * + * @generated from field: string ingress_id = 2; + */ + ingressId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListIngressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest; + + static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListIngressResponse + */ +export declare class ListIngressResponse extends Message { + /** + * @generated from field: repeated livekit.IngressInfo items = 1; + */ + items: IngressInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListIngressResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse; + + static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteIngressRequest + */ +export declare class DeleteIngressRequest extends Message { + /** + * @generated from field: string ingress_id = 1; + */ + ingressId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteIngressRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest; + + static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_ingress_pb.js b/packages/javascript/src/gen/livekit_ingress_pb.js new file mode 100644 index 00000000..fb701d92 --- /dev/null +++ b/packages/javascript/src/gen/livekit_ingress_pb.js @@ -0,0 +1,269 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_ingress.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.IngressInput + */ +export const IngressInput = /*@__PURE__*/ proto3.makeEnum( + "livekit.IngressInput", + [ + {no: 0, name: "RTMP_INPUT"}, + {no: 1, name: "WHIP_INPUT"}, + {no: 2, name: "URL_INPUT"}, + ], +); + +/** + * @generated from enum livekit.IngressAudioEncodingPreset + */ +export const IngressAudioEncodingPreset = /*@__PURE__*/ proto3.makeEnum( + "livekit.IngressAudioEncodingPreset", + [ + {no: 0, name: "OPUS_STEREO_96KBPS"}, + {no: 1, name: "OPUS_MONO_64KBS"}, + ], +); + +/** + * @generated from enum livekit.IngressVideoEncodingPreset + */ +export const IngressVideoEncodingPreset = /*@__PURE__*/ proto3.makeEnum( + "livekit.IngressVideoEncodingPreset", + [ + {no: 0, name: "H264_720P_30FPS_3_LAYERS"}, + {no: 1, name: "H264_1080P_30FPS_3_LAYERS"}, + {no: 2, name: "H264_540P_25FPS_2_LAYERS"}, + {no: 3, name: "H264_720P_30FPS_1_LAYER"}, + {no: 4, name: "H264_1080P_30FPS_1_LAYER"}, + {no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"}, + {no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"}, + {no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"}, + {no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION"}, + {no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"}, + ], +); + +/** + * @generated from message livekit.CreateIngressRequest + */ +export const CreateIngressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateIngressRequest", + () => [ + { no: 1, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, + { no: 9, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, + ], +); + +/** + * @generated from message livekit.IngressAudioOptions + */ +export const IngressAudioOptions = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressAudioOptions", + () => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" }, + ], +); + +/** + * @generated from message livekit.IngressVideoOptions + */ +export const IngressVideoOptions = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressVideoOptions", + () => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, + { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" }, + ], +); + +/** + * @generated from message livekit.IngressAudioEncodingOptions + */ +export const IngressAudioEncodingOptions = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressAudioEncodingOptions", + () => [ + { no: 1, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, + { no: 2, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.IngressVideoEncodingOptions + */ +export const IngressVideoEncodingOptions = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressVideoEncodingOptions", + () => [ + { no: 1, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, + { no: 2, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 3, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + ], +); + +/** + * @generated from message livekit.IngressInfo + */ +export const IngressInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressInfo", + () => [ + { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "stream_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, + { no: 13, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 15, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, + { no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 14, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "reusable", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 12, name: "state", kind: "message", T: IngressState }, + ], +); + +/** + * @generated from message livekit.IngressState + */ +export const IngressState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.IngressState", + () => [ + { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(IngressState_Status) }, + { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "video", kind: "message", T: InputVideoState }, + { no: 4, name: "audio", kind: "message", T: InputAudioState }, + { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 8, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 10, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 9, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, + ], +); + +/** + * @generated from enum livekit.IngressState.Status + */ +export const IngressState_Status = /*@__PURE__*/ proto3.makeEnum( + "livekit.IngressState.Status", + [ + {no: 0, name: "ENDPOINT_INACTIVE"}, + {no: 1, name: "ENDPOINT_BUFFERING"}, + {no: 2, name: "ENDPOINT_PUBLISHING"}, + {no: 3, name: "ENDPOINT_ERROR"}, + {no: 4, name: "ENDPOINT_COMPLETE"}, + ], +); + +/** + * @generated from message livekit.InputVideoState + */ +export const InputVideoState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.InputVideoState", + () => [ + { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "average_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "framerate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + ], +); + +/** + * @generated from message livekit.InputAudioState + */ +export const InputAudioState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.InputAudioState", + () => [ + { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "average_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.UpdateIngressRequest + */ +export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateIngressRequest", + () => [ + { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, + { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, + ], +); + +/** + * @generated from message livekit.ListIngressRequest + */ +export const ListIngressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListIngressRequest", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ListIngressResponse + */ +export const ListIngressResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListIngressResponse", + () => [ + { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.DeleteIngressRequest + */ +export const DeleteIngressRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteIngressRequest", + () => [ + { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_internal_pb.d.ts b/packages/javascript/src/gen/livekit_internal_pb.d.ts new file mode 100644 index 00000000..42804cef --- /dev/null +++ b/packages/javascript/src/gen/livekit_internal_pb.d.ts @@ -0,0 +1,622 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_internal.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; +import type { CreateRoomRequest } from "./livekit_room_pb.js"; +import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; +import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; + +/** + * @generated from enum livekit.NodeType + */ +export declare enum NodeType { + /** + * @generated from enum value: SERVER = 0; + */ + SERVER = 0, + + /** + * @generated from enum value: CONTROLLER = 1; + */ + CONTROLLER = 1, + + /** + * @generated from enum value: MEDIA = 2; + */ + MEDIA = 2, + + /** + * @generated from enum value: TURN = 4; + */ + TURN = 4, + + /** + * @generated from enum value: SWEEPER = 5; + */ + SWEEPER = 5, + + /** + * @generated from enum value: DIRECTOR = 6; + */ + DIRECTOR = 6, +} + +/** + * @generated from enum livekit.NodeState + */ +export declare enum NodeState { + /** + * @generated from enum value: STARTING_UP = 0; + */ + STARTING_UP = 0, + + /** + * @generated from enum value: SERVING = 1; + */ + SERVING = 1, + + /** + * @generated from enum value: SHUTTING_DOWN = 2; + */ + SHUTTING_DOWN = 2, +} + +/** + * @generated from enum livekit.ICECandidateType + */ +export declare enum ICECandidateType { + /** + * @generated from enum value: ICT_NONE = 0; + */ + ICT_NONE = 0, + + /** + * @generated from enum value: ICT_TCP = 1; + */ + ICT_TCP = 1, + + /** + * @generated from enum value: ICT_TLS = 2; + */ + ICT_TLS = 2, +} + +/** + * @generated from message livekit.Node + */ +export declare class Node extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string ip = 2; + */ + ip: string; + + /** + * @generated from field: uint32 num_cpus = 3; + */ + numCpus: number; + + /** + * @generated from field: livekit.NodeStats stats = 4; + */ + stats?: NodeStats; + + /** + * @generated from field: livekit.NodeType type = 5; + */ + type: NodeType; + + /** + * @generated from field: livekit.NodeState state = 6; + */ + state: NodeState; + + /** + * @generated from field: string region = 7; + */ + region: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Node"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Node; + + static fromJson(jsonValue: JsonValue, options?: Partial): Node; + + static fromJsonString(jsonString: string, options?: Partial): Node; + + static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.NodeStats + */ +export declare class NodeStats extends Message { + /** + * when server was started + * + * @generated from field: int64 started_at = 1; + */ + startedAt: bigint; + + /** + * when server last reported its status + * + * @generated from field: int64 updated_at = 2; + */ + updatedAt: bigint; + + /** + * room + * + * @generated from field: int32 num_rooms = 3; + */ + numRooms: number; + + /** + * @generated from field: int32 num_clients = 4; + */ + numClients: number; + + /** + * @generated from field: int32 num_tracks_in = 5; + */ + numTracksIn: number; + + /** + * @generated from field: int32 num_tracks_out = 6; + */ + numTracksOut: number; + + /** + * @generated from field: int32 num_track_publish_attempts = 36; + */ + numTrackPublishAttempts: number; + + /** + * @generated from field: float track_publish_attempts_per_sec = 37; + */ + trackPublishAttemptsPerSec: number; + + /** + * @generated from field: int32 num_track_publish_success = 38; + */ + numTrackPublishSuccess: number; + + /** + * @generated from field: float track_publish_success_per_sec = 39; + */ + trackPublishSuccessPerSec: number; + + /** + * @generated from field: int32 num_track_subscribe_attempts = 40; + */ + numTrackSubscribeAttempts: number; + + /** + * @generated from field: float track_subscribe_attempts_per_sec = 41; + */ + trackSubscribeAttemptsPerSec: number; + + /** + * @generated from field: int32 num_track_subscribe_success = 42; + */ + numTrackSubscribeSuccess: number; + + /** + * @generated from field: float track_subscribe_success_per_sec = 43; + */ + trackSubscribeSuccessPerSec: number; + + /** + * packet + * + * @generated from field: uint64 bytes_in = 7; + */ + bytesIn: bigint; + + /** + * @generated from field: uint64 bytes_out = 8; + */ + bytesOut: bigint; + + /** + * @generated from field: uint64 packets_in = 9; + */ + packetsIn: bigint; + + /** + * @generated from field: uint64 packets_out = 10; + */ + packetsOut: bigint; + + /** + * @generated from field: uint64 nack_total = 11; + */ + nackTotal: bigint; + + /** + * @generated from field: float bytes_in_per_sec = 12; + */ + bytesInPerSec: number; + + /** + * @generated from field: float bytes_out_per_sec = 13; + */ + bytesOutPerSec: number; + + /** + * @generated from field: float packets_in_per_sec = 14; + */ + packetsInPerSec: number; + + /** + * @generated from field: float packets_out_per_sec = 15; + */ + packetsOutPerSec: number; + + /** + * @generated from field: float nack_per_sec = 16; + */ + nackPerSec: number; + + /** + * system + * + * @generated from field: uint32 num_cpus = 17; + */ + numCpus: number; + + /** + * @generated from field: float load_avg_last1min = 18; + */ + loadAvgLast1min: number; + + /** + * @generated from field: float load_avg_last5min = 19; + */ + loadAvgLast5min: number; + + /** + * @generated from field: float load_avg_last15min = 20; + */ + loadAvgLast15min: number; + + /** + * @generated from field: float cpu_load = 21; + */ + cpuLoad: number; + + /** + * deprecated + * + * @generated from field: float memory_load = 33; + */ + memoryLoad: number; + + /** + * @generated from field: uint64 memory_total = 34; + */ + memoryTotal: bigint; + + /** + * @generated from field: uint64 memory_used = 35; + */ + memoryUsed: bigint; + + /** + * @generated from field: uint32 sys_packets_out = 28; + */ + sysPacketsOut: number; + + /** + * @generated from field: uint32 sys_packets_dropped = 29; + */ + sysPacketsDropped: number; + + /** + * @generated from field: float sys_packets_out_per_sec = 30; + */ + sysPacketsOutPerSec: number; + + /** + * @generated from field: float sys_packets_dropped_per_sec = 31; + */ + sysPacketsDroppedPerSec: number; + + /** + * @generated from field: float sys_packets_dropped_pct_per_sec = 32; + */ + sysPacketsDroppedPctPerSec: number; + + /** + * retransmissions + * + * @generated from field: uint64 retransmit_bytes_out = 22; + */ + retransmitBytesOut: bigint; + + /** + * @generated from field: uint64 retransmit_packets_out = 23; + */ + retransmitPacketsOut: bigint; + + /** + * @generated from field: float retransmit_bytes_out_per_sec = 24; + */ + retransmitBytesOutPerSec: number; + + /** + * @generated from field: float retransmit_packets_out_per_sec = 25; + */ + retransmitPacketsOutPerSec: number; + + /** + * participant joins + * + * @generated from field: uint64 participant_signal_connected = 26; + */ + participantSignalConnected: bigint; + + /** + * @generated from field: float participant_signal_connected_per_sec = 27; + */ + participantSignalConnectedPerSec: number; + + /** + * @generated from field: uint64 participant_rtc_connected = 44; + */ + participantRtcConnected: bigint; + + /** + * @generated from field: float participant_rtc_connected_per_sec = 45; + */ + participantRtcConnectedPerSec: number; + + /** + * @generated from field: uint64 participant_rtc_init = 46; + */ + participantRtcInit: bigint; + + /** + * @generated from field: float participant_rtc_init_per_sec = 47; + */ + participantRtcInitPerSec: number; + + /** + * forward metrics + * + * @generated from field: uint32 forward_latency = 48; + */ + forwardLatency: number; + + /** + * @generated from field: uint32 forward_jitter = 49; + */ + forwardJitter: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.NodeStats"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats; + + static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats; + + static fromJsonString(jsonString: string, options?: Partial): NodeStats; + + static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StartSession + */ +export declare class StartSession extends Message { + /** + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * @generated from field: string connection_id = 3; + */ + connectionId: string; + + /** + * if a client is reconnecting (i.e. resume instead of restart) + * + * @generated from field: bool reconnect = 4; + */ + reconnect: boolean; + + /** + * @generated from field: bool auto_subscribe = 9; + */ + autoSubscribe: boolean; + + /** + * @generated from field: bool hidden = 10; + */ + hidden: boolean; + + /** + * @generated from field: livekit.ClientInfo client = 11; + */ + client?: ClientInfo; + + /** + * @generated from field: bool recorder = 12; + */ + recorder: boolean; + + /** + * @generated from field: string name = 13; + */ + name: string; + + /** + * A user's ClaimGrants serialized in JSON + * + * @generated from field: string grants_json = 14; + */ + grantsJson: string; + + /** + * @generated from field: bool adaptive_stream = 15; + */ + adaptiveStream: boolean; + + /** + * if reconnect, client will set current sid + * + * @generated from field: string participant_id = 16; + */ + participantId: string; + + /** + * @generated from field: livekit.ReconnectReason reconnect_reason = 17; + */ + reconnectReason: ReconnectReason; + + /** + * @generated from field: optional bool subscriber_allow_pause = 18; + */ + subscriberAllowPause?: boolean; + + /** + * @generated from field: bool disable_ice_lite = 19; + */ + disableIceLite: boolean; + + /** + * @generated from field: livekit.CreateRoomRequest create_room = 20; + */ + createRoom?: CreateRoomRequest; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StartSession"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StartSession; + + static fromJson(jsonValue: JsonValue, options?: Partial): StartSession; + + static fromJsonString(jsonString: string, options?: Partial): StartSession; + + static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean; +} + +/** + * room info that should not be returned to clients + * + * @generated from message livekit.RoomInternal + */ +export declare class RoomInternal extends Message { + /** + * @generated from field: livekit.AutoTrackEgress track_egress = 1; + */ + trackEgress?: AutoTrackEgress; + + /** + * @generated from field: livekit.AutoParticipantEgress participant_egress = 2; + */ + participantEgress?: AutoParticipantEgress; + + /** + * @generated from field: livekit.PlayoutDelay playout_delay = 3; + */ + playoutDelay?: PlayoutDelay; + + /** + * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; + */ + agentDispatches: RoomAgentDispatch[]; + + /** + * @generated from field: bool sync_streams = 4; + */ + syncStreams: boolean; + + /** + * @generated from field: bool replay_enabled = 6; + */ + replayEnabled: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomInternal"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal; + + static fromJsonString(jsonString: string, options?: Partial): RoomInternal; + + static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ICEConfig + */ +export declare class ICEConfig extends Message { + /** + * @generated from field: livekit.ICECandidateType preference_subscriber = 1; + */ + preferenceSubscriber: ICECandidateType; + + /** + * @generated from field: livekit.ICECandidateType preference_publisher = 2; + */ + preferencePublisher: ICECandidateType; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ICEConfig"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig; + + static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig; + + static fromJsonString(jsonString: string, options?: Partial): ICEConfig; + + static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_internal_pb.js b/packages/javascript/src/gen/livekit_internal_pb.js new file mode 100644 index 00000000..419cd160 --- /dev/null +++ b/packages/javascript/src/gen/livekit_internal_pb.js @@ -0,0 +1,191 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_internal.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; +import { CreateRoomRequest } from "./livekit_room_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; + +/** + * @generated from enum livekit.NodeType + */ +export const NodeType = /*@__PURE__*/ proto3.makeEnum( + "livekit.NodeType", + [ + {no: 0, name: "SERVER"}, + {no: 1, name: "CONTROLLER"}, + {no: 2, name: "MEDIA"}, + {no: 4, name: "TURN"}, + {no: 5, name: "SWEEPER"}, + {no: 6, name: "DIRECTOR"}, + ], +); + +/** + * @generated from enum livekit.NodeState + */ +export const NodeState = /*@__PURE__*/ proto3.makeEnum( + "livekit.NodeState", + [ + {no: 0, name: "STARTING_UP"}, + {no: 1, name: "SERVING"}, + {no: 2, name: "SHUTTING_DOWN"}, + ], +); + +/** + * @generated from enum livekit.ICECandidateType + */ +export const ICECandidateType = /*@__PURE__*/ proto3.makeEnum( + "livekit.ICECandidateType", + [ + {no: 0, name: "ICT_NONE"}, + {no: 1, name: "ICT_TCP"}, + {no: 2, name: "ICT_TLS"}, + ], +); + +/** + * @generated from message livekit.Node + */ +export const Node = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Node", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "stats", kind: "message", T: NodeStats }, + { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) }, + { no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) }, + { no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.NodeStats + */ +export const NodeStats = /*@__PURE__*/ proto3.makeMessageType( + "livekit.NodeStats", + () => [ + { no: 1, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "num_rooms", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "num_clients", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 5, name: "num_tracks_in", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 6, name: "num_tracks_out", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 36, name: "num_track_publish_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 37, name: "track_publish_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 38, name: "num_track_publish_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 39, name: "track_publish_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 40, name: "num_track_subscribe_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 41, name: "track_subscribe_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 42, name: "num_track_subscribe_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 43, name: "track_subscribe_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 7, name: "bytes_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 8, name: "bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 9, name: "packets_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 10, name: "packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 11, name: "nack_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 12, name: "bytes_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 13, name: "bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 14, name: "packets_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 15, name: "packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 16, name: "nack_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 17, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 18, name: "load_avg_last1min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 19, name: "load_avg_last5min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 20, name: "load_avg_last15min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 21, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 33, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 34, name: "memory_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 35, name: "memory_used", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 28, name: "sys_packets_out", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 29, name: "sys_packets_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 30, name: "sys_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 31, name: "sys_packets_dropped_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 32, name: "sys_packets_dropped_pct_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 22, name: "retransmit_bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 23, name: "retransmit_packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 24, name: "retransmit_bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.StartSession + */ +export const StartSession = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StartSession", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 9, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: "client", kind: "message", T: ClientInfo }, + { no: 12, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 13, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 14, name: "grants_json", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 15, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 16, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, + { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest }, + ], +); + +/** + * room info that should not be returned to clients + * + * @generated from message livekit.RoomInternal + */ +export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomInternal", + () => [ + { no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress }, + { no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress }, + { no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay }, + { no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, + { no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.ICEConfig + */ +export const ICEConfig = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ICEConfig", + () => [ + { no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, + { no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_metrics_pb.d.ts b/packages/javascript/src/gen/livekit_metrics_pb.d.ts new file mode 100644 index 00000000..16189e13 --- /dev/null +++ b/packages/javascript/src/gen/livekit_metrics_pb.d.ts @@ -0,0 +1,376 @@ +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_metrics.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) + * + * @generated from enum livekit.MetricLabel + */ +export declare enum MetricLabel { + /** + * time to first token from LLM + * + * @generated from enum value: AGENTS_LLM_TTFT = 0; + */ + AGENTS_LLM_TTFT = 0, + + /** + * time to final transcription + * + * @generated from enum value: AGENTS_STT_TTFT = 1; + */ + AGENTS_STT_TTFT = 1, + + /** + * time to first byte + * + * @generated from enum value: AGENTS_TTS_TTFB = 2; + */ + AGENTS_TTS_TTFB = 2, + + /** + * Number of video freezes + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; + */ + CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3, + + /** + * total duration of freezes + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; + */ + CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4, + + /** + * number of video pauses + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; + */ + CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5, + + /** + * total duration of pauses + * + * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6; + */ + CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6, + + /** + * number of concealed (synthesized) audio samples + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7; + */ + CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7, + + /** + * number of silent concealed samples + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8; + */ + CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8, + + /** + * number of concealment events + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9; + */ + CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9, + + /** + * number of interruptions + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10; + */ + CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10, + + /** + * total duration of interruptions + * + * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11; + */ + CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11, + + /** + * total time spent in jitter buffer + * + * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12; + */ + CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12, + + /** + * total time spent in jitter buffer + * + * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13; + */ + CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13, + + /** + * total duration spent in bandwidth quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14, + + /** + * total duration spent in cpu quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15, + + /** + * total duration spent in other quality limitation + * + * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; + */ + CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16, + + /** + * Publisher RTT (participant -> server) + * + * @generated from enum value: PUBLISHER_RTT = 17; + */ + PUBLISHER_RTT = 17, + + /** + * RTT between publisher node and subscriber node (could involve intermedia node(s)) + * + * @generated from enum value: SERVER_MESH_RTT = 18; + */ + SERVER_MESH_RTT = 18, + + /** + * Subscribe RTT (server -> participant) + * + * @generated from enum value: SUBSCRIBER_RTT = 19; + */ + SUBSCRIBER_RTT = 19, + + /** + * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; + */ + METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096, +} + +/** + * @generated from message livekit.MetricsBatch + */ +export declare class MetricsBatch extends Message { + /** + * time at which this batch is sent based on a monotonic clock (millisecond resolution) + * + * @generated from field: int64 timestamp_ms = 1; + */ + timestampMs: bigint; + + /** + * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; + */ + normalizedTimestamp?: Timestamp; + + /** + * To avoid repeating string values, we store them in a separate list and reference them by index + * This is useful for storing participant identities, track names, etc. + * There is also a predefined list of labels that can be used to reference common metrics. + * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). + * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, + * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. + * + * @generated from field: repeated string str_data = 3; + */ + strData: string[]; + + /** + * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; + */ + timeSeries: TimeSeriesMetric[]; + + /** + * @generated from field: repeated livekit.EventMetric events = 5; + */ + events: EventMetric[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MetricsBatch"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch; + + static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch; + + static fromJsonString(jsonString: string, options?: Partial): MetricsBatch; + + static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TimeSeriesMetric + */ +export declare class TimeSeriesMetric extends Message { + /** + * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index + * in the `str_data` field of `MetricsBatch` + * + * @generated from field: uint32 label = 1; + */ + label: number; + + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + participantIdentity: number; + + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + trackSid: number; + + /** + * @generated from field: repeated livekit.MetricSample samples = 4; + */ + samples: MetricSample[]; + + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 5; + */ + rid: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TimeSeriesMetric"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric; + + static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric; + + static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric; + + static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.MetricSample + */ +export declare class MetricSample extends Message { + /** + * time of metric based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 timestamp_ms = 1; + */ + timestampMs: bigint; + + /** + * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; + */ + normalizedTimestamp?: Timestamp; + + /** + * @generated from field: float value = 3; + */ + value: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MetricSample"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample; + + static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample; + + static fromJsonString(jsonString: string, options?: Partial): MetricSample; + + static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.EventMetric + */ +export declare class EventMetric extends Message { + /** + * @generated from field: uint32 label = 1; + */ + label: number; + + /** + * index into `str_data` + * + * @generated from field: uint32 participant_identity = 2; + */ + participantIdentity: number; + + /** + * index into `str_data` + * + * @generated from field: uint32 track_sid = 3; + */ + trackSid: number; + + /** + * start time of event based on a monotonic clock (in milliseconds) + * + * @generated from field: int64 start_timestamp_ms = 4; + */ + startTimestampMs: bigint; + + /** + * end time of event based on a monotonic clock (in milliseconds), if needed + * + * @generated from field: optional int64 end_timestamp_ms = 5; + */ + endTimestampMs?: bigint; + + /** + * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6; + */ + normalizedStartTimestamp?: Timestamp; + + /** + * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7; + */ + normalizedEndTimestamp?: Timestamp; + + /** + * @generated from field: string metadata = 8; + */ + metadata: string; + + /** + * index into 'str_data' + * + * @generated from field: uint32 rid = 9; + */ + rid: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.EventMetric"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric; + + static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric; + + static fromJsonString(jsonString: string, options?: Partial): EventMetric; + + static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_metrics_pb.js b/packages/javascript/src/gen/livekit_metrics_pb.js new file mode 100644 index 00000000..7f14c8af --- /dev/null +++ b/packages/javascript/src/gen/livekit_metrics_pb.js @@ -0,0 +1,97 @@ +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_metrics.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3, Timestamp } from "@bufbuild/protobuf"; + +/** + * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) + * + * @generated from enum livekit.MetricLabel + */ +export const MetricLabel = /*@__PURE__*/ proto3.makeEnum( + "livekit.MetricLabel", + [ + {no: 0, name: "AGENTS_LLM_TTFT"}, + {no: 1, name: "AGENTS_STT_TTFT"}, + {no: 2, name: "AGENTS_TTS_TTFB"}, + {no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"}, + {no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"}, + {no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"}, + {no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"}, + {no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"}, + {no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"}, + {no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"}, + {no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"}, + {no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"}, + {no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"}, + {no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"}, + {no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"}, + {no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"}, + {no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"}, + {no: 17, name: "PUBLISHER_RTT"}, + {no: 18, name: "SERVER_MESH_RTT"}, + {no: 19, name: "SUBSCRIBER_RTT"}, + {no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE"}, + ], +); + +/** + * @generated from message livekit.MetricsBatch + */ +export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MetricsBatch", + () => [ + { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, + { no: 3, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, + { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true }, + ], +); + +/** + * @generated from message livekit.TimeSeriesMetric + */ +export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TimeSeriesMetric", + () => [ + { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, + { no: 5, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.MetricSample + */ +export const MetricSample = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MetricSample", + () => [ + { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, + { no: 3, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + ], +); + +/** + * @generated from message livekit.EventMetric + */ +export const EventMetric = /*@__PURE__*/ proto3.makeMessageType( + "livekit.EventMetric", + () => [ + { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "start_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, + { no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp }, + { no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true }, + { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_models_pb.d.ts b/packages/javascript/src/gen/livekit_models_pb.d.ts new file mode 100644 index 00000000..24f5891c --- /dev/null +++ b/packages/javascript/src/gen/livekit_models_pb.d.ts @@ -0,0 +1,2837 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_models.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { MetricsBatch } from "./livekit_metrics_pb.js"; + +/** + * @generated from enum livekit.AudioCodec + */ +export declare enum AudioCodec { + /** + * @generated from enum value: DEFAULT_AC = 0; + */ + DEFAULT_AC = 0, + + /** + * @generated from enum value: OPUS = 1; + */ + OPUS = 1, + + /** + * @generated from enum value: AAC = 2; + */ + AAC = 2, +} + +/** + * @generated from enum livekit.VideoCodec + */ +export declare enum VideoCodec { + /** + * @generated from enum value: DEFAULT_VC = 0; + */ + DEFAULT_VC = 0, + + /** + * @generated from enum value: H264_BASELINE = 1; + */ + H264_BASELINE = 1, + + /** + * @generated from enum value: H264_MAIN = 2; + */ + H264_MAIN = 2, + + /** + * @generated from enum value: H264_HIGH = 3; + */ + H264_HIGH = 3, + + /** + * @generated from enum value: VP8 = 4; + */ + VP8 = 4, +} + +/** + * @generated from enum livekit.ImageCodec + */ +export declare enum ImageCodec { + /** + * @generated from enum value: IC_DEFAULT = 0; + */ + IC_DEFAULT = 0, + + /** + * @generated from enum value: IC_JPEG = 1; + */ + IC_JPEG = 1, +} + +/** + * @generated from enum livekit.TrackType + */ +export declare enum TrackType { + /** + * @generated from enum value: AUDIO = 0; + */ + AUDIO = 0, + + /** + * @generated from enum value: VIDEO = 1; + */ + VIDEO = 1, + + /** + * @generated from enum value: DATA = 2; + */ + DATA = 2, +} + +/** + * @generated from enum livekit.TrackSource + */ +export declare enum TrackSource { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: CAMERA = 1; + */ + CAMERA = 1, + + /** + * @generated from enum value: MICROPHONE = 2; + */ + MICROPHONE = 2, + + /** + * @generated from enum value: SCREEN_SHARE = 3; + */ + SCREEN_SHARE = 3, + + /** + * @generated from enum value: SCREEN_SHARE_AUDIO = 4; + */ + SCREEN_SHARE_AUDIO = 4, +} + +/** + * @generated from enum livekit.VideoQuality + */ +export declare enum VideoQuality { + /** + * @generated from enum value: LOW = 0; + */ + LOW = 0, + + /** + * @generated from enum value: MEDIUM = 1; + */ + MEDIUM = 1, + + /** + * @generated from enum value: HIGH = 2; + */ + HIGH = 2, + + /** + * @generated from enum value: OFF = 3; + */ + OFF = 3, +} + +/** + * @generated from enum livekit.ConnectionQuality + */ +export declare enum ConnectionQuality { + /** + * @generated from enum value: POOR = 0; + */ + POOR = 0, + + /** + * @generated from enum value: GOOD = 1; + */ + GOOD = 1, + + /** + * @generated from enum value: EXCELLENT = 2; + */ + EXCELLENT = 2, + + /** + * @generated from enum value: LOST = 3; + */ + LOST = 3, +} + +/** + * @generated from enum livekit.ClientConfigSetting + */ +export declare enum ClientConfigSetting { + /** + * @generated from enum value: UNSET = 0; + */ + UNSET = 0, + + /** + * @generated from enum value: DISABLED = 1; + */ + DISABLED = 1, + + /** + * @generated from enum value: ENABLED = 2; + */ + ENABLED = 2, +} + +/** + * @generated from enum livekit.DisconnectReason + */ +export declare enum DisconnectReason { + /** + * @generated from enum value: UNKNOWN_REASON = 0; + */ + UNKNOWN_REASON = 0, + + /** + * the client initiated the disconnect + * + * @generated from enum value: CLIENT_INITIATED = 1; + */ + CLIENT_INITIATED = 1, + + /** + * another participant with the same identity has joined the room + * + * @generated from enum value: DUPLICATE_IDENTITY = 2; + */ + DUPLICATE_IDENTITY = 2, + + /** + * the server instance is shutting down + * + * @generated from enum value: SERVER_SHUTDOWN = 3; + */ + SERVER_SHUTDOWN = 3, + + /** + * RoomService.RemoveParticipant was called + * + * @generated from enum value: PARTICIPANT_REMOVED = 4; + */ + PARTICIPANT_REMOVED = 4, + + /** + * RoomService.DeleteRoom was called + * + * @generated from enum value: ROOM_DELETED = 5; + */ + ROOM_DELETED = 5, + + /** + * the client is attempting to resume a session, but server is not aware of it + * + * @generated from enum value: STATE_MISMATCH = 6; + */ + STATE_MISMATCH = 6, + + /** + * client was unable to connect fully + * + * @generated from enum value: JOIN_FAILURE = 7; + */ + JOIN_FAILURE = 7, + + /** + * Cloud-only, the server requested Participant to migrate the connection elsewhere + * + * @generated from enum value: MIGRATION = 8; + */ + MIGRATION = 8, + + /** + * the signal websocket was closed unexpectedly + * + * @generated from enum value: SIGNAL_CLOSE = 9; + */ + SIGNAL_CLOSE = 9, + + /** + * the room was closed, due to all Standard and Ingress participants having left + * + * @generated from enum value: ROOM_CLOSED = 10; + */ + ROOM_CLOSED = 10, + + /** + * SIP callee did not respond in time + * + * @generated from enum value: USER_UNAVAILABLE = 11; + */ + USER_UNAVAILABLE = 11, + + /** + * SIP callee rejected the call (busy) + * + * @generated from enum value: USER_REJECTED = 12; + */ + USER_REJECTED = 12, + + /** + * SIP protocol failure or unexpected response + * + * @generated from enum value: SIP_TRUNK_FAILURE = 13; + */ + SIP_TRUNK_FAILURE = 13, +} + +/** + * @generated from enum livekit.ReconnectReason + */ +export declare enum ReconnectReason { + /** + * @generated from enum value: RR_UNKNOWN = 0; + */ + RR_UNKNOWN = 0, + + /** + * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1; + */ + RR_SIGNAL_DISCONNECTED = 1, + + /** + * @generated from enum value: RR_PUBLISHER_FAILED = 2; + */ + RR_PUBLISHER_FAILED = 2, + + /** + * @generated from enum value: RR_SUBSCRIBER_FAILED = 3; + */ + RR_SUBSCRIBER_FAILED = 3, + + /** + * @generated from enum value: RR_SWITCH_CANDIDATE = 4; + */ + RR_SWITCH_CANDIDATE = 4, +} + +/** + * @generated from enum livekit.SubscriptionError + */ +export declare enum SubscriptionError { + /** + * @generated from enum value: SE_UNKNOWN = 0; + */ + SE_UNKNOWN = 0, + + /** + * @generated from enum value: SE_CODEC_UNSUPPORTED = 1; + */ + SE_CODEC_UNSUPPORTED = 1, + + /** + * @generated from enum value: SE_TRACK_NOTFOUND = 2; + */ + SE_TRACK_NOTFOUND = 2, +} + +/** + * @generated from enum livekit.AudioTrackFeature + */ +export declare enum AudioTrackFeature { + /** + * @generated from enum value: TF_STEREO = 0; + */ + TF_STEREO = 0, + + /** + * @generated from enum value: TF_NO_DTX = 1; + */ + TF_NO_DTX = 1, + + /** + * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; + */ + TF_AUTO_GAIN_CONTROL = 2, + + /** + * @generated from enum value: TF_ECHO_CANCELLATION = 3; + */ + TF_ECHO_CANCELLATION = 3, + + /** + * @generated from enum value: TF_NOISE_SUPPRESSION = 4; + */ + TF_NOISE_SUPPRESSION = 4, + + /** + * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; + */ + TF_ENHANCED_NOISE_CANCELLATION = 5, +} + +/** + * @generated from message livekit.Room + */ +export declare class Room extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: uint32 empty_timeout = 3; + */ + emptyTimeout: number; + + /** + * @generated from field: uint32 departure_timeout = 14; + */ + departureTimeout: number; + + /** + * @generated from field: uint32 max_participants = 4; + */ + maxParticipants: number; + + /** + * @generated from field: int64 creation_time = 5; + */ + creationTime: bigint; + + /** + * @generated from field: string turn_password = 6; + */ + turnPassword: string; + + /** + * @generated from field: repeated livekit.Codec enabled_codecs = 7; + */ + enabledCodecs: Codec[]; + + /** + * @generated from field: string metadata = 8; + */ + metadata: string; + + /** + * @generated from field: uint32 num_participants = 9; + */ + numParticipants: number; + + /** + * @generated from field: uint32 num_publishers = 11; + */ + numPublishers: number; + + /** + * @generated from field: bool active_recording = 10; + */ + activeRecording: boolean; + + /** + * @generated from field: livekit.TimedVersion version = 13; + */ + version?: TimedVersion; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Room"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Room; + + static fromJson(jsonValue: JsonValue, options?: Partial): Room; + + static fromJsonString(jsonString: string, options?: Partial): Room; + + static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.Codec + */ +export declare class Codec extends Message { + /** + * @generated from field: string mime = 1; + */ + mime: string; + + /** + * @generated from field: string fmtp_line = 2; + */ + fmtpLine: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Codec"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Codec; + + static fromJson(jsonValue: JsonValue, options?: Partial): Codec; + + static fromJsonString(jsonString: string, options?: Partial): Codec; + + static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.PlayoutDelay + */ +export declare class PlayoutDelay extends Message { + /** + * @generated from field: bool enabled = 1; + */ + enabled: boolean; + + /** + * @generated from field: uint32 min = 2; + */ + min: number; + + /** + * @generated from field: uint32 max = 3; + */ + max: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.PlayoutDelay"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay; + + static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay; + + static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay; + + static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ParticipantPermission + */ +export declare class ParticipantPermission extends Message { + /** + * allow participant to subscribe to other tracks in the room + * + * @generated from field: bool can_subscribe = 1; + */ + canSubscribe: boolean; + + /** + * allow participant to publish new tracks to room + * + * @generated from field: bool can_publish = 2; + */ + canPublish: boolean; + + /** + * allow participant to publish data + * + * @generated from field: bool can_publish_data = 3; + */ + canPublishData: boolean; + + /** + * sources that are allowed to be published + * + * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; + */ + canPublishSources: TrackSource[]; + + /** + * indicates that it's hidden to others + * + * @generated from field: bool hidden = 7; + */ + hidden: boolean; + + /** + * indicates it's a recorder instance + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool recorder = 8 [deprecated = true]; + * @deprecated + */ + recorder: boolean; + + /** + * indicates that participant can update own metadata and attributes + * + * @generated from field: bool can_update_metadata = 10; + */ + canUpdateMetadata: boolean; + + /** + * indicates that participant is an agent + * deprecated: use ParticipantInfo.kind instead + * + * @generated from field: bool agent = 11 [deprecated = true]; + * @deprecated + */ + agent: boolean; + + /** + * if a participant can subscribe to metrics + * + * @generated from field: bool can_subscribe_metrics = 12; + */ + canSubscribeMetrics: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantPermission"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission; + + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission; + + static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission; + + static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ParticipantInfo + */ +export declare class ParticipantInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * @generated from field: livekit.ParticipantInfo.State state = 3; + */ + state: ParticipantInfo_State; + + /** + * @generated from field: repeated livekit.TrackInfo tracks = 4; + */ + tracks: TrackInfo[]; + + /** + * @generated from field: string metadata = 5; + */ + metadata: string; + + /** + * timestamp when participant joined room, in seconds + * + * @generated from field: int64 joined_at = 6; + */ + joinedAt: bigint; + + /** + * @generated from field: string name = 9; + */ + name: string; + + /** + * @generated from field: uint32 version = 10; + */ + version: number; + + /** + * @generated from field: livekit.ParticipantPermission permission = 11; + */ + permission?: ParticipantPermission; + + /** + * @generated from field: string region = 12; + */ + region: string; + + /** + * indicates the participant has an active publisher connection + * and can publish to the server + * + * @generated from field: bool is_publisher = 13; + */ + isPublisher: boolean; + + /** + * @generated from field: livekit.ParticipantInfo.Kind kind = 14; + */ + kind: ParticipantInfo_Kind; + + /** + * @generated from field: map attributes = 15; + */ + attributes: { [key: string]: string }; + + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 16; + */ + disconnectReason: DisconnectReason; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo; + + static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo; + + static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.ParticipantInfo.State + */ +export declare enum ParticipantInfo_State { + /** + * websocket' connected, but not offered yet + * + * @generated from enum value: JOINING = 0; + */ + JOINING = 0, + + /** + * server received client offer + * + * @generated from enum value: JOINED = 1; + */ + JOINED = 1, + + /** + * ICE connectivity established + * + * @generated from enum value: ACTIVE = 2; + */ + ACTIVE = 2, + + /** + * WS disconnected + * + * @generated from enum value: DISCONNECTED = 3; + */ + DISCONNECTED = 3, +} + +/** + * @generated from enum livekit.ParticipantInfo.Kind + */ +export declare enum ParticipantInfo_Kind { + /** + * standard participants, e.g. web clients + * + * @generated from enum value: STANDARD = 0; + */ + STANDARD = 0, + + /** + * only ingests streams + * + * @generated from enum value: INGRESS = 1; + */ + INGRESS = 1, + + /** + * only consumes streams + * + * @generated from enum value: EGRESS = 2; + */ + EGRESS = 2, + + /** + * SIP participants + * + * @generated from enum value: SIP = 3; + */ + SIP = 3, + + /** + * LiveKit agents + * + * @generated from enum value: AGENT = 4; + */ + AGENT = 4, +} + +/** + * @generated from message livekit.Encryption + */ +export declare class Encryption extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Encryption"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Encryption; + + static fromJson(jsonValue: JsonValue, options?: Partial): Encryption; + + static fromJsonString(jsonString: string, options?: Partial): Encryption; + + static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.Encryption.Type + */ +export declare enum Encryption_Type { + /** + * @generated from enum value: NONE = 0; + */ + NONE = 0, + + /** + * @generated from enum value: GCM = 1; + */ + GCM = 1, + + /** + * @generated from enum value: CUSTOM = 2; + */ + CUSTOM = 2, +} + +/** + * @generated from message livekit.SimulcastCodecInfo + */ +export declare class SimulcastCodecInfo extends Message { + /** + * @generated from field: string mime_type = 1; + */ + mimeType: string; + + /** + * @generated from field: string mid = 2; + */ + mid: string; + + /** + * @generated from field: string cid = 3; + */ + cid: string; + + /** + * @generated from field: repeated livekit.VideoLayer layers = 4; + */ + layers: VideoLayer[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulcastCodecInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo; + + static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo; + + static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TrackInfo + */ +export declare class TrackInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + + /** + * @generated from field: livekit.TrackType type = 2; + */ + type: TrackType; + + /** + * @generated from field: string name = 3; + */ + name: string; + + /** + * @generated from field: bool muted = 4; + */ + muted: boolean; + + /** + * original width of video (unset for audio) + * clients may receive a lower resolution version with simulcast + * + * @generated from field: uint32 width = 5; + */ + width: number; + + /** + * original height of video (unset for audio) + * + * @generated from field: uint32 height = 6; + */ + height: number; + + /** + * true if track is simulcasted + * + * @generated from field: bool simulcast = 7; + */ + simulcast: boolean; + + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 8; + */ + disableDtx: boolean; + + /** + * source of media + * + * @generated from field: livekit.TrackSource source = 9; + */ + source: TrackSource; + + /** + * @generated from field: repeated livekit.VideoLayer layers = 10; + */ + layers: VideoLayer[]; + + /** + * mime type of codec + * + * @generated from field: string mime_type = 11; + */ + mimeType: string; + + /** + * @generated from field: string mid = 12; + */ + mid: string; + + /** + * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; + */ + codecs: SimulcastCodecInfo[]; + + /** + * @generated from field: bool stereo = 14; + */ + stereo: boolean; + + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 15; + */ + disableRed: boolean; + + /** + * @generated from field: livekit.Encryption.Type encryption = 16; + */ + encryption: Encryption_Type; + + /** + * @generated from field: string stream = 17; + */ + stream: string; + + /** + * @generated from field: livekit.TimedVersion version = 18; + */ + version?: TimedVersion; + + /** + * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; + */ + audioFeatures: AudioTrackFeature[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo; + + static fromJsonString(jsonString: string, options?: Partial): TrackInfo; + + static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean; +} + +/** + * provide information about available spatial layers + * + * @generated from message livekit.VideoLayer + */ +export declare class VideoLayer extends Message { + /** + * for tracks with a single layer, this should be HIGH + * + * @generated from field: livekit.VideoQuality quality = 1; + */ + quality: VideoQuality; + + /** + * @generated from field: uint32 width = 2; + */ + width: number; + + /** + * @generated from field: uint32 height = 3; + */ + height: number; + + /** + * target bitrate in bit per second (bps), server will measure actual + * + * @generated from field: uint32 bitrate = 4; + */ + bitrate: number; + + /** + * @generated from field: uint32 ssrc = 5; + */ + ssrc: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VideoLayer"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer; + + static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer; + + static fromJsonString(jsonString: string, options?: Partial): VideoLayer; + + static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean; +} + +/** + * new DataPacket API + * + * @generated from message livekit.DataPacket + */ +export declare class DataPacket extends Message { + /** + * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; + * @deprecated + */ + kind: DataPacket_Kind; + + /** + * participant identity of user that sent the message + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 5; + */ + destinationIdentities: string[]; + + /** + * @generated from oneof livekit.DataPacket.value + */ + value: { + /** + * @generated from field: livekit.UserPacket user = 2; + */ + value: UserPacket; + case: "user"; + } | { + /** + * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true]; + * @deprecated + */ + value: ActiveSpeakerUpdate; + case: "speaker"; + } | { + /** + * @generated from field: livekit.SipDTMF sip_dtmf = 6; + */ + value: SipDTMF; + case: "sipDtmf"; + } | { + /** + * @generated from field: livekit.Transcription transcription = 7; + */ + value: Transcription; + case: "transcription"; + } | { + /** + * @generated from field: livekit.MetricsBatch metrics = 8; + */ + value: MetricsBatch; + case: "metrics"; + } | { + /** + * @generated from field: livekit.ChatMessage chat_message = 9; + */ + value: ChatMessage; + case: "chatMessage"; + } | { + /** + * @generated from field: livekit.RpcRequest rpc_request = 10; + */ + value: RpcRequest; + case: "rpcRequest"; + } | { + /** + * @generated from field: livekit.RpcAck rpc_ack = 11; + */ + value: RpcAck; + case: "rpcAck"; + } | { + /** + * @generated from field: livekit.RpcResponse rpc_response = 12; + */ + value: RpcResponse; + case: "rpcResponse"; + } | { + /** + * @generated from field: livekit.DataStream.Header stream_header = 13; + */ + value: DataStream_Header; + case: "streamHeader"; + } | { + /** + * @generated from field: livekit.DataStream.Chunk stream_chunk = 14; + */ + value: DataStream_Chunk; + case: "streamChunk"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataPacket"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket; + + static fromJsonString(jsonString: string, options?: Partial): DataPacket; + + static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.DataPacket.Kind + */ +export declare enum DataPacket_Kind { + /** + * @generated from enum value: RELIABLE = 0; + */ + RELIABLE = 0, + + /** + * @generated from enum value: LOSSY = 1; + */ + LOSSY = 1, +} + +/** + * @generated from message livekit.ActiveSpeakerUpdate + */ +export declare class ActiveSpeakerUpdate extends Message { + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + speakers: SpeakerInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ActiveSpeakerUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate; + + static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate; + + static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SpeakerInfo + */ +export declare class SpeakerInfo extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + + /** + * audio level, 0-1.0, 1 is loudest + * + * @generated from field: float level = 2; + */ + level: number; + + /** + * true if speaker is currently active + * + * @generated from field: bool active = 3; + */ + active: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SpeakerInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo; + + static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo; + + static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UserPacket + */ +export declare class UserPacket extends Message { + /** + * participant ID of user that sent the message + * + * @generated from field: string participant_sid = 1 [deprecated = true]; + * @deprecated + */ + participantSid: string; + + /** + * @generated from field: string participant_identity = 5 [deprecated = true]; + * @deprecated + */ + participantIdentity: string; + + /** + * user defined payload + * + * @generated from field: bytes payload = 2; + */ + payload: Uint8Array; + + /** + * the ID of the participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_sids = 3 [deprecated = true]; + * @deprecated + */ + destinationSids: string[]; + + /** + * identities of participants who will receive the message (sent to all by default) + * + * @generated from field: repeated string destination_identities = 6 [deprecated = true]; + * @deprecated + */ + destinationIdentities: string[]; + + /** + * topic under which the message was published + * + * @generated from field: optional string topic = 4; + */ + topic?: string; + + /** + * Unique ID to indentify the message + * + * @generated from field: optional string id = 8; + */ + id?: string; + + /** + * start and end time allow relating the message to specific media time + * + * @generated from field: optional uint64 start_time = 9; + */ + startTime?: bigint; + + /** + * @generated from field: optional uint64 end_time = 10; + */ + endTime?: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UserPacket"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; + + static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; + + static fromJsonString(jsonString: string, options?: Partial): UserPacket; + + static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SipDTMF + */ +export declare class SipDTMF extends Message { + /** + * @generated from field: uint32 code = 3; + */ + code: number; + + /** + * @generated from field: string digit = 4; + */ + digit: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SipDTMF"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; + + static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; + + static fromJsonString(jsonString: string, options?: Partial): SipDTMF; + + static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.Transcription + */ +export declare class Transcription extends Message { + /** + * Participant that got its speech transcribed + * + * @generated from field: string transcribed_participant_identity = 2; + */ + transcribedParticipantIdentity: string; + + /** + * @generated from field: string track_id = 3; + */ + trackId: string; + + /** + * @generated from field: repeated livekit.TranscriptionSegment segments = 4; + */ + segments: TranscriptionSegment[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Transcription"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Transcription; + + static fromJson(jsonValue: JsonValue, options?: Partial): Transcription; + + static fromJsonString(jsonString: string, options?: Partial): Transcription; + + static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TranscriptionSegment + */ +export declare class TranscriptionSegment extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string text = 2; + */ + text: string; + + /** + * @generated from field: uint64 start_time = 3; + */ + startTime: bigint; + + /** + * @generated from field: uint64 end_time = 4; + */ + endTime: bigint; + + /** + * @generated from field: bool final = 5; + */ + final: boolean; + + /** + * @generated from field: string language = 6; + */ + language: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TranscriptionSegment"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; + + static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; + + static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; + + static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ChatMessage + */ +export declare class ChatMessage extends Message { + /** + * uuid + * + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + + /** + * populated only if the intent is to edit/update an existing message + * + * @generated from field: optional int64 edit_timestamp = 3; + */ + editTimestamp?: bigint; + + /** + * @generated from field: string message = 4; + */ + message: string; + + /** + * true to remove message + * + * @generated from field: bool deleted = 5; + */ + deleted: boolean; + + /** + * true if the chat message has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 6; + */ + generated: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ChatMessage"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; + + static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; + + static fromJsonString(jsonString: string, options?: Partial): ChatMessage; + + static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RpcRequest + */ +export declare class RpcRequest extends Message { + /** + * @generated from field: string id = 1; + */ + id: string; + + /** + * @generated from field: string method = 2; + */ + method: string; + + /** + * @generated from field: string payload = 3; + */ + payload: string; + + /** + * @generated from field: uint32 response_timeout_ms = 4; + */ + responseTimeoutMs: number; + + /** + * @generated from field: uint32 version = 5; + */ + version: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest; + + static fromJsonString(jsonString: string, options?: Partial): RpcRequest; + + static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RpcAck + */ +export declare class RpcAck extends Message { + /** + * @generated from field: string request_id = 1; + */ + requestId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcAck"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck; + + static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck; + + static fromJsonString(jsonString: string, options?: Partial): RpcAck; + + static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RpcResponse + */ +export declare class RpcResponse extends Message { + /** + * @generated from field: string request_id = 1; + */ + requestId: string; + + /** + * @generated from oneof livekit.RpcResponse.value + */ + value: { + /** + * @generated from field: string payload = 2; + */ + value: string; + case: "payload"; + } | { + /** + * @generated from field: livekit.RpcError error = 3; + */ + value: RpcError; + case: "error"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse; + + static fromJsonString(jsonString: string, options?: Partial): RpcResponse; + + static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RpcError + */ +export declare class RpcError extends Message { + /** + * @generated from field: uint32 code = 1; + */ + code: number; + + /** + * @generated from field: string message = 2; + */ + message: string; + + /** + * @generated from field: string data = 3; + */ + data: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RpcError"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RpcError; + + static fromJson(jsonValue: JsonValue, options?: Partial): RpcError; + + static fromJsonString(jsonString: string, options?: Partial): RpcError; + + static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ParticipantTracks + */ +export declare class ParticipantTracks extends Message { + /** + * participant ID of participant to whom the tracks belong + * + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + + /** + * @generated from field: repeated string track_sids = 2; + */ + trackSids: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantTracks"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks; + + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks; + + static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks; + + static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean; +} + +/** + * details about the server + * + * @generated from message livekit.ServerInfo + */ +export declare class ServerInfo extends Message { + /** + * @generated from field: livekit.ServerInfo.Edition edition = 1; + */ + edition: ServerInfo_Edition; + + /** + * @generated from field: string version = 2; + */ + version: string; + + /** + * @generated from field: int32 protocol = 3; + */ + protocol: number; + + /** + * @generated from field: string region = 4; + */ + region: string; + + /** + * @generated from field: string node_id = 5; + */ + nodeId: string; + + /** + * additional debugging information. sent only if server is in development mode + * + * @generated from field: string debug_info = 6; + */ + debugInfo: string; + + /** + * @generated from field: int32 agent_protocol = 7; + */ + agentProtocol: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ServerInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo; + + static fromJsonString(jsonString: string, options?: Partial): ServerInfo; + + static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.ServerInfo.Edition + */ +export declare enum ServerInfo_Edition { + /** + * @generated from enum value: Standard = 0; + */ + Standard = 0, + + /** + * @generated from enum value: Cloud = 1; + */ + Cloud = 1, +} + +/** + * details about the client + * + * @generated from message livekit.ClientInfo + */ +export declare class ClientInfo extends Message { + /** + * @generated from field: livekit.ClientInfo.SDK sdk = 1; + */ + sdk: ClientInfo_SDK; + + /** + * @generated from field: string version = 2; + */ + version: string; + + /** + * @generated from field: int32 protocol = 3; + */ + protocol: number; + + /** + * @generated from field: string os = 4; + */ + os: string; + + /** + * @generated from field: string os_version = 5; + */ + osVersion: string; + + /** + * @generated from field: string device_model = 6; + */ + deviceModel: string; + + /** + * @generated from field: string browser = 7; + */ + browser: string; + + /** + * @generated from field: string browser_version = 8; + */ + browserVersion: string; + + /** + * @generated from field: string address = 9; + */ + address: string; + + /** + * wifi, wired, cellular, vpn, empty if not known + * + * @generated from field: string network = 10; + */ + network: string; + + /** + * comma separated list of additional LiveKit SDKs in use of this client, with versions + * e.g. "components-js:1.2.3,track-processors-js:1.2.3" + * + * @generated from field: string other_sdks = 11; + */ + otherSdks: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ClientInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo; + + static fromJsonString(jsonString: string, options?: Partial): ClientInfo; + + static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.ClientInfo.SDK + */ +export declare enum ClientInfo_SDK { + /** + * @generated from enum value: UNKNOWN = 0; + */ + UNKNOWN = 0, + + /** + * @generated from enum value: JS = 1; + */ + JS = 1, + + /** + * @generated from enum value: SWIFT = 2; + */ + SWIFT = 2, + + /** + * @generated from enum value: ANDROID = 3; + */ + ANDROID = 3, + + /** + * @generated from enum value: FLUTTER = 4; + */ + FLUTTER = 4, + + /** + * @generated from enum value: GO = 5; + */ + GO = 5, + + /** + * @generated from enum value: UNITY = 6; + */ + UNITY = 6, + + /** + * @generated from enum value: REACT_NATIVE = 7; + */ + REACT_NATIVE = 7, + + /** + * @generated from enum value: RUST = 8; + */ + RUST = 8, + + /** + * @generated from enum value: PYTHON = 9; + */ + PYTHON = 9, + + /** + * @generated from enum value: CPP = 10; + */ + CPP = 10, + + /** + * @generated from enum value: UNITY_WEB = 11; + */ + UNITY_WEB = 11, + + /** + * @generated from enum value: NODE = 12; + */ + NODE = 12, +} + +/** + * server provided client configuration + * + * @generated from message livekit.ClientConfiguration + */ +export declare class ClientConfiguration extends Message { + /** + * @generated from field: livekit.VideoConfiguration video = 1; + */ + video?: VideoConfiguration; + + /** + * @generated from field: livekit.VideoConfiguration screen = 2; + */ + screen?: VideoConfiguration; + + /** + * @generated from field: livekit.ClientConfigSetting resume_connection = 3; + */ + resumeConnection: ClientConfigSetting; + + /** + * @generated from field: livekit.DisabledCodecs disabled_codecs = 4; + */ + disabledCodecs?: DisabledCodecs; + + /** + * @generated from field: livekit.ClientConfigSetting force_relay = 5; + */ + forceRelay: ClientConfigSetting; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ClientConfiguration"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration; + + static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration; + + static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration; + + static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.VideoConfiguration + */ +export declare class VideoConfiguration extends Message { + /** + * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; + */ + hardwareEncoder: ClientConfigSetting; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VideoConfiguration"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration; + + static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration; + + static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration; + + static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DisabledCodecs + */ +export declare class DisabledCodecs extends Message { + /** + * disabled for both publish and subscribe + * + * @generated from field: repeated livekit.Codec codecs = 1; + */ + codecs: Codec[]; + + /** + * only disable for publish + * + * @generated from field: repeated livekit.Codec publish = 2; + */ + publish: Codec[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DisabledCodecs"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs; + + static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs; + + static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs; + + static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RTPDrift + */ +export declare class RTPDrift extends Message { + /** + * @generated from field: google.protobuf.Timestamp start_time = 1; + */ + startTime?: Timestamp; + + /** + * @generated from field: google.protobuf.Timestamp end_time = 2; + */ + endTime?: Timestamp; + + /** + * @generated from field: double duration = 3; + */ + duration: number; + + /** + * @generated from field: uint64 start_timestamp = 4; + */ + startTimestamp: bigint; + + /** + * @generated from field: uint64 end_timestamp = 5; + */ + endTimestamp: bigint; + + /** + * @generated from field: uint64 rtp_clock_ticks = 6; + */ + rtpClockTicks: bigint; + + /** + * @generated from field: int64 drift_samples = 7; + */ + driftSamples: bigint; + + /** + * @generated from field: double drift_ms = 8; + */ + driftMs: number; + + /** + * @generated from field: double clock_rate = 9; + */ + clockRate: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPDrift"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift; + + static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift; + + static fromJsonString(jsonString: string, options?: Partial): RTPDrift; + + static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RTPStats + */ +export declare class RTPStats extends Message { + /** + * @generated from field: google.protobuf.Timestamp start_time = 1; + */ + startTime?: Timestamp; + + /** + * @generated from field: google.protobuf.Timestamp end_time = 2; + */ + endTime?: Timestamp; + + /** + * @generated from field: double duration = 3; + */ + duration: number; + + /** + * @generated from field: uint32 packets = 4; + */ + packets: number; + + /** + * @generated from field: double packet_rate = 5; + */ + packetRate: number; + + /** + * @generated from field: uint64 bytes = 6; + */ + bytes: bigint; + + /** + * @generated from field: uint64 header_bytes = 39; + */ + headerBytes: bigint; + + /** + * @generated from field: double bitrate = 7; + */ + bitrate: number; + + /** + * @generated from field: uint32 packets_lost = 8; + */ + packetsLost: number; + + /** + * @generated from field: double packet_loss_rate = 9; + */ + packetLossRate: number; + + /** + * @generated from field: float packet_loss_percentage = 10; + */ + packetLossPercentage: number; + + /** + * @generated from field: uint32 packets_duplicate = 11; + */ + packetsDuplicate: number; + + /** + * @generated from field: double packet_duplicate_rate = 12; + */ + packetDuplicateRate: number; + + /** + * @generated from field: uint64 bytes_duplicate = 13; + */ + bytesDuplicate: bigint; + + /** + * @generated from field: uint64 header_bytes_duplicate = 40; + */ + headerBytesDuplicate: bigint; + + /** + * @generated from field: double bitrate_duplicate = 14; + */ + bitrateDuplicate: number; + + /** + * @generated from field: uint32 packets_padding = 15; + */ + packetsPadding: number; + + /** + * @generated from field: double packet_padding_rate = 16; + */ + packetPaddingRate: number; + + /** + * @generated from field: uint64 bytes_padding = 17; + */ + bytesPadding: bigint; + + /** + * @generated from field: uint64 header_bytes_padding = 41; + */ + headerBytesPadding: bigint; + + /** + * @generated from field: double bitrate_padding = 18; + */ + bitratePadding: number; + + /** + * @generated from field: uint32 packets_out_of_order = 19; + */ + packetsOutOfOrder: number; + + /** + * @generated from field: uint32 frames = 20; + */ + frames: number; + + /** + * @generated from field: double frame_rate = 21; + */ + frameRate: number; + + /** + * @generated from field: double jitter_current = 22; + */ + jitterCurrent: number; + + /** + * @generated from field: double jitter_max = 23; + */ + jitterMax: number; + + /** + * @generated from field: map gap_histogram = 24; + */ + gapHistogram: { [key: number]: number }; + + /** + * @generated from field: uint32 nacks = 25; + */ + nacks: number; + + /** + * @generated from field: uint32 nack_acks = 37; + */ + nackAcks: number; + + /** + * @generated from field: uint32 nack_misses = 26; + */ + nackMisses: number; + + /** + * @generated from field: uint32 nack_repeated = 38; + */ + nackRepeated: number; + + /** + * @generated from field: uint32 plis = 27; + */ + plis: number; + + /** + * @generated from field: google.protobuf.Timestamp last_pli = 28; + */ + lastPli?: Timestamp; + + /** + * @generated from field: uint32 firs = 29; + */ + firs: number; + + /** + * @generated from field: google.protobuf.Timestamp last_fir = 30; + */ + lastFir?: Timestamp; + + /** + * @generated from field: uint32 rtt_current = 31; + */ + rttCurrent: number; + + /** + * @generated from field: uint32 rtt_max = 32; + */ + rttMax: number; + + /** + * @generated from field: uint32 key_frames = 33; + */ + keyFrames: number; + + /** + * @generated from field: google.protobuf.Timestamp last_key_frame = 34; + */ + lastKeyFrame?: Timestamp; + + /** + * @generated from field: uint32 layer_lock_plis = 35; + */ + layerLockPlis: number; + + /** + * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36; + */ + lastLayerLockPli?: Timestamp; + + /** + * @generated from field: livekit.RTPDrift packet_drift = 44; + */ + packetDrift?: RTPDrift; + + /** + * @generated from field: livekit.RTPDrift ntp_report_drift = 45; + */ + ntpReportDrift?: RTPDrift; + + /** + * @generated from field: livekit.RTPDrift rebased_report_drift = 46; + */ + rebasedReportDrift?: RTPDrift; + + /** + * NEXT_ID: 48 + * + * @generated from field: livekit.RTPDrift received_report_drift = 47; + */ + receivedReportDrift?: RTPDrift; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPStats"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats; + + static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats; + + static fromJsonString(jsonString: string, options?: Partial): RTPStats; + + static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RTCPSenderReportState + */ +export declare class RTCPSenderReportState extends Message { + /** + * @generated from field: uint32 rtp_timestamp = 1; + */ + rtpTimestamp: number; + + /** + * @generated from field: uint64 rtp_timestamp_ext = 2; + */ + rtpTimestampExt: bigint; + + /** + * @generated from field: uint64 ntp_timestamp = 3; + */ + ntpTimestamp: bigint; + + /** + * time at which this happened + * + * @generated from field: int64 at = 4; + */ + at: bigint; + + /** + * @generated from field: int64 at_adjusted = 5; + */ + atAdjusted: bigint; + + /** + * @generated from field: uint32 packets = 6; + */ + packets: number; + + /** + * @generated from field: uint64 octets = 7; + */ + octets: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTCPSenderReportState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState; + + static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState; + + static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState; + + static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RTPForwarderState + */ +export declare class RTPForwarderState extends Message { + /** + * @generated from field: bool started = 1; + */ + started: boolean; + + /** + * @generated from field: int32 reference_layer_spatial = 2; + */ + referenceLayerSpatial: number; + + /** + * @generated from field: int64 pre_start_time = 3; + */ + preStartTime: bigint; + + /** + * @generated from field: uint64 ext_first_timestamp = 4; + */ + extFirstTimestamp: bigint; + + /** + * @generated from field: uint64 dummy_start_timestamp_offset = 5; + */ + dummyStartTimestampOffset: bigint; + + /** + * @generated from field: livekit.RTPMungerState rtp_munger = 6; + */ + rtpMunger?: RTPMungerState; + + /** + * @generated from oneof livekit.RTPForwarderState.codec_munger + */ + codecMunger: { + /** + * @generated from field: livekit.VP8MungerState vp8_munger = 7; + */ + value: VP8MungerState; + case: "vp8Munger"; + } | { case: undefined; value?: undefined }; + + /** + * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; + */ + senderReportState: RTCPSenderReportState[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPForwarderState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState; + + static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState; + + static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState; + + static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RTPMungerState + */ +export declare class RTPMungerState extends Message { + /** + * @generated from field: uint64 ext_last_sequence_number = 1; + */ + extLastSequenceNumber: bigint; + + /** + * @generated from field: uint64 ext_second_last_sequence_number = 2; + */ + extSecondLastSequenceNumber: bigint; + + /** + * @generated from field: uint64 ext_last_timestamp = 3; + */ + extLastTimestamp: bigint; + + /** + * @generated from field: uint64 ext_second_last_timestamp = 4; + */ + extSecondLastTimestamp: bigint; + + /** + * @generated from field: bool last_marker = 5; + */ + lastMarker: boolean; + + /** + * @generated from field: bool second_last_marker = 6; + */ + secondLastMarker: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RTPMungerState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState; + + static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState; + + static fromJsonString(jsonString: string, options?: Partial): RTPMungerState; + + static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.VP8MungerState + */ +export declare class VP8MungerState extends Message { + /** + * @generated from field: int32 ext_last_picture_id = 1; + */ + extLastPictureId: number; + + /** + * @generated from field: bool picture_id_used = 2; + */ + pictureIdUsed: boolean; + + /** + * @generated from field: uint32 last_tl0_pic_idx = 3; + */ + lastTl0PicIdx: number; + + /** + * @generated from field: bool tl0_pic_idx_used = 4; + */ + tl0PicIdxUsed: boolean; + + /** + * @generated from field: bool tid_used = 5; + */ + tidUsed: boolean; + + /** + * @generated from field: uint32 last_key_idx = 6; + */ + lastKeyIdx: number; + + /** + * @generated from field: bool key_idx_used = 7; + */ + keyIdxUsed: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.VP8MungerState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState; + + static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState; + + static fromJsonString(jsonString: string, options?: Partial): VP8MungerState; + + static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TimedVersion + */ +export declare class TimedVersion extends Message { + /** + * @generated from field: int64 unix_micro = 1; + */ + unixMicro: bigint; + + /** + * @generated from field: int32 ticks = 2; + */ + ticks: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TimedVersion"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion; + + static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion; + + static fromJsonString(jsonString: string, options?: Partial): TimedVersion; + + static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DataStream + */ +export declare class DataStream extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; + + static fromJsonString(jsonString: string, options?: Partial): DataStream; + + static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; +} + +/** + * enum for operation types (specific to TextHeader) + * + * @generated from enum livekit.DataStream.OperationType + */ +export declare enum DataStream_OperationType { + /** + * @generated from enum value: CREATE = 0; + */ + CREATE = 0, + + /** + * @generated from enum value: UPDATE = 1; + */ + UPDATE = 1, + + /** + * @generated from enum value: DELETE = 2; + */ + DELETE = 2, + + /** + * @generated from enum value: REACTION = 3; + */ + REACTION = 3, +} + +/** + * header properties specific to text streams + * + * @generated from message livekit.DataStream.TextHeader + */ +export declare class DataStream_TextHeader extends Message { + /** + * @generated from field: livekit.DataStream.OperationType operation_type = 1; + */ + operationType: DataStream_OperationType; + + /** + * Optional: Version for updates/edits + * + * @generated from field: int32 version = 2; + */ + version: number; + + /** + * Optional: Reply to specific message + * + * @generated from field: string reply_to_stream_id = 3; + */ + replyToStreamId: string; + + /** + * file attachments for text streams + * + * @generated from field: repeated string attached_stream_ids = 4; + */ + attachedStreamIds: string[]; + + /** + * true if the text has been generated by an agent from a participant's audio transcription + * + * @generated from field: bool generated = 5; + */ + generated: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.TextHeader"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; + + static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; + + static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; +} + +/** + * header properties specific to file or image streams + * + * @generated from message livekit.DataStream.FileHeader + */ +export declare class DataStream_FileHeader extends Message { + /** + * name of the file + * + * @generated from field: string file_name = 1; + */ + fileName: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.FileHeader"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader; + + static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader; + + static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean; +} + +/** + * main DataStream.Header that contains a oneof for specific headers + * + * @generated from message livekit.DataStream.Header + */ +export declare class DataStream_Header extends Message { + /** + * unique identifier for this data stream + * + * @generated from field: string stream_id = 1; + */ + streamId: string; + + /** + * using int64 for Unix timestamp + * + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + + /** + * @generated from field: string topic = 3; + */ + topic: string; + + /** + * @generated from field: string mime_type = 4; + */ + mimeType: string; + + /** + * only populated for finite streams, if it's a stream of unknown size this stays empty + * + * @generated from field: optional uint64 total_length = 5; + */ + totalLength?: bigint; + + /** + * only populated for finite streams, if it's a stream of unknown size this stays empty + * + * @generated from field: optional uint64 total_chunks = 6; + */ + totalChunks?: bigint; + + /** + * defaults to NONE + * + * @generated from field: livekit.Encryption.Type encryption_type = 7; + */ + encryptionType: Encryption_Type; + + /** + * user defined extensions map that can carry additional info + * + * @generated from field: map extensions = 8; + */ + extensions: { [key: string]: string }; + + /** + * oneof to choose between specific header types + * + * @generated from oneof livekit.DataStream.Header.content_header + */ + contentHeader: { + /** + * @generated from field: livekit.DataStream.TextHeader text_header = 9; + */ + value: DataStream_TextHeader; + case: "textHeader"; + } | { + /** + * @generated from field: livekit.DataStream.FileHeader file_header = 10; + */ + value: DataStream_FileHeader; + case: "fileHeader"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.Header"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; + + static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; + + static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DataStream.Chunk + */ +export declare class DataStream_Chunk extends Message { + /** + * unique identifier for this data stream to map it to the correct header + * + * @generated from field: string stream_id = 1; + */ + streamId: string; + + /** + * @generated from field: uint64 chunk_index = 2; + */ + chunkIndex: bigint; + + /** + * content as binary (bytes) + * + * @generated from field: bytes content = 3; + */ + content: Uint8Array; + + /** + * true only if this is the last chunk of this stream - can also be sent with empty content + * + * @generated from field: bool complete = 4; + */ + complete: boolean; + + /** + * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced + * + * @generated from field: int32 version = 5; + */ + version: number; + + /** + * optional, initialization vector for AES-GCM encryption + * + * @generated from field: optional bytes iv = 6; + */ + iv?: Uint8Array; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataStream.Chunk"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; + + static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; + + static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_models_pb.js b/packages/javascript/src/gen/livekit_models_pb.js new file mode 100644 index 00000000..179ad5d7 --- /dev/null +++ b/packages/javascript/src/gen/livekit_models_pb.js @@ -0,0 +1,913 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_models.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3, Timestamp } from "@bufbuild/protobuf"; +import { MetricsBatch } from "./livekit_metrics_pb.js"; + +/** + * @generated from enum livekit.AudioCodec + */ +export const AudioCodec = /*@__PURE__*/ proto3.makeEnum( + "livekit.AudioCodec", + [ + {no: 0, name: "DEFAULT_AC"}, + {no: 1, name: "OPUS"}, + {no: 2, name: "AAC"}, + ], +); + +/** + * @generated from enum livekit.VideoCodec + */ +export const VideoCodec = /*@__PURE__*/ proto3.makeEnum( + "livekit.VideoCodec", + [ + {no: 0, name: "DEFAULT_VC"}, + {no: 1, name: "H264_BASELINE"}, + {no: 2, name: "H264_MAIN"}, + {no: 3, name: "H264_HIGH"}, + {no: 4, name: "VP8"}, + ], +); + +/** + * @generated from enum livekit.ImageCodec + */ +export const ImageCodec = /*@__PURE__*/ proto3.makeEnum( + "livekit.ImageCodec", + [ + {no: 0, name: "IC_DEFAULT"}, + {no: 1, name: "IC_JPEG"}, + ], +); + +/** + * @generated from enum livekit.TrackType + */ +export const TrackType = /*@__PURE__*/ proto3.makeEnum( + "livekit.TrackType", + [ + {no: 0, name: "AUDIO"}, + {no: 1, name: "VIDEO"}, + {no: 2, name: "DATA"}, + ], +); + +/** + * @generated from enum livekit.TrackSource + */ +export const TrackSource = /*@__PURE__*/ proto3.makeEnum( + "livekit.TrackSource", + [ + {no: 0, name: "UNKNOWN"}, + {no: 1, name: "CAMERA"}, + {no: 2, name: "MICROPHONE"}, + {no: 3, name: "SCREEN_SHARE"}, + {no: 4, name: "SCREEN_SHARE_AUDIO"}, + ], +); + +/** + * @generated from enum livekit.VideoQuality + */ +export const VideoQuality = /*@__PURE__*/ proto3.makeEnum( + "livekit.VideoQuality", + [ + {no: 0, name: "LOW"}, + {no: 1, name: "MEDIUM"}, + {no: 2, name: "HIGH"}, + {no: 3, name: "OFF"}, + ], +); + +/** + * @generated from enum livekit.ConnectionQuality + */ +export const ConnectionQuality = /*@__PURE__*/ proto3.makeEnum( + "livekit.ConnectionQuality", + [ + {no: 0, name: "POOR"}, + {no: 1, name: "GOOD"}, + {no: 2, name: "EXCELLENT"}, + {no: 3, name: "LOST"}, + ], +); + +/** + * @generated from enum livekit.ClientConfigSetting + */ +export const ClientConfigSetting = /*@__PURE__*/ proto3.makeEnum( + "livekit.ClientConfigSetting", + [ + {no: 0, name: "UNSET"}, + {no: 1, name: "DISABLED"}, + {no: 2, name: "ENABLED"}, + ], +); + +/** + * @generated from enum livekit.DisconnectReason + */ +export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum( + "livekit.DisconnectReason", + [ + {no: 0, name: "UNKNOWN_REASON"}, + {no: 1, name: "CLIENT_INITIATED"}, + {no: 2, name: "DUPLICATE_IDENTITY"}, + {no: 3, name: "SERVER_SHUTDOWN"}, + {no: 4, name: "PARTICIPANT_REMOVED"}, + {no: 5, name: "ROOM_DELETED"}, + {no: 6, name: "STATE_MISMATCH"}, + {no: 7, name: "JOIN_FAILURE"}, + {no: 8, name: "MIGRATION"}, + {no: 9, name: "SIGNAL_CLOSE"}, + {no: 10, name: "ROOM_CLOSED"}, + {no: 11, name: "USER_UNAVAILABLE"}, + {no: 12, name: "USER_REJECTED"}, + {no: 13, name: "SIP_TRUNK_FAILURE"}, + ], +); + +/** + * @generated from enum livekit.ReconnectReason + */ +export const ReconnectReason = /*@__PURE__*/ proto3.makeEnum( + "livekit.ReconnectReason", + [ + {no: 0, name: "RR_UNKNOWN"}, + {no: 1, name: "RR_SIGNAL_DISCONNECTED"}, + {no: 2, name: "RR_PUBLISHER_FAILED"}, + {no: 3, name: "RR_SUBSCRIBER_FAILED"}, + {no: 4, name: "RR_SWITCH_CANDIDATE"}, + ], +); + +/** + * @generated from enum livekit.SubscriptionError + */ +export const SubscriptionError = /*@__PURE__*/ proto3.makeEnum( + "livekit.SubscriptionError", + [ + {no: 0, name: "SE_UNKNOWN"}, + {no: 1, name: "SE_CODEC_UNSUPPORTED"}, + {no: 2, name: "SE_TRACK_NOTFOUND"}, + ], +); + +/** + * @generated from enum livekit.AudioTrackFeature + */ +export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum( + "livekit.AudioTrackFeature", + [ + {no: 0, name: "TF_STEREO"}, + {no: 1, name: "TF_NO_DTX"}, + {no: 2, name: "TF_AUTO_GAIN_CONTROL"}, + {no: 3, name: "TF_ECHO_CANCELLATION"}, + {no: 4, name: "TF_NOISE_SUPPRESSION"}, + {no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"}, + ], +); + +/** + * @generated from message livekit.Room + */ +export const Room = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Room", + () => [ + { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 14, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "creation_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 6, name: "turn_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, + { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "num_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 11, name: "num_publishers", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 10, name: "active_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 13, name: "version", kind: "message", T: TimedVersion }, + ], +); + +/** + * @generated from message livekit.Codec + */ +export const Codec = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Codec", + () => [ + { no: 1, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.PlayoutDelay + */ +export const PlayoutDelay = /*@__PURE__*/ proto3.makeMessageType( + "livekit.PlayoutDelay", + () => [ + { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "min", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.ParticipantPermission + */ +export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ParticipantPermission", + () => [ + { no: 1, name: "can_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "can_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "can_publish_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 9, name: "can_publish_sources", kind: "enum", T: proto3.getEnumType(TrackSource), repeated: true }, + { no: 7, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.ParticipantInfo + */ +export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ParticipantInfo", + () => [ + { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, + { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, + { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "joined_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 9, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, + { no: 12, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) }, + { no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, + ], +); + +/** + * @generated from enum livekit.ParticipantInfo.State + */ +export const ParticipantInfo_State = /*@__PURE__*/ proto3.makeEnum( + "livekit.ParticipantInfo.State", + [ + {no: 0, name: "JOINING"}, + {no: 1, name: "JOINED"}, + {no: 2, name: "ACTIVE"}, + {no: 3, name: "DISCONNECTED"}, + ], +); + +/** + * @generated from enum livekit.ParticipantInfo.Kind + */ +export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum( + "livekit.ParticipantInfo.Kind", + [ + {no: 0, name: "STANDARD"}, + {no: 1, name: "INGRESS"}, + {no: 2, name: "EGRESS"}, + {no: 3, name: "SIP"}, + {no: 4, name: "AGENT"}, + ], +); + +/** + * @generated from message livekit.Encryption + */ +export const Encryption = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Encryption", + [], +); + +/** + * @generated from enum livekit.Encryption.Type + */ +export const Encryption_Type = /*@__PURE__*/ proto3.makeEnum( + "livekit.Encryption.Type", + [ + {no: 0, name: "NONE"}, + {no: 1, name: "GCM"}, + {no: 2, name: "CUSTOM"}, + ], +); + +/** + * @generated from message livekit.SimulcastCodecInfo + */ +export const SimulcastCodecInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SimulcastCodecInfo", + () => [ + { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + ], +); + +/** + * @generated from message livekit.TrackInfo + */ +export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackInfo", + () => [ + { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 7, name: "simulcast", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 9, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + { no: 11, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, + { no: 14, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 15, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { no: 17, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 18, name: "version", kind: "message", T: TimedVersion }, + { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, + ], +); + +/** + * provide information about available spatial layers + * + * @generated from message livekit.VideoLayer + */ +export const VideoLayer = /*@__PURE__*/ proto3.makeMessageType( + "livekit.VideoLayer", + () => [ + { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * new DataPacket API + * + * @generated from message livekit.DataPacket + */ +export const DataPacket = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataPacket", + () => [ + { no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, + { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, + { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, + { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, + { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, + { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" }, + { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, + { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, + { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, + { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, + { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, + { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" }, + ], +); + +/** + * @generated from enum livekit.DataPacket.Kind + */ +export const DataPacket_Kind = /*@__PURE__*/ proto3.makeEnum( + "livekit.DataPacket.Kind", + [ + {no: 0, name: "RELIABLE"}, + {no: 1, name: "LOSSY"}, + ], +); + +/** + * @generated from message livekit.ActiveSpeakerUpdate + */ +export const ActiveSpeakerUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ActiveSpeakerUpdate", + () => [ + { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.SpeakerInfo + */ +export const SpeakerInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SpeakerInfo", + () => [ + { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "level", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.UserPacket + */ +export const UserPacket = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UserPacket", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 8, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 9, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, + { no: 10, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, + ], +); + +/** + * @generated from message livekit.SipDTMF + */ +export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SipDTMF", + () => [ + { no: 3, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "digit", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.Transcription + */ +export const Transcription = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Transcription", + () => [ + { no: 2, name: "transcribed_participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }, + ], +); + +/** + * @generated from message livekit.TranscriptionSegment + */ +export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TranscriptionSegment", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ChatMessage + */ +export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ChatMessage", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "edit_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, + { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.RpcRequest + */ +export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RpcRequest", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.RpcAck + */ +export const RpcAck = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RpcAck", + () => [ + { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.RpcResponse + */ +export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RpcResponse", + () => [ + { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" }, + { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" }, + ], +); + +/** + * @generated from message livekit.RpcError + */ +export const RpcError = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RpcError", + () => [ + { no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ParticipantTracks + */ +export const ParticipantTracks = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ParticipantTracks", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * details about the server + * + * @generated from message livekit.ServerInfo + */ +export const ServerInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ServerInfo", + () => [ + { no: 1, name: "edition", kind: "enum", T: proto3.getEnumType(ServerInfo_Edition) }, + { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "debug_info", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "agent_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ], +); + +/** + * @generated from enum livekit.ServerInfo.Edition + */ +export const ServerInfo_Edition = /*@__PURE__*/ proto3.makeEnum( + "livekit.ServerInfo.Edition", + [ + {no: 0, name: "Standard"}, + {no: 1, name: "Cloud"}, + ], +); + +/** + * details about the client + * + * @generated from message livekit.ClientInfo + */ +export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ClientInfo", + () => [ + { no: 1, name: "sdk", kind: "enum", T: proto3.getEnumType(ClientInfo_SDK) }, + { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "os_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "device_model", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "browser", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from enum livekit.ClientInfo.SDK + */ +export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum( + "livekit.ClientInfo.SDK", + [ + {no: 0, name: "UNKNOWN"}, + {no: 1, name: "JS"}, + {no: 2, name: "SWIFT"}, + {no: 3, name: "ANDROID"}, + {no: 4, name: "FLUTTER"}, + {no: 5, name: "GO"}, + {no: 6, name: "UNITY"}, + {no: 7, name: "REACT_NATIVE"}, + {no: 8, name: "RUST"}, + {no: 9, name: "PYTHON"}, + {no: 10, name: "CPP"}, + {no: 11, name: "UNITY_WEB"}, + {no: 12, name: "NODE"}, + ], +); + +/** + * server provided client configuration + * + * @generated from message livekit.ClientConfiguration + */ +export const ClientConfiguration = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ClientConfiguration", + () => [ + { no: 1, name: "video", kind: "message", T: VideoConfiguration }, + { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, + { no: 3, name: "resume_connection", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, + { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, + { no: 5, name: "force_relay", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, + ], +); + +/** + * @generated from message livekit.VideoConfiguration + */ +export const VideoConfiguration = /*@__PURE__*/ proto3.makeMessageType( + "livekit.VideoConfiguration", + () => [ + { no: 1, name: "hardware_encoder", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, + ], +); + +/** + * @generated from message livekit.DisabledCodecs + */ +export const DisabledCodecs = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DisabledCodecs", + () => [ + { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, + { no: 2, name: "publish", kind: "message", T: Codec, repeated: true }, + ], +); + +/** + * @generated from message livekit.RTPDrift + */ +export const RTPDrift = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RTPDrift", + () => [ + { no: 1, name: "start_time", kind: "message", T: Timestamp }, + { no: 2, name: "end_time", kind: "message", T: Timestamp }, + { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 4, name: "start_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 5, name: "end_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 6, name: "rtp_clock_ticks", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 7, name: "drift_samples", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 8, name: "drift_ms", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 9, name: "clock_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + ], +); + +/** + * @generated from message livekit.RTPStats + */ +export const RTPStats = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RTPStats", + () => [ + { no: 1, name: "start_time", kind: "message", T: Timestamp }, + { no: 2, name: "end_time", kind: "message", T: Timestamp }, + { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 4, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "packet_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 6, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 39, name: "header_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 7, name: "bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 9, name: "packet_loss_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 10, name: "packet_loss_percentage", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 11, name: "packets_duplicate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 12, name: "packet_duplicate_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 13, name: "bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 40, name: "header_bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 14, name: "bitrate_duplicate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 15, name: "packets_padding", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 16, name: "packet_padding_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 17, name: "bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 41, name: "header_bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 18, name: "bitrate_padding", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 20, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 21, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 22, name: "jitter_current", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 23, name: "jitter_max", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 24, name: "gap_histogram", kind: "map", K: 5 /* ScalarType.INT32 */, V: {kind: "scalar", T: 13 /* ScalarType.UINT32 */} }, + { no: 25, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 37, name: "nack_acks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 26, name: "nack_misses", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 38, name: "nack_repeated", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 27, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 28, name: "last_pli", kind: "message", T: Timestamp }, + { no: 29, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 30, name: "last_fir", kind: "message", T: Timestamp }, + { no: 31, name: "rtt_current", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 32, name: "rtt_max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 33, name: "key_frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 34, name: "last_key_frame", kind: "message", T: Timestamp }, + { no: 35, name: "layer_lock_plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp }, + { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, + { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, + { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, + { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift }, + ], +); + +/** + * @generated from message livekit.RTCPSenderReportState + */ +export const RTCPSenderReportState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RTCPSenderReportState", + () => [ + { no: 1, name: "rtp_timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "rtp_timestamp_ext", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 3, name: "ntp_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 5, name: "at_adjusted", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 6, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 7, name: "octets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + ], +); + +/** + * @generated from message livekit.RTPForwarderState + */ +export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RTPForwarderState", + () => [ + { no: 1, name: "started", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "reference_layer_spatial", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "pre_start_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 4, name: "ext_first_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, + { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, + { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true }, + ], +); + +/** + * @generated from message livekit.RTPMungerState + */ +export const RTPMungerState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RTPMungerState", + () => [ + { no: 1, name: "ext_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 2, name: "ext_second_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 3, name: "ext_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 4, name: "ext_second_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 5, name: "last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "second_last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.VP8MungerState + */ +export const VP8MungerState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.VP8MungerState", + () => [ + { no: 1, name: "ext_last_picture_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "picture_id_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "last_tl0_pic_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "tl0_pic_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "tid_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "last_key_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 7, name: "key_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.TimedVersion + */ +export const TimedVersion = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TimedVersion", + () => [ + { no: 1, name: "unix_micro", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "ticks", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ], +); + +/** + * @generated from message livekit.DataStream + */ +export const DataStream = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataStream", + [], +); + +/** + * enum for operation types (specific to TextHeader) + * + * @generated from enum livekit.DataStream.OperationType + */ +export const DataStream_OperationType = /*@__PURE__*/ proto3.makeEnum( + "livekit.DataStream.OperationType", + [ + {no: 0, name: "CREATE"}, + {no: 1, name: "UPDATE"}, + {no: 2, name: "DELETE"}, + {no: 3, name: "REACTION"}, + ], +); + +/** + * header properties specific to text streams + * + * @generated from message livekit.DataStream.TextHeader + */ +export const DataStream_TextHeader = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataStream.TextHeader", + () => [ + { no: 1, name: "operation_type", kind: "enum", T: proto3.getEnumType(DataStream_OperationType) }, + { no: 2, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], + {localName: "DataStream_TextHeader"}, +); + +/** + * header properties specific to file or image streams + * + * @generated from message livekit.DataStream.FileHeader + */ +export const DataStream_FileHeader = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataStream.FileHeader", + () => [ + { no: 1, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], + {localName: "DataStream_FileHeader"}, +); + +/** + * main DataStream.Header that contains a oneof for specific headers + * + * @generated from message livekit.DataStream.Header + */ +export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataStream.Header", + () => [ + { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, + { no: 6, name: "total_chunks", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, + { no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { no: 8, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, + { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" }, + ], + {localName: "DataStream_Header"}, +); + +/** + * @generated from message livekit.DataStream.Chunk + */ +export const DataStream_Chunk = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataStream.Chunk", + () => [ + { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "chunk_index", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, + { no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 4, name: "complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 6, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, + ], + {localName: "DataStream_Chunk"}, +); + diff --git a/packages/javascript/src/gen/livekit_room_pb.d.ts b/packages/javascript/src/gen/livekit_room_pb.d.ts new file mode 100644 index 00000000..a88320ac --- /dev/null +++ b/packages/javascript/src/gen/livekit_room_pb.d.ts @@ -0,0 +1,774 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_room.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; +import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; + +/** + * @generated from message livekit.CreateRoomRequest + */ +export declare class CreateRoomRequest extends Message { + /** + * name of the room + * + * @generated from field: string name = 1; + */ + name: string; + + /** + * configuration to use for this room parameters. Setting parameters below override the config defaults. + * + * @generated from field: string room_preset = 12; + */ + roomPreset: string; + + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + emptyTimeout: number; + + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 10; + */ + departureTimeout: number; + + /** + * limit number of participants that can be in a room + * + * @generated from field: uint32 max_participants = 3; + */ + maxParticipants: number; + + /** + * override the node room is allocated to, for debugging + * + * @generated from field: string node_id = 4; + */ + nodeId: string; + + /** + * metadata of room + * + * @generated from field: string metadata = 5; + */ + metadata: string; + + /** + * auto-egress configurations + * + * @generated from field: livekit.RoomEgress egress = 6; + */ + egress?: RoomEgress; + + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + minPlayoutDelay: number; + + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + maxPlayoutDelay: number; + + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + syncStreams: boolean; + + /** + * replay + * + * @generated from field: bool replay_enabled = 13; + */ + replayEnabled: boolean; + + /** + * Define agents that should be dispatched to this room + * + * NEXT-ID: 15 + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; + */ + agents: RoomAgentDispatch[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateRoomRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest; + + static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomEgress + */ +export declare class RoomEgress extends Message { + /** + * @generated from field: livekit.RoomCompositeEgressRequest room = 1; + */ + room?: RoomCompositeEgressRequest; + + /** + * @generated from field: livekit.AutoParticipantEgress participant = 3; + */ + participant?: AutoParticipantEgress; + + /** + * @generated from field: livekit.AutoTrackEgress tracks = 2; + */ + tracks?: AutoTrackEgress; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomEgress"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress; + + static fromJsonString(jsonString: string, options?: Partial): RoomEgress; + + static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomAgent + */ +export declare class RoomAgent extends Message { + /** + * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; + */ + dispatches: RoomAgentDispatch[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomAgent"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent; + + static fromJsonString(jsonString: string, options?: Partial): RoomAgent; + + static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListRoomsRequest + */ +export declare class ListRoomsRequest extends Message { + /** + * when set, will only return rooms with name match + * + * @generated from field: repeated string names = 1; + */ + names: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListRoomsRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest; + + static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListRoomsResponse + */ +export declare class ListRoomsResponse extends Message { + /** + * @generated from field: repeated livekit.Room rooms = 1; + */ + rooms: Room[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListRoomsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse; + + static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteRoomRequest + */ +export declare class DeleteRoomRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteRoomRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest; + + static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteRoomResponse + */ +export declare class DeleteRoomResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteRoomResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse; + + static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse; + + static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListParticipantsRequest + */ +export declare class ListParticipantsRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListParticipantsRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest; + + static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListParticipantsResponse + */ +export declare class ListParticipantsResponse extends Message { + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + participants: ParticipantInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListParticipantsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse; + + static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomParticipantIdentity + */ +export declare class RoomParticipantIdentity extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + + /** + * identity of the participant + * + * @generated from field: string identity = 2; + */ + identity: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomParticipantIdentity"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity; + + static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity; + + static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RemoveParticipantResponse + */ +export declare class RemoveParticipantResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RemoveParticipantResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse; + + static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse; + + static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.MuteRoomTrackRequest + */ +export declare class MuteRoomTrackRequest extends Message { + /** + * name of the room + * + * @generated from field: string room = 1; + */ + room: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * sid of the track to mute + * + * @generated from field: string track_sid = 3; + */ + trackSid: string; + + /** + * set to true to mute, false to unmute + * + * @generated from field: bool muted = 4; + */ + muted: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteRoomTrackRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest; + + static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest; + + static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.MuteRoomTrackResponse + */ +export declare class MuteRoomTrackResponse extends Message { + /** + * @generated from field: livekit.TrackInfo track = 1; + */ + track?: TrackInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteRoomTrackResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse; + + static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse; + + static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateParticipantRequest + */ +export declare class UpdateParticipantRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 3; + */ + metadata: string; + + /** + * set to update the participant's permissions + * + * @generated from field: livekit.ParticipantPermission permission = 4; + */ + permission?: ParticipantPermission; + + /** + * display name to update + * + * @generated from field: string name = 5; + */ + name: string; + + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 6; + */ + attributes: { [key: string]: string }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateParticipantRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest; + + static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateSubscriptionsRequest + */ +export declare class UpdateSubscriptionsRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + + /** + * @generated from field: string identity = 2; + */ + identity: string; + + /** + * list of sids of tracks + * + * @generated from field: repeated string track_sids = 3; + */ + trackSids: string[]; + + /** + * set to true to subscribe, false to unsubscribe from tracks + * + * @generated from field: bool subscribe = 4; + */ + subscribe: boolean; + + /** + * list of participants and their tracks + * + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; + */ + participantTracks: ParticipantTracks[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscriptionsRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest; + + static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean; +} + +/** + * empty for now + * + * @generated from message livekit.UpdateSubscriptionsResponse + */ +export declare class UpdateSubscriptionsResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscriptionsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse; + + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse; + + static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SendDataRequest + */ +export declare class SendDataRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + + /** + * @generated from field: bytes data = 2; + */ + data: Uint8Array; + + /** + * @generated from field: livekit.DataPacket.Kind kind = 3; + */ + kind: DataPacket_Kind; + + /** + * mark deprecated + * + * @generated from field: repeated string destination_sids = 4 [deprecated = true]; + * @deprecated + */ + destinationSids: string[]; + + /** + * when set, only forward to these identities + * + * @generated from field: repeated string destination_identities = 6; + */ + destinationIdentities: string[]; + + /** + * @generated from field: optional string topic = 5; + */ + topic?: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SendDataRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest; + + static fromJsonString(jsonString: string, options?: Partial): SendDataRequest; + + static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SendDataResponse + */ +export declare class SendDataResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SendDataResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse; + + static fromJsonString(jsonString: string, options?: Partial): SendDataResponse; + + static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateRoomMetadataRequest + */ +export declare class UpdateRoomMetadataRequest extends Message { + /** + * @generated from field: string room = 1; + */ + room: string; + + /** + * metadata to update. skipping updates if left empty + * + * @generated from field: string metadata = 2; + */ + metadata: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateRoomMetadataRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest; + + static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomConfiguration + */ +export declare class RoomConfiguration extends Message { + /** + * Used as ID, must be unique + * + * @generated from field: string name = 1; + */ + name: string; + + /** + * number of seconds to keep the room open if no one joins + * + * @generated from field: uint32 empty_timeout = 2; + */ + emptyTimeout: number; + + /** + * number of seconds to keep the room open after everyone leaves + * + * @generated from field: uint32 departure_timeout = 3; + */ + departureTimeout: number; + + /** + * limit number of participants that can be in a room, excluding Egress and Ingress participants + * + * @generated from field: uint32 max_participants = 4; + */ + maxParticipants: number; + + /** + * egress + * + * @generated from field: livekit.RoomEgress egress = 5; + */ + egress?: RoomEgress; + + /** + * playout delay of subscriber + * + * @generated from field: uint32 min_playout_delay = 7; + */ + minPlayoutDelay: number; + + /** + * @generated from field: uint32 max_playout_delay = 8; + */ + maxPlayoutDelay: number; + + /** + * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use + * so not recommended for rooms with frequent subscription changes + * + * @generated from field: bool sync_streams = 9; + */ + syncStreams: boolean; + + /** + * Define agents that should be dispatched to this room + * + * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; + */ + agents: RoomAgentDispatch[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomConfiguration"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration; + + static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration; + + static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_room_pb.js b/packages/javascript/src/gen/livekit_room_pb.js new file mode 100644 index 00000000..9b4c21d0 --- /dev/null +++ b/packages/javascript/src/gen/livekit_room_pb.js @@ -0,0 +1,259 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_room.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; +import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; +import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; + +/** + * @generated from message livekit.CreateRoomRequest + */ +export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateRoomRequest", + () => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 10, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "egress", kind: "message", T: RoomEgress }, + { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 13, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 14, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }, + ], +); + +/** + * @generated from message livekit.RoomEgress + */ +export const RoomEgress = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomEgress", + () => [ + { no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest }, + { no: 3, name: "participant", kind: "message", T: AutoParticipantEgress }, + { no: 2, name: "tracks", kind: "message", T: AutoTrackEgress }, + ], +); + +/** + * @generated from message livekit.RoomAgent + */ +export const RoomAgent = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomAgent", + () => [ + { no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, + ], +); + +/** + * @generated from message livekit.ListRoomsRequest + */ +export const ListRoomsRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListRoomsRequest", + () => [ + { no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * @generated from message livekit.ListRoomsResponse + */ +export const ListRoomsResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListRoomsResponse", + () => [ + { no: 1, name: "rooms", kind: "message", T: Room, repeated: true }, + ], +); + +/** + * @generated from message livekit.DeleteRoomRequest + */ +export const DeleteRoomRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteRoomRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.DeleteRoomResponse + */ +export const DeleteRoomResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteRoomResponse", + [], +); + +/** + * @generated from message livekit.ListParticipantsRequest + */ +export const ListParticipantsRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListParticipantsRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ListParticipantsResponse + */ +export const ListParticipantsResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListParticipantsResponse", + () => [ + { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.RoomParticipantIdentity + */ +export const RoomParticipantIdentity = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomParticipantIdentity", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.RemoveParticipantResponse + */ +export const RemoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RemoveParticipantResponse", + [], +); + +/** + * @generated from message livekit.MuteRoomTrackRequest + */ +export const MuteRoomTrackRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MuteRoomTrackRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.MuteRoomTrackResponse + */ +export const MuteRoomTrackResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MuteRoomTrackResponse", + () => [ + { no: 1, name: "track", kind: "message", T: TrackInfo }, + ], +); + +/** + * @generated from message livekit.UpdateParticipantRequest + */ +export const UpdateParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateParticipantRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "permission", kind: "message", T: ParticipantPermission }, + { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ], +); + +/** + * @generated from message livekit.UpdateSubscriptionsRequest + */ +export const UpdateSubscriptionsRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateSubscriptionsRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }, + ], +); + +/** + * empty for now + * + * @generated from message livekit.UpdateSubscriptionsResponse + */ +export const UpdateSubscriptionsResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateSubscriptionsResponse", + [], +); + +/** + * @generated from message livekit.SendDataRequest + */ +export const SendDataRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SendDataRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, + { no: 4, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + ], +); + +/** + * @generated from message livekit.SendDataResponse + */ +export const SendDataResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SendDataResponse", + [], +); + +/** + * @generated from message livekit.UpdateRoomMetadataRequest + */ +export const UpdateRoomMetadataRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateRoomMetadataRequest", + () => [ + { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.RoomConfiguration + */ +export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomConfiguration", + () => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "egress", kind: "message", T: RoomEgress }, + { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_rtc_pb.d.ts b/packages/javascript/src/gen/livekit_rtc_pb.d.ts new file mode 100644 index 00000000..5c005ebc --- /dev/null +++ b/packages/javascript/src/gen/livekit_rtc_pb.d.ts @@ -0,0 +1,2001 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_rtc.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.SignalTarget + */ +export declare enum SignalTarget { + /** + * @generated from enum value: PUBLISHER = 0; + */ + PUBLISHER = 0, + + /** + * @generated from enum value: SUBSCRIBER = 1; + */ + SUBSCRIBER = 1, +} + +/** + * @generated from enum livekit.StreamState + */ +export declare enum StreamState { + /** + * @generated from enum value: ACTIVE = 0; + */ + ACTIVE = 0, + + /** + * @generated from enum value: PAUSED = 1; + */ + PAUSED = 1, +} + +/** + * @generated from enum livekit.CandidateProtocol + */ +export declare enum CandidateProtocol { + /** + * @generated from enum value: UDP = 0; + */ + UDP = 0, + + /** + * @generated from enum value: TCP = 1; + */ + TCP = 1, + + /** + * @generated from enum value: TLS = 2; + */ + TLS = 2, +} + +/** + * @generated from message livekit.SignalRequest + */ +export declare class SignalRequest extends Message { + /** + * @generated from oneof livekit.SignalRequest.message + */ + message: { + /** + * initial join exchange, for publisher + * + * @generated from field: livekit.SessionDescription offer = 1; + */ + value: SessionDescription; + case: "offer"; + } | { + /** + * participant answering publisher offer + * + * @generated from field: livekit.SessionDescription answer = 2; + */ + value: SessionDescription; + case: "answer"; + } | { + /** + * @generated from field: livekit.TrickleRequest trickle = 3; + */ + value: TrickleRequest; + case: "trickle"; + } | { + /** + * @generated from field: livekit.AddTrackRequest add_track = 4; + */ + value: AddTrackRequest; + case: "addTrack"; + } | { + /** + * mute the participant's published tracks + * + * @generated from field: livekit.MuteTrackRequest mute = 5; + */ + value: MuteTrackRequest; + case: "mute"; + } | { + /** + * Subscribe or unsubscribe from tracks + * + * @generated from field: livekit.UpdateSubscription subscription = 6; + */ + value: UpdateSubscription; + case: "subscription"; + } | { + /** + * Update settings of subscribed tracks + * + * @generated from field: livekit.UpdateTrackSettings track_setting = 7; + */ + value: UpdateTrackSettings; + case: "trackSetting"; + } | { + /** + * Immediately terminate session + * + * @generated from field: livekit.LeaveRequest leave = 8; + */ + value: LeaveRequest; + case: "leave"; + } | { + /** + * Update published video layers + * + * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; + * @deprecated + */ + value: UpdateVideoLayers; + case: "updateLayers"; + } | { + /** + * Update subscriber permissions + * + * @generated from field: livekit.SubscriptionPermission subscription_permission = 11; + */ + value: SubscriptionPermission; + case: "subscriptionPermission"; + } | { + /** + * sync client's subscribe state to server during reconnect + * + * @generated from field: livekit.SyncState sync_state = 12; + */ + value: SyncState; + case: "syncState"; + } | { + /** + * Simulate conditions, for client validations + * + * @generated from field: livekit.SimulateScenario simulate = 13; + */ + value: SimulateScenario; + case: "simulate"; + } | { + /** + * client triggered ping to server + * + * deprecated by ping_req (message Ping) + * + * @generated from field: int64 ping = 14; + */ + value: bigint; + case: "ping"; + } | { + /** + * update a participant's own metadata, name, or attributes + * requires canUpdateOwnParticipantMetadata permission + * + * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; + */ + value: UpdateParticipantMetadata; + case: "updateMetadata"; + } | { + /** + * @generated from field: livekit.Ping ping_req = 16; + */ + value: Ping; + case: "pingReq"; + } | { + /** + * Update local audio track settings + * + * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; + */ + value: UpdateLocalAudioTrack; + case: "updateAudioTrack"; + } | { + /** + * Update local video track settings + * + * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; + */ + value: UpdateLocalVideoTrack; + case: "updateVideoTrack"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SignalRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest; + + static fromJsonString(jsonString: string, options?: Partial): SignalRequest; + + static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SignalResponse + */ +export declare class SignalResponse extends Message { + /** + * @generated from oneof livekit.SignalResponse.message + */ + message: { + /** + * sent when join is accepted + * + * @generated from field: livekit.JoinResponse join = 1; + */ + value: JoinResponse; + case: "join"; + } | { + /** + * sent when server answers publisher + * + * @generated from field: livekit.SessionDescription answer = 2; + */ + value: SessionDescription; + case: "answer"; + } | { + /** + * sent when server is sending subscriber an offer + * + * @generated from field: livekit.SessionDescription offer = 3; + */ + value: SessionDescription; + case: "offer"; + } | { + /** + * sent when an ICE candidate is available + * + * @generated from field: livekit.TrickleRequest trickle = 4; + */ + value: TrickleRequest; + case: "trickle"; + } | { + /** + * sent when participants in the room has changed + * + * @generated from field: livekit.ParticipantUpdate update = 5; + */ + value: ParticipantUpdate; + case: "update"; + } | { + /** + * sent to the participant when their track has been published + * + * @generated from field: livekit.TrackPublishedResponse track_published = 6; + */ + value: TrackPublishedResponse; + case: "trackPublished"; + } | { + /** + * Immediately terminate session + * + * @generated from field: livekit.LeaveRequest leave = 8; + */ + value: LeaveRequest; + case: "leave"; + } | { + /** + * server initiated mute + * + * @generated from field: livekit.MuteTrackRequest mute = 9; + */ + value: MuteTrackRequest; + case: "mute"; + } | { + /** + * indicates changes to speaker status, including when they've gone to not speaking + * + * @generated from field: livekit.SpeakersChanged speakers_changed = 10; + */ + value: SpeakersChanged; + case: "speakersChanged"; + } | { + /** + * sent when metadata of the room has changed + * + * @generated from field: livekit.RoomUpdate room_update = 11; + */ + value: RoomUpdate; + case: "roomUpdate"; + } | { + /** + * when connection quality changed + * + * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12; + */ + value: ConnectionQualityUpdate; + case: "connectionQuality"; + } | { + /** + * when streamed tracks state changed, used to notify when any of the streams were paused due to + * congestion + * + * @generated from field: livekit.StreamStateUpdate stream_state_update = 13; + */ + value: StreamStateUpdate; + case: "streamStateUpdate"; + } | { + /** + * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers + * + * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14; + */ + value: SubscribedQualityUpdate; + case: "subscribedQualityUpdate"; + } | { + /** + * when subscription permission changed + * + * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15; + */ + value: SubscriptionPermissionUpdate; + case: "subscriptionPermissionUpdate"; + } | { + /** + * update the token the client was using, to prevent an active client from using an expired token + * + * @generated from field: string refresh_token = 16; + */ + value: string; + case: "refreshToken"; + } | { + /** + * server initiated track unpublish + * + * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17; + */ + value: TrackUnpublishedResponse; + case: "trackUnpublished"; + } | { + /** + * respond to ping + * + * deprecated by pong_resp (message Pong) + * + * @generated from field: int64 pong = 18; + */ + value: bigint; + case: "pong"; + } | { + /** + * sent when client reconnects + * + * @generated from field: livekit.ReconnectResponse reconnect = 19; + */ + value: ReconnectResponse; + case: "reconnect"; + } | { + /** + * respond to Ping + * + * @generated from field: livekit.Pong pong_resp = 20; + */ + value: Pong; + case: "pongResp"; + } | { + /** + * Subscription response, client should not expect any media from this subscription if it fails + * + * @generated from field: livekit.SubscriptionResponse subscription_response = 21; + */ + value: SubscriptionResponse; + case: "subscriptionResponse"; + } | { + /** + * Response relating to user inititated requests that carry a `request_id` + * + * @generated from field: livekit.RequestResponse request_response = 22; + */ + value: RequestResponse; + case: "requestResponse"; + } | { + /** + * notify to the publisher when a published track has been subscribed for the first time + * + * @generated from field: livekit.TrackSubscribed track_subscribed = 23; + */ + value: TrackSubscribed; + case: "trackSubscribed"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SignalResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse; + + static fromJsonString(jsonString: string, options?: Partial): SignalResponse; + + static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SimulcastCodec + */ +export declare class SimulcastCodec extends Message { + /** + * @generated from field: string codec = 1; + */ + codec: string; + + /** + * @generated from field: string cid = 2; + */ + cid: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulcastCodec"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec; + + static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec; + + static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec; + + static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.AddTrackRequest + */ +export declare class AddTrackRequest extends Message { + /** + * client ID of track, to match it when RTC track is received + * + * @generated from field: string cid = 1; + */ + cid: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * @generated from field: livekit.TrackType type = 3; + */ + type: TrackType; + + /** + * to be deprecated in favor of layers + * + * @generated from field: uint32 width = 4; + */ + width: number; + + /** + * @generated from field: uint32 height = 5; + */ + height: number; + + /** + * true to add track and initialize to muted + * + * @generated from field: bool muted = 6; + */ + muted: boolean; + + /** + * true if DTX (Discontinuous Transmission) is disabled for audio + * + * @generated from field: bool disable_dtx = 7; + */ + disableDtx: boolean; + + /** + * @generated from field: livekit.TrackSource source = 8; + */ + source: TrackSource; + + /** + * @generated from field: repeated livekit.VideoLayer layers = 9; + */ + layers: VideoLayer[]; + + /** + * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; + */ + simulcastCodecs: SimulcastCodec[]; + + /** + * server ID of track, publish new codec to exist track + * + * @generated from field: string sid = 11; + */ + sid: string; + + /** + * @generated from field: bool stereo = 12; + */ + stereo: boolean; + + /** + * true if RED (Redundant Encoding) is disabled for audio + * + * @generated from field: bool disable_red = 13; + */ + disableRed: boolean; + + /** + * @generated from field: livekit.Encryption.Type encryption = 14; + */ + encryption: Encryption_Type; + + /** + * which stream the track belongs to, used to group tracks together. + * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together + * + * @generated from field: string stream = 15; + */ + stream: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.AddTrackRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest; + + static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest; + + static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TrickleRequest + */ +export declare class TrickleRequest extends Message { + /** + * @generated from field: string candidateInit = 1; + */ + candidateInit: string; + + /** + * @generated from field: livekit.SignalTarget target = 2; + */ + target: SignalTarget; + + /** + * @generated from field: bool final = 3; + */ + final: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrickleRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest; + + static fromJsonString(jsonString: string, options?: Partial): TrickleRequest; + + static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.MuteTrackRequest + */ +export declare class MuteTrackRequest extends Message { + /** + * @generated from field: string sid = 1; + */ + sid: string; + + /** + * @generated from field: bool muted = 2; + */ + muted: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.MuteTrackRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest; + + static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest; + + static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.JoinResponse + */ +export declare class JoinResponse extends Message { + /** + * @generated from field: livekit.Room room = 1; + */ + room?: Room; + + /** + * @generated from field: livekit.ParticipantInfo participant = 2; + */ + participant?: ParticipantInfo; + + /** + * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; + */ + otherParticipants: ParticipantInfo[]; + + /** + * deprecated. use server_info.version instead. + * + * @generated from field: string server_version = 4; + */ + serverVersion: string; + + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 5; + */ + iceServers: ICEServer[]; + + /** + * use subscriber as the primary PeerConnection + * + * @generated from field: bool subscriber_primary = 6; + */ + subscriberPrimary: boolean; + + /** + * when the current server isn't available, return alternate url to retry connection + * when this is set, the other fields will be largely empty + * + * @generated from field: string alternative_url = 7; + */ + alternativeUrl: string; + + /** + * @generated from field: livekit.ClientConfiguration client_configuration = 8; + */ + clientConfiguration?: ClientConfiguration; + + /** + * deprecated. use server_info.region instead. + * + * @generated from field: string server_region = 9; + */ + serverRegion: string; + + /** + * @generated from field: int32 ping_timeout = 10; + */ + pingTimeout: number; + + /** + * @generated from field: int32 ping_interval = 11; + */ + pingInterval: number; + + /** + * @generated from field: livekit.ServerInfo server_info = 12; + */ + serverInfo?: ServerInfo; + + /** + * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled + * + * @generated from field: bytes sif_trailer = 13; + */ + sifTrailer: Uint8Array; + + /** + * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; + */ + enabledPublishCodecs: Codec[]; + + /** + * when set, client should attempt to establish publish peer connection when joining room to speed up publishing + * + * @generated from field: bool fast_publish = 15; + */ + fastPublish: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.JoinResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse; + + static fromJsonString(jsonString: string, options?: Partial): JoinResponse; + + static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ReconnectResponse + */ +export declare class ReconnectResponse extends Message { + /** + * @generated from field: repeated livekit.ICEServer ice_servers = 1; + */ + iceServers: ICEServer[]; + + /** + * @generated from field: livekit.ClientConfiguration client_configuration = 2; + */ + clientConfiguration?: ClientConfiguration; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ReconnectResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse; + + static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse; + + static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TrackPublishedResponse + */ +export declare class TrackPublishedResponse extends Message { + /** + * @generated from field: string cid = 1; + */ + cid: string; + + /** + * @generated from field: livekit.TrackInfo track = 2; + */ + track?: TrackInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackPublishedResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse; + + static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse; + + static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TrackUnpublishedResponse + */ +export declare class TrackUnpublishedResponse extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackUnpublishedResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse; + + static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse; + + static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SessionDescription + */ +export declare class SessionDescription extends Message { + /** + * "answer" | "offer" | "pranswer" | "rollback" + * + * @generated from field: string type = 1; + */ + type: string; + + /** + * @generated from field: string sdp = 2; + */ + sdp: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SessionDescription"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription; + + static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription; + + static fromJsonString(jsonString: string, options?: Partial): SessionDescription; + + static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ParticipantUpdate + */ +export declare class ParticipantUpdate extends Message { + /** + * @generated from field: repeated livekit.ParticipantInfo participants = 1; + */ + participants: ParticipantInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ParticipantUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate; + + static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate; + + static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateSubscription + */ +export declare class UpdateSubscription extends Message { + /** + * @generated from field: repeated string track_sids = 1; + */ + trackSids: string[]; + + /** + * @generated from field: bool subscribe = 2; + */ + subscribe: boolean; + + /** + * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; + */ + participantTracks: ParticipantTracks[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateSubscription"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription; + + static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription; + + static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateTrackSettings + */ +export declare class UpdateTrackSettings extends Message { + /** + * @generated from field: repeated string track_sids = 1; + */ + trackSids: string[]; + + /** + * when true, the track is placed in a paused state, with no new data returned + * + * @generated from field: bool disabled = 3; + */ + disabled: boolean; + + /** + * deprecated in favor of width & height + * + * @generated from field: livekit.VideoQuality quality = 4; + */ + quality: VideoQuality; + + /** + * for video, width to receive + * + * @generated from field: uint32 width = 5; + */ + width: number; + + /** + * for video, height to receive + * + * @generated from field: uint32 height = 6; + */ + height: number; + + /** + * @generated from field: uint32 fps = 7; + */ + fps: number; + + /** + * subscription priority. 1 being the highest (0 is unset) + * when unset, server sill assign priority based on the order of subscription + * server will use priority in the following ways: + * 1. when subscribed tracks exceed per-participant subscription limit, server will + * pause the lowest priority tracks + * 2. when the network is congested, server will assign available bandwidth to + * higher priority tracks first. lowest priority tracks can be paused + * + * @generated from field: uint32 priority = 8; + */ + priority: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateTrackSettings"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings; + + static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings; + + static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateLocalAudioTrack + */ +export declare class UpdateLocalAudioTrack extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + /** + * @generated from field: repeated livekit.AudioTrackFeature features = 2; + */ + features: AudioTrackFeature[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLocalAudioTrack"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack; + + static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack; + + static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateLocalVideoTrack + */ +export declare class UpdateLocalVideoTrack extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + /** + * @generated from field: uint32 width = 2; + */ + width: number; + + /** + * @generated from field: uint32 height = 3; + */ + height: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateLocalVideoTrack"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack; + + static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack; + + static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.LeaveRequest + */ +export declare class LeaveRequest extends Message { + /** + * sent when server initiates the disconnect due to server-restart + * indicates clients should attempt full-reconnect sequence + * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 + * + * @generated from field: bool can_reconnect = 1; + */ + canReconnect: boolean; + + /** + * @generated from field: livekit.DisconnectReason reason = 2; + */ + reason: DisconnectReason; + + /** + * @generated from field: livekit.LeaveRequest.Action action = 3; + */ + action: LeaveRequest_Action; + + /** + * @generated from field: livekit.RegionSettings regions = 4; + */ + regions?: RegionSettings; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.LeaveRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest; + + static fromJsonString(jsonString: string, options?: Partial): LeaveRequest; + + static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean; +} + +/** + * indicates action clients should take on receiving this message + * + * @generated from enum livekit.LeaveRequest.Action + */ +export declare enum LeaveRequest_Action { + /** + * should disconnect + * + * @generated from enum value: DISCONNECT = 0; + */ + DISCONNECT = 0, + + /** + * should attempt a resume with `reconnect=1` in join URL + * + * @generated from enum value: RESUME = 1; + */ + RESUME = 1, + + /** + * should attempt a reconnect, i. e. no `reconnect=1` + * + * @generated from enum value: RECONNECT = 2; + */ + RECONNECT = 2, +} + +/** + * message to indicate published video track dimensions are changing + * + * @generated from message livekit.UpdateVideoLayers + * @deprecated + */ +export declare class UpdateVideoLayers extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + /** + * @generated from field: repeated livekit.VideoLayer layers = 2; + */ + layers: VideoLayer[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateVideoLayers"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers; + + static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers; + + static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.UpdateParticipantMetadata + */ +export declare class UpdateParticipantMetadata extends Message { + /** + * @generated from field: string metadata = 1; + */ + metadata: string; + + /** + * @generated from field: string name = 2; + */ + name: string; + + /** + * attributes to update. it only updates attributes that have been set + * to delete attributes, set the value to an empty string + * + * @generated from field: map attributes = 3; + */ + attributes: { [key: string]: string }; + + /** + * @generated from field: uint32 request_id = 4; + */ + requestId: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.UpdateParticipantMetadata"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata; + + static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata; + + static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ICEServer + */ +export declare class ICEServer extends Message { + /** + * @generated from field: repeated string urls = 1; + */ + urls: string[]; + + /** + * @generated from field: string username = 2; + */ + username: string; + + /** + * @generated from field: string credential = 3; + */ + credential: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ICEServer"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer; + + static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer; + + static fromJsonString(jsonString: string, options?: Partial): ICEServer; + + static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SpeakersChanged + */ +export declare class SpeakersChanged extends Message { + /** + * @generated from field: repeated livekit.SpeakerInfo speakers = 1; + */ + speakers: SpeakerInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SpeakersChanged"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged; + + static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged; + + static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged; + + static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RoomUpdate + */ +export declare class RoomUpdate extends Message { + /** + * @generated from field: livekit.Room room = 1; + */ + room?: Room; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RoomUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate; + + static fromJsonString(jsonString: string, options?: Partial): RoomUpdate; + + static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ConnectionQualityInfo + */ +export declare class ConnectionQualityInfo extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + + /** + * @generated from field: livekit.ConnectionQuality quality = 2; + */ + quality: ConnectionQuality; + + /** + * @generated from field: float score = 3; + */ + score: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ConnectionQualityInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo; + + static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo; + + static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ConnectionQualityUpdate + */ +export declare class ConnectionQualityUpdate extends Message { + /** + * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; + */ + updates: ConnectionQualityInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ConnectionQualityUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate; + + static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate; + + static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StreamStateInfo + */ +export declare class StreamStateInfo extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + + /** + * @generated from field: string track_sid = 2; + */ + trackSid: string; + + /** + * @generated from field: livekit.StreamState state = 3; + */ + state: StreamState; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamStateInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo; + + static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo; + + static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.StreamStateUpdate + */ +export declare class StreamStateUpdate extends Message { + /** + * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; + */ + streamStates: StreamStateInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.StreamStateUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate; + + static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate; + + static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscribedQuality + */ +export declare class SubscribedQuality extends Message { + /** + * @generated from field: livekit.VideoQuality quality = 1; + */ + quality: VideoQuality; + + /** + * @generated from field: bool enabled = 2; + */ + enabled: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedQuality"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality; + + static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality; + + static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscribedCodec + */ +export declare class SubscribedCodec extends Message { + /** + * @generated from field: string codec = 1; + */ + codec: string; + + /** + * @generated from field: repeated livekit.SubscribedQuality qualities = 2; + */ + qualities: SubscribedQuality[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedCodec"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec; + + static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec; + + static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscribedQualityUpdate + */ +export declare class SubscribedQualityUpdate extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + /** + * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; + */ + subscribedQualities: SubscribedQuality[]; + + /** + * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; + */ + subscribedCodecs: SubscribedCodec[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscribedQualityUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate; + + static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate; + + static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TrackPermission + */ +export declare class TrackPermission extends Message { + /** + * permission could be granted either by participant sid or identity + * + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + + /** + * @generated from field: bool all_tracks = 2; + */ + allTracks: boolean; + + /** + * @generated from field: repeated string track_sids = 3; + */ + trackSids: string[]; + + /** + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackPermission"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission; + + static fromJsonString(jsonString: string, options?: Partial): TrackPermission; + + static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscriptionPermission + */ +export declare class SubscriptionPermission extends Message { + /** + * @generated from field: bool all_participants = 1; + */ + allParticipants: boolean; + + /** + * @generated from field: repeated livekit.TrackPermission track_permissions = 2; + */ + trackPermissions: TrackPermission[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionPermission"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission; + + static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission; + + static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscriptionPermissionUpdate + */ +export declare class SubscriptionPermissionUpdate extends Message { + /** + * @generated from field: string participant_sid = 1; + */ + participantSid: string; + + /** + * @generated from field: string track_sid = 2; + */ + trackSid: string; + + /** + * @generated from field: bool allowed = 3; + */ + allowed: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionPermissionUpdate"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate; + + static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate; + + static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SyncState + */ +export declare class SyncState extends Message { + /** + * last subscribe answer before reconnecting + * + * @generated from field: livekit.SessionDescription answer = 1; + */ + answer?: SessionDescription; + + /** + * @generated from field: livekit.UpdateSubscription subscription = 2; + */ + subscription?: UpdateSubscription; + + /** + * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; + */ + publishTracks: TrackPublishedResponse[]; + + /** + * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; + */ + dataChannels: DataChannelInfo[]; + + /** + * last received server side offer before reconnecting + * + * @generated from field: livekit.SessionDescription offer = 5; + */ + offer?: SessionDescription; + + /** + * @generated from field: repeated string track_sids_disabled = 6; + */ + trackSidsDisabled: string[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SyncState"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SyncState; + + static fromJson(jsonValue: JsonValue, options?: Partial): SyncState; + + static fromJsonString(jsonString: string, options?: Partial): SyncState; + + static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DataChannelInfo + */ +export declare class DataChannelInfo extends Message { + /** + * @generated from field: string label = 1; + */ + label: string; + + /** + * @generated from field: uint32 id = 2; + */ + id: number; + + /** + * @generated from field: livekit.SignalTarget target = 3; + */ + target: SignalTarget; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DataChannelInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo; + + static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo; + + static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SimulateScenario + */ +export declare class SimulateScenario extends Message { + /** + * @generated from oneof livekit.SimulateScenario.scenario + */ + scenario: { + /** + * simulate N seconds of speaker activity + * + * @generated from field: int32 speaker_update = 1; + */ + value: number; + case: "speakerUpdate"; + } | { + /** + * simulate local node failure + * + * @generated from field: bool node_failure = 2; + */ + value: boolean; + case: "nodeFailure"; + } | { + /** + * simulate migration + * + * @generated from field: bool migration = 3; + */ + value: boolean; + case: "migration"; + } | { + /** + * server to send leave + * + * @generated from field: bool server_leave = 4; + */ + value: boolean; + case: "serverLeave"; + } | { + /** + * switch candidate protocol to tcp + * + * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5; + */ + value: CandidateProtocol; + case: "switchCandidateProtocol"; + } | { + /** + * maximum bandwidth for subscribers, in bps + * when zero, clears artificial bandwidth limit + * + * @generated from field: int64 subscriber_bandwidth = 6; + */ + value: bigint; + case: "subscriberBandwidth"; + } | { + /** + * disconnect signal on resume + * + * @generated from field: bool disconnect_signal_on_resume = 7; + */ + value: boolean; + case: "disconnectSignalOnResume"; + } | { + /** + * disconnect signal on resume before sending any messages from server + * + * @generated from field: bool disconnect_signal_on_resume_no_messages = 8; + */ + value: boolean; + case: "disconnectSignalOnResumeNoMessages"; + } | { + /** + * full reconnect leave request + * + * @generated from field: bool leave_request_full_reconnect = 9; + */ + value: boolean; + case: "leaveRequestFullReconnect"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SimulateScenario"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario; + + static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario; + + static fromJsonString(jsonString: string, options?: Partial): SimulateScenario; + + static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.Ping + */ +export declare class Ping extends Message { + /** + * @generated from field: int64 timestamp = 1; + */ + timestamp: bigint; + + /** + * rtt in milliseconds calculated by client + * + * @generated from field: int64 rtt = 2; + */ + rtt: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Ping"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Ping; + + static fromJson(jsonValue: JsonValue, options?: Partial): Ping; + + static fromJsonString(jsonString: string, options?: Partial): Ping; + + static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.Pong + */ +export declare class Pong extends Message { + /** + * timestamp field of last received ping request + * + * @generated from field: int64 last_ping_timestamp = 1; + */ + lastPingTimestamp: bigint; + + /** + * @generated from field: int64 timestamp = 2; + */ + timestamp: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.Pong"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): Pong; + + static fromJson(jsonValue: JsonValue, options?: Partial): Pong; + + static fromJsonString(jsonString: string, options?: Partial): Pong; + + static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RegionSettings + */ +export declare class RegionSettings extends Message { + /** + * @generated from field: repeated livekit.RegionInfo regions = 1; + */ + regions: RegionInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegionSettings"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings; + + static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings; + + static fromJsonString(jsonString: string, options?: Partial): RegionSettings; + + static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RegionInfo + */ +export declare class RegionInfo extends Message { + /** + * @generated from field: string region = 1; + */ + region: string; + + /** + * @generated from field: string url = 2; + */ + url: string; + + /** + * @generated from field: int64 distance = 3; + */ + distance: bigint; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RegionInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo; + + static fromJsonString(jsonString: string, options?: Partial): RegionInfo; + + static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SubscriptionResponse + */ +export declare class SubscriptionResponse extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + /** + * @generated from field: livekit.SubscriptionError err = 2; + */ + err: SubscriptionError; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SubscriptionResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse; + + static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse; + + static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.RequestResponse + */ +export declare class RequestResponse extends Message { + /** + * @generated from field: uint32 request_id = 1; + */ + requestId: number; + + /** + * @generated from field: livekit.RequestResponse.Reason reason = 2; + */ + reason: RequestResponse_Reason; + + /** + * @generated from field: string message = 3; + */ + message: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.RequestResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse; + + static fromJsonString(jsonString: string, options?: Partial): RequestResponse; + + static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.RequestResponse.Reason + */ +export declare enum RequestResponse_Reason { + /** + * @generated from enum value: OK = 0; + */ + OK = 0, + + /** + * @generated from enum value: NOT_FOUND = 1; + */ + NOT_FOUND = 1, + + /** + * @generated from enum value: NOT_ALLOWED = 2; + */ + NOT_ALLOWED = 2, + + /** + * @generated from enum value: LIMIT_EXCEEDED = 3; + */ + LIMIT_EXCEEDED = 3, +} + +/** + * @generated from message livekit.TrackSubscribed + */ +export declare class TrackSubscribed extends Message { + /** + * @generated from field: string track_sid = 1; + */ + trackSid: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TrackSubscribed"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; + + static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; + + static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; + + static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_rtc_pb.js b/packages/javascript/src/gen/livekit_rtc_pb.js new file mode 100644 index 00000000..25d49b2a --- /dev/null +++ b/packages/javascript/src/gen/livekit_rtc_pb.js @@ -0,0 +1,634 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_rtc.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.SignalTarget + */ +export const SignalTarget = /*@__PURE__*/ proto3.makeEnum( + "livekit.SignalTarget", + [ + {no: 0, name: "PUBLISHER"}, + {no: 1, name: "SUBSCRIBER"}, + ], +); + +/** + * @generated from enum livekit.StreamState + */ +export const StreamState = /*@__PURE__*/ proto3.makeEnum( + "livekit.StreamState", + [ + {no: 0, name: "ACTIVE"}, + {no: 1, name: "PAUSED"}, + ], +); + +/** + * @generated from enum livekit.CandidateProtocol + */ +export const CandidateProtocol = /*@__PURE__*/ proto3.makeEnum( + "livekit.CandidateProtocol", + [ + {no: 0, name: "UDP"}, + {no: 1, name: "TCP"}, + {no: 2, name: "TLS"}, + ], +); + +/** + * @generated from message livekit.SignalRequest + */ +export const SignalRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SignalRequest", + () => [ + { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, + { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, + { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, + { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, + { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, + { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, + { no: 14, name: "ping", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" }, + { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, + { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, + { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, + { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }, + ], +); + +/** + * @generated from message livekit.SignalResponse + */ +export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SignalResponse", + () => [ + { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, + { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, + { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, + { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, + { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, + { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, + { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, + { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, + { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, + { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, + { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, + { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, + { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, + { no: 16, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" }, + { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, + { no: 18, name: "pong", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" }, + { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, + { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, + { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, + { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, + { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" }, + ], +); + +/** + * @generated from message livekit.SimulcastCodec + */ +export const SimulcastCodec = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SimulcastCodec", + () => [ + { no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.AddTrackRequest + */ +export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.AddTrackRequest", + () => [ + { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, + { no: 4, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 6, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, + { no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, + { no: 11, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 13, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, + { no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.TrickleRequest + */ +export const TrickleRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrickleRequest", + () => [ + { no: 1, name: "candidateInit", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, + { no: 3, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.MuteTrackRequest + */ +export const MuteTrackRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.MuteTrackRequest", + () => [ + { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.JoinResponse + */ +export const JoinResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.JoinResponse", + () => [ + { no: 1, name: "room", kind: "message", T: Room }, + { no: 2, name: "participant", kind: "message", T: ParticipantInfo }, + { no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true }, + { no: 4, name: "server_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { no: 6, name: "subscriber_primary", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "alternative_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration }, + { no: 9, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "ping_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 11, name: "ping_interval", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 12, name: "server_info", kind: "message", T: ServerInfo }, + { no: 13, name: "sif_trailer", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true }, + { no: 15, name: "fast_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.ReconnectResponse + */ +export const ReconnectResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ReconnectResponse", + () => [ + { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, + { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }, + ], +); + +/** + * @generated from message livekit.TrackPublishedResponse + */ +export const TrackPublishedResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackPublishedResponse", + () => [ + { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "track", kind: "message", T: TrackInfo }, + ], +); + +/** + * @generated from message livekit.TrackUnpublishedResponse + */ +export const TrackUnpublishedResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackUnpublishedResponse", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SessionDescription + */ +export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SessionDescription", + () => [ + { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "sdp", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.ParticipantUpdate + */ +export const ParticipantUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ParticipantUpdate", + () => [ + { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.UpdateSubscription + */ +export const UpdateSubscription = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateSubscription", + () => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }, + ], +); + +/** + * @generated from message livekit.UpdateTrackSettings + */ +export const UpdateTrackSettings = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateTrackSettings", + () => [ + { no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 3, name: "disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 7, name: "fps", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 8, name: "priority", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.UpdateLocalAudioTrack + */ +export const UpdateLocalAudioTrack = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateLocalAudioTrack", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, + ], +); + +/** + * @generated from message livekit.UpdateLocalVideoTrack + */ +export const UpdateLocalVideoTrack = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateLocalVideoTrack", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.LeaveRequest + */ +export const LeaveRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.LeaveRequest", + () => [ + { no: 1, name: "can_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, + { no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) }, + { no: 4, name: "regions", kind: "message", T: RegionSettings }, + ], +); + +/** + * indicates action clients should take on receiving this message + * + * @generated from enum livekit.LeaveRequest.Action + */ +export const LeaveRequest_Action = /*@__PURE__*/ proto3.makeEnum( + "livekit.LeaveRequest.Action", + [ + {no: 0, name: "DISCONNECT"}, + {no: 1, name: "RESUME"}, + {no: 2, name: "RECONNECT"}, + ], +); + +/** + * message to indicate published video track dimensions are changing + * + * @generated from message livekit.UpdateVideoLayers + * @deprecated + */ +export const UpdateVideoLayers = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateVideoLayers", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true }, + ], +); + +/** + * @generated from message livekit.UpdateParticipantMetadata + */ +export const UpdateParticipantMetadata = /*@__PURE__*/ proto3.makeMessageType( + "livekit.UpdateParticipantMetadata", + () => [ + { no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 4, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + ], +); + +/** + * @generated from message livekit.ICEServer + */ +export const ICEServer = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ICEServer", + () => [ + { no: 1, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SpeakersChanged + */ +export const SpeakersChanged = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SpeakersChanged", + () => [ + { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.RoomUpdate + */ +export const RoomUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RoomUpdate", + () => [ + { no: 1, name: "room", kind: "message", T: Room }, + ], +); + +/** + * @generated from message livekit.ConnectionQualityInfo + */ +export const ConnectionQualityInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ConnectionQualityInfo", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) }, + { no: 3, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + ], +); + +/** + * @generated from message livekit.ConnectionQualityUpdate + */ +export const ConnectionQualityUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ConnectionQualityUpdate", + () => [ + { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.StreamStateInfo + */ +export const StreamStateInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StreamStateInfo", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) }, + ], +); + +/** + * @generated from message livekit.StreamStateUpdate + */ +export const StreamStateUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.StreamStateUpdate", + () => [ + { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.SubscribedQuality + */ +export const SubscribedQuality = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscribedQuality", + () => [ + { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, + { no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.SubscribedCodec + */ +export const SubscribedCodec = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscribedCodec", + () => [ + { no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true }, + ], +); + +/** + * @generated from message livekit.SubscribedQualityUpdate + */ +export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscribedQualityUpdate", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, + { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }, + ], +); + +/** + * @generated from message livekit.TrackPermission + */ +export const TrackPermission = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackPermission", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "all_tracks", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SubscriptionPermission + */ +export const SubscriptionPermission = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscriptionPermission", + () => [ + { no: 1, name: "all_participants", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true }, + ], +); + +/** + * @generated from message livekit.SubscriptionPermissionUpdate + */ +export const SubscriptionPermissionUpdate = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscriptionPermissionUpdate", + () => [ + { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "allowed", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.SyncState + */ +export const SyncState = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SyncState", + () => [ + { no: 1, name: "answer", kind: "message", T: SessionDescription }, + { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, + { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, + { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, + { no: 5, name: "offer", kind: "message", T: SessionDescription }, + { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ], +); + +/** + * @generated from message livekit.DataChannelInfo + */ +export const DataChannelInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DataChannelInfo", + () => [ + { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, + ], +); + +/** + * @generated from message livekit.SimulateScenario + */ +export const SimulateScenario = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SimulateScenario", + () => [ + { no: 1, name: "speaker_update", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "scenario" }, + { no: 2, name: "node_failure", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + { no: 3, name: "migration", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + { no: 4, name: "server_leave", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + { no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, + { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "scenario" }, + { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, + ], +); + +/** + * @generated from message livekit.Ping + */ +export const Ping = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Ping", + () => [ + { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "rtt", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.Pong + */ +export const Pong = /*@__PURE__*/ proto3.makeMessageType( + "livekit.Pong", + () => [ + { no: 1, name: "last_ping_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.RegionSettings + */ +export const RegionSettings = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RegionSettings", + () => [ + { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.RegionInfo + */ +export const RegionInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RegionInfo", + () => [ + { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "distance", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ], +); + +/** + * @generated from message livekit.SubscriptionResponse + */ +export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SubscriptionResponse", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) }, + ], +); + +/** + * @generated from message livekit.RequestResponse + */ +export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.RequestResponse", + () => [ + { no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) }, + { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from enum livekit.RequestResponse.Reason + */ +export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum( + "livekit.RequestResponse.Reason", + [ + {no: 0, name: "OK"}, + {no: 1, name: "NOT_FOUND"}, + {no: 2, name: "NOT_ALLOWED"}, + {no: 3, name: "LIMIT_EXCEEDED"}, + ], +); + +/** + * @generated from message livekit.TrackSubscribed + */ +export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TrackSubscribed", + () => [ + { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_sip_pb.d.ts b/packages/javascript/src/gen/livekit_sip_pb.d.ts new file mode 100644 index 00000000..134240f2 --- /dev/null +++ b/packages/javascript/src/gen/livekit_sip_pb.d.ts @@ -0,0 +1,1551 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_sip.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { DisconnectReason } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.SIPTransport + */ +export declare enum SIPTransport { + /** + * @generated from enum value: SIP_TRANSPORT_AUTO = 0; + */ + SIP_TRANSPORT_AUTO = 0, + + /** + * @generated from enum value: SIP_TRANSPORT_UDP = 1; + */ + SIP_TRANSPORT_UDP = 1, + + /** + * @generated from enum value: SIP_TRANSPORT_TCP = 2; + */ + SIP_TRANSPORT_TCP = 2, + + /** + * @generated from enum value: SIP_TRANSPORT_TLS = 3; + */ + SIP_TRANSPORT_TLS = 3, +} + +/** + * @generated from enum livekit.SIPCallStatus + */ +export declare enum SIPCallStatus { + /** + * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet + * + * @generated from enum value: SCS_CALL_INCOMING = 0; + */ + SCS_CALL_INCOMING = 0, + + /** + * SIP participant for outgoing call has been created. The SIP outgoing call is being established + * + * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; + */ + SCS_PARTICIPANT_JOINED = 1, + + /** + * Call is ongoing. SIP participant is active in the LiveKit room + * + * @generated from enum value: SCS_ACTIVE = 2; + */ + SCS_ACTIVE = 2, + + /** + * Call has ended + * + * @generated from enum value: SCS_DISCONNECTED = 3; + */ + SCS_DISCONNECTED = 3, + + /** + * Call has ended or never succeeded because of an error + * + * @generated from enum value: SCS_ERROR = 4; + */ + SCS_ERROR = 4, +} + +/** + * @generated from enum livekit.SIPFeature + */ +export declare enum SIPFeature { + /** + * @generated from enum value: NONE = 0; + */ + NONE = 0, + + /** + * @generated from enum value: KRISP_ENABLED = 1; + */ + KRISP_ENABLED = 1, +} + +/** + * @generated from message livekit.CreateSIPTrunkRequest + * @deprecated + */ +export declare class CreateSIPTrunkRequest extends Message { + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 1; + */ + inboundAddresses: string[]; + + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 2; + */ + outboundAddress: string; + + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 3; + */ + outboundNumber: string; + + /** + * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; + * @deprecated + */ + inboundNumbersRegex: string[]; + + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 9; + */ + inboundNumbers: string[]; + + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 5; + */ + inboundUsername: string; + + /** + * @generated from field: string inbound_password = 6; + */ + inboundPassword: string; + + /** + * @generated from field: string outbound_username = 7; + */ + outboundUsername: string; + + /** + * @generated from field: string outbound_password = 8; + */ + outboundPassword: string; + + /** + * Optional human-readable name for the Trunk. + * + * @generated from field: string name = 10; + */ + name: string; + + /** + * Optional user-defined metadata for the Trunk. + * + * @generated from field: string metadata = 11; + */ + metadata: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; + + static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPTrunkInfo + * @deprecated + */ +export declare class SIPTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + /** + * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; + */ + kind: SIPTrunkInfo_TrunkKind; + + /** + * CIDR or IPs that traffic is accepted from + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string inbound_addresses = 2; + */ + inboundAddresses: string[]; + + /** + * IP that SIP INVITE is sent too + * + * @generated from field: string outbound_address = 3; + */ + outboundAddress: string; + + /** + * Number used to make outbound calls + * + * @generated from field: string outbound_number = 4; + */ + outboundNumber: string; + + /** + * Transport used for inbound and outbound calls. + * + * @generated from field: livekit.SIPTransport transport = 13; + */ + transport: SIPTransport; + + /** + * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; + * @deprecated + */ + inboundNumbersRegex: string[]; + + /** + * Accepted `To` values. This Trunk will only accept a call made to + * these numbers. This allows you to have distinct Trunks for different phone + * numbers at the same provider. + * + * @generated from field: repeated string inbound_numbers = 10; + */ + inboundNumbers: string[]; + + /** + * Username and password used to authenticate inbound and outbound SIP invites + * May be empty to have no Authentication + * + * @generated from field: string inbound_username = 6; + */ + inboundUsername: string; + + /** + * @generated from field: string inbound_password = 7; + */ + inboundPassword: string; + + /** + * @generated from field: string outbound_username = 8; + */ + outboundUsername: string; + + /** + * @generated from field: string outbound_password = 9; + */ + outboundPassword: string; + + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 11; + */ + name: string; + + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 12; + */ + metadata: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPTrunkInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; + + static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum livekit.SIPTrunkInfo.TrunkKind + */ +export declare enum SIPTrunkInfo_TrunkKind { + /** + * @generated from enum value: TRUNK_LEGACY = 0; + */ + TRUNK_LEGACY = 0, + + /** + * @generated from enum value: TRUNK_INBOUND = 1; + */ + TRUNK_INBOUND = 1, + + /** + * @generated from enum value: TRUNK_OUTBOUND = 2; + */ + TRUNK_OUTBOUND = 2, +} + +/** + * @generated from message livekit.CreateSIPInboundTrunkRequest + */ +export declare class CreateSIPInboundTrunkRequest extends Message { + /** + * Trunk ID is ignored + * + * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; + */ + trunk?: SIPInboundTrunkInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; + + static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPInboundTrunkInfo + */ +export declare class SIPInboundTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + name: string; + + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + metadata: string; + + /** + * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. + * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. + * + * @generated from field: repeated string numbers = 4; + */ + numbers: string[]; + + /** + * CIDR or IPs that traffic is accepted from. + * An empty list means all inbound traffic is accepted. + * + * @generated from field: repeated string allowed_addresses = 5; + */ + allowedAddresses: string[]; + + /** + * Numbers that are allowed to make calls to this Trunk. + * An empty list means calls from any phone number is accepted. + * + * @generated from field: repeated string allowed_numbers = 6; + */ + allowedNumbers: string[]; + + /** + * Username and password used to authenticate inbound SIP invites. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + authUsername: string; + + /** + * @generated from field: string auth_password = 8; + */ + authPassword: string; + + /** + * Include these SIP X-* headers in 200 OK responses. + * + * @generated from field: map headers = 9; + */ + headers: { [key: string]: string }; + + /** + * Map SIP X-* headers from INVITE to SIP participant attributes. + * + * @generated from field: map headers_to_attributes = 10; + */ + headersToAttributes: { [key: string]: string }; + + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 14; + */ + attributesToHeaders: { [key: string]: string }; + + /** + * Max time for the caller to wait for track subscription. + * + * @generated from field: google.protobuf.Duration ringing_timeout = 11; + */ + ringingTimeout?: Duration; + + /** + * Max call duration. + * + * @generated from field: google.protobuf.Duration max_call_duration = 12; + */ + maxCallDuration?: Duration; + + /** + * @generated from field: bool krisp_enabled = 13; + */ + krispEnabled: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPInboundTrunkInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; + + static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.CreateSIPOutboundTrunkRequest + */ +export declare class CreateSIPOutboundTrunkRequest extends Message { + /** + * Trunk ID is ignored + * + * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; + */ + trunk?: SIPOutboundTrunkInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; + + static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPOutboundTrunkInfo + */ +export declare class SIPOutboundTrunkInfo extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + /** + * Human-readable name for the Trunk. + * + * @generated from field: string name = 2; + */ + name: string; + + /** + * User-defined metadata for the Trunk. + * + * @generated from field: string metadata = 3; + */ + metadata: string; + + /** + * Hostname or IP that SIP INVITE is sent too. + * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. + * + * @generated from field: string address = 4; + */ + address: string; + + /** + * SIP Transport used for outbound call. + * + * @generated from field: livekit.SIPTransport transport = 5; + */ + transport: SIPTransport; + + /** + * Numbers used to make the calls. Random one from this list will be selected. + * + * @generated from field: repeated string numbers = 6; + */ + numbers: string[]; + + /** + * Username and password used to authenticate with SIP server. + * May be empty to have no authentication. + * + * @generated from field: string auth_username = 7; + */ + authUsername: string; + + /** + * @generated from field: string auth_password = 8; + */ + authPassword: string; + + /** + * Include these SIP X-* headers in INVITE request. + * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. + * + * @generated from field: map headers = 9; + */ + headers: { [key: string]: string }; + + /** + * Map SIP X-* headers from 200 OK to SIP participant attributes. + * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. + * + * @generated from field: map headers_to_attributes = 10; + */ + headersToAttributes: { [key: string]: string }; + + /** + * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. + * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. + * + * @generated from field: map attributes_to_headers = 11; + */ + attributesToHeaders: { [key: string]: string }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPOutboundTrunkInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; + + static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.GetSIPInboundTrunkRequest + */ +export declare class GetSIPInboundTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; + + static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.GetSIPInboundTrunkResponse + */ +export declare class GetSIPInboundTrunkResponse extends Message { + /** + * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; + */ + trunk?: SIPInboundTrunkInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; + + static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; + + static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.GetSIPOutboundTrunkRequest + */ +export declare class GetSIPOutboundTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; + + static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.GetSIPOutboundTrunkResponse + */ +export declare class GetSIPOutboundTrunkResponse extends Message { + /** + * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; + */ + trunk?: SIPOutboundTrunkInfo; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; + + static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; + + static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPTrunkRequest + * @deprecated + */ +export declare class ListSIPTrunkRequest extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; + + static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPTrunkResponse + * @deprecated + */ +export declare class ListSIPTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPTrunkInfo items = 1; + */ + items: SIPTrunkInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPTrunkResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; + + static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPInboundTrunkRequest + */ +export declare class ListSIPInboundTrunkRequest extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; + + static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPInboundTrunkResponse + */ +export declare class ListSIPInboundTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; + */ + items: SIPInboundTrunkInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; + + static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPOutboundTrunkRequest + */ +export declare class ListSIPOutboundTrunkRequest extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; + + static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPOutboundTrunkResponse + */ +export declare class ListSIPOutboundTrunkResponse extends Message { + /** + * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; + */ + items: SIPOutboundTrunkInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; + + static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteSIPTrunkRequest + */ +export declare class DeleteSIPTrunkRequest extends Message { + /** + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteSIPTrunkRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; + + static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPDispatchRuleDirect + */ +export declare class SIPDispatchRuleDirect extends Message { + /** + * What room should call be directed into + * + * @generated from field: string room_name = 1; + */ + roomName: string; + + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleDirect"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; + + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; + + static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPDispatchRuleIndividual + */ +export declare class SIPDispatchRuleIndividual extends Message { + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + roomPrefix: string; + + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleIndividual"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; + + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; + + static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPDispatchRuleCallee + */ +export declare class SIPDispatchRuleCallee extends Message { + /** + * Prefix used on new room name + * + * @generated from field: string room_prefix = 1; + */ + roomPrefix: string; + + /** + * Optional pin required to enter room + * + * @generated from field: string pin = 2; + */ + pin: string; + + /** + * Optionally append random suffix + * + * @generated from field: bool randomize = 3; + */ + randomize: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleCallee"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; + + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; + + static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPDispatchRule + */ +export declare class SIPDispatchRule extends Message { + /** + * @generated from oneof livekit.SIPDispatchRule.rule + */ + rule: { + /** + * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room + * This places users into an existing room. Optionally you can require a pin before a user can + * enter the room + * + * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; + */ + value: SIPDispatchRuleDirect; + case: "dispatchRuleDirect"; + } | { + /** + * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. + * + * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; + */ + value: SIPDispatchRuleIndividual; + case: "dispatchRuleIndividual"; + } | { + /** + * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. + * + * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; + */ + value: SIPDispatchRuleCallee; + case: "dispatchRuleCallee"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRule"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; + + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; + + static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.CreateSIPDispatchRuleRequest + */ +export declare class CreateSIPDispatchRuleRequest extends Message { + /** + * @generated from field: livekit.SIPDispatchRule rule = 1; + */ + rule?: SIPDispatchRule; + + /** + * What trunks are accepted for this dispatch rule + * If empty all trunks will match this dispatch rule + * + * @generated from field: repeated string trunk_ids = 2; + */ + trunkIds: string[]; + + /** + * By default the From value (Phone number) is used for participant name/identity and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 3; + */ + hidePhoneNumber: boolean; + + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 6; + */ + inboundNumbers: string[]; + + /** + * Optional human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 4; + */ + name: string; + + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 5; + */ + metadata: string; + + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 7; + */ + attributes: { [key: string]: string }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; + + static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPDispatchRuleInfo + */ +export declare class SIPDispatchRuleInfo extends Message { + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + sipDispatchRuleId: string; + + /** + * @generated from field: livekit.SIPDispatchRule rule = 2; + */ + rule?: SIPDispatchRule; + + /** + * @generated from field: repeated string trunk_ids = 3; + */ + trunkIds: string[]; + + /** + * @generated from field: bool hide_phone_number = 4; + */ + hidePhoneNumber: boolean; + + /** + * Dispatch Rule will only accept a call made to these numbers (if set). + * + * @generated from field: repeated string inbound_numbers = 7; + */ + inboundNumbers: string[]; + + /** + * Human-readable name for the Dispatch Rule. + * + * @generated from field: string name = 5; + */ + name: string; + + /** + * User-defined metadata for the Dispatch Rule. + * Participants created by this rule will inherit this metadata. + * + * @generated from field: string metadata = 6; + */ + metadata: string; + + /** + * User-defined attributes for the Dispatch Rule. + * Participants created by this rule will inherit these attributes. + * + * @generated from field: map attributes = 8; + */ + attributes: { [key: string]: string }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPDispatchRuleInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; + + static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPDispatchRuleRequest + */ +export declare class ListSIPDispatchRuleRequest extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; + + static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.ListSIPDispatchRuleResponse + */ +export declare class ListSIPDispatchRuleResponse extends Message { + /** + * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; + */ + items: SIPDispatchRuleInfo[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; + + static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.DeleteSIPDispatchRuleRequest + */ +export declare class DeleteSIPDispatchRuleRequest extends Message { + /** + * @generated from field: string sip_dispatch_rule_id = 1; + */ + sipDispatchRuleId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; + + static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; +} + +/** + * A SIP Participant is a singular SIP session connected to a LiveKit room via + * a SIP Trunk into a SIP DispatchRule + * + * @generated from message livekit.CreateSIPParticipantRequest + */ +export declare class CreateSIPParticipantRequest extends Message { + /** + * What SIP Trunk should be used to dial the user + * + * @generated from field: string sip_trunk_id = 1; + */ + sipTrunkId: string; + + /** + * What number should be dialed via SIP + * + * @generated from field: string sip_call_to = 2; + */ + sipCallTo: string; + + /** + * Optional SIP From number to use. If empty, trunk number is used. + * + * @generated from field: string sip_number = 15; + */ + sipNumber: string; + + /** + * What LiveKit room should this participant be connected too + * + * @generated from field: string room_name = 3; + */ + roomName: string; + + /** + * Optional identity of the participant in LiveKit room + * + * @generated from field: string participant_identity = 4; + */ + participantIdentity: string; + + /** + * Optional name of the participant in LiveKit room + * + * @generated from field: string participant_name = 7; + */ + participantName: string; + + /** + * Optional user-defined metadata. Will be attached to a created Participant in the room. + * + * @generated from field: string participant_metadata = 8; + */ + participantMetadata: string; + + /** + * Optional user-defined attributes. Will be attached to a created Participant in the room. + * + * @generated from field: map participant_attributes = 9; + */ + participantAttributes: { [key: string]: string }; + + /** + * Optionally send following DTMF digits (extension codes) when making a call. + * Character 'w' can be used to add a 0.5 sec delay. + * + * @generated from field: string dtmf = 5; + */ + dtmf: string; + + /** + * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. + * + * @generated from field: bool play_ringtone = 6 [deprecated = true]; + * @deprecated + */ + playRingtone: boolean; + + /** + * @generated from field: bool play_dialtone = 13; + */ + playDialtone: boolean; + + /** + * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. + * If true, a random value for identity will be used and numbers will be omitted from attributes. + * + * @generated from field: bool hide_phone_number = 10; + */ + hidePhoneNumber: boolean; + + /** + * Max time for the callee to answer the call. + * + * @generated from field: google.protobuf.Duration ringing_timeout = 11; + */ + ringingTimeout?: Duration; + + /** + * Max call duration. + * + * @generated from field: google.protobuf.Duration max_call_duration = 12; + */ + maxCallDuration?: Duration; + + /** + * Enable voice isolation for the callee. + * + * NEXT ID: 16 + * + * @generated from field: bool enable_krisp = 14; + */ + enableKrisp: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.CreateSIPParticipantRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; + + static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPParticipantInfo + */ +export declare class SIPParticipantInfo extends Message { + /** + * @generated from field: string participant_id = 1; + */ + participantId: string; + + /** + * @generated from field: string participant_identity = 2; + */ + participantIdentity: string; + + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + + /** + * @generated from field: string sip_call_id = 4; + */ + sipCallId: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPParticipantInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; + + static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.TransferSIPParticipantRequest + */ +export declare class TransferSIPParticipantRequest extends Message { + /** + * @generated from field: string participant_identity = 1; + */ + participantIdentity: string; + + /** + * @generated from field: string room_name = 2; + */ + roomName: string; + + /** + * @generated from field: string transfer_to = 3; + */ + transferTo: string; + + /** + * Optionally play dialtone to the SIP participant as an audible indicator of being transferred + * + * @generated from field: bool play_dialtone = 4; + */ + playDialtone: boolean; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.TransferSIPParticipantRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; + + static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; + + static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPCallInfo + */ +export declare class SIPCallInfo extends Message { + /** + * @generated from field: string call_id = 1; + */ + callId: string; + + /** + * @generated from field: string trunk_id = 2; + */ + trunkId: string; + + /** + * @generated from field: string room_name = 3; + */ + roomName: string; + + /** + * ID of the current/previous room published to + * + * @generated from field: string room_id = 4; + */ + roomId: string; + + /** + * @generated from field: string participant_identity = 5; + */ + participantIdentity: string; + + /** + * @generated from field: livekit.SIPUri from_uri = 6; + */ + fromUri?: SIPUri; + + /** + * @generated from field: livekit.SIPUri to_uri = 7; + */ + toUri?: SIPUri; + + /** + * @generated from field: repeated livekit.SIPFeature enabled_features = 14; + */ + enabledFeatures: SIPFeature[]; + + /** + * @generated from field: livekit.SIPCallStatus call_status = 8; + */ + callStatus: SIPCallStatus; + + /** + * @generated from field: int64 created_at = 9; + */ + createdAt: bigint; + + /** + * @generated from field: int64 started_at = 10; + */ + startedAt: bigint; + + /** + * @generated from field: int64 ended_at = 11; + */ + endedAt: bigint; + + /** + * @generated from field: livekit.DisconnectReason disconnect_reason = 12; + */ + disconnectReason: DisconnectReason; + + /** + * @generated from field: string error = 13; + */ + error: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPCallInfo"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; + + static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; + + static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; +} + +/** + * @generated from message livekit.SIPUri + */ +export declare class SIPUri extends Message { + /** + * @generated from field: string user = 1; + */ + user: string; + + /** + * @generated from field: string host = 2; + */ + host: string; + + /** + * @generated from field: string ip = 3; + */ + ip: string; + + /** + * @generated from field: uint32 port = 4; + */ + port: number; + + /** + * @generated from field: livekit.SIPTransport transport = 5; + */ + transport: SIPTransport; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.SIPUri"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; + + static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; + + static fromJsonString(jsonString: string, options?: Partial): SIPUri; + + static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_sip_pb.js b/packages/javascript/src/gen/livekit_sip_pb.js new file mode 100644 index 00000000..5f015afd --- /dev/null +++ b/packages/javascript/src/gen/livekit_sip_pb.js @@ -0,0 +1,483 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_sip.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { Duration, proto3 } from "@bufbuild/protobuf"; +import { DisconnectReason } from "./livekit_models_pb.js"; + +/** + * @generated from enum livekit.SIPTransport + */ +export const SIPTransport = /*@__PURE__*/ proto3.makeEnum( + "livekit.SIPTransport", + [ + {no: 0, name: "SIP_TRANSPORT_AUTO"}, + {no: 1, name: "SIP_TRANSPORT_UDP"}, + {no: 2, name: "SIP_TRANSPORT_TCP"}, + {no: 3, name: "SIP_TRANSPORT_TLS"}, + ], +); + +/** + * @generated from enum livekit.SIPCallStatus + */ +export const SIPCallStatus = /*@__PURE__*/ proto3.makeEnum( + "livekit.SIPCallStatus", + [ + {no: 0, name: "SCS_CALL_INCOMING"}, + {no: 1, name: "SCS_PARTICIPANT_JOINED"}, + {no: 2, name: "SCS_ACTIVE"}, + {no: 3, name: "SCS_DISCONNECTED"}, + {no: 4, name: "SCS_ERROR"}, + ], +); + +/** + * @generated from enum livekit.SIPFeature + */ +export const SIPFeature = /*@__PURE__*/ proto3.makeEnum( + "livekit.SIPFeature", + [ + {no: 0, name: "NONE"}, + {no: 1, name: "KRISP_ENABLED"}, + ], +); + +/** + * @generated from message livekit.CreateSIPTrunkRequest + * @deprecated + */ +export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateSIPTrunkRequest", + () => [ + { no: 1, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 9, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SIPTrunkInfo + * @deprecated + */ +export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPTrunkInfo", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, + { no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, + { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 10, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 12, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from enum livekit.SIPTrunkInfo.TrunkKind + */ +export const SIPTrunkInfo_TrunkKind = /*@__PURE__*/ proto3.makeEnum( + "livekit.SIPTrunkInfo.TrunkKind", + [ + {no: 0, name: "TRUNK_LEGACY"}, + {no: 1, name: "TRUNK_INBOUND"}, + {no: 2, name: "TRUNK_OUTBOUND"}, + ], +); + +/** + * @generated from message livekit.CreateSIPInboundTrunkRequest + */ +export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateSIPInboundTrunkRequest", + () => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }, + ], +); + +/** + * @generated from message livekit.SIPInboundTrunkInfo + */ +export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPInboundTrunkInfo", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "allowed_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: Duration }, + { no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.CreateSIPOutboundTrunkRequest + */ +export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateSIPOutboundTrunkRequest", + () => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }, + ], +); + +/** + * @generated from message livekit.SIPOutboundTrunkInfo + */ +export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPOutboundTrunkInfo", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, + { no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ], +); + +/** + * @generated from message livekit.GetSIPInboundTrunkRequest + */ +export const GetSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.GetSIPInboundTrunkRequest", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.GetSIPInboundTrunkResponse + */ +export const GetSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.GetSIPInboundTrunkResponse", + () => [ + { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }, + ], +); + +/** + * @generated from message livekit.GetSIPOutboundTrunkRequest + */ +export const GetSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.GetSIPOutboundTrunkRequest", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.GetSIPOutboundTrunkResponse + */ +export const GetSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.GetSIPOutboundTrunkResponse", + () => [ + { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }, + ], +); + +/** + * @generated from message livekit.ListSIPTrunkRequest + * @deprecated + */ +export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPTrunkRequest", + [], +); + +/** + * @generated from message livekit.ListSIPTrunkResponse + * @deprecated + */ +export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPTrunkResponse", + () => [ + { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.ListSIPInboundTrunkRequest + */ +export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPInboundTrunkRequest", + [], +); + +/** + * @generated from message livekit.ListSIPInboundTrunkResponse + */ +export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPInboundTrunkResponse", + () => [ + { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.ListSIPOutboundTrunkRequest + */ +export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPOutboundTrunkRequest", + [], +); + +/** + * @generated from message livekit.ListSIPOutboundTrunkResponse + */ +export const ListSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPOutboundTrunkResponse", + () => [ + { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.DeleteSIPTrunkRequest + */ +export const DeleteSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteSIPTrunkRequest", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SIPDispatchRuleDirect + */ +export const SIPDispatchRuleDirect = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPDispatchRuleDirect", + () => [ + { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SIPDispatchRuleIndividual + */ +export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPDispatchRuleIndividual", + () => [ + { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SIPDispatchRuleCallee + */ +export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPDispatchRuleCallee", + () => [ + { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.SIPDispatchRule + */ +export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPDispatchRule", + () => [ + { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, + { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, + { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" }, + ], +); + +/** + * @generated from message livekit.CreateSIPDispatchRuleRequest + */ +export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateSIPDispatchRuleRequest", + () => [ + { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ], +); + +/** + * @generated from message livekit.SIPDispatchRuleInfo + */ +export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPDispatchRuleInfo", + () => [ + { no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, + { no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + ], +); + +/** + * @generated from message livekit.ListSIPDispatchRuleRequest + */ +export const ListSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPDispatchRuleRequest", + [], +); + +/** + * @generated from message livekit.ListSIPDispatchRuleResponse + */ +export const ListSIPDispatchRuleResponse = /*@__PURE__*/ proto3.makeMessageType( + "livekit.ListSIPDispatchRuleResponse", + () => [ + { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true }, + ], +); + +/** + * @generated from message livekit.DeleteSIPDispatchRuleRequest + */ +export const DeleteSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.DeleteSIPDispatchRuleRequest", + () => [ + { no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * A SIP Participant is a singular SIP session connected to a LiveKit room via + * a SIP Trunk into a SIP DispatchRule + * + * @generated from message livekit.CreateSIPParticipantRequest + */ +export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.CreateSIPParticipantRequest", + () => [ + { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, + { no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 13, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, + { no: 12, name: "max_call_duration", kind: "message", T: Duration }, + { no: 14, name: "enable_krisp", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.SIPParticipantInfo + */ +export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPParticipantInfo", + () => [ + { no: 1, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.TransferSIPParticipantRequest + */ +export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( + "livekit.TransferSIPParticipantRequest", + () => [ + { no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ], +); + +/** + * @generated from message livekit.SIPCallInfo + */ +export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPCallInfo", + () => [ + { no: 1, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "from_uri", kind: "message", T: SIPUri }, + { no: 7, name: "to_uri", kind: "message", T: SIPUri }, + { no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true }, + { no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) }, + { no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, + { no: 13, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message livekit.SIPUri + */ +export const SIPUri = /*@__PURE__*/ proto3.makeMessageType( + "livekit.SIPUri", + () => [ + { no: 1, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, + { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, + ], +); + diff --git a/packages/javascript/src/gen/livekit_webhook_pb.d.ts b/packages/javascript/src/gen/livekit_webhook_pb.d.ts new file mode 100644 index 00000000..40650e36 --- /dev/null +++ b/packages/javascript/src/gen/livekit_webhook_pb.d.ts @@ -0,0 +1,105 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_webhook.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; +import type { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; +import type { EgressInfo } from "./livekit_egress_pb.js"; +import type { IngressInfo } from "./livekit_ingress_pb.js"; + +/** + * @generated from message livekit.WebhookEvent + */ +export declare class WebhookEvent extends Message { + /** + * one of room_started, room_finished, participant_joined, participant_left, + * track_published, track_unpublished, egress_started, egress_updated, egress_ended, + * ingress_started, ingress_ended + * + * @generated from field: string event = 1; + */ + event: string; + + /** + * @generated from field: livekit.Room room = 2; + */ + room?: Room; + + /** + * set when event is participant_* or track_* + * + * @generated from field: livekit.ParticipantInfo participant = 3; + */ + participant?: ParticipantInfo; + + /** + * set when event is egress_* + * + * @generated from field: livekit.EgressInfo egress_info = 9; + */ + egressInfo?: EgressInfo; + + /** + * set when event is ingress_* + * + * @generated from field: livekit.IngressInfo ingress_info = 10; + */ + ingressInfo?: IngressInfo; + + /** + * set when event is track_* + * + * @generated from field: livekit.TrackInfo track = 8; + */ + track?: TrackInfo; + + /** + * unique event uuid + * + * @generated from field: string id = 6; + */ + id: string; + + /** + * timestamp in seconds + * + * @generated from field: int64 created_at = 7; + */ + createdAt: bigint; + + /** + * @generated from field: int32 num_dropped = 11; + */ + numDropped: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "livekit.WebhookEvent"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent; + + static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent; + + static fromJsonString(jsonString: string, options?: Partial): WebhookEvent; + + static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean; +} + diff --git a/packages/javascript/src/gen/livekit_webhook_pb.js b/packages/javascript/src/gen/livekit_webhook_pb.js new file mode 100644 index 00000000..c736bfc5 --- /dev/null +++ b/packages/javascript/src/gen/livekit_webhook_pb.js @@ -0,0 +1,42 @@ +// Copyright 2023 LiveKit, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" +// @generated from file livekit_webhook.proto (package livekit, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3 } from "@bufbuild/protobuf"; +import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; +import { EgressInfo } from "./livekit_egress_pb.js"; +import { IngressInfo } from "./livekit_ingress_pb.js"; + +/** + * @generated from message livekit.WebhookEvent + */ +export const WebhookEvent = /*@__PURE__*/ proto3.makeMessageType( + "livekit.WebhookEvent", + () => [ + { no: 1, name: "event", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "room", kind: "message", T: Room }, + { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, + { no: 9, name: "egress_info", kind: "message", T: EgressInfo }, + { no: 10, name: "ingress_info", kind: "message", T: IngressInfo }, + { no: 8, name: "track", kind: "message", T: TrackInfo }, + { no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + { no: 11, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ], +); + diff --git a/packages/javascript/src/gen/version.js b/packages/javascript/src/gen/version.js new file mode 100644 index 00000000..1252b8ea --- /dev/null +++ b/packages/javascript/src/gen/version.js @@ -0,0 +1,2 @@ +// Generated by genversion. +export const version = '1.29.2'; diff --git a/packages/javascript/src/esm/index.d.ts b/packages/javascript/src/index.d.ts similarity index 100% rename from packages/javascript/src/esm/index.d.ts rename to packages/javascript/src/index.d.ts diff --git a/packages/javascript/src/esm/index.js b/packages/javascript/src/index.js similarity index 97% rename from packages/javascript/src/esm/index.js rename to packages/javascript/src/index.js index 094183bb..4c20c141 100644 --- a/packages/javascript/src/esm/index.js +++ b/packages/javascript/src/index.js @@ -1,3 +1,4 @@ +// @ts-check export { protoInt64 } from "@bufbuild/protobuf"; export * from "./gen/livekit_agent_dispatch_pb.js"; export * from "./gen/livekit_agent_pb.js"; diff --git a/packages/javascript/tsup.config.ts b/packages/javascript/tsup.config.ts deleted file mode 100644 index e13e726c..00000000 --- a/packages/javascript/tsup.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Options } from 'tsup'; - -const defaultOptions: Options = { - entry: ['src/**/*.ts'], - format: ['cjs', 'esm'], - splitting: false, - sourcemap: true, - // for the type maps to work, we use tsc's declaration-only command - dts: false, - clean: true, - target: 'node16', - bundle: false, - esbuildOptions: (options, context) => { - if (context.format === 'esm') { - options.packages = 'external'; - } - }, - plugins: [ - { - // https://github.com/egoist/tsup/issues/953#issuecomment-2294998890 - // ensuring that all local requires/imports in `.cjs` files import from `.cjs` files. - // require('./path') → require('./path.cjs') in `.cjs` files - // require('../path') → require('../path.cjs') in `.cjs` files - // from './path' → from './path.cjs' in `.cjs` files - // from '../path' → from '../path.cjs' in `.cjs` files - name: 'fix-cjs-imports', - renderChunk(code) { - if (this.format === 'cjs') { - const regexCjs = /require\((?['"])(?\.[^'"]+)\.js['"]\)/g; - const regexDynamic = /import\((?['"])(?\.[^'"]+)\.js['"]\)/g; - const regexEsm = /from(?[\s]*)(?['"])(?\.[^'"]+)\.js['"]/g; - return { - code: code - .replace(regexCjs, 'require($$.cjs$)') - .replace(regexDynamic, 'import($$.cjs$)') - .replace(regexEsm, 'from$$$.cjs$'), - }; - } - }, - }, - ] -}; -export default defaultOptions; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 78ad12d5..a907def8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,13 +30,87 @@ importers: genversion: specifier: ^3.2.0 version: 3.2.0 + unbuild: + specifier: ^2.0.0 + version: 2.0.0(typescript@4.5.2) packages: + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.26.2': + resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.26.0': + resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.26.2': + resolution: {integrity: sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.25.9': + resolution: {integrity: sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.25.9': + resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.26.0': + resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-string-parser@7.25.9': + resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.25.9': + resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.25.9': + resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.26.0': + resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.26.2': + resolution: {integrity: sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/runtime@7.26.0': resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} engines: {node: '>=6.9.0'} + '@babel/standalone@7.26.2': + resolution: {integrity: sha512-i2VbegsRfwa9yq3xmfDX3tG2yh9K0cCqwpSyVG2nPxifh0EOnucAZUeO/g4lW2Zfg03aPJNtPfxQbDHzXc7H+w==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.25.9': + resolution: {integrity: sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.25.9': + resolution: {integrity: sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.26.0': + resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} + engines: {node: '>=6.9.0'} + '@bufbuild/protobuf@1.10.0': resolution: {integrity: sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==} @@ -114,108 +188,216 @@ packages: '@changesets/write@0.3.2': resolution: {integrity: sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw==} + '@esbuild/aix-ppc64@0.19.12': + resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + '@esbuild/aix-ppc64@0.24.0': resolution: {integrity: sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] + '@esbuild/android-arm64@0.19.12': + resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + '@esbuild/android-arm64@0.24.0': resolution: {integrity: sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==} engines: {node: '>=18'} cpu: [arm64] os: [android] + '@esbuild/android-arm@0.19.12': + resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + '@esbuild/android-arm@0.24.0': resolution: {integrity: sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==} engines: {node: '>=18'} cpu: [arm] os: [android] + '@esbuild/android-x64@0.19.12': + resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + '@esbuild/android-x64@0.24.0': resolution: {integrity: sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==} engines: {node: '>=18'} cpu: [x64] os: [android] + '@esbuild/darwin-arm64@0.19.12': + resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + '@esbuild/darwin-arm64@0.24.0': resolution: {integrity: sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] + '@esbuild/darwin-x64@0.19.12': + resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + '@esbuild/darwin-x64@0.24.0': resolution: {integrity: sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==} engines: {node: '>=18'} cpu: [x64] os: [darwin] + '@esbuild/freebsd-arm64@0.19.12': + resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + '@esbuild/freebsd-arm64@0.24.0': resolution: {integrity: sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] + '@esbuild/freebsd-x64@0.19.12': + resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + '@esbuild/freebsd-x64@0.24.0': resolution: {integrity: sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] + '@esbuild/linux-arm64@0.19.12': + resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + '@esbuild/linux-arm64@0.24.0': resolution: {integrity: sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==} engines: {node: '>=18'} cpu: [arm64] os: [linux] + '@esbuild/linux-arm@0.19.12': + resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + '@esbuild/linux-arm@0.24.0': resolution: {integrity: sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==} engines: {node: '>=18'} cpu: [arm] os: [linux] + '@esbuild/linux-ia32@0.19.12': + resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + '@esbuild/linux-ia32@0.24.0': resolution: {integrity: sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==} engines: {node: '>=18'} cpu: [ia32] os: [linux] + '@esbuild/linux-loong64@0.19.12': + resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + '@esbuild/linux-loong64@0.24.0': resolution: {integrity: sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==} engines: {node: '>=18'} cpu: [loong64] os: [linux] + '@esbuild/linux-mips64el@0.19.12': + resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + '@esbuild/linux-mips64el@0.24.0': resolution: {integrity: sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] + '@esbuild/linux-ppc64@0.19.12': + resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + '@esbuild/linux-ppc64@0.24.0': resolution: {integrity: sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==} engines: {node: '>=18'} cpu: [ppc64] os: [linux] + '@esbuild/linux-riscv64@0.19.12': + resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + '@esbuild/linux-riscv64@0.24.0': resolution: {integrity: sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] + '@esbuild/linux-s390x@0.19.12': + resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + '@esbuild/linux-s390x@0.24.0': resolution: {integrity: sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==} engines: {node: '>=18'} cpu: [s390x] os: [linux] + '@esbuild/linux-x64@0.19.12': + resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + '@esbuild/linux-x64@0.24.0': resolution: {integrity: sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==} engines: {node: '>=18'} cpu: [x64] os: [linux] + '@esbuild/netbsd-x64@0.19.12': + resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + '@esbuild/netbsd-x64@0.24.0': resolution: {integrity: sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==} engines: {node: '>=18'} @@ -228,36 +410,84 @@ packages: cpu: [arm64] os: [openbsd] + '@esbuild/openbsd-x64@0.19.12': + resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + '@esbuild/openbsd-x64@0.24.0': resolution: {integrity: sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==} engines: {node: '>=18'} cpu: [x64] os: [openbsd] + '@esbuild/sunos-x64@0.19.12': + resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + '@esbuild/sunos-x64@0.24.0': resolution: {integrity: sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==} engines: {node: '>=18'} cpu: [x64] os: [sunos] + '@esbuild/win32-arm64@0.19.12': + resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + '@esbuild/win32-arm64@0.24.0': resolution: {integrity: sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==} engines: {node: '>=18'} cpu: [arm64] os: [win32] + '@esbuild/win32-ia32@0.19.12': + resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + '@esbuild/win32-ia32@0.24.0': resolution: {integrity: sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==} engines: {node: '>=18'} cpu: [ia32] os: [win32] + '@esbuild/win32-x64@0.19.12': + resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + '@esbuild/win32-x64@0.24.0': resolution: {integrity: sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==} engines: {node: '>=18'} cpu: [x64] os: [win32] + '@jridgewell/gen-mapping@0.3.5': + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@livekit/changesets-changelog-github@0.0.4': resolution: {integrity: sha512-MXaiLYwgkYciZb8G2wkVtZ1pJJzZmVx5cM30Q+ClslrIYyAqQhRbPmZDM79/5CGxb1MTemR/tfOM25tgJgAK0g==} @@ -279,14 +509,83 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@rollup/plugin-alias@5.1.1': + resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-commonjs@25.0.8': + resolution: {integrity: sha512-ZEZWTK5n6Qde0to4vS9Mr5x/0UZoqCxPVR9KRUjU4kA2sO7GEUn1fop0DAwpO6z0Nw/kJON9bDmSxdWxO/TT1A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.68.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-json@6.1.0': + resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-node-resolve@15.3.0': + resolution: {integrity: sha512-9eO5McEICxMzJpDW9OnMYSv4Sta3hmt7VtBFz5zR9273suNOydOyq/FrGeGy+KsTRFm8w0SLVhzig2ILFT63Ag==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/plugin-replace@5.0.7': + resolution: {integrity: sha512-PqxSfuorkHz/SPpyngLyg5GCEkOcee9M1bkxiVDr41Pd61mqP1PLOoDPbpl44SB2mQGKwV/In74gqQmGITOhEQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/pluginutils@5.1.3': + resolution: {integrity: sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@trysound/sax@0.2.0': + resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} + engines: {node: '>=10.13.0'} + + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/resolve@1.20.2': + resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} + '@typescript/vfs@1.5.3': resolution: {integrity: sha512-OSZ/o3wwD5VPZVdGGsXWk7sRGRtwrGnqA4zwmb33FTs7Wxmad0QTkQCbaNyqWA8hL09TCwAthdp8yjFA5G1lvw==} peerDependencies: typescript: '*' + acorn@8.14.0: + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + engines: {node: '>=0.4.0'} + hasBin: true + ansi-colors@4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} @@ -309,6 +608,13 @@ packages: async@3.2.6: resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} + autoprefixer@10.4.20: + resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -316,6 +622,9 @@ packages: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} engines: {node: '>=4'} + boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} @@ -326,10 +635,25 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} + browserslist@4.24.2: + resolution: {integrity: sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + caniuse-api@3.0.0: + resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} + + caniuse-lite@1.0.30001684: + resolution: {integrity: sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==} + chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} + chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -337,6 +661,9 @@ packages: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} + citty@0.1.6: + resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==} + color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -344,17 +671,81 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + colord@2.9.3: + resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} + commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} + commondir@1.0.1: + resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + confbox@0.1.8: + resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + + consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} + css-declaration-sorter@7.2.0: + resolution: {integrity: sha512-h70rUM+3PNFuaBDTLe8wF/cdWu+dOZmb7pJt8Z2sedYbAcQVQV/tEchueg3GWxwqS0cxtbxmaHEdkNACqcvsow==} + engines: {node: ^14 || ^16 || >=18} + peerDependencies: + postcss: ^8.0.9 + + css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + + css-tree@2.2.1: + resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + + css-tree@2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + + css-what@6.1.0: + resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + engines: {node: '>= 6'} + + cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + + cssnano-preset-default@7.0.6: + resolution: {integrity: sha512-ZzrgYupYxEvdGGuqL+JKOY70s7+saoNlHSCK/OGn1vB2pQK8KSET8jvenzItcY+kA7NoWvfbb/YhlzuzNKjOhQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + cssnano-utils@5.0.0: + resolution: {integrity: sha512-Uij0Xdxc24L6SirFr25MlwC2rCFX6scyUmuKpzI+JQ7cyqDEwD42fJ0xfB3yLfOnRDU5LKGgjQ9FA6LYh76GWQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + cssnano@7.0.6: + resolution: {integrity: sha512-54woqx8SCbp8HwvNZYn68ZFAepuouZW4lTwiMVnBErM3VkO7/Sd4oTOt3Zz3bPx3kxQ36aISppyXj2Md4lg8bw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + csso@5.0.5: + resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + dataloader@1.4.0: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} @@ -367,6 +758,13 @@ packages: supports-color: optional: true + deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + + defu@6.1.4: + resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} @@ -375,6 +773,19 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} + dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + + domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + + domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + + domutils@3.1.0: + resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} + dotenv@8.6.0: resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==} engines: {node: '>=10'} @@ -384,20 +795,39 @@ packages: engines: {node: '>=0.10.0'} hasBin: true + electron-to-chromium@1.5.67: + resolution: {integrity: sha512-nz88NNBsD7kQSAGGJyp8hS6xSPtWwqNogA0mjtc2nUYeEf3nURK9qpV18TuBdDmEDgVWotS8Wkzf+V52dSQ/LQ==} + enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} + entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + esbuild@0.19.12: + resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==} + engines: {node: '>=12'} + hasBin: true + esbuild@0.24.0: resolution: {integrity: sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==} engines: {node: '>=18'} hasBin: true + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + extendable-error@0.1.7: resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} @@ -412,6 +842,14 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} @@ -426,6 +864,9 @@ packages: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} + fraction.js@4.3.7: + resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} + fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -434,6 +875,21 @@ packages: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + genversion@3.2.0: resolution: {integrity: sha512-OIYSX6XYA8PHecLDCTri30hadSZfAjZ8Iq1+BBDXqLWP4dRLuJNLoNjsSWtTpw97IccK2LDWzkEstxAB8GdN7g==} engines: {node: '>=10.0.0'} @@ -443,10 +899,23 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} + glob@8.1.0: + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} + globby@13.2.2: + resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} @@ -454,6 +923,13 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} @@ -465,6 +941,17 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} + is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -473,10 +960,16 @@ packages: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} + is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} + is-reference@1.2.1: + resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} + is-subdir@1.2.0: resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} engines: {node: '>=4'} @@ -493,20 +986,63 @@ packages: engines: {node: '>=10'} hasBin: true + jiti@1.21.6: + resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} + hasBin: true + + jiti@2.4.1: + resolution: {integrity: sha512-yPBThwecp1wS9DmoA4x4KR2h3QoslacnDR8ypuFM962kI4/456Iy1oHx2RAgh4jfZNdn0bctsdadceiBUgpU1g==} + hasBin: true + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true + jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + lilconfig@3.1.2: + resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} + engines: {node: '>=14'} + locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} + lodash.memoize@4.1.2: + resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + lodash.uniq@4.5.0: + resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + magic-string@0.30.14: + resolution: {integrity: sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==} + + mdn-data@2.0.28: + resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} + + mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -522,6 +1058,24 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} + mkdist@1.6.0: + resolution: {integrity: sha512-nD7J/mx33Lwm4Q4qoPgRBVA9JQNKgyE7fLo5vdPWVDdjz96pXglGERp/fRnGPCTB37Kykfxs5bDdXa9BWOT9nw==} + hasBin: true + peerDependencies: + sass: ^1.78.0 + typescript: '>=5.5.4' + vue-tsc: ^1.8.27 || ^2.0.21 + peerDependenciesMeta: + sass: + optional: true + typescript: + optional: true + vue-tsc: + optional: true + + mlly@1.7.3: + resolution: {integrity: sha512-xUsx5n/mN0uQf4V548PKQ+YShA4/IW0KI1dZhrNrPCLG+xizETbHTkOa1f8/xut9JRPp8kQuMnz0oqwkTiLo/A==} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -529,6 +1083,11 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + nanoid@3.3.8: + resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -538,6 +1097,19 @@ packages: encoding: optional: true + node-releases@2.0.18: + resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} + + normalize-range@0.1.2: + resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} + engines: {node: '>=0.10.0'} + + nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + os-tmpdir@1.0.2: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} @@ -579,6 +1151,9 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + path-platform@0.11.15: resolution: {integrity: sha512-Y30dB6rab1A/nfEKsZxmr01nUotHX0c/ZiIAsCTatEe1CmS5Pm5He7fZ195bPT7RdquoaL8lLxFCMQi/bS7IJg==} engines: {node: '>= 0.8.0'} @@ -587,6 +1162,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -594,39 +1172,252 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} - prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} - hasBin: true + pkg-types@1.2.1: + resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==} - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + postcss-calc@10.0.2: + resolution: {integrity: sha512-DT/Wwm6fCKgpYVI7ZEWuPJ4az8hiEHtCUeYjZXqU7Ou4QqYh1Df2yCQ7Ca6N7xqKPFkxN3fhf+u9KSoOCJNAjg==} + engines: {node: ^18.12 || ^20.9 || >=22.0} + peerDependencies: + postcss: ^8.4.38 - read-yaml-file@1.1.0: - resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} - engines: {node: '>=6'} + postcss-colormin@7.0.2: + resolution: {integrity: sha512-YntRXNngcvEvDbEjTdRWGU606eZvB5prmHG4BF0yLmVpamXbpsRJzevyy6MZVyuecgzI2AWAlvFi8DAeCqwpvA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 - regenerator-runtime@0.14.1: + postcss-convert-values@7.0.4: + resolution: {integrity: sha512-e2LSXPqEHVW6aoGbjV9RsSSNDO3A0rZLCBxN24zvxF25WknMPpX8Dm9UxxThyEbaytzggRuZxaGXqaOhxQ514Q==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-comments@7.0.3: + resolution: {integrity: sha512-q6fjd4WU4afNhWOA2WltHgCbkRhZPgQe7cXF74fuVB/ge4QbM9HEaOIzGSiMvM+g/cOsNAUGdf2JDzqA2F8iLA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-duplicates@7.0.1: + resolution: {integrity: sha512-oZA+v8Jkpu1ct/xbbrntHRsfLGuzoP+cpt0nJe5ED2FQF8n8bJtn7Bo28jSmBYwqgqnqkuSXJfSUEE7if4nClQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-empty@7.0.0: + resolution: {integrity: sha512-e+QzoReTZ8IAwhnSdp/++7gBZ/F+nBq9y6PomfwORfP7q9nBpK5AMP64kOt0bA+lShBFbBDcgpJ3X4etHg4lzA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-discard-overridden@7.0.0: + resolution: {integrity: sha512-GmNAzx88u3k2+sBTZrJSDauR0ccpE24omTQCVmaTTZFz1du6AasspjaUPMJ2ud4RslZpoFKyf+6MSPETLojc6w==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-merge-longhand@7.0.4: + resolution: {integrity: sha512-zer1KoZA54Q8RVHKOY5vMke0cCdNxMP3KBfDerjH/BYHh4nCIh+1Yy0t1pAEQF18ac/4z3OFclO+ZVH8azjR4A==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-merge-rules@7.0.4: + resolution: {integrity: sha512-ZsaamiMVu7uBYsIdGtKJ64PkcQt6Pcpep/uO90EpLS3dxJi6OXamIobTYcImyXGoW0Wpugh7DSD3XzxZS9JCPg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-font-values@7.0.0: + resolution: {integrity: sha512-2ckkZtgT0zG8SMc5aoNwtm5234eUx1GGFJKf2b1bSp8UflqaeFzR50lid4PfqVI9NtGqJ2J4Y7fwvnP/u1cQog==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-gradients@7.0.0: + resolution: {integrity: sha512-pdUIIdj/C93ryCHew0UgBnL2DtUS3hfFa5XtERrs4x+hmpMYGhbzo6l/Ir5de41O0GaKVpK1ZbDNXSY6GkXvtg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-params@7.0.2: + resolution: {integrity: sha512-nyqVLu4MFl9df32zTsdcLqCFfE/z2+f8GE1KHPxWOAmegSo6lpV2GNy5XQvrzwbLmiU7d+fYay4cwto1oNdAaQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-minify-selectors@7.0.4: + resolution: {integrity: sha512-JG55VADcNb4xFCf75hXkzc1rNeURhlo7ugf6JjiiKRfMsKlDzN9CXHZDyiG6x/zGchpjQS+UAgb1d4nqXqOpmA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-nested@6.2.0: + resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.2.14 + + postcss-normalize-charset@7.0.0: + resolution: {integrity: sha512-ABisNUXMeZeDNzCQxPxBCkXexvBrUHV+p7/BXOY+ulxkcjUZO0cp8ekGBwvIh2LbCwnWbyMPNJVtBSdyhM2zYQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-display-values@7.0.0: + resolution: {integrity: sha512-lnFZzNPeDf5uGMPYgGOw7v0BfB45+irSRz9gHQStdkkhiM0gTfvWkWB5BMxpn0OqgOQuZG/mRlZyJxp0EImr2Q==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-positions@7.0.0: + resolution: {integrity: sha512-I0yt8wX529UKIGs2y/9Ybs2CelSvItfmvg/DBIjTnoUSrPxSV7Z0yZ8ShSVtKNaV/wAY+m7bgtyVQLhB00A1NQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-repeat-style@7.0.0: + resolution: {integrity: sha512-o3uSGYH+2q30ieM3ppu9GTjSXIzOrRdCUn8UOMGNw7Af61bmurHTWI87hRybrP6xDHvOe5WlAj3XzN6vEO8jLw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-string@7.0.0: + resolution: {integrity: sha512-w/qzL212DFVOpMy3UGyxrND+Kb0fvCiBBujiaONIihq7VvtC7bswjWgKQU/w4VcRyDD8gpfqUiBQ4DUOwEJ6Qg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-timing-functions@7.0.0: + resolution: {integrity: sha512-tNgw3YV0LYoRwg43N3lTe3AEWZ66W7Dh7lVEpJbHoKOuHc1sLrzMLMFjP8SNULHaykzsonUEDbKedv8C+7ej6g==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-unicode@7.0.2: + resolution: {integrity: sha512-ztisabK5C/+ZWBdYC+Y9JCkp3M9qBv/XFvDtSw0d/XwfT3UaKeW/YTm/MD/QrPNxuecia46vkfEhewjwcYFjkg==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-url@7.0.0: + resolution: {integrity: sha512-+d7+PpE+jyPX1hDQZYG+NaFD+Nd2ris6r8fPTBAjE8z/U41n/bib3vze8x7rKs5H1uEw5ppe9IojewouHk0klQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-normalize-whitespace@7.0.0: + resolution: {integrity: sha512-37/toN4wwZErqohedXYqWgvcHUGlT8O/m2jVkAfAe9Bd4MzRqlBmXrJRePH0e9Wgnz2X7KymTgTOaaFizQe3AQ==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-ordered-values@7.0.1: + resolution: {integrity: sha512-irWScWRL6nRzYmBOXReIKch75RRhNS86UPUAxXdmW/l0FcAsg0lvAXQCby/1lymxn/o0gVa6Rv/0f03eJOwHxw==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-reduce-initial@7.0.2: + resolution: {integrity: sha512-pOnu9zqQww7dEKf62Nuju6JgsW2V0KRNBHxeKohU+JkHd/GAH5uvoObqFLqkeB2n20mr6yrlWDvo5UBU5GnkfA==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-reduce-transforms@7.0.0: + resolution: {integrity: sha512-pnt1HKKZ07/idH8cpATX/ujMbtOGhUfE+m8gbqwJE05aTaNw8gbo34a2e3if0xc0dlu75sUOiqvwCGY3fzOHew==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-selector-parser@6.1.2: + resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} + engines: {node: '>=4'} + + postcss-svgo@7.0.1: + resolution: {integrity: sha512-0WBUlSL4lhD9rA5k1e5D8EN5wCEyZD6HJk0jIvRxl+FDVOMlJ7DePHYWGGVc5QRqrJ3/06FTXM0bxjmJpmTPSA==} + engines: {node: ^18.12.0 || ^20.9.0 || >= 18} + peerDependencies: + postcss: ^8.4.31 + + postcss-unique-selectors@7.0.3: + resolution: {integrity: sha512-J+58u5Ic5T1QjP/LDV9g3Cx4CNOgB5vz+kM6+OxHHhFACdcDeKhBXjQmB7fnIZM12YSTvsL0Opwco83DmacW2g==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + + postcss-value-parser@4.2.0: + resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} + + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} + engines: {node: ^10 || ^12 || >=14} + + prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + + pretty-bytes@6.1.1: + resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==} + engines: {node: ^14.13.1 || >=16.0.0} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} + + regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} + resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + rollup-plugin-dts@6.1.1: + resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} + engines: {node: '>=16'} + peerDependencies: + rollup: ^3.29.4 || ^4 + typescript: ^4.5 || ^5.0 + + rollup@3.29.5: + resolution: {integrity: sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + scule@1.3.0: + resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -648,6 +1439,14 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + slash@4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + spawndamnit@3.0.1: resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} @@ -662,14 +1461,33 @@ packages: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} + stylehacks@7.0.4: + resolution: {integrity: sha512-i4zfNrGMt9SB4xRK9L83rlsFCgdGANfeDAYacO1pkqcE7cRHPdWHwnKZVz7WY17Veq/FvyYsRAU++Ga+qDFIww==} + engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} + peerDependencies: + postcss: ^8.4.31 + supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + svgo@3.3.2: + resolution: {integrity: sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw==} + engines: {node: '>=14.0.0'} + hasBin: true + term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} + tinyglobby@0.2.10: + resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} + engines: {node: '>=12.0.0'} + tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -686,10 +1504,35 @@ packages: engines: {node: '>=4.2.0'} hasBin: true + ufo@1.5.4: + resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + + unbuild@2.0.0: + resolution: {integrity: sha512-JWCUYx3Oxdzvw2J9kTAp+DKE8df/BnH/JTSj6JyA4SH40ECdFu7FoJJcrm8G92B7TjofQ6GZGjJs50TRxoH6Wg==} + hasBin: true + peerDependencies: + typescript: ^5.1.6 + peerDependenciesMeta: + typescript: + optional: true + universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} + untyped@1.5.1: + resolution: {integrity: sha512-reBOnkJBFfBZ8pCKaeHgfZLcehXtM6UTxc+vqs1JvCps0c4amLNp3fhdGBZwYp+VLyoY9n3X5KOP7lCyWBUX9A==} + hasBin: true + + update-browserslist-db@1.1.1: + resolution: {integrity: sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} @@ -701,12 +1544,123 @@ packages: engines: {node: '>= 8'} hasBin: true + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + snapshots: + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + + '@babel/code-frame@7.26.2': + dependencies: + '@babel/helper-validator-identifier': 7.25.9 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/compat-data@7.26.2': {} + + '@babel/core@7.26.0': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/helper-compilation-targets': 7.25.9 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) + '@babel/helpers': 7.26.0 + '@babel/parser': 7.26.2 + '@babel/template': 7.25.9 + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + convert-source-map: 2.0.0 + debug: 4.3.5 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.26.2': + dependencies: + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 3.0.2 + + '@babel/helper-compilation-targets@7.25.9': + dependencies: + '@babel/compat-data': 7.26.2 + '@babel/helper-validator-option': 7.25.9 + browserslist: 4.24.2 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-module-imports@7.25.9': + dependencies: + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@babel/traverse': 7.25.9 + transitivePeerDependencies: + - supports-color + + '@babel/helper-string-parser@7.25.9': {} + + '@babel/helper-validator-identifier@7.25.9': {} + + '@babel/helper-validator-option@7.25.9': {} + + '@babel/helpers@7.26.0': + dependencies: + '@babel/template': 7.25.9 + '@babel/types': 7.26.0 + + '@babel/parser@7.26.2': + dependencies: + '@babel/types': 7.26.0 + '@babel/runtime@7.26.0': dependencies: regenerator-runtime: 0.14.1 + '@babel/standalone@7.26.2': {} + + '@babel/template@7.25.9': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 + + '@babel/traverse@7.25.9': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 + '@babel/template': 7.25.9 + '@babel/types': 7.26.0 + debug: 4.3.5 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.26.0': + dependencies: + '@babel/helper-string-parser': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@bufbuild/protobuf@1.10.0': {} '@bufbuild/protoc-gen-es@1.10.0(@bufbuild/protobuf@1.10.0)': @@ -876,78 +1830,164 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 + '@esbuild/aix-ppc64@0.19.12': + optional: true + '@esbuild/aix-ppc64@0.24.0': optional: true + '@esbuild/android-arm64@0.19.12': + optional: true + '@esbuild/android-arm64@0.24.0': optional: true + '@esbuild/android-arm@0.19.12': + optional: true + '@esbuild/android-arm@0.24.0': optional: true + '@esbuild/android-x64@0.19.12': + optional: true + '@esbuild/android-x64@0.24.0': optional: true + '@esbuild/darwin-arm64@0.19.12': + optional: true + '@esbuild/darwin-arm64@0.24.0': optional: true + '@esbuild/darwin-x64@0.19.12': + optional: true + '@esbuild/darwin-x64@0.24.0': optional: true + '@esbuild/freebsd-arm64@0.19.12': + optional: true + '@esbuild/freebsd-arm64@0.24.0': optional: true + '@esbuild/freebsd-x64@0.19.12': + optional: true + '@esbuild/freebsd-x64@0.24.0': optional: true + '@esbuild/linux-arm64@0.19.12': + optional: true + '@esbuild/linux-arm64@0.24.0': optional: true + '@esbuild/linux-arm@0.19.12': + optional: true + '@esbuild/linux-arm@0.24.0': optional: true + '@esbuild/linux-ia32@0.19.12': + optional: true + '@esbuild/linux-ia32@0.24.0': optional: true + '@esbuild/linux-loong64@0.19.12': + optional: true + '@esbuild/linux-loong64@0.24.0': optional: true + '@esbuild/linux-mips64el@0.19.12': + optional: true + '@esbuild/linux-mips64el@0.24.0': optional: true + '@esbuild/linux-ppc64@0.19.12': + optional: true + '@esbuild/linux-ppc64@0.24.0': optional: true + '@esbuild/linux-riscv64@0.19.12': + optional: true + '@esbuild/linux-riscv64@0.24.0': optional: true + '@esbuild/linux-s390x@0.19.12': + optional: true + '@esbuild/linux-s390x@0.24.0': optional: true + '@esbuild/linux-x64@0.19.12': + optional: true + '@esbuild/linux-x64@0.24.0': optional: true + '@esbuild/netbsd-x64@0.19.12': + optional: true + '@esbuild/netbsd-x64@0.24.0': optional: true '@esbuild/openbsd-arm64@0.24.0': optional: true + '@esbuild/openbsd-x64@0.19.12': + optional: true + '@esbuild/openbsd-x64@0.24.0': optional: true + '@esbuild/sunos-x64@0.19.12': + optional: true + '@esbuild/sunos-x64@0.24.0': optional: true + '@esbuild/win32-arm64@0.19.12': + optional: true + '@esbuild/win32-arm64@0.24.0': optional: true + '@esbuild/win32-ia32@0.19.12': + optional: true + '@esbuild/win32-ia32@0.24.0': optional: true + '@esbuild/win32-x64@0.19.12': + optional: true + '@esbuild/win32-x64@0.24.0': optional: true + '@jridgewell/gen-mapping@0.3.5': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + '@livekit/changesets-changelog-github@0.0.4': dependencies: '@changesets/get-github-info': 0.5.2 @@ -984,8 +2024,60 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 + '@rollup/plugin-alias@5.1.1(rollup@3.29.5)': + optionalDependencies: + rollup: 3.29.5 + + '@rollup/plugin-commonjs@25.0.8(rollup@3.29.5)': + dependencies: + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + commondir: 1.0.1 + estree-walker: 2.0.2 + glob: 8.1.0 + is-reference: 1.2.1 + magic-string: 0.30.14 + optionalDependencies: + rollup: 3.29.5 + + '@rollup/plugin-json@6.1.0(rollup@3.29.5)': + dependencies: + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + optionalDependencies: + rollup: 3.29.5 + + '@rollup/plugin-node-resolve@15.3.0(rollup@3.29.5)': + dependencies: + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.8 + optionalDependencies: + rollup: 3.29.5 + + '@rollup/plugin-replace@5.0.7(rollup@3.29.5)': + dependencies: + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + magic-string: 0.30.14 + optionalDependencies: + rollup: 3.29.5 + + '@rollup/pluginutils@5.1.3(rollup@3.29.5)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 3.29.5 + + '@trysound/sax@0.2.0': {} + + '@types/estree@1.0.6': {} + '@types/node@12.20.55': {} + '@types/resolve@1.20.2': {} + '@typescript/vfs@1.5.3(typescript@4.5.2)': dependencies: debug: 4.3.5 @@ -993,6 +2085,8 @@ snapshots: transitivePeerDependencies: - supports-color + acorn@8.14.0: {} + ansi-colors@4.1.3: {} ansi-regex@5.0.1: {} @@ -1009,12 +2103,24 @@ snapshots: async@3.2.6: {} + autoprefixer@10.4.20(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + caniuse-lite: 1.0.30001684 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.1.1 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + balanced-match@1.0.2: {} better-path-resolve@1.0.0: dependencies: is-windows: 1.0.2 + boolbase@1.0.0: {} + brace-expansion@1.1.11: dependencies: balanced-match: 1.0.2 @@ -1028,54 +2134,212 @@ snapshots: dependencies: fill-range: 7.1.1 + browserslist@4.24.2: + dependencies: + caniuse-lite: 1.0.30001684 + electron-to-chromium: 1.5.67 + node-releases: 2.0.18 + update-browserslist-db: 1.1.1(browserslist@4.24.2) + + caniuse-api@3.0.0: + dependencies: + browserslist: 4.24.2 + caniuse-lite: 1.0.30001684 + lodash.memoize: 4.1.2 + lodash.uniq: 4.5.0 + + caniuse-lite@1.0.30001684: {} + chalk@4.1.2: dependencies: ansi-styles: 4.3.0 supports-color: 7.2.0 + chalk@5.3.0: {} + chardet@0.7.0: {} ci-info@3.9.0: {} + citty@0.1.6: + dependencies: + consola: 3.2.3 + color-convert@2.0.1: dependencies: color-name: 1.1.4 color-name@1.1.4: {} + colord@2.9.3: {} + commander@7.2.0: {} + commondir@1.0.1: {} + concat-map@0.0.1: {} + confbox@0.1.8: {} + + consola@3.2.3: {} + + convert-source-map@2.0.0: {} + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 + css-declaration-sorter@7.2.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + css-select@5.1.0: + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.1.0 + nth-check: 2.1.1 + + css-tree@2.2.1: + dependencies: + mdn-data: 2.0.28 + source-map-js: 1.2.1 + + css-tree@2.3.1: + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.2.1 + + css-what@6.1.0: {} + + cssesc@3.0.0: {} + + cssnano-preset-default@7.0.6(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + css-declaration-sorter: 7.2.0(postcss@8.4.49) + cssnano-utils: 5.0.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-calc: 10.0.2(postcss@8.4.49) + postcss-colormin: 7.0.2(postcss@8.4.49) + postcss-convert-values: 7.0.4(postcss@8.4.49) + postcss-discard-comments: 7.0.3(postcss@8.4.49) + postcss-discard-duplicates: 7.0.1(postcss@8.4.49) + postcss-discard-empty: 7.0.0(postcss@8.4.49) + postcss-discard-overridden: 7.0.0(postcss@8.4.49) + postcss-merge-longhand: 7.0.4(postcss@8.4.49) + postcss-merge-rules: 7.0.4(postcss@8.4.49) + postcss-minify-font-values: 7.0.0(postcss@8.4.49) + postcss-minify-gradients: 7.0.0(postcss@8.4.49) + postcss-minify-params: 7.0.2(postcss@8.4.49) + postcss-minify-selectors: 7.0.4(postcss@8.4.49) + postcss-normalize-charset: 7.0.0(postcss@8.4.49) + postcss-normalize-display-values: 7.0.0(postcss@8.4.49) + postcss-normalize-positions: 7.0.0(postcss@8.4.49) + postcss-normalize-repeat-style: 7.0.0(postcss@8.4.49) + postcss-normalize-string: 7.0.0(postcss@8.4.49) + postcss-normalize-timing-functions: 7.0.0(postcss@8.4.49) + postcss-normalize-unicode: 7.0.2(postcss@8.4.49) + postcss-normalize-url: 7.0.0(postcss@8.4.49) + postcss-normalize-whitespace: 7.0.0(postcss@8.4.49) + postcss-ordered-values: 7.0.1(postcss@8.4.49) + postcss-reduce-initial: 7.0.2(postcss@8.4.49) + postcss-reduce-transforms: 7.0.0(postcss@8.4.49) + postcss-svgo: 7.0.1(postcss@8.4.49) + postcss-unique-selectors: 7.0.3(postcss@8.4.49) + + cssnano-utils@5.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + cssnano@7.0.6(postcss@8.4.49): + dependencies: + cssnano-preset-default: 7.0.6(postcss@8.4.49) + lilconfig: 3.1.2 + postcss: 8.4.49 + + csso@5.0.5: + dependencies: + css-tree: 2.2.1 + dataloader@1.4.0: {} debug@4.3.5: dependencies: ms: 2.1.2 + deepmerge@4.3.1: {} + + defu@6.1.4: {} + detect-indent@6.1.0: {} dir-glob@3.0.1: dependencies: path-type: 4.0.0 + dom-serializer@2.0.0: + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + + domelementtype@2.3.0: {} + + domhandler@5.0.3: + dependencies: + domelementtype: 2.3.0 + + domutils@3.1.0: + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + dotenv@8.6.0: {} ejs@3.1.10: dependencies: jake: 10.9.2 + electron-to-chromium@1.5.67: {} + enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 strip-ansi: 6.0.1 + entities@4.5.0: {} + + esbuild@0.19.12: + optionalDependencies: + '@esbuild/aix-ppc64': 0.19.12 + '@esbuild/android-arm': 0.19.12 + '@esbuild/android-arm64': 0.19.12 + '@esbuild/android-x64': 0.19.12 + '@esbuild/darwin-arm64': 0.19.12 + '@esbuild/darwin-x64': 0.19.12 + '@esbuild/freebsd-arm64': 0.19.12 + '@esbuild/freebsd-x64': 0.19.12 + '@esbuild/linux-arm': 0.19.12 + '@esbuild/linux-arm64': 0.19.12 + '@esbuild/linux-ia32': 0.19.12 + '@esbuild/linux-loong64': 0.19.12 + '@esbuild/linux-mips64el': 0.19.12 + '@esbuild/linux-ppc64': 0.19.12 + '@esbuild/linux-riscv64': 0.19.12 + '@esbuild/linux-s390x': 0.19.12 + '@esbuild/linux-x64': 0.19.12 + '@esbuild/netbsd-x64': 0.19.12 + '@esbuild/openbsd-x64': 0.19.12 + '@esbuild/sunos-x64': 0.19.12 + '@esbuild/win32-arm64': 0.19.12 + '@esbuild/win32-ia32': 0.19.12 + '@esbuild/win32-x64': 0.19.12 + esbuild@0.24.0: optionalDependencies: '@esbuild/aix-ppc64': 0.24.0 @@ -1103,8 +2367,12 @@ snapshots: '@esbuild/win32-ia32': 0.24.0 '@esbuild/win32-x64': 0.24.0 + escalade@3.2.0: {} + esprima@4.0.1: {} + estree-walker@2.0.2: {} + extendable-error@0.1.7: {} external-editor@3.1.0: @@ -1125,6 +2393,10 @@ snapshots: dependencies: reusify: 1.0.4 + fdir@6.4.2(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + filelist@1.0.4: dependencies: minimatch: 5.1.6 @@ -1142,6 +2414,8 @@ snapshots: locate-path: 5.0.0 path-exists: 4.0.0 + fraction.js@4.3.7: {} + fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 @@ -1154,6 +2428,15 @@ snapshots: jsonfile: 4.0.0 universalify: 0.1.2 + fs.realpath@1.0.0: {} + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + gensync@1.0.0-beta.2: {} + genversion@3.2.0: dependencies: commander: 7.2.0 @@ -1164,6 +2447,16 @@ snapshots: dependencies: is-glob: 4.0.3 + glob@8.1.0: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.3 + minimatch: 5.1.6 + once: 1.4.0 + + globals@11.12.0: {} + globby@11.1.0: dependencies: array-union: 2.1.0 @@ -1173,10 +2466,24 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 + globby@13.2.2: + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.3.2 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 4.0.0 + graceful-fs@4.2.11: {} has-flag@4.0.0: {} + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + hookable@5.5.3: {} + human-id@1.0.2: {} iconv-lite@0.4.24: @@ -1185,14 +2492,31 @@ snapshots: ignore@5.3.2: {} + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.3: {} + + is-core-module@2.15.1: + dependencies: + hasown: 2.0.2 + is-extglob@2.1.1: {} is-glob@4.0.3: dependencies: is-extglob: 2.1.1 + is-module@1.0.0: {} + is-number@7.0.0: {} + is-reference@1.2.1: + dependencies: + '@types/estree': 1.0.6 + is-subdir@1.2.0: dependencies: better-path-resolve: 1.0.0 @@ -1208,21 +2532,49 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 + jiti@1.21.6: {} + + jiti@2.4.1: {} + + js-tokens@4.0.0: {} + js-yaml@3.14.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 + jsesc@3.0.2: {} + + json5@2.2.3: {} + jsonfile@4.0.0: optionalDependencies: graceful-fs: 4.2.11 + lilconfig@3.1.2: {} + locate-path@5.0.0: dependencies: p-locate: 4.1.0 + lodash.memoize@4.1.2: {} + lodash.startcase@4.4.0: {} + lodash.uniq@4.5.0: {} + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + magic-string@0.30.14: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + mdn-data@2.0.28: {} + + mdn-data@2.0.30: {} + merge2@1.4.1: {} micromatch@4.0.8: @@ -1238,14 +2590,53 @@ snapshots: dependencies: brace-expansion: 2.0.1 + mkdist@1.6.0(typescript@4.5.2): + dependencies: + autoprefixer: 10.4.20(postcss@8.4.49) + citty: 0.1.6 + cssnano: 7.0.6(postcss@8.4.49) + defu: 6.1.4 + esbuild: 0.24.0 + jiti: 1.21.6 + mlly: 1.7.3 + pathe: 1.1.2 + pkg-types: 1.2.1 + postcss: 8.4.49 + postcss-nested: 6.2.0(postcss@8.4.49) + semver: 7.6.3 + tinyglobby: 0.2.10 + optionalDependencies: + typescript: 4.5.2 + + mlly@1.7.3: + dependencies: + acorn: 8.14.0 + pathe: 1.1.2 + pkg-types: 1.2.1 + ufo: 1.5.4 + mri@1.2.0: {} ms@2.1.2: {} + nanoid@3.3.8: {} + node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 + node-releases@2.0.18: {} + + normalize-range@0.1.2: {} + + nth-check@2.1.1: + dependencies: + boolbase: 1.0.0 + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + os-tmpdir@1.0.2: {} outdent@0.5.0: {} @@ -1276,18 +2667,199 @@ snapshots: path-key@3.1.1: {} + path-parse@1.0.7: {} + path-platform@0.11.15: {} path-type@4.0.0: {} + pathe@1.1.2: {} + picocolors@1.1.1: {} picomatch@2.3.1: {} + picomatch@4.0.2: {} + pify@4.0.1: {} + pkg-types@1.2.1: + dependencies: + confbox: 0.1.8 + mlly: 1.7.3 + pathe: 1.1.2 + + postcss-calc@10.0.2(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + postcss-value-parser: 4.2.0 + + postcss-colormin@7.0.2(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + caniuse-api: 3.0.0 + colord: 2.9.3 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-convert-values@7.0.4(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-discard-comments@7.0.3(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + + postcss-discard-duplicates@7.0.1(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + postcss-discard-empty@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + postcss-discard-overridden@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + postcss-merge-longhand@7.0.4(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + stylehacks: 7.0.4(postcss@8.4.49) + + postcss-merge-rules@7.0.4(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + caniuse-api: 3.0.0 + cssnano-utils: 5.0.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + + postcss-minify-font-values@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-minify-gradients@7.0.0(postcss@8.4.49): + dependencies: + colord: 2.9.3 + cssnano-utils: 5.0.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-minify-params@7.0.2(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + cssnano-utils: 5.0.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-minify-selectors@7.0.4(postcss@8.4.49): + dependencies: + cssesc: 3.0.0 + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + + postcss-nested@6.2.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + + postcss-normalize-charset@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + postcss-normalize-display-values@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-positions@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-repeat-style@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-string@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-timing-functions@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-unicode@7.0.2(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-url@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-normalize-whitespace@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-ordered-values@7.0.1(postcss@8.4.49): + dependencies: + cssnano-utils: 5.0.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-reduce-initial@7.0.2(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + caniuse-api: 3.0.0 + postcss: 8.4.49 + + postcss-reduce-transforms@7.0.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + + postcss-selector-parser@6.1.2: + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + + postcss-svgo@7.0.1(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-value-parser: 4.2.0 + svgo: 3.3.2 + + postcss-unique-selectors@7.0.3(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + + postcss-value-parser@4.2.0: {} + + postcss@8.4.49: + dependencies: + nanoid: 3.3.8 + picocolors: 1.1.1 + source-map-js: 1.2.1 + prettier@2.8.8: {} + pretty-bytes@6.1.1: {} + queue-microtask@1.2.3: {} read-yaml-file@1.1.0: @@ -1301,14 +2873,36 @@ snapshots: resolve-from@5.0.0: {} + resolve@1.22.8: + dependencies: + is-core-module: 2.15.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + reusify@1.0.4: {} + rollup-plugin-dts@6.1.1(rollup@3.29.5)(typescript@4.5.2): + dependencies: + magic-string: 0.30.14 + rollup: 3.29.5 + typescript: 4.5.2 + optionalDependencies: + '@babel/code-frame': 7.26.2 + + rollup@3.29.5: + optionalDependencies: + fsevents: 2.3.3 + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 safer-buffer@2.1.2: {} + scule@1.3.0: {} + + semver@6.3.1: {} + semver@7.6.3: {} shebang-command@2.0.0: @@ -1321,6 +2915,10 @@ snapshots: slash@3.0.0: {} + slash@4.0.0: {} + + source-map-js@1.2.1: {} + spawndamnit@3.0.1: dependencies: cross-spawn: 7.0.6 @@ -1334,12 +2932,35 @@ snapshots: strip-bom@3.0.0: {} + stylehacks@7.0.4(postcss@8.4.49): + dependencies: + browserslist: 4.24.2 + postcss: 8.4.49 + postcss-selector-parser: 6.1.2 + supports-color@7.2.0: dependencies: has-flag: 4.0.0 + supports-preserve-symlinks-flag@1.0.0: {} + + svgo@3.3.2: + dependencies: + '@trysound/sax': 0.2.0 + commander: 7.2.0 + css-select: 5.1.0 + css-tree: 2.3.1 + css-what: 6.1.0 + csso: 5.0.5 + picocolors: 1.1.1 + term-size@2.2.1: {} + tinyglobby@0.2.10: + dependencies: + fdir: 6.4.2(picomatch@4.0.2) + picomatch: 4.0.2 + tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 @@ -1352,8 +2973,63 @@ snapshots: typescript@4.5.2: {} + ufo@1.5.4: {} + + unbuild@2.0.0(typescript@4.5.2): + dependencies: + '@rollup/plugin-alias': 5.1.1(rollup@3.29.5) + '@rollup/plugin-commonjs': 25.0.8(rollup@3.29.5) + '@rollup/plugin-json': 6.1.0(rollup@3.29.5) + '@rollup/plugin-node-resolve': 15.3.0(rollup@3.29.5) + '@rollup/plugin-replace': 5.0.7(rollup@3.29.5) + '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + chalk: 5.3.0 + citty: 0.1.6 + consola: 3.2.3 + defu: 6.1.4 + esbuild: 0.19.12 + globby: 13.2.2 + hookable: 5.5.3 + jiti: 1.21.6 + magic-string: 0.30.14 + mkdist: 1.6.0(typescript@4.5.2) + mlly: 1.7.3 + pathe: 1.1.2 + pkg-types: 1.2.1 + pretty-bytes: 6.1.1 + rollup: 3.29.5 + rollup-plugin-dts: 6.1.1(rollup@3.29.5)(typescript@4.5.2) + scule: 1.3.0 + untyped: 1.5.1 + optionalDependencies: + typescript: 4.5.2 + transitivePeerDependencies: + - sass + - supports-color + - vue-tsc + universalify@0.1.2: {} + untyped@1.5.1: + dependencies: + '@babel/core': 7.26.0 + '@babel/standalone': 7.26.2 + '@babel/types': 7.26.0 + defu: 6.1.4 + jiti: 2.4.1 + mri: 1.2.0 + scule: 1.3.0 + transitivePeerDependencies: + - supports-color + + update-browserslist-db@1.1.1(browserslist@4.24.2): + dependencies: + browserslist: 4.24.2 + escalade: 3.2.0 + picocolors: 1.1.1 + + util-deprecate@1.0.2: {} + webidl-conversions@3.0.1: {} whatwg-url@5.0.0: @@ -1364,3 +3040,7 @@ snapshots: which@2.0.2: dependencies: isexe: 2.0.0 + + wrappy@1.0.2: {} + + yallist@3.1.1: {} From fd6a245b192ef2b0075301d126f0e1253d1f133e Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 17:11:26 +0100 Subject: [PATCH 5/6] ignore generated files --- packages/javascript/.gitignore | 1 + .../src/gen/livekit_agent_dispatch_pb.d.ts | 253 -- .../src/gen/livekit_agent_dispatch_pb.js | 103 - .../javascript/src/gen/livekit_agent_pb.d.ts | 741 ----- .../javascript/src/gen/livekit_agent_pb.js | 266 -- .../src/gen/livekit_analytics_pb.d.ts | 889 ------ .../src/gen/livekit_analytics_pb.js | 264 -- .../javascript/src/gen/livekit_egress_pb.d.ts | 2056 ------------ .../javascript/src/gen/livekit_egress_pb.js | 594 ---- .../src/gen/livekit_ingress_pb.d.ts | 843 ----- .../javascript/src/gen/livekit_ingress_pb.js | 269 -- .../src/gen/livekit_internal_pb.d.ts | 622 ---- .../javascript/src/gen/livekit_internal_pb.js | 191 -- .../src/gen/livekit_metrics_pb.d.ts | 376 --- .../javascript/src/gen/livekit_metrics_pb.js | 97 - .../javascript/src/gen/livekit_models_pb.d.ts | 2837 ----------------- .../javascript/src/gen/livekit_models_pb.js | 913 ------ .../javascript/src/gen/livekit_room_pb.d.ts | 774 ----- .../javascript/src/gen/livekit_room_pb.js | 259 -- .../javascript/src/gen/livekit_rtc_pb.d.ts | 2001 ------------ packages/javascript/src/gen/livekit_rtc_pb.js | 634 ---- .../javascript/src/gen/livekit_sip_pb.d.ts | 1551 --------- packages/javascript/src/gen/livekit_sip_pb.js | 483 --- .../src/gen/livekit_webhook_pb.d.ts | 105 - .../javascript/src/gen/livekit_webhook_pb.js | 42 - packages/javascript/src/gen/version.js | 2 - 26 files changed, 1 insertion(+), 17165 deletions(-) delete mode 100644 packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_agent_dispatch_pb.js delete mode 100644 packages/javascript/src/gen/livekit_agent_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_agent_pb.js delete mode 100644 packages/javascript/src/gen/livekit_analytics_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_analytics_pb.js delete mode 100644 packages/javascript/src/gen/livekit_egress_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_egress_pb.js delete mode 100644 packages/javascript/src/gen/livekit_ingress_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_ingress_pb.js delete mode 100644 packages/javascript/src/gen/livekit_internal_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_internal_pb.js delete mode 100644 packages/javascript/src/gen/livekit_metrics_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_metrics_pb.js delete mode 100644 packages/javascript/src/gen/livekit_models_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_models_pb.js delete mode 100644 packages/javascript/src/gen/livekit_room_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_room_pb.js delete mode 100644 packages/javascript/src/gen/livekit_rtc_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_rtc_pb.js delete mode 100644 packages/javascript/src/gen/livekit_sip_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_sip_pb.js delete mode 100644 packages/javascript/src/gen/livekit_webhook_pb.d.ts delete mode 100644 packages/javascript/src/gen/livekit_webhook_pb.js delete mode 100644 packages/javascript/src/gen/version.js diff --git a/packages/javascript/.gitignore b/packages/javascript/.gitignore index 3497ab5d..404cef90 100644 --- a/packages/javascript/.gitignore +++ b/packages/javascript/.gitignore @@ -1,3 +1,4 @@ node_modules/ dist +src/gen/* diff --git a/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts b/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts deleted file mode 100644 index 6f4c68b5..00000000 --- a/packages/javascript/src/gen/livekit_agent_dispatch_pb.d.ts +++ /dev/null @@ -1,253 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Job } from "./livekit_agent_pb.js"; - -/** - * @generated from message livekit.CreateAgentDispatchRequest - */ -export declare class CreateAgentDispatchRequest extends Message { - /** - * @generated from field: string agent_name = 1; - */ - agentName: string; - - /** - * @generated from field: string room = 2; - */ - room: string; - - /** - * @generated from field: string metadata = 3; - */ - metadata: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateAgentDispatchRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest; - - static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomAgentDispatch - */ -export declare class RoomAgentDispatch extends Message { - /** - * @generated from field: string agent_name = 1; - */ - agentName: string; - - /** - * @generated from field: string metadata = 2; - */ - metadata: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomAgentDispatch"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch; - - static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch; - - static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteAgentDispatchRequest - */ -export declare class DeleteAgentDispatchRequest extends Message { - /** - * @generated from field: string dispatch_id = 1; - */ - dispatchId: string; - - /** - * @generated from field: string room = 2; - */ - room: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteAgentDispatchRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest; - - static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest; - - static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListAgentDispatchRequest - */ -export declare class ListAgentDispatchRequest extends Message { - /** - * if set, only the dispatch whose id is given will be returned - * - * @generated from field: string dispatch_id = 1; - */ - dispatchId: string; - - /** - * name of the room to list agents for. Must be set. - * - * @generated from field: string room = 2; - */ - room: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListAgentDispatchRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest; - - static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListAgentDispatchResponse - */ -export declare class ListAgentDispatchResponse extends Message { - /** - * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; - */ - agentDispatches: AgentDispatch[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListAgentDispatchResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse; - - static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AgentDispatch - */ -export declare class AgentDispatch extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string agent_name = 2; - */ - agentName: string; - - /** - * @generated from field: string room = 3; - */ - room: string; - - /** - * @generated from field: string metadata = 4; - */ - metadata: string; - - /** - * @generated from field: livekit.AgentDispatchState state = 5; - */ - state?: AgentDispatchState; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AgentDispatch"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch; - - static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch; - - static fromJsonString(jsonString: string, options?: Partial): AgentDispatch; - - static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AgentDispatchState - */ -export declare class AgentDispatchState extends Message { - /** - * For dispatches of tyoe JT_ROOM, there will be at most 1 job. - * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. - * - * @generated from field: repeated livekit.Job jobs = 1; - */ - jobs: Job[]; - - /** - * @generated from field: int64 created_at = 2; - */ - createdAt: bigint; - - /** - * @generated from field: int64 deleted_at = 3; - */ - deletedAt: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AgentDispatchState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState; - - static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState; - - static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState; - - static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_agent_dispatch_pb.js b/packages/javascript/src/gen/livekit_agent_dispatch_pb.js deleted file mode 100644 index f7f52311..00000000 --- a/packages/javascript/src/gen/livekit_agent_dispatch_pb.js +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_agent_dispatch.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { Job } from "./livekit_agent_pb.js"; - -/** - * @generated from message livekit.CreateAgentDispatchRequest - */ -export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateAgentDispatchRequest", - () => [ - { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.RoomAgentDispatch - */ -export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomAgentDispatch", - () => [ - { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.DeleteAgentDispatchRequest - */ -export const DeleteAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteAgentDispatchRequest", - () => [ - { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ListAgentDispatchRequest - */ -export const ListAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListAgentDispatchRequest", - () => [ - { no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ListAgentDispatchResponse - */ -export const ListAgentDispatchResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListAgentDispatchResponse", - () => [ - { no: 1, name: "agent_dispatches", kind: "message", T: AgentDispatch, repeated: true }, - ], -); - -/** - * @generated from message livekit.AgentDispatch - */ -export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AgentDispatch", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "state", kind: "message", T: AgentDispatchState }, - ], -); - -/** - * @generated from message livekit.AgentDispatchState - */ -export const AgentDispatchState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AgentDispatchState", - () => [ - { no: 1, name: "jobs", kind: "message", T: Job, repeated: true }, - { no: 2, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "deleted_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_agent_pb.d.ts b/packages/javascript/src/gen/livekit_agent_pb.d.ts deleted file mode 100644 index 28275b77..00000000 --- a/packages/javascript/src/gen/livekit_agent_pb.d.ts +++ /dev/null @@ -1,741 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_agent.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.JobType - */ -export declare enum JobType { - /** - * @generated from enum value: JT_ROOM = 0; - */ - JT_ROOM = 0, - - /** - * @generated from enum value: JT_PUBLISHER = 1; - */ - JT_PUBLISHER = 1, -} - -/** - * @generated from enum livekit.WorkerStatus - */ -export declare enum WorkerStatus { - /** - * @generated from enum value: WS_AVAILABLE = 0; - */ - WS_AVAILABLE = 0, - - /** - * @generated from enum value: WS_FULL = 1; - */ - WS_FULL = 1, -} - -/** - * @generated from enum livekit.JobStatus - */ -export declare enum JobStatus { - /** - * @generated from enum value: JS_PENDING = 0; - */ - JS_PENDING = 0, - - /** - * @generated from enum value: JS_RUNNING = 1; - */ - JS_RUNNING = 1, - - /** - * @generated from enum value: JS_SUCCESS = 2; - */ - JS_SUCCESS = 2, - - /** - * @generated from enum value: JS_FAILED = 3; - */ - JS_FAILED = 3, -} - -/** - * @generated from message livekit.Job - */ -export declare class Job extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string dispatch_id = 9; - */ - dispatchId: string; - - /** - * @generated from field: livekit.JobType type = 2; - */ - type: JobType; - - /** - * @generated from field: livekit.Room room = 3; - */ - room?: Room; - - /** - * @generated from field: optional livekit.ParticipantInfo participant = 4; - */ - participant?: ParticipantInfo; - - /** - * @generated from field: string namespace = 5 [deprecated = true]; - * @deprecated - */ - namespace: string; - - /** - * @generated from field: string metadata = 6; - */ - metadata: string; - - /** - * @generated from field: string agent_name = 7; - */ - agentName: string; - - /** - * @generated from field: livekit.JobState state = 8; - */ - state?: JobState; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Job"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Job; - - static fromJson(jsonValue: JsonValue, options?: Partial): Job; - - static fromJsonString(jsonString: string, options?: Partial): Job; - - static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.JobState - */ -export declare class JobState extends Message { - /** - * @generated from field: livekit.JobStatus status = 1; - */ - status: JobStatus; - - /** - * @generated from field: string error = 2; - */ - error: string; - - /** - * @generated from field: int64 started_at = 3; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 4; - */ - endedAt: bigint; - - /** - * @generated from field: int64 updated_at = 5; - */ - updatedAt: bigint; - - /** - * @generated from field: string participant_identity = 6; - */ - participantIdentity: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): JobState; - - static fromJson(jsonValue: JsonValue, options?: Partial): JobState; - - static fromJsonString(jsonString: string, options?: Partial): JobState; - - static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean; -} - -/** - * from Worker to Server - * - * @generated from message livekit.WorkerMessage - */ -export declare class WorkerMessage extends Message { - /** - * @generated from oneof livekit.WorkerMessage.message - */ - message: { - /** - * agent workers need to register themselves with the server first - * - * @generated from field: livekit.RegisterWorkerRequest register = 1; - */ - value: RegisterWorkerRequest; - case: "register"; - } | { - /** - * worker confirms to server that it's available for a job, or declines it - * - * @generated from field: livekit.AvailabilityResponse availability = 2; - */ - value: AvailabilityResponse; - case: "availability"; - } | { - /** - * worker can update its status to the server, including taking itself out of the pool - * - * @generated from field: livekit.UpdateWorkerStatus update_worker = 3; - */ - value: UpdateWorkerStatus; - case: "updateWorker"; - } | { - /** - * job can send status updates to the server, useful for tracking progress - * - * @generated from field: livekit.UpdateJobStatus update_job = 4; - */ - value: UpdateJobStatus; - case: "updateJob"; - } | { - /** - * @generated from field: livekit.WorkerPing ping = 5; - */ - value: WorkerPing; - case: "ping"; - } | { - /** - * @generated from field: livekit.SimulateJobRequest simulate_job = 6; - */ - value: SimulateJobRequest; - case: "simulateJob"; - } | { - /** - * @generated from field: livekit.MigrateJobRequest migrate_job = 7; - */ - value: MigrateJobRequest; - case: "migrateJob"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerMessage"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage; - - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage; - - static fromJsonString(jsonString: string, options?: Partial): WorkerMessage; - - static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean; -} - -/** - * from Server to Worker - * - * @generated from message livekit.ServerMessage - */ -export declare class ServerMessage extends Message { - /** - * @generated from oneof livekit.ServerMessage.message - */ - message: { - /** - * server confirms the registration, from this moment on, the worker is considered active - * - * @generated from field: livekit.RegisterWorkerResponse register = 1; - */ - value: RegisterWorkerResponse; - case: "register"; - } | { - /** - * server asks worker to confirm availability for a job - * - * @generated from field: livekit.AvailabilityRequest availability = 2; - */ - value: AvailabilityRequest; - case: "availability"; - } | { - /** - * @generated from field: livekit.JobAssignment assignment = 3; - */ - value: JobAssignment; - case: "assignment"; - } | { - /** - * @generated from field: livekit.JobTermination termination = 5; - */ - value: JobTermination; - case: "termination"; - } | { - /** - * @generated from field: livekit.WorkerPong pong = 4; - */ - value: WorkerPong; - case: "pong"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ServerMessage"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage; - - static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage; - - static fromJsonString(jsonString: string, options?: Partial): ServerMessage; - - static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SimulateJobRequest - */ -export declare class SimulateJobRequest extends Message { - /** - * @generated from field: livekit.JobType type = 1; - */ - type: JobType; - - /** - * @generated from field: livekit.Room room = 2; - */ - room?: Room; - - /** - * @generated from field: livekit.ParticipantInfo participant = 3; - */ - participant?: ParticipantInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulateJobRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest; - - static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest; - - static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.WorkerPing - */ -export declare class WorkerPing extends Message { - /** - * @generated from field: int64 timestamp = 1; - */ - timestamp: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerPing"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing; - - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing; - - static fromJsonString(jsonString: string, options?: Partial): WorkerPing; - - static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.WorkerPong - */ -export declare class WorkerPong extends Message { - /** - * @generated from field: int64 last_timestamp = 1; - */ - lastTimestamp: bigint; - - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WorkerPong"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong; - - static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong; - - static fromJsonString(jsonString: string, options?: Partial): WorkerPong; - - static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RegisterWorkerRequest - */ -export declare class RegisterWorkerRequest extends Message { - /** - * @generated from field: livekit.JobType type = 1; - */ - type: JobType; - - /** - * @generated from field: string agent_name = 8; - */ - agentName: string; - - /** - * string worker_id = 2; - * - * @generated from field: string version = 3; - */ - version: string; - - /** - * string name = 4 [deprecated = true]; - * - * @generated from field: uint32 ping_interval = 5; - */ - pingInterval: number; - - /** - * @generated from field: optional string namespace = 6; - */ - namespace?: string; - - /** - * @generated from field: livekit.ParticipantPermission allowed_permissions = 7; - */ - allowedPermissions?: ParticipantPermission; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegisterWorkerRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest; - - static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest; - - static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RegisterWorkerResponse - */ -export declare class RegisterWorkerResponse extends Message { - /** - * @generated from field: string worker_id = 1; - */ - workerId: string; - - /** - * @generated from field: livekit.ServerInfo server_info = 3; - */ - serverInfo?: ServerInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegisterWorkerResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse; - - static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse; - - static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.MigrateJobRequest - */ -export declare class MigrateJobRequest extends Message { - /** - * string job_id = 1 [deprecated = true]; - * - * @generated from field: repeated string job_ids = 2; - */ - jobIds: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MigrateJobRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest; - - static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest; - - static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AvailabilityRequest - */ -export declare class AvailabilityRequest extends Message { - /** - * @generated from field: livekit.Job job = 1; - */ - job?: Job; - - /** - * True when the job was previously assigned to another worker but has been - * migrated due to different reasons (e.g. worker failure, job migration) - * - * @generated from field: bool resuming = 2; - */ - resuming: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AvailabilityRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest; - - static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest; - - static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AvailabilityResponse - */ -export declare class AvailabilityResponse extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - - /** - * @generated from field: bool available = 2; - */ - available: boolean; - - /** - * @generated from field: bool supports_resume = 3; - */ - supportsResume: boolean; - - /** - * @generated from field: string participant_name = 4; - */ - participantName: string; - - /** - * @generated from field: string participant_identity = 5; - */ - participantIdentity: string; - - /** - * @generated from field: string participant_metadata = 6; - */ - participantMetadata: string; - - /** - * @generated from field: map participant_attributes = 7; - */ - participantAttributes: { [key: string]: string }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AvailabilityResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse; - - static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse; - - static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateJobStatus - */ -export declare class UpdateJobStatus extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - - /** - * The worker can indicate the job end by either specifying SUCCESS or FAILED - * - * @generated from field: livekit.JobStatus status = 2; - */ - status: JobStatus; - - /** - * metadata shown on the dashboard, useful for debugging - * - * @generated from field: string error = 3; - */ - error: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateJobStatus"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus; - - static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus; - - static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateWorkerStatus - */ -export declare class UpdateWorkerStatus extends Message { - /** - * @generated from field: optional livekit.WorkerStatus status = 1; - */ - status?: WorkerStatus; - - /** - * optional string metadata = 2 [deprecated=true]; - * - * @generated from field: float load = 3; - */ - load: number; - - /** - * @generated from field: uint32 job_count = 4; - */ - jobCount: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateWorkerStatus"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus; - - static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus; - - static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.JobAssignment - */ -export declare class JobAssignment extends Message { - /** - * @generated from field: livekit.Job job = 1; - */ - job?: Job; - - /** - * @generated from field: optional string url = 2; - */ - url?: string; - - /** - * @generated from field: string token = 3; - */ - token: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobAssignment"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment; - - static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment; - - static fromJsonString(jsonString: string, options?: Partial): JobAssignment; - - static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.JobTermination - */ -export declare class JobTermination extends Message { - /** - * @generated from field: string job_id = 1; - */ - jobId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JobTermination"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination; - - static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination; - - static fromJsonString(jsonString: string, options?: Partial): JobTermination; - - static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_agent_pb.js b/packages/javascript/src/gen/livekit_agent_pb.js deleted file mode 100644 index 69ec3a66..00000000 --- a/packages/javascript/src/gen/livekit_agent_pb.js +++ /dev/null @@ -1,266 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_agent.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { ParticipantInfo, ParticipantPermission, Room, ServerInfo } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.JobType - */ -export const JobType = /*@__PURE__*/ proto3.makeEnum( - "livekit.JobType", - [ - {no: 0, name: "JT_ROOM"}, - {no: 1, name: "JT_PUBLISHER"}, - ], -); - -/** - * @generated from enum livekit.WorkerStatus - */ -export const WorkerStatus = /*@__PURE__*/ proto3.makeEnum( - "livekit.WorkerStatus", - [ - {no: 0, name: "WS_AVAILABLE"}, - {no: 1, name: "WS_FULL"}, - ], -); - -/** - * @generated from enum livekit.JobStatus - */ -export const JobStatus = /*@__PURE__*/ proto3.makeEnum( - "livekit.JobStatus", - [ - {no: 0, name: "JS_PENDING"}, - {no: 1, name: "JS_RUNNING"}, - {no: 2, name: "JS_SUCCESS"}, - {no: 3, name: "JS_FAILED"}, - ], -); - -/** - * @generated from message livekit.Job - */ -export const Job = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Job", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { no: 3, name: "room", kind: "message", T: Room }, - { no: 4, name: "participant", kind: "message", T: ParticipantInfo, opt: true }, - { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "state", kind: "message", T: JobState }, - ], -); - -/** - * @generated from message livekit.JobState - */ -export const JobState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.JobState", - () => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, - { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 4, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 5, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * from Worker to Server - * - * @generated from message livekit.WorkerMessage - */ -export const WorkerMessage = /*@__PURE__*/ proto3.makeMessageType( - "livekit.WorkerMessage", - () => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerRequest, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityResponse, oneof: "message" }, - { no: 3, name: "update_worker", kind: "message", T: UpdateWorkerStatus, oneof: "message" }, - { no: 4, name: "update_job", kind: "message", T: UpdateJobStatus, oneof: "message" }, - { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" }, - { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" }, - { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" }, - ], -); - -/** - * from Server to Worker - * - * @generated from message livekit.ServerMessage - */ -export const ServerMessage = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ServerMessage", - () => [ - { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" }, - { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" }, - { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" }, - { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" }, - { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" }, - ], -); - -/** - * @generated from message livekit.SimulateJobRequest - */ -export const SimulateJobRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SimulateJobRequest", - () => [ - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { no: 2, name: "room", kind: "message", T: Room }, - { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, - ], -); - -/** - * @generated from message livekit.WorkerPing - */ -export const WorkerPing = /*@__PURE__*/ proto3.makeMessageType( - "livekit.WorkerPing", - () => [ - { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.WorkerPong - */ -export const WorkerPong = /*@__PURE__*/ proto3.makeMessageType( - "livekit.WorkerPong", - () => [ - { no: 1, name: "last_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.RegisterWorkerRequest - */ -export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RegisterWorkerRequest", - () => [ - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) }, - { no: 8, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission }, - ], -); - -/** - * @generated from message livekit.RegisterWorkerResponse - */ -export const RegisterWorkerResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RegisterWorkerResponse", - () => [ - { no: 1, name: "worker_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "server_info", kind: "message", T: ServerInfo }, - ], -); - -/** - * @generated from message livekit.MigrateJobRequest - */ -export const MigrateJobRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MigrateJobRequest", - () => [ - { no: 2, name: "job_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * @generated from message livekit.AvailabilityRequest - */ -export const AvailabilityRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AvailabilityRequest", - () => [ - { no: 1, name: "job", kind: "message", T: Job }, - { no: 2, name: "resuming", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.AvailabilityResponse - */ -export const AvailabilityResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AvailabilityResponse", - () => [ - { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "available", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "supports_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - ], -); - -/** - * @generated from message livekit.UpdateJobStatus - */ -export const UpdateJobStatus = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateJobStatus", - () => [ - { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) }, - { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.UpdateWorkerStatus - */ -export const UpdateWorkerStatus = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateWorkerStatus", - () => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true }, - { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 4, name: "job_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.JobAssignment - */ -export const JobAssignment = /*@__PURE__*/ proto3.makeMessageType( - "livekit.JobAssignment", - () => [ - { no: 1, name: "job", kind: "message", T: Job }, - { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 3, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.JobTermination - */ -export const JobTermination = /*@__PURE__*/ proto3.makeMessageType( - "livekit.JobTermination", - () => [ - { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_analytics_pb.d.ts b/packages/javascript/src/gen/livekit_analytics_pb.d.ts deleted file mode 100644 index 06e8122c..00000000 --- a/packages/javascript/src/gen/livekit_analytics_pb.d.ts +++ /dev/null @@ -1,889 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_analytics.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; -import type { EgressInfo } from "./livekit_egress_pb.js"; -import type { IngressInfo } from "./livekit_ingress_pb.js"; -import type { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; - -/** - * @generated from enum livekit.StreamType - */ -export declare enum StreamType { - /** - * @generated from enum value: UPSTREAM = 0; - */ - UPSTREAM = 0, - - /** - * @generated from enum value: DOWNSTREAM = 1; - */ - DOWNSTREAM = 1, -} - -/** - * @generated from enum livekit.AnalyticsEventType - */ -export declare enum AnalyticsEventType { - /** - * @generated from enum value: ROOM_CREATED = 0; - */ - ROOM_CREATED = 0, - - /** - * @generated from enum value: ROOM_ENDED = 1; - */ - ROOM_ENDED = 1, - - /** - * @generated from enum value: PARTICIPANT_JOINED = 2; - */ - PARTICIPANT_JOINED = 2, - - /** - * @generated from enum value: PARTICIPANT_LEFT = 3; - */ - PARTICIPANT_LEFT = 3, - - /** - * @generated from enum value: TRACK_PUBLISHED = 4; - */ - TRACK_PUBLISHED = 4, - - /** - * @generated from enum value: TRACK_PUBLISH_REQUESTED = 20; - */ - TRACK_PUBLISH_REQUESTED = 20, - - /** - * @generated from enum value: TRACK_UNPUBLISHED = 5; - */ - TRACK_UNPUBLISHED = 5, - - /** - * @generated from enum value: TRACK_SUBSCRIBED = 6; - */ - TRACK_SUBSCRIBED = 6, - - /** - * @generated from enum value: TRACK_SUBSCRIBE_REQUESTED = 21; - */ - TRACK_SUBSCRIBE_REQUESTED = 21, - - /** - * @generated from enum value: TRACK_SUBSCRIBE_FAILED = 25; - */ - TRACK_SUBSCRIBE_FAILED = 25, - - /** - * @generated from enum value: TRACK_UNSUBSCRIBED = 7; - */ - TRACK_UNSUBSCRIBED = 7, - - /** - * @generated from enum value: TRACK_PUBLISHED_UPDATE = 10; - */ - TRACK_PUBLISHED_UPDATE = 10, - - /** - * @generated from enum value: TRACK_MUTED = 23; - */ - TRACK_MUTED = 23, - - /** - * @generated from enum value: TRACK_UNMUTED = 24; - */ - TRACK_UNMUTED = 24, - - /** - * @generated from enum value: TRACK_PUBLISH_STATS = 26; - */ - TRACK_PUBLISH_STATS = 26, - - /** - * @generated from enum value: TRACK_SUBSCRIBE_STATS = 27; - */ - TRACK_SUBSCRIBE_STATS = 27, - - /** - * @generated from enum value: PARTICIPANT_ACTIVE = 11; - */ - PARTICIPANT_ACTIVE = 11, - - /** - * @generated from enum value: PARTICIPANT_RESUMED = 22; - */ - PARTICIPANT_RESUMED = 22, - - /** - * @generated from enum value: EGRESS_STARTED = 12; - */ - EGRESS_STARTED = 12, - - /** - * @generated from enum value: EGRESS_ENDED = 13; - */ - EGRESS_ENDED = 13, - - /** - * @generated from enum value: EGRESS_UPDATED = 28; - */ - EGRESS_UPDATED = 28, - - /** - * @generated from enum value: TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14; - */ - TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY = 14, - - /** - * @generated from enum value: RECONNECTED = 15; - */ - RECONNECTED = 15, - - /** - * @generated from enum value: INGRESS_CREATED = 18; - */ - INGRESS_CREATED = 18, - - /** - * @generated from enum value: INGRESS_DELETED = 19; - */ - INGRESS_DELETED = 19, - - /** - * @generated from enum value: INGRESS_STARTED = 16; - */ - INGRESS_STARTED = 16, - - /** - * @generated from enum value: INGRESS_ENDED = 17; - */ - INGRESS_ENDED = 17, - - /** - * @generated from enum value: INGRESS_UPDATED = 29; - */ - INGRESS_UPDATED = 29, - - /** - * @generated from enum value: SIP_INBOUND_TRUNK_CREATED = 30; - */ - SIP_INBOUND_TRUNK_CREATED = 30, - - /** - * @generated from enum value: SIP_INBOUND_TRUNK_DELETED = 31; - */ - SIP_INBOUND_TRUNK_DELETED = 31, - - /** - * @generated from enum value: SIP_OUTBOUND_TRUNK_CREATED = 32; - */ - SIP_OUTBOUND_TRUNK_CREATED = 32, - - /** - * @generated from enum value: SIP_OUTBOUND_TRUNK_DELETED = 33; - */ - SIP_OUTBOUND_TRUNK_DELETED = 33, - - /** - * @generated from enum value: SIP_DISPATCH_RULE_CREATED = 34; - */ - SIP_DISPATCH_RULE_CREATED = 34, - - /** - * @generated from enum value: SIP_DISPATCH_RULE_DELETED = 35; - */ - SIP_DISPATCH_RULE_DELETED = 35, - - /** - * @generated from enum value: SIP_PARTICIPANT_CREATED = 36; - */ - SIP_PARTICIPANT_CREATED = 36, - - /** - * @generated from enum value: SIP_CALL_INCOMING = 37; - */ - SIP_CALL_INCOMING = 37, - - /** - * @generated from enum value: SIP_CALL_STARTED = 38; - */ - SIP_CALL_STARTED = 38, - - /** - * @generated from enum value: SIP_CALL_ENDED = 39; - */ - SIP_CALL_ENDED = 39, -} - -/** - * @generated from message livekit.AnalyticsVideoLayer - */ -export declare class AnalyticsVideoLayer extends Message { - /** - * @generated from field: int32 layer = 1; - */ - layer: number; - - /** - * @generated from field: uint32 packets = 2; - */ - packets: number; - - /** - * @generated from field: uint64 bytes = 3; - */ - bytes: bigint; - - /** - * @generated from field: uint32 frames = 4; - */ - frames: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsVideoLayer"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsVideoLayer; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsVideoLayer; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsVideoLayer; - - static equals(a: AnalyticsVideoLayer | PlainMessage | undefined, b: AnalyticsVideoLayer | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsStream - */ -export declare class AnalyticsStream extends Message { - /** - * @generated from field: uint32 ssrc = 1; - */ - ssrc: number; - - /** - * @generated from field: uint32 primary_packets = 2; - */ - primaryPackets: number; - - /** - * @generated from field: uint64 primary_bytes = 3; - */ - primaryBytes: bigint; - - /** - * @generated from field: uint32 retransmit_packets = 4; - */ - retransmitPackets: number; - - /** - * @generated from field: uint64 retransmit_bytes = 5; - */ - retransmitBytes: bigint; - - /** - * @generated from field: uint32 padding_packets = 6; - */ - paddingPackets: number; - - /** - * @generated from field: uint64 padding_bytes = 7; - */ - paddingBytes: bigint; - - /** - * @generated from field: uint32 packets_lost = 8; - */ - packetsLost: number; - - /** - * @generated from field: uint32 frames = 9; - */ - frames: number; - - /** - * @generated from field: uint32 rtt = 10; - */ - rtt: number; - - /** - * @generated from field: uint32 jitter = 11; - */ - jitter: number; - - /** - * @generated from field: uint32 nacks = 12; - */ - nacks: number; - - /** - * @generated from field: uint32 plis = 13; - */ - plis: number; - - /** - * @generated from field: uint32 firs = 14; - */ - firs: number; - - /** - * @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15; - */ - videoLayers: AnalyticsVideoLayer[]; - - /** - * @generated from field: google.protobuf.Timestamp start_time = 17; - */ - startTime?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp end_time = 18; - */ - endTime?: Timestamp; - - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - packetsOutOfOrder: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStream"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStream; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStream; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStream; - - static equals(a: AnalyticsStream | PlainMessage | undefined, b: AnalyticsStream | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsStat - */ -export declare class AnalyticsStat extends Message { - /** - * unique id for this stat - * - * @generated from field: string id = 14; - */ - id: string; - - /** - * @generated from field: string analytics_key = 1; - */ - analyticsKey: string; - - /** - * @generated from field: livekit.StreamType kind = 2; - */ - kind: StreamType; - - /** - * @generated from field: google.protobuf.Timestamp time_stamp = 3; - */ - timeStamp?: Timestamp; - - /** - * @generated from field: string node = 4; - */ - node: string; - - /** - * @generated from field: string room_id = 5; - */ - roomId: string; - - /** - * @generated from field: string room_name = 6; - */ - roomName: string; - - /** - * @generated from field: string participant_id = 7; - */ - participantId: string; - - /** - * @generated from field: string track_id = 8; - */ - trackId: string; - - /** - * average score - * - * @generated from field: float score = 9; - */ - score: number; - - /** - * @generated from field: repeated livekit.AnalyticsStream streams = 10; - */ - streams: AnalyticsStream[]; - - /** - * @generated from field: string mime = 11; - */ - mime: string; - - /** - * @generated from field: float min_score = 12; - */ - minScore: number; - - /** - * @generated from field: float median_score = 13; - */ - medianScore: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStat"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStat; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStat; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStat; - - static equals(a: AnalyticsStat | PlainMessage | undefined, b: AnalyticsStat | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsStats - */ -export declare class AnalyticsStats extends Message { - /** - * @generated from field: repeated livekit.AnalyticsStat stats = 1; - */ - stats: AnalyticsStat[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsStats"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsStats; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsStats; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsStats; - - static equals(a: AnalyticsStats | PlainMessage | undefined, b: AnalyticsStats | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsClientMeta - */ -export declare class AnalyticsClientMeta extends Message { - /** - * @generated from field: string region = 1; - */ - region: string; - - /** - * @generated from field: string node = 2; - */ - node: string; - - /** - * @generated from field: string client_addr = 3; - */ - clientAddr: string; - - /** - * @generated from field: uint32 client_connect_time = 4; - */ - clientConnectTime: number; - - /** - * udp, tcp, turn - * - * @generated from field: string connection_type = 5; - */ - connectionType: string; - - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 6; - */ - reconnectReason: ReconnectReason; - - /** - * @generated from field: optional string geo_hash = 7; - */ - geoHash?: string; - - /** - * @generated from field: optional string country = 8; - */ - country?: string; - - /** - * @generated from field: optional uint32 isp_asn = 9; - */ - ispAsn?: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsClientMeta"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsClientMeta; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsClientMeta; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsClientMeta; - - static equals(a: AnalyticsClientMeta | PlainMessage | undefined, b: AnalyticsClientMeta | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsEvent - */ -export declare class AnalyticsEvent extends Message { - /** - * unique id for this event - * - * @generated from field: string id = 25; - */ - id: string; - - /** - * @generated from field: livekit.AnalyticsEventType type = 1; - */ - type: AnalyticsEventType; - - /** - * @generated from field: google.protobuf.Timestamp timestamp = 2; - */ - timestamp?: Timestamp; - - /** - * @generated from field: string room_id = 3; - */ - roomId: string; - - /** - * @generated from field: livekit.Room room = 4; - */ - room?: Room; - - /** - * @generated from field: string participant_id = 5; - */ - participantId: string; - - /** - * @generated from field: livekit.ParticipantInfo participant = 6; - */ - participant?: ParticipantInfo; - - /** - * @generated from field: string track_id = 7; - */ - trackId: string; - - /** - * @generated from field: livekit.TrackInfo track = 8; - */ - track?: TrackInfo; - - /** - * @generated from field: string analytics_key = 10; - */ - analyticsKey: string; - - /** - * @generated from field: livekit.ClientInfo client_info = 11; - */ - clientInfo?: ClientInfo; - - /** - * @generated from field: livekit.AnalyticsClientMeta client_meta = 12; - */ - clientMeta?: AnalyticsClientMeta; - - /** - * @generated from field: string egress_id = 13; - */ - egressId: string; - - /** - * @generated from field: string ingress_id = 19; - */ - ingressId: string; - - /** - * @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14; - */ - maxSubscribedVideoQuality: VideoQuality; - - /** - * @generated from field: livekit.ParticipantInfo publisher = 15; - */ - publisher?: ParticipantInfo; - - /** - * @generated from field: string mime = 16; - */ - mime: string; - - /** - * @generated from field: livekit.EgressInfo egress = 17; - */ - egress?: EgressInfo; - - /** - * @generated from field: livekit.IngressInfo ingress = 18; - */ - ingress?: IngressInfo; - - /** - * @generated from field: string error = 20; - */ - error: string; - - /** - * @generated from field: livekit.RTPStats rtp_stats = 21; - */ - rtpStats?: RTPStats; - - /** - * @generated from field: int32 video_layer = 22; - */ - videoLayer: number; - - /** - * @generated from field: string node_id = 24; - */ - nodeId: string; - - /** - * @generated from field: string sip_call_id = 26; - */ - sipCallId: string; - - /** - * @generated from field: livekit.SIPCallInfo sip_call = 27; - */ - sipCall?: SIPCallInfo; - - /** - * @generated from field: string sip_trunk_id = 28; - */ - sipTrunkId: string; - - /** - * @generated from field: livekit.SIPInboundTrunkInfo sip_inbound_trunk = 29; - */ - sipInboundTrunk?: SIPInboundTrunkInfo; - - /** - * @generated from field: livekit.SIPOutboundTrunkInfo sip_outbound_trunk = 30; - */ - sipOutboundTrunk?: SIPOutboundTrunkInfo; - - /** - * @generated from field: string sip_dispatch_rule_id = 31; - */ - sipDispatchRuleId: string; - - /** - * @generated from field: livekit.SIPDispatchRuleInfo sip_dispatch_rule = 32; - */ - sipDispatchRule?: SIPDispatchRuleInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsEvent"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvent; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvent; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvent; - - static equals(a: AnalyticsEvent | PlainMessage | undefined, b: AnalyticsEvent | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsEvents - */ -export declare class AnalyticsEvents extends Message { - /** - * @generated from field: repeated livekit.AnalyticsEvent events = 1; - */ - events: AnalyticsEvent[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsEvents"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsEvents; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsEvents; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsEvents; - - static equals(a: AnalyticsEvents | PlainMessage | undefined, b: AnalyticsEvents | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsRoomParticipant - */ -export declare class AnalyticsRoomParticipant extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * @generated from field: string name = 3; - */ - name: string; - - /** - * @generated from field: livekit.ParticipantInfo.State state = 4; - */ - state: ParticipantInfo_State; - - /** - * @generated from field: google.protobuf.Timestamp joined_at = 5; - */ - joinedAt?: Timestamp; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsRoomParticipant"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoomParticipant; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoomParticipant; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoomParticipant; - - static equals(a: AnalyticsRoomParticipant | PlainMessage | undefined, b: AnalyticsRoomParticipant | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsRoom - */ -export declare class AnalyticsRoom extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * @generated from field: string project_id = 5; - */ - projectId: string; - - /** - * @generated from field: google.protobuf.Timestamp created_at = 3; - */ - createdAt?: Timestamp; - - /** - * @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4; - */ - participants: AnalyticsRoomParticipant[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsRoom"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsRoom; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsRoom; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsRoom; - - static equals(a: AnalyticsRoom | PlainMessage | undefined, b: AnalyticsRoom | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AnalyticsNodeRooms - */ -export declare class AnalyticsNodeRooms extends Message { - /** - * @generated from field: string node_id = 1; - */ - nodeId: string; - - /** - * @generated from field: uint64 sequence_number = 2; - */ - sequenceNumber: bigint; - - /** - * @generated from field: google.protobuf.Timestamp timestamp = 3; - */ - timestamp?: Timestamp; - - /** - * @generated from field: repeated livekit.AnalyticsRoom rooms = 4; - */ - rooms: AnalyticsRoom[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AnalyticsNodeRooms"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AnalyticsNodeRooms; - - static fromJson(jsonValue: JsonValue, options?: Partial): AnalyticsNodeRooms; - - static fromJsonString(jsonString: string, options?: Partial): AnalyticsNodeRooms; - - static equals(a: AnalyticsNodeRooms | PlainMessage | undefined, b: AnalyticsNodeRooms | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_analytics_pb.js b/packages/javascript/src/gen/livekit_analytics_pb.js deleted file mode 100644 index 6baca83b..00000000 --- a/packages/javascript/src/gen/livekit_analytics_pb.js +++ /dev/null @@ -1,264 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_analytics.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3, Timestamp } from "@bufbuild/protobuf"; -import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; -import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js"; - -/** - * @generated from enum livekit.StreamType - */ -export const StreamType = /*@__PURE__*/ proto3.makeEnum( - "livekit.StreamType", - [ - {no: 0, name: "UPSTREAM"}, - {no: 1, name: "DOWNSTREAM"}, - ], -); - -/** - * @generated from enum livekit.AnalyticsEventType - */ -export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum( - "livekit.AnalyticsEventType", - [ - {no: 0, name: "ROOM_CREATED"}, - {no: 1, name: "ROOM_ENDED"}, - {no: 2, name: "PARTICIPANT_JOINED"}, - {no: 3, name: "PARTICIPANT_LEFT"}, - {no: 4, name: "TRACK_PUBLISHED"}, - {no: 20, name: "TRACK_PUBLISH_REQUESTED"}, - {no: 5, name: "TRACK_UNPUBLISHED"}, - {no: 6, name: "TRACK_SUBSCRIBED"}, - {no: 21, name: "TRACK_SUBSCRIBE_REQUESTED"}, - {no: 25, name: "TRACK_SUBSCRIBE_FAILED"}, - {no: 7, name: "TRACK_UNSUBSCRIBED"}, - {no: 10, name: "TRACK_PUBLISHED_UPDATE"}, - {no: 23, name: "TRACK_MUTED"}, - {no: 24, name: "TRACK_UNMUTED"}, - {no: 26, name: "TRACK_PUBLISH_STATS"}, - {no: 27, name: "TRACK_SUBSCRIBE_STATS"}, - {no: 11, name: "PARTICIPANT_ACTIVE"}, - {no: 22, name: "PARTICIPANT_RESUMED"}, - {no: 12, name: "EGRESS_STARTED"}, - {no: 13, name: "EGRESS_ENDED"}, - {no: 28, name: "EGRESS_UPDATED"}, - {no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"}, - {no: 15, name: "RECONNECTED"}, - {no: 18, name: "INGRESS_CREATED"}, - {no: 19, name: "INGRESS_DELETED"}, - {no: 16, name: "INGRESS_STARTED"}, - {no: 17, name: "INGRESS_ENDED"}, - {no: 29, name: "INGRESS_UPDATED"}, - {no: 30, name: "SIP_INBOUND_TRUNK_CREATED"}, - {no: 31, name: "SIP_INBOUND_TRUNK_DELETED"}, - {no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED"}, - {no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED"}, - {no: 34, name: "SIP_DISPATCH_RULE_CREATED"}, - {no: 35, name: "SIP_DISPATCH_RULE_DELETED"}, - {no: 36, name: "SIP_PARTICIPANT_CREATED"}, - {no: 37, name: "SIP_CALL_INCOMING"}, - {no: 38, name: "SIP_CALL_STARTED"}, - {no: 39, name: "SIP_CALL_ENDED"}, - ], -); - -/** - * @generated from message livekit.AnalyticsVideoLayer - */ -export const AnalyticsVideoLayer = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsVideoLayer", - () => [ - { no: 1, name: "layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 2, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 4, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.AnalyticsStream - */ -export const AnalyticsStream = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsStream", - () => [ - { no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "primary_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "primary_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 4, name: "retransmit_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "retransmit_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 6, name: "padding_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 7, name: "padding_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 9, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 10, name: "rtt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 11, name: "jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 12, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 13, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 14, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true }, - { no: 17, name: "start_time", kind: "message", T: Timestamp }, - { no: 18, name: "end_time", kind: "message", T: Timestamp }, - { no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.AnalyticsStat - */ -export const AnalyticsStat = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsStat", - () => [ - { no: 14, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 1, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) }, - { no: 3, name: "time_stamp", kind: "message", T: Timestamp }, - { no: 4, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true }, - { no: 11, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 12, name: "min_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 13, name: "median_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - ], -); - -/** - * @generated from message livekit.AnalyticsStats - */ -export const AnalyticsStats = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsStats", - () => [ - { no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true }, - ], -); - -/** - * @generated from message livekit.AnalyticsClientMeta - */ -export const AnalyticsClientMeta = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsClientMeta", - () => [ - { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "client_connect_time", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "connection_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, - { no: 7, name: "geo_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 8, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 9, name: "isp_asn", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true }, - ], -); - -/** - * @generated from message livekit.AnalyticsEvent - */ -export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsEvent", - () => [ - { no: 25, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) }, - { no: 2, name: "timestamp", kind: "message", T: Timestamp }, - { no: 3, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "room", kind: "message", T: Room }, - { no: 5, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "participant", kind: "message", T: ParticipantInfo }, - { no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "track", kind: "message", T: TrackInfo }, - { no: 10, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "client_info", kind: "message", T: ClientInfo }, - { no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta }, - { no: 13, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 19, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { no: 15, name: "publisher", kind: "message", T: ParticipantInfo }, - { no: 16, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 17, name: "egress", kind: "message", T: EgressInfo }, - { no: 18, name: "ingress", kind: "message", T: IngressInfo }, - { no: 20, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 21, name: "rtp_stats", kind: "message", T: RTPStats }, - { no: 22, name: "video_layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 24, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 26, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 27, name: "sip_call", kind: "message", T: SIPCallInfo }, - { no: 28, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo }, - { no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo }, - { no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo }, - ], -); - -/** - * @generated from message livekit.AnalyticsEvents - */ -export const AnalyticsEvents = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsEvents", - () => [ - { no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true }, - ], -); - -/** - * @generated from message livekit.AnalyticsRoomParticipant - */ -export const AnalyticsRoomParticipant = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsRoomParticipant", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, - { no: 5, name: "joined_at", kind: "message", T: Timestamp }, - ], -); - -/** - * @generated from message livekit.AnalyticsRoom - */ -export const AnalyticsRoom = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsRoom", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "created_at", kind: "message", T: Timestamp }, - { no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true }, - ], -); - -/** - * @generated from message livekit.AnalyticsNodeRooms - */ -export const AnalyticsNodeRooms = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AnalyticsNodeRooms", - () => [ - { no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 3, name: "timestamp", kind: "message", T: Timestamp }, - { no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_egress_pb.d.ts b/packages/javascript/src/gen/livekit_egress_pb.d.ts deleted file mode 100644 index 31db0249..00000000 --- a/packages/javascript/src/gen/livekit_egress_pb.d.ts +++ /dev/null @@ -1,2056 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_egress.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.EncodedFileType - */ -export declare enum EncodedFileType { - /** - * file type chosen based on codecs - * - * @generated from enum value: DEFAULT_FILETYPE = 0; - */ - DEFAULT_FILETYPE = 0, - - /** - * @generated from enum value: MP4 = 1; - */ - MP4 = 1, - - /** - * @generated from enum value: OGG = 2; - */ - OGG = 2, -} - -/** - * @generated from enum livekit.SegmentedFileProtocol - */ -export declare enum SegmentedFileProtocol { - /** - * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; - */ - DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, - - /** - * @generated from enum value: HLS_PROTOCOL = 1; - */ - HLS_PROTOCOL = 1, -} - -/** - * @generated from enum livekit.SegmentedFileSuffix - */ -export declare enum SegmentedFileSuffix { - /** - * @generated from enum value: INDEX = 0; - */ - INDEX = 0, - - /** - * @generated from enum value: TIMESTAMP = 1; - */ - TIMESTAMP = 1, -} - -/** - * @generated from enum livekit.ImageFileSuffix - */ -export declare enum ImageFileSuffix { - /** - * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; - */ - IMAGE_SUFFIX_INDEX = 0, - - /** - * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; - */ - IMAGE_SUFFIX_TIMESTAMP = 1, -} - -/** - * @generated from enum livekit.StreamProtocol - */ -export declare enum StreamProtocol { - /** - * protocol chosen based on urls - * - * @generated from enum value: DEFAULT_PROTOCOL = 0; - */ - DEFAULT_PROTOCOL = 0, - - /** - * @generated from enum value: RTMP = 1; - */ - RTMP = 1, - - /** - * @generated from enum value: SRT = 2; - */ - SRT = 2, -} - -/** - * @generated from enum livekit.EncodingOptionsPreset - */ -export declare enum EncodingOptionsPreset { - /** - * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS - * - * @generated from enum value: H264_720P_30 = 0; - */ - H264_720P_30 = 0, - - /** - * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_720P_60 = 1; - */ - H264_720P_60 = 1, - - /** - * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_1080P_30 = 2; - */ - H264_1080P_30 = 2, - - /** - * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS - * - * @generated from enum value: H264_1080P_60 = 3; - */ - H264_1080P_60 = 3, - - /** - * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_720P_30 = 4; - */ - PORTRAIT_H264_720P_30 = 4, - - /** - * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_720P_60 = 5; - */ - PORTRAIT_H264_720P_60 = 5, - - /** - * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; - */ - PORTRAIT_H264_1080P_30 = 6, - - /** - * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS - * - * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; - */ - PORTRAIT_H264_1080P_60 = 7, -} - -/** - * @generated from enum livekit.EgressStatus - */ -export declare enum EgressStatus { - /** - * @generated from enum value: EGRESS_STARTING = 0; - */ - EGRESS_STARTING = 0, - - /** - * @generated from enum value: EGRESS_ACTIVE = 1; - */ - EGRESS_ACTIVE = 1, - - /** - * @generated from enum value: EGRESS_ENDING = 2; - */ - EGRESS_ENDING = 2, - - /** - * @generated from enum value: EGRESS_COMPLETE = 3; - */ - EGRESS_COMPLETE = 3, - - /** - * @generated from enum value: EGRESS_FAILED = 4; - */ - EGRESS_FAILED = 4, - - /** - * @generated from enum value: EGRESS_ABORTED = 5; - */ - EGRESS_ABORTED = 5, - - /** - * @generated from enum value: EGRESS_LIMIT_REACHED = 6; - */ - EGRESS_LIMIT_REACHED = 6, -} - -/** - * composite using a web browser - * - * @generated from message livekit.RoomCompositeEgressRequest - */ -export declare class RoomCompositeEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * (optional) - * - * @generated from field: string layout = 2; - */ - layout: string; - - /** - * (default false) - * - * @generated from field: bool audio_only = 3; - */ - audioOnly: boolean; - - /** - * (default false) - * - * @generated from field: bool video_only = 4; - */ - videoOnly: boolean; - - /** - * template base url (default https://recorder.livekit.io) - * - * @generated from field: string custom_base_url = 5; - */ - customBaseUrl: string; - - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.RoomCompositeEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from oneof livekit.RoomCompositeEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 8; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 9; - */ - value: EncodingOptions; - case: "advanced"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - fileOutputs: EncodedFileOutput[]; - - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - streamOutputs: StreamOutput[]; - - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - segmentOutputs: SegmentedFileOutput[]; - - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - imageOutputs: ImageOutput[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomCompositeEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; - - static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * record any website - * - * @generated from message livekit.WebEgressRequest - */ -export declare class WebEgressRequest extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - - /** - * @generated from field: bool audio_only = 2; - */ - audioOnly: boolean; - - /** - * @generated from field: bool video_only = 3; - */ - videoOnly: boolean; - - /** - * @generated from field: bool await_start_signal = 12; - */ - awaitStartSignal: boolean; - - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.WebEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from oneof livekit.WebEgressRequest.options - */ - options: { - /** - * @generated from field: livekit.EncodingOptionsPreset preset = 7; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.EncodingOptions advanced = 8; - */ - value: EncodingOptions; - case: "advanced"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; - */ - fileOutputs: EncodedFileOutput[]; - - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; - */ - streamOutputs: StreamOutput[]; - - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; - */ - segmentOutputs: SegmentedFileOutput[]; - - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 13; - */ - imageOutputs: ImageOutput[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WebEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; - - static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * record audio and video from a single participant - * - * @generated from message livekit.ParticipantEgressRequest - */ -export declare class ParticipantEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * required - * - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * (default false) - * - * @generated from field: bool screen_share = 3; - */ - screenShare: boolean; - - /** - * @generated from oneof livekit.ParticipantEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 4; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 5; - */ - value: EncodingOptions; - case: "advanced"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; - */ - fileOutputs: EncodedFileOutput[]; - - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; - */ - streamOutputs: StreamOutput[]; - - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; - */ - segmentOutputs: SegmentedFileOutput[]; - - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 9; - */ - imageOutputs: ImageOutput[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; - - static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * containerize up to one audio and one video track - * - * @generated from message livekit.TrackCompositeEgressRequest - */ -export declare class TrackCompositeEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * (optional) - * - * @generated from field: string audio_track_id = 2; - */ - audioTrackId: string; - - /** - * (optional) - * - * @generated from field: string video_track_id = 3; - */ - videoTrackId: string; - - /** - * deprecated (use _output fields) - * - * @generated from oneof livekit.TrackCompositeEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; - * @deprecated - */ - value: EncodedFileOutput; - case: "file"; - } | { - /** - * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; - * @deprecated - */ - value: StreamOutput; - case: "stream"; - } | { - /** - * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; - * @deprecated - */ - value: SegmentedFileOutput; - case: "segments"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from oneof livekit.TrackCompositeEgressRequest.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 6; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 7; - */ - value: EncodingOptions; - case: "advanced"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; - */ - fileOutputs: EncodedFileOutput[]; - - /** - * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; - */ - streamOutputs: StreamOutput[]; - - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; - */ - segmentOutputs: SegmentedFileOutput[]; - - /** - * @generated from field: repeated livekit.ImageOutput image_outputs = 14; - */ - imageOutputs: ImageOutput[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackCompositeEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; - - static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * record tracks individually, without transcoding - * - * @generated from message livekit.TrackEgressRequest - */ -export declare class TrackEgressRequest extends Message { - /** - * required - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * required - * - * @generated from field: string track_id = 2; - */ - trackId: string; - - /** - * required - * - * @generated from oneof livekit.TrackEgressRequest.output - */ - output: { - /** - * @generated from field: livekit.DirectFileOutput file = 3; - */ - value: DirectFileOutput; - case: "file"; - } | { - /** - * @generated from field: string websocket_url = 4; - */ - value: string; - case: "websocketUrl"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; - - static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.EncodedFileOutput - */ -export declare class EncodedFileOutput extends Message { - /** - * (optional) - * - * @generated from field: livekit.EncodedFileType file_type = 1; - */ - fileType: EncodedFileType; - - /** - * see egress docs for templating (default {room_name}-{time}) - * - * @generated from field: string filepath = 2; - */ - filepath: string; - - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 6; - */ - disableManifest: boolean; - - /** - * @generated from oneof livekit.EncodedFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 3; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 4; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 5; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 7; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EncodedFileOutput"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; - - static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; - - static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; - - static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; -} - -/** - * Used to generate HLS segments or other kind of segmented output - * - * @generated from message livekit.SegmentedFileOutput - */ -export declare class SegmentedFileOutput extends Message { - /** - * (optional) - * - * @generated from field: livekit.SegmentedFileProtocol protocol = 1; - */ - protocol: SegmentedFileProtocol; - - /** - * (optional) - * - * @generated from field: string filename_prefix = 2; - */ - filenamePrefix: string; - - /** - * (optional) - * - * @generated from field: string playlist_name = 3; - */ - playlistName: string; - - /** - * (optional, disabled if not provided). Path of a live playlist - * - * @generated from field: string live_playlist_name = 11; - */ - livePlaylistName: string; - - /** - * in seconds (optional) - * - * @generated from field: uint32 segment_duration = 4; - */ - segmentDuration: number; - - /** - * (optional, default INDEX) - * - * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; - */ - filenameSuffix: SegmentedFileSuffix; - - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 8; - */ - disableManifest: boolean; - - /** - * required - * - * @generated from oneof livekit.SegmentedFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 5; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 6; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 7; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 9; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SegmentedFileOutput"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; - - static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; - - static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; - - static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DirectFileOutput - */ -export declare class DirectFileOutput extends Message { - /** - * see egress docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - filepath: string; - - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - disableManifest: boolean; - - /** - * @generated from oneof livekit.DirectFileOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 2; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 3; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 4; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 6; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DirectFileOutput"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; - - static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; - - static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; - - static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ImageOutput - */ -export declare class ImageOutput extends Message { - /** - * in seconds (required) - * - * @generated from field: uint32 capture_interval = 1; - */ - captureInterval: number; - - /** - * (optional, defaults to track width) - * - * @generated from field: int32 width = 2; - */ - width: number; - - /** - * (optional, defaults to track height) - * - * @generated from field: int32 height = 3; - */ - height: number; - - /** - * (optional) - * - * @generated from field: string filename_prefix = 4; - */ - filenamePrefix: string; - - /** - * (optional, default INDEX) - * - * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; - */ - filenameSuffix: ImageFileSuffix; - - /** - * (optional) - * - * @generated from field: livekit.ImageCodec image_codec = 6; - */ - imageCodec: ImageCodec; - - /** - * disable upload of manifest file (default false) - * - * @generated from field: bool disable_manifest = 7; - */ - disableManifest: boolean; - - /** - * required - * - * @generated from oneof livekit.ImageOutput.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 8; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 9; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 10; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 11; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ImageOutput"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; - - static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; - - static fromJsonString(jsonString: string, options?: Partial): ImageOutput; - - static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.S3Upload - */ -export declare class S3Upload extends Message { - /** - * @generated from field: string access_key = 1; - */ - accessKey: string; - - /** - * @generated from field: string secret = 2; - */ - secret: string; - - /** - * @generated from field: string session_token = 11; - */ - sessionToken: string; - - /** - * @generated from field: string region = 3; - */ - region: string; - - /** - * @generated from field: string endpoint = 4; - */ - endpoint: string; - - /** - * @generated from field: string bucket = 5; - */ - bucket: string; - - /** - * @generated from field: bool force_path_style = 6; - */ - forcePathStyle: boolean; - - /** - * @generated from field: map metadata = 7; - */ - metadata: { [key: string]: string }; - - /** - * @generated from field: string tagging = 8; - */ - tagging: string; - - /** - * Content-Disposition header - * - * @generated from field: string content_disposition = 9; - */ - contentDisposition: string; - - /** - * @generated from field: livekit.ProxyConfig proxy = 10; - */ - proxy?: ProxyConfig; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.S3Upload"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; - - static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; - - static fromJsonString(jsonString: string, options?: Partial): S3Upload; - - static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.GCPUpload - */ -export declare class GCPUpload extends Message { - /** - * service account credentials serialized in JSON "credentials.json" - * - * @generated from field: string credentials = 1; - */ - credentials: string; - - /** - * @generated from field: string bucket = 2; - */ - bucket: string; - - /** - * @generated from field: livekit.ProxyConfig proxy = 3; - */ - proxy?: ProxyConfig; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GCPUpload"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; - - static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; - - static fromJsonString(jsonString: string, options?: Partial): GCPUpload; - - static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AzureBlobUpload - */ -export declare class AzureBlobUpload extends Message { - /** - * @generated from field: string account_name = 1; - */ - accountName: string; - - /** - * @generated from field: string account_key = 2; - */ - accountKey: string; - - /** - * @generated from field: string container_name = 3; - */ - containerName: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AzureBlobUpload"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; - - static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; - - static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; - - static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AliOSSUpload - */ -export declare class AliOSSUpload extends Message { - /** - * @generated from field: string access_key = 1; - */ - accessKey: string; - - /** - * @generated from field: string secret = 2; - */ - secret: string; - - /** - * @generated from field: string region = 3; - */ - region: string; - - /** - * @generated from field: string endpoint = 4; - */ - endpoint: string; - - /** - * @generated from field: string bucket = 5; - */ - bucket: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AliOSSUpload"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; - - static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; - - static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; - - static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ProxyConfig - */ -export declare class ProxyConfig extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - - /** - * @generated from field: string username = 2; - */ - username: string; - - /** - * @generated from field: string password = 3; - */ - password: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ProxyConfig"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; - - static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; - - static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; - - static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StreamOutput - */ -export declare class StreamOutput extends Message { - /** - * required - * - * @generated from field: livekit.StreamProtocol protocol = 1; - */ - protocol: StreamProtocol; - - /** - * required - * - * @generated from field: repeated string urls = 2; - */ - urls: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamOutput"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; - - static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; - - static fromJsonString(jsonString: string, options?: Partial): StreamOutput; - - static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.EncodingOptions - */ -export declare class EncodingOptions extends Message { - /** - * (default 1920) - * - * @generated from field: int32 width = 1; - */ - width: number; - - /** - * (default 1080) - * - * @generated from field: int32 height = 2; - */ - height: number; - - /** - * (default 24) - * - * @generated from field: int32 depth = 3; - */ - depth: number; - - /** - * (default 30) - * - * @generated from field: int32 framerate = 4; - */ - framerate: number; - - /** - * (default OPUS) - * - * @generated from field: livekit.AudioCodec audio_codec = 5; - */ - audioCodec: AudioCodec; - - /** - * (default 128) - * - * @generated from field: int32 audio_bitrate = 6; - */ - audioBitrate: number; - - /** - * quality setting on audio encoder - * - * @generated from field: int32 audio_quality = 11; - */ - audioQuality: number; - - /** - * (default 44100) - * - * @generated from field: int32 audio_frequency = 7; - */ - audioFrequency: number; - - /** - * (default H264_MAIN) - * - * @generated from field: livekit.VideoCodec video_codec = 8; - */ - videoCodec: VideoCodec; - - /** - * (default 4500) - * - * @generated from field: int32 video_bitrate = 9; - */ - videoBitrate: number; - - /** - * quality setting on video encoder - * - * @generated from field: int32 video_quality = 12; - */ - videoQuality: number; - - /** - * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) - * - * @generated from field: double key_frame_interval = 10; - */ - keyFrameInterval: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EncodingOptions"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; - - static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; - - static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; - - static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateLayoutRequest - */ -export declare class UpdateLayoutRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - - /** - * @generated from field: string layout = 2; - */ - layout: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLayoutRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; - - static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateStreamRequest - */ -export declare class UpdateStreamRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - - /** - * @generated from field: repeated string add_output_urls = 2; - */ - addOutputUrls: string[]; - - /** - * @generated from field: repeated string remove_output_urls = 3; - */ - removeOutputUrls: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateStreamRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; - - static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListEgressRequest - */ -export declare class ListEgressRequest extends Message { - /** - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * (optional, filter by egress ID) - * - * @generated from field: string egress_id = 2; - */ - egressId: string; - - /** - * (optional, list active egress only) - * - * @generated from field: bool active = 3; - */ - active: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; - - static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListEgressResponse - */ -export declare class ListEgressResponse extends Message { - /** - * @generated from field: repeated livekit.EgressInfo items = 1; - */ - items: EgressInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListEgressResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; - - static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StopEgressRequest - */ -export declare class StopEgressRequest extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StopEgressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; - - static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; - - static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.EgressInfo - */ -export declare class EgressInfo extends Message { - /** - * @generated from field: string egress_id = 1; - */ - egressId: string; - - /** - * @generated from field: string room_id = 2; - */ - roomId: string; - - /** - * @generated from field: string room_name = 13; - */ - roomName: string; - - /** - * @generated from field: livekit.EgressStatus status = 3; - */ - status: EgressStatus; - - /** - * @generated from field: int64 started_at = 10; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 11; - */ - endedAt: bigint; - - /** - * @generated from field: int64 updated_at = 18; - */ - updatedAt: bigint; - - /** - * @generated from field: string details = 21; - */ - details: string; - - /** - * @generated from field: string error = 9; - */ - error: string; - - /** - * @generated from field: int32 error_code = 22; - */ - errorCode: number; - - /** - * @generated from oneof livekit.EgressInfo.request - */ - request: { - /** - * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; - */ - value: RoomCompositeEgressRequest; - case: "roomComposite"; - } | { - /** - * @generated from field: livekit.WebEgressRequest web = 14; - */ - value: WebEgressRequest; - case: "web"; - } | { - /** - * @generated from field: livekit.ParticipantEgressRequest participant = 19; - */ - value: ParticipantEgressRequest; - case: "participant"; - } | { - /** - * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; - */ - value: TrackCompositeEgressRequest; - case: "trackComposite"; - } | { - /** - * @generated from field: livekit.TrackEgressRequest track = 6; - */ - value: TrackEgressRequest; - case: "track"; - } | { case: undefined; value?: undefined }; - - /** - * deprecated (use _result fields) - * - * @generated from oneof livekit.EgressInfo.result - */ - result: { - /** - * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; - * @deprecated - */ - value: StreamInfoList; - case: "stream"; - } | { - /** - * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; - * @deprecated - */ - value: FileInfo; - case: "file"; - } | { - /** - * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; - * @deprecated - */ - value: SegmentsInfo; - case: "segments"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.StreamInfo stream_results = 15; - */ - streamResults: StreamInfo[]; - - /** - * @generated from field: repeated livekit.FileInfo file_results = 16; - */ - fileResults: FileInfo[]; - - /** - * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; - */ - segmentResults: SegmentsInfo[]; - - /** - * @generated from field: repeated livekit.ImagesInfo image_results = 20; - */ - imageResults: ImagesInfo[]; - - /** - * @generated from field: string manifest_location = 23; - */ - manifestLocation: string; - - /** - * next ID: 26 - * - * @generated from field: bool backup_storage_used = 25; - */ - backupStorageUsed: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EgressInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; - - static fromJsonString(jsonString: string, options?: Partial): EgressInfo; - - static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StreamInfoList - * @deprecated - */ -export declare class StreamInfoList extends Message { - /** - * @generated from field: repeated livekit.StreamInfo info = 1; - */ - info: StreamInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamInfoList"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; - - static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; - - static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; - - static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StreamInfo - */ -export declare class StreamInfo extends Message { - /** - * @generated from field: string url = 1; - */ - url: string; - - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - - /** - * @generated from field: int64 duration = 4; - */ - duration: bigint; - - /** - * @generated from field: livekit.StreamInfo.Status status = 5; - */ - status: StreamInfo_Status; - - /** - * @generated from field: string error = 6; - */ - error: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; - - static fromJsonString(jsonString: string, options?: Partial): StreamInfo; - - static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.StreamInfo.Status - */ -export declare enum StreamInfo_Status { - /** - * @generated from enum value: ACTIVE = 0; - */ - ACTIVE = 0, - - /** - * @generated from enum value: FINISHED = 1; - */ - FINISHED = 1, - - /** - * @generated from enum value: FAILED = 2; - */ - FAILED = 2, -} - -/** - * @generated from message livekit.FileInfo - */ -export declare class FileInfo extends Message { - /** - * @generated from field: string filename = 1; - */ - filename: string; - - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - - /** - * @generated from field: int64 duration = 6; - */ - duration: bigint; - - /** - * @generated from field: int64 size = 4; - */ - size: bigint; - - /** - * @generated from field: string location = 5; - */ - location: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.FileInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; - - static fromJsonString(jsonString: string, options?: Partial): FileInfo; - - static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SegmentsInfo - */ -export declare class SegmentsInfo extends Message { - /** - * @generated from field: string playlist_name = 1; - */ - playlistName: string; - - /** - * @generated from field: string live_playlist_name = 8; - */ - livePlaylistName: string; - - /** - * @generated from field: int64 duration = 2; - */ - duration: bigint; - - /** - * @generated from field: int64 size = 3; - */ - size: bigint; - - /** - * @generated from field: string playlist_location = 4; - */ - playlistLocation: string; - - /** - * @generated from field: string live_playlist_location = 9; - */ - livePlaylistLocation: string; - - /** - * @generated from field: int64 segment_count = 5; - */ - segmentCount: bigint; - - /** - * @generated from field: int64 started_at = 6; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 7; - */ - endedAt: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SegmentsInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; - - static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; - - static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ImagesInfo - */ -export declare class ImagesInfo extends Message { - /** - * @generated from field: string filename_prefix = 4; - */ - filenamePrefix: string; - - /** - * @generated from field: int64 image_count = 1; - */ - imageCount: bigint; - - /** - * @generated from field: int64 started_at = 2; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 3; - */ - endedAt: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ImagesInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; - - static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; - - static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AutoParticipantEgress - */ -export declare class AutoParticipantEgress extends Message { - /** - * @generated from oneof livekit.AutoParticipantEgress.options - */ - options: { - /** - * (default H264_720P_30) - * - * @generated from field: livekit.EncodingOptionsPreset preset = 1; - */ - value: EncodingOptionsPreset; - case: "preset"; - } | { - /** - * (optional) - * - * @generated from field: livekit.EncodingOptions advanced = 2; - */ - value: EncodingOptions; - case: "advanced"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; - */ - fileOutputs: EncodedFileOutput[]; - - /** - * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; - */ - segmentOutputs: SegmentedFileOutput[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AutoParticipantEgress"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; - - static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; - - static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; - - static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AutoTrackEgress - */ -export declare class AutoTrackEgress extends Message { - /** - * see docs for templating (default {track_id}-{time}) - * - * @generated from field: string filepath = 1; - */ - filepath: string; - - /** - * disables upload of json manifest file (default false) - * - * @generated from field: bool disable_manifest = 5; - */ - disableManifest: boolean; - - /** - * @generated from oneof livekit.AutoTrackEgress.output - */ - output: { - /** - * @generated from field: livekit.S3Upload s3 = 2; - */ - value: S3Upload; - case: "s3"; - } | { - /** - * @generated from field: livekit.GCPUpload gcp = 3; - */ - value: GCPUpload; - case: "gcp"; - } | { - /** - * @generated from field: livekit.AzureBlobUpload azure = 4; - */ - value: AzureBlobUpload; - case: "azure"; - } | { - /** - * @generated from field: livekit.AliOSSUpload aliOSS = 6; - */ - value: AliOSSUpload; - case: "aliOSS"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AutoTrackEgress"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; - - static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; - - static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; - - static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_egress_pb.js b/packages/javascript/src/gen/livekit_egress_pb.js deleted file mode 100644 index 68d07558..00000000 --- a/packages/javascript/src/gen/livekit_egress_pb.js +++ /dev/null @@ -1,594 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_egress.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.EncodedFileType - */ -export const EncodedFileType = /*@__PURE__*/ proto3.makeEnum( - "livekit.EncodedFileType", - [ - {no: 0, name: "DEFAULT_FILETYPE"}, - {no: 1, name: "MP4"}, - {no: 2, name: "OGG"}, - ], -); - -/** - * @generated from enum livekit.SegmentedFileProtocol - */ -export const SegmentedFileProtocol = /*@__PURE__*/ proto3.makeEnum( - "livekit.SegmentedFileProtocol", - [ - {no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"}, - {no: 1, name: "HLS_PROTOCOL"}, - ], -); - -/** - * @generated from enum livekit.SegmentedFileSuffix - */ -export const SegmentedFileSuffix = /*@__PURE__*/ proto3.makeEnum( - "livekit.SegmentedFileSuffix", - [ - {no: 0, name: "INDEX"}, - {no: 1, name: "TIMESTAMP"}, - ], -); - -/** - * @generated from enum livekit.ImageFileSuffix - */ -export const ImageFileSuffix = /*@__PURE__*/ proto3.makeEnum( - "livekit.ImageFileSuffix", - [ - {no: 0, name: "IMAGE_SUFFIX_INDEX"}, - {no: 1, name: "IMAGE_SUFFIX_TIMESTAMP"}, - ], -); - -/** - * @generated from enum livekit.StreamProtocol - */ -export const StreamProtocol = /*@__PURE__*/ proto3.makeEnum( - "livekit.StreamProtocol", - [ - {no: 0, name: "DEFAULT_PROTOCOL"}, - {no: 1, name: "RTMP"}, - {no: 2, name: "SRT"}, - ], -); - -/** - * @generated from enum livekit.EncodingOptionsPreset - */ -export const EncodingOptionsPreset = /*@__PURE__*/ proto3.makeEnum( - "livekit.EncodingOptionsPreset", - [ - {no: 0, name: "H264_720P_30"}, - {no: 1, name: "H264_720P_60"}, - {no: 2, name: "H264_1080P_30"}, - {no: 3, name: "H264_1080P_60"}, - {no: 4, name: "PORTRAIT_H264_720P_30"}, - {no: 5, name: "PORTRAIT_H264_720P_60"}, - {no: 6, name: "PORTRAIT_H264_1080P_30"}, - {no: 7, name: "PORTRAIT_H264_1080P_60"}, - ], -); - -/** - * @generated from enum livekit.EgressStatus - */ -export const EgressStatus = /*@__PURE__*/ proto3.makeEnum( - "livekit.EgressStatus", - [ - {no: 0, name: "EGRESS_STARTING"}, - {no: 1, name: "EGRESS_ACTIVE"}, - {no: 2, name: "EGRESS_ENDING"}, - {no: 3, name: "EGRESS_COMPLETE"}, - {no: 4, name: "EGRESS_FAILED"}, - {no: 5, name: "EGRESS_ABORTED"}, - {no: 6, name: "EGRESS_LIMIT_REACHED"}, - ], -); - -/** - * composite using a web browser - * - * @generated from message livekit.RoomCompositeEgressRequest - */ -export const RoomCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomCompositeEgressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "custom_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, - ], -); - -/** - * record any website - * - * @generated from message livekit.WebEgressRequest - */ -export const WebEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.WebEgressRequest", - () => [ - { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 12, name: "await_start_signal", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, - ], -); - -/** - * record audio and video from a single participant - * - * @generated from message livekit.ParticipantEgressRequest - */ -export const ParticipantEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ParticipantEgressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "screen_share", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, - ], -); - -/** - * containerize up to one audio and one video track - * - * @generated from message livekit.TrackCompositeEgressRequest - */ -export const TrackCompositeEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackCompositeEgressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "audio_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" }, - { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" }, - { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" }, - { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true }, - { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }, - ], -); - -/** - * record tracks individually, without transcoding - * - * @generated from message livekit.TrackEgressRequest - */ -export const TrackEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackEgressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" }, - { no: 4, name: "websocket_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output" }, - ], -); - -/** - * @generated from message livekit.EncodedFileOutput - */ -export const EncodedFileOutput = /*@__PURE__*/ proto3.makeMessageType( - "livekit.EncodedFileOutput", - () => [ - { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) }, - { no: 2, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, - ], -); - -/** - * Used to generate HLS segments or other kind of segmented output - * - * @generated from message livekit.SegmentedFileOutput - */ -export const SegmentedFileOutput = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SegmentedFileOutput", - () => [ - { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) }, - { no: 2, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "segment_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) }, - { no: 8, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, - ], -); - -/** - * @generated from message livekit.DirectFileOutput - */ -export const DirectFileOutput = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DirectFileOutput", - () => [ - { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, - ], -); - -/** - * @generated from message livekit.ImageOutput - */ -export const ImageOutput = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ImageOutput", - () => [ - { no: 1, name: "capture_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) }, - { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) }, - { no: 7, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, - ], -); - -/** - * @generated from message livekit.S3Upload - */ -export const S3Upload = /*@__PURE__*/ proto3.makeMessageType( - "livekit.S3Upload", - () => [ - { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "session_token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "force_path_style", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "proxy", kind: "message", T: ProxyConfig }, - ], -); - -/** - * @generated from message livekit.GCPUpload - */ -export const GCPUpload = /*@__PURE__*/ proto3.makeMessageType( - "livekit.GCPUpload", - () => [ - { no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "proxy", kind: "message", T: ProxyConfig }, - ], -); - -/** - * @generated from message livekit.AzureBlobUpload - */ -export const AzureBlobUpload = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AzureBlobUpload", - () => [ - { no: 1, name: "account_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "account_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "container_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.AliOSSUpload - */ -export const AliOSSUpload = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AliOSSUpload", - () => [ - { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ProxyConfig - */ -export const ProxyConfig = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ProxyConfig", - () => [ - { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.StreamOutput - */ -export const StreamOutput = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StreamOutput", - () => [ - { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) }, - { no: 2, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * @generated from message livekit.EncodingOptions - */ -export const EncodingOptions = /*@__PURE__*/ proto3.makeMessageType( - "livekit.EncodingOptions", - () => [ - { no: 1, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 2, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: "depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "framerate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, - { no: 6, name: "audio_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 11, name: "audio_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 7, name: "audio_frequency", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, - { no: 9, name: "video_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 12, name: "video_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 10, name: "key_frame_interval", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - ], -); - -/** - * @generated from message livekit.UpdateLayoutRequest - */ -export const UpdateLayoutRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateLayoutRequest", - () => [ - { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.UpdateStreamRequest - */ -export const UpdateStreamRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateStreamRequest", - () => [ - { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "add_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 3, name: "remove_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * @generated from message livekit.ListEgressRequest - */ -export const ListEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListEgressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.ListEgressResponse - */ -export const ListEgressResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListEgressResponse", - () => [ - { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.StopEgressRequest - */ -export const StopEgressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StopEgressRequest", - () => [ - { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.EgressInfo - */ -export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.EgressInfo", - () => [ - { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) }, - { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 22, name: "error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" }, - { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" }, - { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" }, - { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" }, - { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" }, - { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" }, - { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" }, - { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }, - { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true }, - { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true }, - { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true }, - { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true }, - { no: 23, name: "manifest_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 25, name: "backup_storage_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.StreamInfoList - * @deprecated - */ -export const StreamInfoList = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StreamInfoList", - () => [ - { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.StreamInfo - */ -export const StreamInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StreamInfo", - () => [ - { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 4, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) }, - { no: 6, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from enum livekit.StreamInfo.Status - */ -export const StreamInfo_Status = /*@__PURE__*/ proto3.makeEnum( - "livekit.StreamInfo.Status", - [ - {no: 0, name: "ACTIVE"}, - {no: 1, name: "FINISHED"}, - {no: 2, name: "FAILED"}, - ], -); - -/** - * @generated from message livekit.FileInfo - */ -export const FileInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.FileInfo", - () => [ - { no: 1, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 6, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 5, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SegmentsInfo - */ -export const SegmentsInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SegmentsInfo", - () => [ - { no: 1, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 4, name: "playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "live_playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "segment_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 6, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 7, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.ImagesInfo - */ -export const ImagesInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ImagesInfo", - () => [ - { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 1, name: "image_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.AutoParticipantEgress - */ -export const AutoParticipantEgress = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AutoParticipantEgress", - () => [ - { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" }, - { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" }, - { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true }, - { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true }, - ], -); - -/** - * @generated from message livekit.AutoTrackEgress - */ -export const AutoTrackEgress = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AutoTrackEgress", - () => [ - { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" }, - { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" }, - { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" }, - { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_ingress_pb.d.ts b/packages/javascript/src/gen/livekit_ingress_pb.d.ts deleted file mode 100644 index 41978a16..00000000 --- a/packages/javascript/src/gen/livekit_ingress_pb.d.ts +++ /dev/null @@ -1,843 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_ingress.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.IngressInput - */ -export declare enum IngressInput { - /** - * @generated from enum value: RTMP_INPUT = 0; - */ - RTMP_INPUT = 0, - - /** - * @generated from enum value: WHIP_INPUT = 1; - */ - WHIP_INPUT = 1, - - /** - * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream - * - * @generated from enum value: URL_INPUT = 2; - */ - URL_INPUT = 2, -} - -/** - * @generated from enum livekit.IngressAudioEncodingPreset - */ -export declare enum IngressAudioEncodingPreset { - /** - * OPUS, 2 channels, 96kbps - * - * @generated from enum value: OPUS_STEREO_96KBPS = 0; - */ - OPUS_STEREO_96KBPS = 0, - - /** - * OPUS, 1 channel, 64kbps - * - * @generated from enum value: OPUS_MONO_64KBS = 1; - */ - OPUS_MONO_64KBS = 1, -} - -/** - * @generated from enum livekit.IngressVideoEncodingPreset - */ -export declare enum IngressVideoEncodingPreset { - /** - * 1280x720, 30fps, 1900kbps main layer, 3 layers total - * - * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0; - */ - H264_720P_30FPS_3_LAYERS = 0, - - /** - * 1980x1080, 30fps, 3500kbps main layer, 3 layers total - * - * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1; - */ - H264_1080P_30FPS_3_LAYERS = 1, - - /** - * 960x540, 25fps, 1000kbps main layer, 2 layers total - * - * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2; - */ - H264_540P_25FPS_2_LAYERS = 2, - - /** - * 1280x720, 30fps, 1900kbps, no simulcast - * - * @generated from enum value: H264_720P_30FPS_1_LAYER = 3; - */ - H264_720P_30FPS_1_LAYER = 3, - - /** - * 1980x1080, 30fps, 3500kbps, no simulcast - * - * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4; - */ - H264_1080P_30FPS_1_LAYER = 4, - - /** - * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5; - */ - H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5, - - /** - * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6; - */ - H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6, - - /** - * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7; - */ - H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7, - - /** - * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8; - */ - H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8, - - /** - * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content - * - * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9; - */ - H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9, -} - -/** - * @generated from message livekit.CreateIngressRequest - */ -export declare class CreateIngressRequest extends Message { - /** - * @generated from field: livekit.IngressInput input_type = 1; - */ - inputType: IngressInput; - - /** - * Where to pull media from, only for URL input type - * - * @generated from field: string url = 9; - */ - url: string; - - /** - * User provided identifier for the ingress - * - * @generated from field: string name = 2; - */ - name: string; - - /** - * room to publish to - * - * @generated from field: string room_name = 3; - */ - roomName: string; - - /** - * publish as participant - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - - /** - * name of publishing participant (used for display only) - * - * @generated from field: string participant_name = 5; - */ - participantName: string; - - /** - * metadata associated with the publishing participant - * - * @generated from field: string participant_metadata = 10; - */ - participantMetadata: string; - - /** - * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. - * - * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - bypassTranscoding: boolean; - - /** - * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. - * - * @generated from field: optional bool enable_transcoding = 11; - */ - enableTranscoding?: boolean; - - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateIngressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest; - - static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressAudioOptions - */ -export declare class IngressAudioOptions extends Message { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * @generated from field: livekit.TrackSource source = 2; - */ - source: TrackSource; - - /** - * @generated from oneof livekit.IngressAudioOptions.encoding_options - */ - encodingOptions: { - /** - * @generated from field: livekit.IngressAudioEncodingPreset preset = 3; - */ - value: IngressAudioEncodingPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.IngressAudioEncodingOptions options = 4; - */ - value: IngressAudioEncodingOptions; - case: "options"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressAudioOptions"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions; - - static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions; - - static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressVideoOptions - */ -export declare class IngressVideoOptions extends Message { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * @generated from field: livekit.TrackSource source = 2; - */ - source: TrackSource; - - /** - * @generated from oneof livekit.IngressVideoOptions.encoding_options - */ - encodingOptions: { - /** - * @generated from field: livekit.IngressVideoEncodingPreset preset = 3; - */ - value: IngressVideoEncodingPreset; - case: "preset"; - } | { - /** - * @generated from field: livekit.IngressVideoEncodingOptions options = 4; - */ - value: IngressVideoEncodingOptions; - case: "options"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressVideoOptions"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions; - - static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions; - - static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressAudioEncodingOptions - */ -export declare class IngressAudioEncodingOptions extends Message { - /** - * desired audio codec to publish to room - * - * @generated from field: livekit.AudioCodec audio_codec = 1; - */ - audioCodec: AudioCodec; - - /** - * @generated from field: uint32 bitrate = 2; - */ - bitrate: number; - - /** - * @generated from field: bool disable_dtx = 3; - */ - disableDtx: boolean; - - /** - * @generated from field: uint32 channels = 4; - */ - channels: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressAudioEncodingOptions"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions; - - static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions; - - static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressVideoEncodingOptions - */ -export declare class IngressVideoEncodingOptions extends Message { - /** - * desired codec to publish to room - * - * @generated from field: livekit.VideoCodec video_codec = 1; - */ - videoCodec: VideoCodec; - - /** - * @generated from field: double frame_rate = 2; - */ - frameRate: number; - - /** - * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions - * - * @generated from field: repeated livekit.VideoLayer layers = 3; - */ - layers: VideoLayer[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressVideoEncodingOptions"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions; - - static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions; - - static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressInfo - */ -export declare class IngressInfo extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * @generated from field: string stream_key = 3; - */ - streamKey: string; - - /** - * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) - * - * @generated from field: string url = 4; - */ - url: string; - - /** - * for RTMP input, it'll be a rtmp:// URL - * for FILE input, it'll be a http:// URL - * for SRT input, it'll be a srt:// URL - * - * @generated from field: livekit.IngressInput input_type = 5; - */ - inputType: IngressInput; - - /** - * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; - * @deprecated - */ - bypassTranscoding: boolean; - - /** - * @generated from field: optional bool enable_transcoding = 15; - */ - enableTranscoding?: boolean; - - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - - /** - * @generated from field: string room_name = 8; - */ - roomName: string; - - /** - * @generated from field: string participant_identity = 9; - */ - participantIdentity: string; - - /** - * @generated from field: string participant_name = 10; - */ - participantName: string; - - /** - * @generated from field: string participant_metadata = 14; - */ - participantMetadata: string; - - /** - * @generated from field: bool reusable = 11; - */ - reusable: boolean; - - /** - * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) - * - * @generated from field: livekit.IngressState state = 12; - */ - state?: IngressState; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo; - - static fromJsonString(jsonString: string, options?: Partial): IngressInfo; - - static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.IngressState - */ -export declare class IngressState extends Message { - /** - * @generated from field: livekit.IngressState.Status status = 1; - */ - status: IngressState_Status; - - /** - * Error/non compliance description if any - * - * @generated from field: string error = 2; - */ - error: string; - - /** - * @generated from field: livekit.InputVideoState video = 3; - */ - video?: InputVideoState; - - /** - * @generated from field: livekit.InputAudioState audio = 4; - */ - audio?: InputAudioState; - - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 5; - */ - roomId: string; - - /** - * @generated from field: int64 started_at = 7; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 8; - */ - endedAt: bigint; - - /** - * @generated from field: int64 updated_at = 10; - */ - updatedAt: bigint; - - /** - * @generated from field: string resource_id = 9; - */ - resourceId: string; - - /** - * @generated from field: repeated livekit.TrackInfo tracks = 6; - */ - tracks: TrackInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.IngressState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): IngressState; - - static fromJson(jsonValue: JsonValue, options?: Partial): IngressState; - - static fromJsonString(jsonString: string, options?: Partial): IngressState; - - static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.IngressState.Status - */ -export declare enum IngressState_Status { - /** - * @generated from enum value: ENDPOINT_INACTIVE = 0; - */ - ENDPOINT_INACTIVE = 0, - - /** - * @generated from enum value: ENDPOINT_BUFFERING = 1; - */ - ENDPOINT_BUFFERING = 1, - - /** - * @generated from enum value: ENDPOINT_PUBLISHING = 2; - */ - ENDPOINT_PUBLISHING = 2, - - /** - * @generated from enum value: ENDPOINT_ERROR = 3; - */ - ENDPOINT_ERROR = 3, - - /** - * @generated from enum value: ENDPOINT_COMPLETE = 4; - */ - ENDPOINT_COMPLETE = 4, -} - -/** - * @generated from message livekit.InputVideoState - */ -export declare class InputVideoState extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - - /** - * @generated from field: uint32 average_bitrate = 2; - */ - averageBitrate: number; - - /** - * @generated from field: uint32 width = 3; - */ - width: number; - - /** - * @generated from field: uint32 height = 4; - */ - height: number; - - /** - * @generated from field: double framerate = 5; - */ - framerate: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.InputVideoState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState; - - static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState; - - static fromJsonString(jsonString: string, options?: Partial): InputVideoState; - - static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.InputAudioState - */ -export declare class InputAudioState extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - - /** - * @generated from field: uint32 average_bitrate = 2; - */ - averageBitrate: number; - - /** - * @generated from field: uint32 channels = 3; - */ - channels: number; - - /** - * @generated from field: uint32 sample_rate = 4; - */ - sampleRate: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.InputAudioState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState; - - static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState; - - static fromJsonString(jsonString: string, options?: Partial): InputAudioState; - - static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateIngressRequest - */ -export declare class UpdateIngressRequest extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - - /** - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - - /** - * @generated from field: string participant_name = 5; - */ - participantName: string; - - /** - * @generated from field: string participant_metadata = 9; - */ - participantMetadata: string; - - /** - * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; - * @deprecated - */ - bypassTranscoding?: boolean; - - /** - * @generated from field: optional bool enable_transcoding = 10; - */ - enableTranscoding?: boolean; - - /** - * @generated from field: livekit.IngressAudioOptions audio = 6; - */ - audio?: IngressAudioOptions; - - /** - * @generated from field: livekit.IngressVideoOptions video = 7; - */ - video?: IngressVideoOptions; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateIngressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest; - - static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListIngressRequest - */ -export declare class ListIngressRequest extends Message { - /** - * when blank, lists all ingress endpoints - * - * (optional, filter by room name) - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * (optional, filter by ingress ID) - * - * @generated from field: string ingress_id = 2; - */ - ingressId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListIngressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest; - - static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListIngressResponse - */ -export declare class ListIngressResponse extends Message { - /** - * @generated from field: repeated livekit.IngressInfo items = 1; - */ - items: IngressInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListIngressResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse; - - static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteIngressRequest - */ -export declare class DeleteIngressRequest extends Message { - /** - * @generated from field: string ingress_id = 1; - */ - ingressId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteIngressRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest; - - static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest; - - static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_ingress_pb.js b/packages/javascript/src/gen/livekit_ingress_pb.js deleted file mode 100644 index fb701d92..00000000 --- a/packages/javascript/src/gen/livekit_ingress_pb.js +++ /dev/null @@ -1,269 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_ingress.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.IngressInput - */ -export const IngressInput = /*@__PURE__*/ proto3.makeEnum( - "livekit.IngressInput", - [ - {no: 0, name: "RTMP_INPUT"}, - {no: 1, name: "WHIP_INPUT"}, - {no: 2, name: "URL_INPUT"}, - ], -); - -/** - * @generated from enum livekit.IngressAudioEncodingPreset - */ -export const IngressAudioEncodingPreset = /*@__PURE__*/ proto3.makeEnum( - "livekit.IngressAudioEncodingPreset", - [ - {no: 0, name: "OPUS_STEREO_96KBPS"}, - {no: 1, name: "OPUS_MONO_64KBS"}, - ], -); - -/** - * @generated from enum livekit.IngressVideoEncodingPreset - */ -export const IngressVideoEncodingPreset = /*@__PURE__*/ proto3.makeEnum( - "livekit.IngressVideoEncodingPreset", - [ - {no: 0, name: "H264_720P_30FPS_3_LAYERS"}, - {no: 1, name: "H264_1080P_30FPS_3_LAYERS"}, - {no: 2, name: "H264_540P_25FPS_2_LAYERS"}, - {no: 3, name: "H264_720P_30FPS_1_LAYER"}, - {no: 4, name: "H264_1080P_30FPS_1_LAYER"}, - {no: 5, name: "H264_720P_30FPS_3_LAYERS_HIGH_MOTION"}, - {no: 6, name: "H264_1080P_30FPS_3_LAYERS_HIGH_MOTION"}, - {no: 7, name: "H264_540P_25FPS_2_LAYERS_HIGH_MOTION"}, - {no: 8, name: "H264_720P_30FPS_1_LAYER_HIGH_MOTION"}, - {no: 9, name: "H264_1080P_30FPS_1_LAYER_HIGH_MOTION"}, - ], -); - -/** - * @generated from message livekit.CreateIngressRequest - */ -export const CreateIngressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateIngressRequest", - () => [ - { no: 1, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, - { no: 9, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, - ], -); - -/** - * @generated from message livekit.IngressAudioOptions - */ -export const IngressAudioOptions = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressAudioOptions", - () => [ - { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressAudioEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressAudioEncodingOptions, oneof: "encoding_options" }, - ], -); - -/** - * @generated from message livekit.IngressVideoOptions - */ -export const IngressVideoOptions = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressVideoOptions", - () => [ - { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 3, name: "preset", kind: "enum", T: proto3.getEnumType(IngressVideoEncodingPreset), oneof: "encoding_options" }, - { no: 4, name: "options", kind: "message", T: IngressVideoEncodingOptions, oneof: "encoding_options" }, - ], -); - -/** - * @generated from message livekit.IngressAudioEncodingOptions - */ -export const IngressAudioEncodingOptions = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressAudioEncodingOptions", - () => [ - { no: 1, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) }, - { no: 2, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.IngressVideoEncodingOptions - */ -export const IngressVideoEncodingOptions = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressVideoEncodingOptions", - () => [ - { no: 1, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) }, - { no: 2, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 3, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - ], -); - -/** - * @generated from message livekit.IngressInfo - */ -export const IngressInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressInfo", - () => [ - { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "stream_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "input_type", kind: "enum", T: proto3.getEnumType(IngressInput) }, - { no: 13, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 15, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, - { no: 8, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 14, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "reusable", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 12, name: "state", kind: "message", T: IngressState }, - ], -); - -/** - * @generated from message livekit.IngressState - */ -export const IngressState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.IngressState", - () => [ - { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(IngressState_Status) }, - { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "video", kind: "message", T: InputVideoState }, - { no: 4, name: "audio", kind: "message", T: InputAudioState }, - { no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 8, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 10, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 9, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, - ], -); - -/** - * @generated from enum livekit.IngressState.Status - */ -export const IngressState_Status = /*@__PURE__*/ proto3.makeEnum( - "livekit.IngressState.Status", - [ - {no: 0, name: "ENDPOINT_INACTIVE"}, - {no: 1, name: "ENDPOINT_BUFFERING"}, - {no: 2, name: "ENDPOINT_PUBLISHING"}, - {no: 3, name: "ENDPOINT_ERROR"}, - {no: 4, name: "ENDPOINT_COMPLETE"}, - ], -); - -/** - * @generated from message livekit.InputVideoState - */ -export const InputVideoState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.InputVideoState", - () => [ - { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "average_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "framerate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - ], -); - -/** - * @generated from message livekit.InputAudioState - */ -export const InputAudioState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.InputAudioState", - () => [ - { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "average_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.UpdateIngressRequest - */ -export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateIngressRequest", - () => [ - { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, - { no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, - { no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, - { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, - ], -); - -/** - * @generated from message livekit.ListIngressRequest - */ -export const ListIngressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListIngressRequest", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ListIngressResponse - */ -export const ListIngressResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListIngressResponse", - () => [ - { no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.DeleteIngressRequest - */ -export const DeleteIngressRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteIngressRequest", - () => [ - { no: 1, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_internal_pb.d.ts b/packages/javascript/src/gen/livekit_internal_pb.d.ts deleted file mode 100644 index 42804cef..00000000 --- a/packages/javascript/src/gen/livekit_internal_pb.d.ts +++ /dev/null @@ -1,622 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_internal.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; -import type { CreateRoomRequest } from "./livekit_room_pb.js"; -import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; -import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; - -/** - * @generated from enum livekit.NodeType - */ -export declare enum NodeType { - /** - * @generated from enum value: SERVER = 0; - */ - SERVER = 0, - - /** - * @generated from enum value: CONTROLLER = 1; - */ - CONTROLLER = 1, - - /** - * @generated from enum value: MEDIA = 2; - */ - MEDIA = 2, - - /** - * @generated from enum value: TURN = 4; - */ - TURN = 4, - - /** - * @generated from enum value: SWEEPER = 5; - */ - SWEEPER = 5, - - /** - * @generated from enum value: DIRECTOR = 6; - */ - DIRECTOR = 6, -} - -/** - * @generated from enum livekit.NodeState - */ -export declare enum NodeState { - /** - * @generated from enum value: STARTING_UP = 0; - */ - STARTING_UP = 0, - - /** - * @generated from enum value: SERVING = 1; - */ - SERVING = 1, - - /** - * @generated from enum value: SHUTTING_DOWN = 2; - */ - SHUTTING_DOWN = 2, -} - -/** - * @generated from enum livekit.ICECandidateType - */ -export declare enum ICECandidateType { - /** - * @generated from enum value: ICT_NONE = 0; - */ - ICT_NONE = 0, - - /** - * @generated from enum value: ICT_TCP = 1; - */ - ICT_TCP = 1, - - /** - * @generated from enum value: ICT_TLS = 2; - */ - ICT_TLS = 2, -} - -/** - * @generated from message livekit.Node - */ -export declare class Node extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string ip = 2; - */ - ip: string; - - /** - * @generated from field: uint32 num_cpus = 3; - */ - numCpus: number; - - /** - * @generated from field: livekit.NodeStats stats = 4; - */ - stats?: NodeStats; - - /** - * @generated from field: livekit.NodeType type = 5; - */ - type: NodeType; - - /** - * @generated from field: livekit.NodeState state = 6; - */ - state: NodeState; - - /** - * @generated from field: string region = 7; - */ - region: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Node"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Node; - - static fromJson(jsonValue: JsonValue, options?: Partial): Node; - - static fromJsonString(jsonString: string, options?: Partial): Node; - - static equals(a: Node | PlainMessage | undefined, b: Node | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.NodeStats - */ -export declare class NodeStats extends Message { - /** - * when server was started - * - * @generated from field: int64 started_at = 1; - */ - startedAt: bigint; - - /** - * when server last reported its status - * - * @generated from field: int64 updated_at = 2; - */ - updatedAt: bigint; - - /** - * room - * - * @generated from field: int32 num_rooms = 3; - */ - numRooms: number; - - /** - * @generated from field: int32 num_clients = 4; - */ - numClients: number; - - /** - * @generated from field: int32 num_tracks_in = 5; - */ - numTracksIn: number; - - /** - * @generated from field: int32 num_tracks_out = 6; - */ - numTracksOut: number; - - /** - * @generated from field: int32 num_track_publish_attempts = 36; - */ - numTrackPublishAttempts: number; - - /** - * @generated from field: float track_publish_attempts_per_sec = 37; - */ - trackPublishAttemptsPerSec: number; - - /** - * @generated from field: int32 num_track_publish_success = 38; - */ - numTrackPublishSuccess: number; - - /** - * @generated from field: float track_publish_success_per_sec = 39; - */ - trackPublishSuccessPerSec: number; - - /** - * @generated from field: int32 num_track_subscribe_attempts = 40; - */ - numTrackSubscribeAttempts: number; - - /** - * @generated from field: float track_subscribe_attempts_per_sec = 41; - */ - trackSubscribeAttemptsPerSec: number; - - /** - * @generated from field: int32 num_track_subscribe_success = 42; - */ - numTrackSubscribeSuccess: number; - - /** - * @generated from field: float track_subscribe_success_per_sec = 43; - */ - trackSubscribeSuccessPerSec: number; - - /** - * packet - * - * @generated from field: uint64 bytes_in = 7; - */ - bytesIn: bigint; - - /** - * @generated from field: uint64 bytes_out = 8; - */ - bytesOut: bigint; - - /** - * @generated from field: uint64 packets_in = 9; - */ - packetsIn: bigint; - - /** - * @generated from field: uint64 packets_out = 10; - */ - packetsOut: bigint; - - /** - * @generated from field: uint64 nack_total = 11; - */ - nackTotal: bigint; - - /** - * @generated from field: float bytes_in_per_sec = 12; - */ - bytesInPerSec: number; - - /** - * @generated from field: float bytes_out_per_sec = 13; - */ - bytesOutPerSec: number; - - /** - * @generated from field: float packets_in_per_sec = 14; - */ - packetsInPerSec: number; - - /** - * @generated from field: float packets_out_per_sec = 15; - */ - packetsOutPerSec: number; - - /** - * @generated from field: float nack_per_sec = 16; - */ - nackPerSec: number; - - /** - * system - * - * @generated from field: uint32 num_cpus = 17; - */ - numCpus: number; - - /** - * @generated from field: float load_avg_last1min = 18; - */ - loadAvgLast1min: number; - - /** - * @generated from field: float load_avg_last5min = 19; - */ - loadAvgLast5min: number; - - /** - * @generated from field: float load_avg_last15min = 20; - */ - loadAvgLast15min: number; - - /** - * @generated from field: float cpu_load = 21; - */ - cpuLoad: number; - - /** - * deprecated - * - * @generated from field: float memory_load = 33; - */ - memoryLoad: number; - - /** - * @generated from field: uint64 memory_total = 34; - */ - memoryTotal: bigint; - - /** - * @generated from field: uint64 memory_used = 35; - */ - memoryUsed: bigint; - - /** - * @generated from field: uint32 sys_packets_out = 28; - */ - sysPacketsOut: number; - - /** - * @generated from field: uint32 sys_packets_dropped = 29; - */ - sysPacketsDropped: number; - - /** - * @generated from field: float sys_packets_out_per_sec = 30; - */ - sysPacketsOutPerSec: number; - - /** - * @generated from field: float sys_packets_dropped_per_sec = 31; - */ - sysPacketsDroppedPerSec: number; - - /** - * @generated from field: float sys_packets_dropped_pct_per_sec = 32; - */ - sysPacketsDroppedPctPerSec: number; - - /** - * retransmissions - * - * @generated from field: uint64 retransmit_bytes_out = 22; - */ - retransmitBytesOut: bigint; - - /** - * @generated from field: uint64 retransmit_packets_out = 23; - */ - retransmitPacketsOut: bigint; - - /** - * @generated from field: float retransmit_bytes_out_per_sec = 24; - */ - retransmitBytesOutPerSec: number; - - /** - * @generated from field: float retransmit_packets_out_per_sec = 25; - */ - retransmitPacketsOutPerSec: number; - - /** - * participant joins - * - * @generated from field: uint64 participant_signal_connected = 26; - */ - participantSignalConnected: bigint; - - /** - * @generated from field: float participant_signal_connected_per_sec = 27; - */ - participantSignalConnectedPerSec: number; - - /** - * @generated from field: uint64 participant_rtc_connected = 44; - */ - participantRtcConnected: bigint; - - /** - * @generated from field: float participant_rtc_connected_per_sec = 45; - */ - participantRtcConnectedPerSec: number; - - /** - * @generated from field: uint64 participant_rtc_init = 46; - */ - participantRtcInit: bigint; - - /** - * @generated from field: float participant_rtc_init_per_sec = 47; - */ - participantRtcInitPerSec: number; - - /** - * forward metrics - * - * @generated from field: uint32 forward_latency = 48; - */ - forwardLatency: number; - - /** - * @generated from field: uint32 forward_jitter = 49; - */ - forwardJitter: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.NodeStats"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): NodeStats; - - static fromJson(jsonValue: JsonValue, options?: Partial): NodeStats; - - static fromJsonString(jsonString: string, options?: Partial): NodeStats; - - static equals(a: NodeStats | PlainMessage | undefined, b: NodeStats | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StartSession - */ -export declare class StartSession extends Message { - /** - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * @generated from field: string connection_id = 3; - */ - connectionId: string; - - /** - * if a client is reconnecting (i.e. resume instead of restart) - * - * @generated from field: bool reconnect = 4; - */ - reconnect: boolean; - - /** - * @generated from field: bool auto_subscribe = 9; - */ - autoSubscribe: boolean; - - /** - * @generated from field: bool hidden = 10; - */ - hidden: boolean; - - /** - * @generated from field: livekit.ClientInfo client = 11; - */ - client?: ClientInfo; - - /** - * @generated from field: bool recorder = 12; - */ - recorder: boolean; - - /** - * @generated from field: string name = 13; - */ - name: string; - - /** - * A user's ClaimGrants serialized in JSON - * - * @generated from field: string grants_json = 14; - */ - grantsJson: string; - - /** - * @generated from field: bool adaptive_stream = 15; - */ - adaptiveStream: boolean; - - /** - * if reconnect, client will set current sid - * - * @generated from field: string participant_id = 16; - */ - participantId: string; - - /** - * @generated from field: livekit.ReconnectReason reconnect_reason = 17; - */ - reconnectReason: ReconnectReason; - - /** - * @generated from field: optional bool subscriber_allow_pause = 18; - */ - subscriberAllowPause?: boolean; - - /** - * @generated from field: bool disable_ice_lite = 19; - */ - disableIceLite: boolean; - - /** - * @generated from field: livekit.CreateRoomRequest create_room = 20; - */ - createRoom?: CreateRoomRequest; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StartSession"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StartSession; - - static fromJson(jsonValue: JsonValue, options?: Partial): StartSession; - - static fromJsonString(jsonString: string, options?: Partial): StartSession; - - static equals(a: StartSession | PlainMessage | undefined, b: StartSession | PlainMessage | undefined): boolean; -} - -/** - * room info that should not be returned to clients - * - * @generated from message livekit.RoomInternal - */ -export declare class RoomInternal extends Message { - /** - * @generated from field: livekit.AutoTrackEgress track_egress = 1; - */ - trackEgress?: AutoTrackEgress; - - /** - * @generated from field: livekit.AutoParticipantEgress participant_egress = 2; - */ - participantEgress?: AutoParticipantEgress; - - /** - * @generated from field: livekit.PlayoutDelay playout_delay = 3; - */ - playoutDelay?: PlayoutDelay; - - /** - * @generated from field: repeated livekit.RoomAgentDispatch agent_dispatches = 5; - */ - agentDispatches: RoomAgentDispatch[]; - - /** - * @generated from field: bool sync_streams = 4; - */ - syncStreams: boolean; - - /** - * @generated from field: bool replay_enabled = 6; - */ - replayEnabled: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomInternal"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomInternal; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomInternal; - - static fromJsonString(jsonString: string, options?: Partial): RoomInternal; - - static equals(a: RoomInternal | PlainMessage | undefined, b: RoomInternal | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ICEConfig - */ -export declare class ICEConfig extends Message { - /** - * @generated from field: livekit.ICECandidateType preference_subscriber = 1; - */ - preferenceSubscriber: ICECandidateType; - - /** - * @generated from field: livekit.ICECandidateType preference_publisher = 2; - */ - preferencePublisher: ICECandidateType; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ICEConfig"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ICEConfig; - - static fromJson(jsonValue: JsonValue, options?: Partial): ICEConfig; - - static fromJsonString(jsonString: string, options?: Partial): ICEConfig; - - static equals(a: ICEConfig | PlainMessage | undefined, b: ICEConfig | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_internal_pb.js b/packages/javascript/src/gen/livekit_internal_pb.js deleted file mode 100644 index 419cd160..00000000 --- a/packages/javascript/src/gen/livekit_internal_pb.js +++ /dev/null @@ -1,191 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_internal.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js"; -import { CreateRoomRequest } from "./livekit_room_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; - -/** - * @generated from enum livekit.NodeType - */ -export const NodeType = /*@__PURE__*/ proto3.makeEnum( - "livekit.NodeType", - [ - {no: 0, name: "SERVER"}, - {no: 1, name: "CONTROLLER"}, - {no: 2, name: "MEDIA"}, - {no: 4, name: "TURN"}, - {no: 5, name: "SWEEPER"}, - {no: 6, name: "DIRECTOR"}, - ], -); - -/** - * @generated from enum livekit.NodeState - */ -export const NodeState = /*@__PURE__*/ proto3.makeEnum( - "livekit.NodeState", - [ - {no: 0, name: "STARTING_UP"}, - {no: 1, name: "SERVING"}, - {no: 2, name: "SHUTTING_DOWN"}, - ], -); - -/** - * @generated from enum livekit.ICECandidateType - */ -export const ICECandidateType = /*@__PURE__*/ proto3.makeEnum( - "livekit.ICECandidateType", - [ - {no: 0, name: "ICT_NONE"}, - {no: 1, name: "ICT_TCP"}, - {no: 2, name: "ICT_TLS"}, - ], -); - -/** - * @generated from message livekit.Node - */ -export const Node = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Node", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "stats", kind: "message", T: NodeStats }, - { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) }, - { no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) }, - { no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.NodeStats - */ -export const NodeStats = /*@__PURE__*/ proto3.makeMessageType( - "livekit.NodeStats", - () => [ - { no: 1, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "num_rooms", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "num_clients", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 5, name: "num_tracks_in", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 6, name: "num_tracks_out", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 36, name: "num_track_publish_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 37, name: "track_publish_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 38, name: "num_track_publish_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 39, name: "track_publish_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 40, name: "num_track_subscribe_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 41, name: "track_subscribe_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 42, name: "num_track_subscribe_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 43, name: "track_subscribe_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 7, name: "bytes_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 8, name: "bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 9, name: "packets_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 10, name: "packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 11, name: "nack_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 12, name: "bytes_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 13, name: "bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 14, name: "packets_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 15, name: "packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 16, name: "nack_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 17, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 18, name: "load_avg_last1min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 19, name: "load_avg_last5min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 20, name: "load_avg_last15min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 21, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 33, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 34, name: "memory_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 35, name: "memory_used", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 28, name: "sys_packets_out", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 29, name: "sys_packets_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 30, name: "sys_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 31, name: "sys_packets_dropped_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 32, name: "sys_packets_dropped_pct_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 22, name: "retransmit_bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 23, name: "retransmit_packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 24, name: "retransmit_bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.StartSession - */ -export const StartSession = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StartSession", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 9, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 10, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 11, name: "client", kind: "message", T: ClientInfo }, - { no: 12, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 13, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 14, name: "grants_json", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 15, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 16, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) }, - { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, - { no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest }, - ], -); - -/** - * room info that should not be returned to clients - * - * @generated from message livekit.RoomInternal - */ -export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomInternal", - () => [ - { no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress }, - { no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress }, - { no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay }, - { no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, - { no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.ICEConfig - */ -export const ICEConfig = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ICEConfig", - () => [ - { no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, - { no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_metrics_pb.d.ts b/packages/javascript/src/gen/livekit_metrics_pb.d.ts deleted file mode 100644 index 16189e13..00000000 --- a/packages/javascript/src/gen/livekit_metrics_pb.d.ts +++ /dev/null @@ -1,376 +0,0 @@ -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_metrics.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; - -/** - * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) - * - * @generated from enum livekit.MetricLabel - */ -export declare enum MetricLabel { - /** - * time to first token from LLM - * - * @generated from enum value: AGENTS_LLM_TTFT = 0; - */ - AGENTS_LLM_TTFT = 0, - - /** - * time to final transcription - * - * @generated from enum value: AGENTS_STT_TTFT = 1; - */ - AGENTS_STT_TTFT = 1, - - /** - * time to first byte - * - * @generated from enum value: AGENTS_TTS_TTFB = 2; - */ - AGENTS_TTS_TTFB = 2, - - /** - * Number of video freezes - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; - */ - CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3, - - /** - * total duration of freezes - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; - */ - CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4, - - /** - * number of video pauses - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; - */ - CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5, - - /** - * total duration of pauses - * - * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6; - */ - CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6, - - /** - * number of concealed (synthesized) audio samples - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7; - */ - CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7, - - /** - * number of silent concealed samples - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8; - */ - CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8, - - /** - * number of concealment events - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9; - */ - CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9, - - /** - * number of interruptions - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10; - */ - CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10, - - /** - * total duration of interruptions - * - * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11; - */ - CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11, - - /** - * total time spent in jitter buffer - * - * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12; - */ - CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12, - - /** - * total time spent in jitter buffer - * - * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13; - */ - CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13, - - /** - * total duration spent in bandwidth quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14, - - /** - * total duration spent in cpu quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15, - - /** - * total duration spent in other quality limitation - * - * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; - */ - CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16, - - /** - * Publisher RTT (participant -> server) - * - * @generated from enum value: PUBLISHER_RTT = 17; - */ - PUBLISHER_RTT = 17, - - /** - * RTT between publisher node and subscriber node (could involve intermedia node(s)) - * - * @generated from enum value: SERVER_MESH_RTT = 18; - */ - SERVER_MESH_RTT = 18, - - /** - * Subscribe RTT (server -> participant) - * - * @generated from enum value: SUBSCRIBER_RTT = 19; - */ - SUBSCRIBER_RTT = 19, - - /** - * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; - */ - METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096, -} - -/** - * @generated from message livekit.MetricsBatch - */ -export declare class MetricsBatch extends Message { - /** - * time at which this batch is sent based on a monotonic clock (millisecond resolution) - * - * @generated from field: int64 timestamp_ms = 1; - */ - timestampMs: bigint; - - /** - * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; - */ - normalizedTimestamp?: Timestamp; - - /** - * To avoid repeating string values, we store them in a separate list and reference them by index - * This is useful for storing participant identities, track names, etc. - * There is also a predefined list of labels that can be used to reference common metrics. - * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). - * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, - * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. - * - * @generated from field: repeated string str_data = 3; - */ - strData: string[]; - - /** - * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; - */ - timeSeries: TimeSeriesMetric[]; - - /** - * @generated from field: repeated livekit.EventMetric events = 5; - */ - events: EventMetric[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MetricsBatch"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch; - - static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch; - - static fromJsonString(jsonString: string, options?: Partial): MetricsBatch; - - static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TimeSeriesMetric - */ -export declare class TimeSeriesMetric extends Message { - /** - * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index - * in the `str_data` field of `MetricsBatch` - * - * @generated from field: uint32 label = 1; - */ - label: number; - - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - participantIdentity: number; - - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - trackSid: number; - - /** - * @generated from field: repeated livekit.MetricSample samples = 4; - */ - samples: MetricSample[]; - - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 5; - */ - rid: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TimeSeriesMetric"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric; - - static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric; - - static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric; - - static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.MetricSample - */ -export declare class MetricSample extends Message { - /** - * time of metric based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 timestamp_ms = 1; - */ - timestampMs: bigint; - - /** - * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; - */ - normalizedTimestamp?: Timestamp; - - /** - * @generated from field: float value = 3; - */ - value: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MetricSample"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample; - - static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample; - - static fromJsonString(jsonString: string, options?: Partial): MetricSample; - - static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.EventMetric - */ -export declare class EventMetric extends Message { - /** - * @generated from field: uint32 label = 1; - */ - label: number; - - /** - * index into `str_data` - * - * @generated from field: uint32 participant_identity = 2; - */ - participantIdentity: number; - - /** - * index into `str_data` - * - * @generated from field: uint32 track_sid = 3; - */ - trackSid: number; - - /** - * start time of event based on a monotonic clock (in milliseconds) - * - * @generated from field: int64 start_timestamp_ms = 4; - */ - startTimestampMs: bigint; - - /** - * end time of event based on a monotonic clock (in milliseconds), if needed - * - * @generated from field: optional int64 end_timestamp_ms = 5; - */ - endTimestampMs?: bigint; - - /** - * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6; - */ - normalizedStartTimestamp?: Timestamp; - - /** - * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7; - */ - normalizedEndTimestamp?: Timestamp; - - /** - * @generated from field: string metadata = 8; - */ - metadata: string; - - /** - * index into 'str_data' - * - * @generated from field: uint32 rid = 9; - */ - rid: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.EventMetric"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric; - - static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric; - - static fromJsonString(jsonString: string, options?: Partial): EventMetric; - - static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_metrics_pb.js b/packages/javascript/src/gen/livekit_metrics_pb.js deleted file mode 100644 index 7f14c8af..00000000 --- a/packages/javascript/src/gen/livekit_metrics_pb.js +++ /dev/null @@ -1,97 +0,0 @@ -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_metrics.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3, Timestamp } from "@bufbuild/protobuf"; - -/** - * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) - * - * @generated from enum livekit.MetricLabel - */ -export const MetricLabel = /*@__PURE__*/ proto3.makeEnum( - "livekit.MetricLabel", - [ - {no: 0, name: "AGENTS_LLM_TTFT"}, - {no: 1, name: "AGENTS_STT_TTFT"}, - {no: 2, name: "AGENTS_TTS_TTFB"}, - {no: 3, name: "CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT"}, - {no: 4, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION"}, - {no: 5, name: "CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT"}, - {no: 6, name: "CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION"}, - {no: 7, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES"}, - {no: 8, name: "CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES"}, - {no: 9, name: "CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS"}, - {no: 10, name: "CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT"}, - {no: 11, name: "CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION"}, - {no: 12, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY"}, - {no: 13, name: "CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT"}, - {no: 14, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH"}, - {no: 15, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU"}, - {no: 16, name: "CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER"}, - {no: 17, name: "PUBLISHER_RTT"}, - {no: 18, name: "SERVER_MESH_RTT"}, - {no: 19, name: "SUBSCRIBER_RTT"}, - {no: 4096, name: "METRIC_LABEL_PREDEFINED_MAX_VALUE"}, - ], -); - -/** - * @generated from message livekit.MetricsBatch - */ -export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MetricsBatch", - () => [ - { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, - { no: 3, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true }, - { no: 5, name: "events", kind: "message", T: EventMetric, repeated: true }, - ], -); - -/** - * @generated from message livekit.TimeSeriesMetric - */ -export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TimeSeriesMetric", - () => [ - { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "samples", kind: "message", T: MetricSample, repeated: true }, - { no: 5, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.MetricSample - */ -export const MetricSample = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MetricSample", - () => [ - { no: 1, name: "timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "normalized_timestamp", kind: "message", T: Timestamp }, - { no: 3, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - ], -); - -/** - * @generated from message livekit.EventMetric - */ -export const EventMetric = /*@__PURE__*/ proto3.makeMessageType( - "livekit.EventMetric", - () => [ - { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "start_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 5, name: "end_timestamp_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, - { no: 6, name: "normalized_start_timestamp", kind: "message", T: Timestamp }, - { no: 7, name: "normalized_end_timestamp", kind: "message", T: Timestamp, opt: true }, - { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "rid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_models_pb.d.ts b/packages/javascript/src/gen/livekit_models_pb.d.ts deleted file mode 100644 index 24f5891c..00000000 --- a/packages/javascript/src/gen/livekit_models_pb.d.ts +++ /dev/null @@ -1,2837 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_models.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { MetricsBatch } from "./livekit_metrics_pb.js"; - -/** - * @generated from enum livekit.AudioCodec - */ -export declare enum AudioCodec { - /** - * @generated from enum value: DEFAULT_AC = 0; - */ - DEFAULT_AC = 0, - - /** - * @generated from enum value: OPUS = 1; - */ - OPUS = 1, - - /** - * @generated from enum value: AAC = 2; - */ - AAC = 2, -} - -/** - * @generated from enum livekit.VideoCodec - */ -export declare enum VideoCodec { - /** - * @generated from enum value: DEFAULT_VC = 0; - */ - DEFAULT_VC = 0, - - /** - * @generated from enum value: H264_BASELINE = 1; - */ - H264_BASELINE = 1, - - /** - * @generated from enum value: H264_MAIN = 2; - */ - H264_MAIN = 2, - - /** - * @generated from enum value: H264_HIGH = 3; - */ - H264_HIGH = 3, - - /** - * @generated from enum value: VP8 = 4; - */ - VP8 = 4, -} - -/** - * @generated from enum livekit.ImageCodec - */ -export declare enum ImageCodec { - /** - * @generated from enum value: IC_DEFAULT = 0; - */ - IC_DEFAULT = 0, - - /** - * @generated from enum value: IC_JPEG = 1; - */ - IC_JPEG = 1, -} - -/** - * @generated from enum livekit.TrackType - */ -export declare enum TrackType { - /** - * @generated from enum value: AUDIO = 0; - */ - AUDIO = 0, - - /** - * @generated from enum value: VIDEO = 1; - */ - VIDEO = 1, - - /** - * @generated from enum value: DATA = 2; - */ - DATA = 2, -} - -/** - * @generated from enum livekit.TrackSource - */ -export declare enum TrackSource { - /** - * @generated from enum value: UNKNOWN = 0; - */ - UNKNOWN = 0, - - /** - * @generated from enum value: CAMERA = 1; - */ - CAMERA = 1, - - /** - * @generated from enum value: MICROPHONE = 2; - */ - MICROPHONE = 2, - - /** - * @generated from enum value: SCREEN_SHARE = 3; - */ - SCREEN_SHARE = 3, - - /** - * @generated from enum value: SCREEN_SHARE_AUDIO = 4; - */ - SCREEN_SHARE_AUDIO = 4, -} - -/** - * @generated from enum livekit.VideoQuality - */ -export declare enum VideoQuality { - /** - * @generated from enum value: LOW = 0; - */ - LOW = 0, - - /** - * @generated from enum value: MEDIUM = 1; - */ - MEDIUM = 1, - - /** - * @generated from enum value: HIGH = 2; - */ - HIGH = 2, - - /** - * @generated from enum value: OFF = 3; - */ - OFF = 3, -} - -/** - * @generated from enum livekit.ConnectionQuality - */ -export declare enum ConnectionQuality { - /** - * @generated from enum value: POOR = 0; - */ - POOR = 0, - - /** - * @generated from enum value: GOOD = 1; - */ - GOOD = 1, - - /** - * @generated from enum value: EXCELLENT = 2; - */ - EXCELLENT = 2, - - /** - * @generated from enum value: LOST = 3; - */ - LOST = 3, -} - -/** - * @generated from enum livekit.ClientConfigSetting - */ -export declare enum ClientConfigSetting { - /** - * @generated from enum value: UNSET = 0; - */ - UNSET = 0, - - /** - * @generated from enum value: DISABLED = 1; - */ - DISABLED = 1, - - /** - * @generated from enum value: ENABLED = 2; - */ - ENABLED = 2, -} - -/** - * @generated from enum livekit.DisconnectReason - */ -export declare enum DisconnectReason { - /** - * @generated from enum value: UNKNOWN_REASON = 0; - */ - UNKNOWN_REASON = 0, - - /** - * the client initiated the disconnect - * - * @generated from enum value: CLIENT_INITIATED = 1; - */ - CLIENT_INITIATED = 1, - - /** - * another participant with the same identity has joined the room - * - * @generated from enum value: DUPLICATE_IDENTITY = 2; - */ - DUPLICATE_IDENTITY = 2, - - /** - * the server instance is shutting down - * - * @generated from enum value: SERVER_SHUTDOWN = 3; - */ - SERVER_SHUTDOWN = 3, - - /** - * RoomService.RemoveParticipant was called - * - * @generated from enum value: PARTICIPANT_REMOVED = 4; - */ - PARTICIPANT_REMOVED = 4, - - /** - * RoomService.DeleteRoom was called - * - * @generated from enum value: ROOM_DELETED = 5; - */ - ROOM_DELETED = 5, - - /** - * the client is attempting to resume a session, but server is not aware of it - * - * @generated from enum value: STATE_MISMATCH = 6; - */ - STATE_MISMATCH = 6, - - /** - * client was unable to connect fully - * - * @generated from enum value: JOIN_FAILURE = 7; - */ - JOIN_FAILURE = 7, - - /** - * Cloud-only, the server requested Participant to migrate the connection elsewhere - * - * @generated from enum value: MIGRATION = 8; - */ - MIGRATION = 8, - - /** - * the signal websocket was closed unexpectedly - * - * @generated from enum value: SIGNAL_CLOSE = 9; - */ - SIGNAL_CLOSE = 9, - - /** - * the room was closed, due to all Standard and Ingress participants having left - * - * @generated from enum value: ROOM_CLOSED = 10; - */ - ROOM_CLOSED = 10, - - /** - * SIP callee did not respond in time - * - * @generated from enum value: USER_UNAVAILABLE = 11; - */ - USER_UNAVAILABLE = 11, - - /** - * SIP callee rejected the call (busy) - * - * @generated from enum value: USER_REJECTED = 12; - */ - USER_REJECTED = 12, - - /** - * SIP protocol failure or unexpected response - * - * @generated from enum value: SIP_TRUNK_FAILURE = 13; - */ - SIP_TRUNK_FAILURE = 13, -} - -/** - * @generated from enum livekit.ReconnectReason - */ -export declare enum ReconnectReason { - /** - * @generated from enum value: RR_UNKNOWN = 0; - */ - RR_UNKNOWN = 0, - - /** - * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1; - */ - RR_SIGNAL_DISCONNECTED = 1, - - /** - * @generated from enum value: RR_PUBLISHER_FAILED = 2; - */ - RR_PUBLISHER_FAILED = 2, - - /** - * @generated from enum value: RR_SUBSCRIBER_FAILED = 3; - */ - RR_SUBSCRIBER_FAILED = 3, - - /** - * @generated from enum value: RR_SWITCH_CANDIDATE = 4; - */ - RR_SWITCH_CANDIDATE = 4, -} - -/** - * @generated from enum livekit.SubscriptionError - */ -export declare enum SubscriptionError { - /** - * @generated from enum value: SE_UNKNOWN = 0; - */ - SE_UNKNOWN = 0, - - /** - * @generated from enum value: SE_CODEC_UNSUPPORTED = 1; - */ - SE_CODEC_UNSUPPORTED = 1, - - /** - * @generated from enum value: SE_TRACK_NOTFOUND = 2; - */ - SE_TRACK_NOTFOUND = 2, -} - -/** - * @generated from enum livekit.AudioTrackFeature - */ -export declare enum AudioTrackFeature { - /** - * @generated from enum value: TF_STEREO = 0; - */ - TF_STEREO = 0, - - /** - * @generated from enum value: TF_NO_DTX = 1; - */ - TF_NO_DTX = 1, - - /** - * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; - */ - TF_AUTO_GAIN_CONTROL = 2, - - /** - * @generated from enum value: TF_ECHO_CANCELLATION = 3; - */ - TF_ECHO_CANCELLATION = 3, - - /** - * @generated from enum value: TF_NOISE_SUPPRESSION = 4; - */ - TF_NOISE_SUPPRESSION = 4, - - /** - * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; - */ - TF_ENHANCED_NOISE_CANCELLATION = 5, -} - -/** - * @generated from message livekit.Room - */ -export declare class Room extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * @generated from field: uint32 empty_timeout = 3; - */ - emptyTimeout: number; - - /** - * @generated from field: uint32 departure_timeout = 14; - */ - departureTimeout: number; - - /** - * @generated from field: uint32 max_participants = 4; - */ - maxParticipants: number; - - /** - * @generated from field: int64 creation_time = 5; - */ - creationTime: bigint; - - /** - * @generated from field: string turn_password = 6; - */ - turnPassword: string; - - /** - * @generated from field: repeated livekit.Codec enabled_codecs = 7; - */ - enabledCodecs: Codec[]; - - /** - * @generated from field: string metadata = 8; - */ - metadata: string; - - /** - * @generated from field: uint32 num_participants = 9; - */ - numParticipants: number; - - /** - * @generated from field: uint32 num_publishers = 11; - */ - numPublishers: number; - - /** - * @generated from field: bool active_recording = 10; - */ - activeRecording: boolean; - - /** - * @generated from field: livekit.TimedVersion version = 13; - */ - version?: TimedVersion; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Room"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Room; - - static fromJson(jsonValue: JsonValue, options?: Partial): Room; - - static fromJsonString(jsonString: string, options?: Partial): Room; - - static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.Codec - */ -export declare class Codec extends Message { - /** - * @generated from field: string mime = 1; - */ - mime: string; - - /** - * @generated from field: string fmtp_line = 2; - */ - fmtpLine: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Codec"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Codec; - - static fromJson(jsonValue: JsonValue, options?: Partial): Codec; - - static fromJsonString(jsonString: string, options?: Partial): Codec; - - static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.PlayoutDelay - */ -export declare class PlayoutDelay extends Message { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; - - /** - * @generated from field: uint32 min = 2; - */ - min: number; - - /** - * @generated from field: uint32 max = 3; - */ - max: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.PlayoutDelay"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay; - - static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay; - - static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay; - - static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ParticipantPermission - */ -export declare class ParticipantPermission extends Message { - /** - * allow participant to subscribe to other tracks in the room - * - * @generated from field: bool can_subscribe = 1; - */ - canSubscribe: boolean; - - /** - * allow participant to publish new tracks to room - * - * @generated from field: bool can_publish = 2; - */ - canPublish: boolean; - - /** - * allow participant to publish data - * - * @generated from field: bool can_publish_data = 3; - */ - canPublishData: boolean; - - /** - * sources that are allowed to be published - * - * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; - */ - canPublishSources: TrackSource[]; - - /** - * indicates that it's hidden to others - * - * @generated from field: bool hidden = 7; - */ - hidden: boolean; - - /** - * indicates it's a recorder instance - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool recorder = 8 [deprecated = true]; - * @deprecated - */ - recorder: boolean; - - /** - * indicates that participant can update own metadata and attributes - * - * @generated from field: bool can_update_metadata = 10; - */ - canUpdateMetadata: boolean; - - /** - * indicates that participant is an agent - * deprecated: use ParticipantInfo.kind instead - * - * @generated from field: bool agent = 11 [deprecated = true]; - * @deprecated - */ - agent: boolean; - - /** - * if a participant can subscribe to metrics - * - * @generated from field: bool can_subscribe_metrics = 12; - */ - canSubscribeMetrics: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantPermission"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission; - - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission; - - static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission; - - static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ParticipantInfo - */ -export declare class ParticipantInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * @generated from field: livekit.ParticipantInfo.State state = 3; - */ - state: ParticipantInfo_State; - - /** - * @generated from field: repeated livekit.TrackInfo tracks = 4; - */ - tracks: TrackInfo[]; - - /** - * @generated from field: string metadata = 5; - */ - metadata: string; - - /** - * timestamp when participant joined room, in seconds - * - * @generated from field: int64 joined_at = 6; - */ - joinedAt: bigint; - - /** - * @generated from field: string name = 9; - */ - name: string; - - /** - * @generated from field: uint32 version = 10; - */ - version: number; - - /** - * @generated from field: livekit.ParticipantPermission permission = 11; - */ - permission?: ParticipantPermission; - - /** - * @generated from field: string region = 12; - */ - region: string; - - /** - * indicates the participant has an active publisher connection - * and can publish to the server - * - * @generated from field: bool is_publisher = 13; - */ - isPublisher: boolean; - - /** - * @generated from field: livekit.ParticipantInfo.Kind kind = 14; - */ - kind: ParticipantInfo_Kind; - - /** - * @generated from field: map attributes = 15; - */ - attributes: { [key: string]: string }; - - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 16; - */ - disconnectReason: DisconnectReason; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo; - - static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo; - - static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.ParticipantInfo.State - */ -export declare enum ParticipantInfo_State { - /** - * websocket' connected, but not offered yet - * - * @generated from enum value: JOINING = 0; - */ - JOINING = 0, - - /** - * server received client offer - * - * @generated from enum value: JOINED = 1; - */ - JOINED = 1, - - /** - * ICE connectivity established - * - * @generated from enum value: ACTIVE = 2; - */ - ACTIVE = 2, - - /** - * WS disconnected - * - * @generated from enum value: DISCONNECTED = 3; - */ - DISCONNECTED = 3, -} - -/** - * @generated from enum livekit.ParticipantInfo.Kind - */ -export declare enum ParticipantInfo_Kind { - /** - * standard participants, e.g. web clients - * - * @generated from enum value: STANDARD = 0; - */ - STANDARD = 0, - - /** - * only ingests streams - * - * @generated from enum value: INGRESS = 1; - */ - INGRESS = 1, - - /** - * only consumes streams - * - * @generated from enum value: EGRESS = 2; - */ - EGRESS = 2, - - /** - * SIP participants - * - * @generated from enum value: SIP = 3; - */ - SIP = 3, - - /** - * LiveKit agents - * - * @generated from enum value: AGENT = 4; - */ - AGENT = 4, -} - -/** - * @generated from message livekit.Encryption - */ -export declare class Encryption extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Encryption"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Encryption; - - static fromJson(jsonValue: JsonValue, options?: Partial): Encryption; - - static fromJsonString(jsonString: string, options?: Partial): Encryption; - - static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.Encryption.Type - */ -export declare enum Encryption_Type { - /** - * @generated from enum value: NONE = 0; - */ - NONE = 0, - - /** - * @generated from enum value: GCM = 1; - */ - GCM = 1, - - /** - * @generated from enum value: CUSTOM = 2; - */ - CUSTOM = 2, -} - -/** - * @generated from message livekit.SimulcastCodecInfo - */ -export declare class SimulcastCodecInfo extends Message { - /** - * @generated from field: string mime_type = 1; - */ - mimeType: string; - - /** - * @generated from field: string mid = 2; - */ - mid: string; - - /** - * @generated from field: string cid = 3; - */ - cid: string; - - /** - * @generated from field: repeated livekit.VideoLayer layers = 4; - */ - layers: VideoLayer[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulcastCodecInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo; - - static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo; - - static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TrackInfo - */ -export declare class TrackInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - - /** - * @generated from field: livekit.TrackType type = 2; - */ - type: TrackType; - - /** - * @generated from field: string name = 3; - */ - name: string; - - /** - * @generated from field: bool muted = 4; - */ - muted: boolean; - - /** - * original width of video (unset for audio) - * clients may receive a lower resolution version with simulcast - * - * @generated from field: uint32 width = 5; - */ - width: number; - - /** - * original height of video (unset for audio) - * - * @generated from field: uint32 height = 6; - */ - height: number; - - /** - * true if track is simulcasted - * - * @generated from field: bool simulcast = 7; - */ - simulcast: boolean; - - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 8; - */ - disableDtx: boolean; - - /** - * source of media - * - * @generated from field: livekit.TrackSource source = 9; - */ - source: TrackSource; - - /** - * @generated from field: repeated livekit.VideoLayer layers = 10; - */ - layers: VideoLayer[]; - - /** - * mime type of codec - * - * @generated from field: string mime_type = 11; - */ - mimeType: string; - - /** - * @generated from field: string mid = 12; - */ - mid: string; - - /** - * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; - */ - codecs: SimulcastCodecInfo[]; - - /** - * @generated from field: bool stereo = 14; - */ - stereo: boolean; - - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 15; - */ - disableRed: boolean; - - /** - * @generated from field: livekit.Encryption.Type encryption = 16; - */ - encryption: Encryption_Type; - - /** - * @generated from field: string stream = 17; - */ - stream: string; - - /** - * @generated from field: livekit.TimedVersion version = 18; - */ - version?: TimedVersion; - - /** - * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; - */ - audioFeatures: AudioTrackFeature[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo; - - static fromJsonString(jsonString: string, options?: Partial): TrackInfo; - - static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean; -} - -/** - * provide information about available spatial layers - * - * @generated from message livekit.VideoLayer - */ -export declare class VideoLayer extends Message { - /** - * for tracks with a single layer, this should be HIGH - * - * @generated from field: livekit.VideoQuality quality = 1; - */ - quality: VideoQuality; - - /** - * @generated from field: uint32 width = 2; - */ - width: number; - - /** - * @generated from field: uint32 height = 3; - */ - height: number; - - /** - * target bitrate in bit per second (bps), server will measure actual - * - * @generated from field: uint32 bitrate = 4; - */ - bitrate: number; - - /** - * @generated from field: uint32 ssrc = 5; - */ - ssrc: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VideoLayer"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer; - - static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer; - - static fromJsonString(jsonString: string, options?: Partial): VideoLayer; - - static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean; -} - -/** - * new DataPacket API - * - * @generated from message livekit.DataPacket - */ -export declare class DataPacket extends Message { - /** - * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; - * @deprecated - */ - kind: DataPacket_Kind; - - /** - * participant identity of user that sent the message - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 5; - */ - destinationIdentities: string[]; - - /** - * @generated from oneof livekit.DataPacket.value - */ - value: { - /** - * @generated from field: livekit.UserPacket user = 2; - */ - value: UserPacket; - case: "user"; - } | { - /** - * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true]; - * @deprecated - */ - value: ActiveSpeakerUpdate; - case: "speaker"; - } | { - /** - * @generated from field: livekit.SipDTMF sip_dtmf = 6; - */ - value: SipDTMF; - case: "sipDtmf"; - } | { - /** - * @generated from field: livekit.Transcription transcription = 7; - */ - value: Transcription; - case: "transcription"; - } | { - /** - * @generated from field: livekit.MetricsBatch metrics = 8; - */ - value: MetricsBatch; - case: "metrics"; - } | { - /** - * @generated from field: livekit.ChatMessage chat_message = 9; - */ - value: ChatMessage; - case: "chatMessage"; - } | { - /** - * @generated from field: livekit.RpcRequest rpc_request = 10; - */ - value: RpcRequest; - case: "rpcRequest"; - } | { - /** - * @generated from field: livekit.RpcAck rpc_ack = 11; - */ - value: RpcAck; - case: "rpcAck"; - } | { - /** - * @generated from field: livekit.RpcResponse rpc_response = 12; - */ - value: RpcResponse; - case: "rpcResponse"; - } | { - /** - * @generated from field: livekit.DataStream.Header stream_header = 13; - */ - value: DataStream_Header; - case: "streamHeader"; - } | { - /** - * @generated from field: livekit.DataStream.Chunk stream_chunk = 14; - */ - value: DataStream_Chunk; - case: "streamChunk"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataPacket"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket; - - static fromJsonString(jsonString: string, options?: Partial): DataPacket; - - static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.DataPacket.Kind - */ -export declare enum DataPacket_Kind { - /** - * @generated from enum value: RELIABLE = 0; - */ - RELIABLE = 0, - - /** - * @generated from enum value: LOSSY = 1; - */ - LOSSY = 1, -} - -/** - * @generated from message livekit.ActiveSpeakerUpdate - */ -export declare class ActiveSpeakerUpdate extends Message { - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - speakers: SpeakerInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ActiveSpeakerUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate; - - static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate; - - static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SpeakerInfo - */ -export declare class SpeakerInfo extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - - /** - * audio level, 0-1.0, 1 is loudest - * - * @generated from field: float level = 2; - */ - level: number; - - /** - * true if speaker is currently active - * - * @generated from field: bool active = 3; - */ - active: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SpeakerInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo; - - static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo; - - static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UserPacket - */ -export declare class UserPacket extends Message { - /** - * participant ID of user that sent the message - * - * @generated from field: string participant_sid = 1 [deprecated = true]; - * @deprecated - */ - participantSid: string; - - /** - * @generated from field: string participant_identity = 5 [deprecated = true]; - * @deprecated - */ - participantIdentity: string; - - /** - * user defined payload - * - * @generated from field: bytes payload = 2; - */ - payload: Uint8Array; - - /** - * the ID of the participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_sids = 3 [deprecated = true]; - * @deprecated - */ - destinationSids: string[]; - - /** - * identities of participants who will receive the message (sent to all by default) - * - * @generated from field: repeated string destination_identities = 6 [deprecated = true]; - * @deprecated - */ - destinationIdentities: string[]; - - /** - * topic under which the message was published - * - * @generated from field: optional string topic = 4; - */ - topic?: string; - - /** - * Unique ID to indentify the message - * - * @generated from field: optional string id = 8; - */ - id?: string; - - /** - * start and end time allow relating the message to specific media time - * - * @generated from field: optional uint64 start_time = 9; - */ - startTime?: bigint; - - /** - * @generated from field: optional uint64 end_time = 10; - */ - endTime?: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UserPacket"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; - - static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; - - static fromJsonString(jsonString: string, options?: Partial): UserPacket; - - static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SipDTMF - */ -export declare class SipDTMF extends Message { - /** - * @generated from field: uint32 code = 3; - */ - code: number; - - /** - * @generated from field: string digit = 4; - */ - digit: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SipDTMF"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; - - static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; - - static fromJsonString(jsonString: string, options?: Partial): SipDTMF; - - static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.Transcription - */ -export declare class Transcription extends Message { - /** - * Participant that got its speech transcribed - * - * @generated from field: string transcribed_participant_identity = 2; - */ - transcribedParticipantIdentity: string; - - /** - * @generated from field: string track_id = 3; - */ - trackId: string; - - /** - * @generated from field: repeated livekit.TranscriptionSegment segments = 4; - */ - segments: TranscriptionSegment[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Transcription"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Transcription; - - static fromJson(jsonValue: JsonValue, options?: Partial): Transcription; - - static fromJsonString(jsonString: string, options?: Partial): Transcription; - - static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TranscriptionSegment - */ -export declare class TranscriptionSegment extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string text = 2; - */ - text: string; - - /** - * @generated from field: uint64 start_time = 3; - */ - startTime: bigint; - - /** - * @generated from field: uint64 end_time = 4; - */ - endTime: bigint; - - /** - * @generated from field: bool final = 5; - */ - final: boolean; - - /** - * @generated from field: string language = 6; - */ - language: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TranscriptionSegment"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; - - static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; - - static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; - - static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ChatMessage - */ -export declare class ChatMessage extends Message { - /** - * uuid - * - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - - /** - * populated only if the intent is to edit/update an existing message - * - * @generated from field: optional int64 edit_timestamp = 3; - */ - editTimestamp?: bigint; - - /** - * @generated from field: string message = 4; - */ - message: string; - - /** - * true to remove message - * - * @generated from field: bool deleted = 5; - */ - deleted: boolean; - - /** - * true if the chat message has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 6; - */ - generated: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ChatMessage"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; - - static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; - - static fromJsonString(jsonString: string, options?: Partial): ChatMessage; - - static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RpcRequest - */ -export declare class RpcRequest extends Message { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string method = 2; - */ - method: string; - - /** - * @generated from field: string payload = 3; - */ - payload: string; - - /** - * @generated from field: uint32 response_timeout_ms = 4; - */ - responseTimeoutMs: number; - - /** - * @generated from field: uint32 version = 5; - */ - version: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest; - - static fromJsonString(jsonString: string, options?: Partial): RpcRequest; - - static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RpcAck - */ -export declare class RpcAck extends Message { - /** - * @generated from field: string request_id = 1; - */ - requestId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcAck"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck; - - static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck; - - static fromJsonString(jsonString: string, options?: Partial): RpcAck; - - static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RpcResponse - */ -export declare class RpcResponse extends Message { - /** - * @generated from field: string request_id = 1; - */ - requestId: string; - - /** - * @generated from oneof livekit.RpcResponse.value - */ - value: { - /** - * @generated from field: string payload = 2; - */ - value: string; - case: "payload"; - } | { - /** - * @generated from field: livekit.RpcError error = 3; - */ - value: RpcError; - case: "error"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse; - - static fromJsonString(jsonString: string, options?: Partial): RpcResponse; - - static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RpcError - */ -export declare class RpcError extends Message { - /** - * @generated from field: uint32 code = 1; - */ - code: number; - - /** - * @generated from field: string message = 2; - */ - message: string; - - /** - * @generated from field: string data = 3; - */ - data: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RpcError"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RpcError; - - static fromJson(jsonValue: JsonValue, options?: Partial): RpcError; - - static fromJsonString(jsonString: string, options?: Partial): RpcError; - - static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ParticipantTracks - */ -export declare class ParticipantTracks extends Message { - /** - * participant ID of participant to whom the tracks belong - * - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - - /** - * @generated from field: repeated string track_sids = 2; - */ - trackSids: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantTracks"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks; - - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks; - - static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks; - - static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean; -} - -/** - * details about the server - * - * @generated from message livekit.ServerInfo - */ -export declare class ServerInfo extends Message { - /** - * @generated from field: livekit.ServerInfo.Edition edition = 1; - */ - edition: ServerInfo_Edition; - - /** - * @generated from field: string version = 2; - */ - version: string; - - /** - * @generated from field: int32 protocol = 3; - */ - protocol: number; - - /** - * @generated from field: string region = 4; - */ - region: string; - - /** - * @generated from field: string node_id = 5; - */ - nodeId: string; - - /** - * additional debugging information. sent only if server is in development mode - * - * @generated from field: string debug_info = 6; - */ - debugInfo: string; - - /** - * @generated from field: int32 agent_protocol = 7; - */ - agentProtocol: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ServerInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo; - - static fromJsonString(jsonString: string, options?: Partial): ServerInfo; - - static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.ServerInfo.Edition - */ -export declare enum ServerInfo_Edition { - /** - * @generated from enum value: Standard = 0; - */ - Standard = 0, - - /** - * @generated from enum value: Cloud = 1; - */ - Cloud = 1, -} - -/** - * details about the client - * - * @generated from message livekit.ClientInfo - */ -export declare class ClientInfo extends Message { - /** - * @generated from field: livekit.ClientInfo.SDK sdk = 1; - */ - sdk: ClientInfo_SDK; - - /** - * @generated from field: string version = 2; - */ - version: string; - - /** - * @generated from field: int32 protocol = 3; - */ - protocol: number; - - /** - * @generated from field: string os = 4; - */ - os: string; - - /** - * @generated from field: string os_version = 5; - */ - osVersion: string; - - /** - * @generated from field: string device_model = 6; - */ - deviceModel: string; - - /** - * @generated from field: string browser = 7; - */ - browser: string; - - /** - * @generated from field: string browser_version = 8; - */ - browserVersion: string; - - /** - * @generated from field: string address = 9; - */ - address: string; - - /** - * wifi, wired, cellular, vpn, empty if not known - * - * @generated from field: string network = 10; - */ - network: string; - - /** - * comma separated list of additional LiveKit SDKs in use of this client, with versions - * e.g. "components-js:1.2.3,track-processors-js:1.2.3" - * - * @generated from field: string other_sdks = 11; - */ - otherSdks: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ClientInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo; - - static fromJsonString(jsonString: string, options?: Partial): ClientInfo; - - static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.ClientInfo.SDK - */ -export declare enum ClientInfo_SDK { - /** - * @generated from enum value: UNKNOWN = 0; - */ - UNKNOWN = 0, - - /** - * @generated from enum value: JS = 1; - */ - JS = 1, - - /** - * @generated from enum value: SWIFT = 2; - */ - SWIFT = 2, - - /** - * @generated from enum value: ANDROID = 3; - */ - ANDROID = 3, - - /** - * @generated from enum value: FLUTTER = 4; - */ - FLUTTER = 4, - - /** - * @generated from enum value: GO = 5; - */ - GO = 5, - - /** - * @generated from enum value: UNITY = 6; - */ - UNITY = 6, - - /** - * @generated from enum value: REACT_NATIVE = 7; - */ - REACT_NATIVE = 7, - - /** - * @generated from enum value: RUST = 8; - */ - RUST = 8, - - /** - * @generated from enum value: PYTHON = 9; - */ - PYTHON = 9, - - /** - * @generated from enum value: CPP = 10; - */ - CPP = 10, - - /** - * @generated from enum value: UNITY_WEB = 11; - */ - UNITY_WEB = 11, - - /** - * @generated from enum value: NODE = 12; - */ - NODE = 12, -} - -/** - * server provided client configuration - * - * @generated from message livekit.ClientConfiguration - */ -export declare class ClientConfiguration extends Message { - /** - * @generated from field: livekit.VideoConfiguration video = 1; - */ - video?: VideoConfiguration; - - /** - * @generated from field: livekit.VideoConfiguration screen = 2; - */ - screen?: VideoConfiguration; - - /** - * @generated from field: livekit.ClientConfigSetting resume_connection = 3; - */ - resumeConnection: ClientConfigSetting; - - /** - * @generated from field: livekit.DisabledCodecs disabled_codecs = 4; - */ - disabledCodecs?: DisabledCodecs; - - /** - * @generated from field: livekit.ClientConfigSetting force_relay = 5; - */ - forceRelay: ClientConfigSetting; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ClientConfiguration"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration; - - static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration; - - static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration; - - static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.VideoConfiguration - */ -export declare class VideoConfiguration extends Message { - /** - * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; - */ - hardwareEncoder: ClientConfigSetting; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VideoConfiguration"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration; - - static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration; - - static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration; - - static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DisabledCodecs - */ -export declare class DisabledCodecs extends Message { - /** - * disabled for both publish and subscribe - * - * @generated from field: repeated livekit.Codec codecs = 1; - */ - codecs: Codec[]; - - /** - * only disable for publish - * - * @generated from field: repeated livekit.Codec publish = 2; - */ - publish: Codec[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DisabledCodecs"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs; - - static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs; - - static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs; - - static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RTPDrift - */ -export declare class RTPDrift extends Message { - /** - * @generated from field: google.protobuf.Timestamp start_time = 1; - */ - startTime?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp end_time = 2; - */ - endTime?: Timestamp; - - /** - * @generated from field: double duration = 3; - */ - duration: number; - - /** - * @generated from field: uint64 start_timestamp = 4; - */ - startTimestamp: bigint; - - /** - * @generated from field: uint64 end_timestamp = 5; - */ - endTimestamp: bigint; - - /** - * @generated from field: uint64 rtp_clock_ticks = 6; - */ - rtpClockTicks: bigint; - - /** - * @generated from field: int64 drift_samples = 7; - */ - driftSamples: bigint; - - /** - * @generated from field: double drift_ms = 8; - */ - driftMs: number; - - /** - * @generated from field: double clock_rate = 9; - */ - clockRate: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPDrift"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift; - - static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift; - - static fromJsonString(jsonString: string, options?: Partial): RTPDrift; - - static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RTPStats - */ -export declare class RTPStats extends Message { - /** - * @generated from field: google.protobuf.Timestamp start_time = 1; - */ - startTime?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp end_time = 2; - */ - endTime?: Timestamp; - - /** - * @generated from field: double duration = 3; - */ - duration: number; - - /** - * @generated from field: uint32 packets = 4; - */ - packets: number; - - /** - * @generated from field: double packet_rate = 5; - */ - packetRate: number; - - /** - * @generated from field: uint64 bytes = 6; - */ - bytes: bigint; - - /** - * @generated from field: uint64 header_bytes = 39; - */ - headerBytes: bigint; - - /** - * @generated from field: double bitrate = 7; - */ - bitrate: number; - - /** - * @generated from field: uint32 packets_lost = 8; - */ - packetsLost: number; - - /** - * @generated from field: double packet_loss_rate = 9; - */ - packetLossRate: number; - - /** - * @generated from field: float packet_loss_percentage = 10; - */ - packetLossPercentage: number; - - /** - * @generated from field: uint32 packets_duplicate = 11; - */ - packetsDuplicate: number; - - /** - * @generated from field: double packet_duplicate_rate = 12; - */ - packetDuplicateRate: number; - - /** - * @generated from field: uint64 bytes_duplicate = 13; - */ - bytesDuplicate: bigint; - - /** - * @generated from field: uint64 header_bytes_duplicate = 40; - */ - headerBytesDuplicate: bigint; - - /** - * @generated from field: double bitrate_duplicate = 14; - */ - bitrateDuplicate: number; - - /** - * @generated from field: uint32 packets_padding = 15; - */ - packetsPadding: number; - - /** - * @generated from field: double packet_padding_rate = 16; - */ - packetPaddingRate: number; - - /** - * @generated from field: uint64 bytes_padding = 17; - */ - bytesPadding: bigint; - - /** - * @generated from field: uint64 header_bytes_padding = 41; - */ - headerBytesPadding: bigint; - - /** - * @generated from field: double bitrate_padding = 18; - */ - bitratePadding: number; - - /** - * @generated from field: uint32 packets_out_of_order = 19; - */ - packetsOutOfOrder: number; - - /** - * @generated from field: uint32 frames = 20; - */ - frames: number; - - /** - * @generated from field: double frame_rate = 21; - */ - frameRate: number; - - /** - * @generated from field: double jitter_current = 22; - */ - jitterCurrent: number; - - /** - * @generated from field: double jitter_max = 23; - */ - jitterMax: number; - - /** - * @generated from field: map gap_histogram = 24; - */ - gapHistogram: { [key: number]: number }; - - /** - * @generated from field: uint32 nacks = 25; - */ - nacks: number; - - /** - * @generated from field: uint32 nack_acks = 37; - */ - nackAcks: number; - - /** - * @generated from field: uint32 nack_misses = 26; - */ - nackMisses: number; - - /** - * @generated from field: uint32 nack_repeated = 38; - */ - nackRepeated: number; - - /** - * @generated from field: uint32 plis = 27; - */ - plis: number; - - /** - * @generated from field: google.protobuf.Timestamp last_pli = 28; - */ - lastPli?: Timestamp; - - /** - * @generated from field: uint32 firs = 29; - */ - firs: number; - - /** - * @generated from field: google.protobuf.Timestamp last_fir = 30; - */ - lastFir?: Timestamp; - - /** - * @generated from field: uint32 rtt_current = 31; - */ - rttCurrent: number; - - /** - * @generated from field: uint32 rtt_max = 32; - */ - rttMax: number; - - /** - * @generated from field: uint32 key_frames = 33; - */ - keyFrames: number; - - /** - * @generated from field: google.protobuf.Timestamp last_key_frame = 34; - */ - lastKeyFrame?: Timestamp; - - /** - * @generated from field: uint32 layer_lock_plis = 35; - */ - layerLockPlis: number; - - /** - * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36; - */ - lastLayerLockPli?: Timestamp; - - /** - * @generated from field: livekit.RTPDrift packet_drift = 44; - */ - packetDrift?: RTPDrift; - - /** - * @generated from field: livekit.RTPDrift ntp_report_drift = 45; - */ - ntpReportDrift?: RTPDrift; - - /** - * @generated from field: livekit.RTPDrift rebased_report_drift = 46; - */ - rebasedReportDrift?: RTPDrift; - - /** - * NEXT_ID: 48 - * - * @generated from field: livekit.RTPDrift received_report_drift = 47; - */ - receivedReportDrift?: RTPDrift; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPStats"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats; - - static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats; - - static fromJsonString(jsonString: string, options?: Partial): RTPStats; - - static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RTCPSenderReportState - */ -export declare class RTCPSenderReportState extends Message { - /** - * @generated from field: uint32 rtp_timestamp = 1; - */ - rtpTimestamp: number; - - /** - * @generated from field: uint64 rtp_timestamp_ext = 2; - */ - rtpTimestampExt: bigint; - - /** - * @generated from field: uint64 ntp_timestamp = 3; - */ - ntpTimestamp: bigint; - - /** - * time at which this happened - * - * @generated from field: int64 at = 4; - */ - at: bigint; - - /** - * @generated from field: int64 at_adjusted = 5; - */ - atAdjusted: bigint; - - /** - * @generated from field: uint32 packets = 6; - */ - packets: number; - - /** - * @generated from field: uint64 octets = 7; - */ - octets: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTCPSenderReportState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState; - - static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState; - - static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState; - - static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RTPForwarderState - */ -export declare class RTPForwarderState extends Message { - /** - * @generated from field: bool started = 1; - */ - started: boolean; - - /** - * @generated from field: int32 reference_layer_spatial = 2; - */ - referenceLayerSpatial: number; - - /** - * @generated from field: int64 pre_start_time = 3; - */ - preStartTime: bigint; - - /** - * @generated from field: uint64 ext_first_timestamp = 4; - */ - extFirstTimestamp: bigint; - - /** - * @generated from field: uint64 dummy_start_timestamp_offset = 5; - */ - dummyStartTimestampOffset: bigint; - - /** - * @generated from field: livekit.RTPMungerState rtp_munger = 6; - */ - rtpMunger?: RTPMungerState; - - /** - * @generated from oneof livekit.RTPForwarderState.codec_munger - */ - codecMunger: { - /** - * @generated from field: livekit.VP8MungerState vp8_munger = 7; - */ - value: VP8MungerState; - case: "vp8Munger"; - } | { case: undefined; value?: undefined }; - - /** - * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; - */ - senderReportState: RTCPSenderReportState[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPForwarderState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState; - - static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState; - - static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState; - - static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RTPMungerState - */ -export declare class RTPMungerState extends Message { - /** - * @generated from field: uint64 ext_last_sequence_number = 1; - */ - extLastSequenceNumber: bigint; - - /** - * @generated from field: uint64 ext_second_last_sequence_number = 2; - */ - extSecondLastSequenceNumber: bigint; - - /** - * @generated from field: uint64 ext_last_timestamp = 3; - */ - extLastTimestamp: bigint; - - /** - * @generated from field: uint64 ext_second_last_timestamp = 4; - */ - extSecondLastTimestamp: bigint; - - /** - * @generated from field: bool last_marker = 5; - */ - lastMarker: boolean; - - /** - * @generated from field: bool second_last_marker = 6; - */ - secondLastMarker: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RTPMungerState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState; - - static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState; - - static fromJsonString(jsonString: string, options?: Partial): RTPMungerState; - - static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.VP8MungerState - */ -export declare class VP8MungerState extends Message { - /** - * @generated from field: int32 ext_last_picture_id = 1; - */ - extLastPictureId: number; - - /** - * @generated from field: bool picture_id_used = 2; - */ - pictureIdUsed: boolean; - - /** - * @generated from field: uint32 last_tl0_pic_idx = 3; - */ - lastTl0PicIdx: number; - - /** - * @generated from field: bool tl0_pic_idx_used = 4; - */ - tl0PicIdxUsed: boolean; - - /** - * @generated from field: bool tid_used = 5; - */ - tidUsed: boolean; - - /** - * @generated from field: uint32 last_key_idx = 6; - */ - lastKeyIdx: number; - - /** - * @generated from field: bool key_idx_used = 7; - */ - keyIdxUsed: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.VP8MungerState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState; - - static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState; - - static fromJsonString(jsonString: string, options?: Partial): VP8MungerState; - - static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TimedVersion - */ -export declare class TimedVersion extends Message { - /** - * @generated from field: int64 unix_micro = 1; - */ - unixMicro: bigint; - - /** - * @generated from field: int32 ticks = 2; - */ - ticks: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TimedVersion"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion; - - static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion; - - static fromJsonString(jsonString: string, options?: Partial): TimedVersion; - - static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DataStream - */ -export declare class DataStream extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; - - static fromJsonString(jsonString: string, options?: Partial): DataStream; - - static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; -} - -/** - * enum for operation types (specific to TextHeader) - * - * @generated from enum livekit.DataStream.OperationType - */ -export declare enum DataStream_OperationType { - /** - * @generated from enum value: CREATE = 0; - */ - CREATE = 0, - - /** - * @generated from enum value: UPDATE = 1; - */ - UPDATE = 1, - - /** - * @generated from enum value: DELETE = 2; - */ - DELETE = 2, - - /** - * @generated from enum value: REACTION = 3; - */ - REACTION = 3, -} - -/** - * header properties specific to text streams - * - * @generated from message livekit.DataStream.TextHeader - */ -export declare class DataStream_TextHeader extends Message { - /** - * @generated from field: livekit.DataStream.OperationType operation_type = 1; - */ - operationType: DataStream_OperationType; - - /** - * Optional: Version for updates/edits - * - * @generated from field: int32 version = 2; - */ - version: number; - - /** - * Optional: Reply to specific message - * - * @generated from field: string reply_to_stream_id = 3; - */ - replyToStreamId: string; - - /** - * file attachments for text streams - * - * @generated from field: repeated string attached_stream_ids = 4; - */ - attachedStreamIds: string[]; - - /** - * true if the text has been generated by an agent from a participant's audio transcription - * - * @generated from field: bool generated = 5; - */ - generated: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.TextHeader"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; - - static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; - - static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; -} - -/** - * header properties specific to file or image streams - * - * @generated from message livekit.DataStream.FileHeader - */ -export declare class DataStream_FileHeader extends Message { - /** - * name of the file - * - * @generated from field: string file_name = 1; - */ - fileName: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.FileHeader"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_FileHeader; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_FileHeader; - - static fromJsonString(jsonString: string, options?: Partial): DataStream_FileHeader; - - static equals(a: DataStream_FileHeader | PlainMessage | undefined, b: DataStream_FileHeader | PlainMessage | undefined): boolean; -} - -/** - * main DataStream.Header that contains a oneof for specific headers - * - * @generated from message livekit.DataStream.Header - */ -export declare class DataStream_Header extends Message { - /** - * unique identifier for this data stream - * - * @generated from field: string stream_id = 1; - */ - streamId: string; - - /** - * using int64 for Unix timestamp - * - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - - /** - * @generated from field: string topic = 3; - */ - topic: string; - - /** - * @generated from field: string mime_type = 4; - */ - mimeType: string; - - /** - * only populated for finite streams, if it's a stream of unknown size this stays empty - * - * @generated from field: optional uint64 total_length = 5; - */ - totalLength?: bigint; - - /** - * only populated for finite streams, if it's a stream of unknown size this stays empty - * - * @generated from field: optional uint64 total_chunks = 6; - */ - totalChunks?: bigint; - - /** - * defaults to NONE - * - * @generated from field: livekit.Encryption.Type encryption_type = 7; - */ - encryptionType: Encryption_Type; - - /** - * user defined extensions map that can carry additional info - * - * @generated from field: map extensions = 8; - */ - extensions: { [key: string]: string }; - - /** - * oneof to choose between specific header types - * - * @generated from oneof livekit.DataStream.Header.content_header - */ - contentHeader: { - /** - * @generated from field: livekit.DataStream.TextHeader text_header = 9; - */ - value: DataStream_TextHeader; - case: "textHeader"; - } | { - /** - * @generated from field: livekit.DataStream.FileHeader file_header = 10; - */ - value: DataStream_FileHeader; - case: "fileHeader"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.Header"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; - - static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; - - static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DataStream.Chunk - */ -export declare class DataStream_Chunk extends Message { - /** - * unique identifier for this data stream to map it to the correct header - * - * @generated from field: string stream_id = 1; - */ - streamId: string; - - /** - * @generated from field: uint64 chunk_index = 2; - */ - chunkIndex: bigint; - - /** - * content as binary (bytes) - * - * @generated from field: bytes content = 3; - */ - content: Uint8Array; - - /** - * true only if this is the last chunk of this stream - can also be sent with empty content - * - * @generated from field: bool complete = 4; - */ - complete: boolean; - - /** - * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced - * - * @generated from field: int32 version = 5; - */ - version: number; - - /** - * optional, initialization vector for AES-GCM encryption - * - * @generated from field: optional bytes iv = 6; - */ - iv?: Uint8Array; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataStream.Chunk"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; - - static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; - - static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_models_pb.js b/packages/javascript/src/gen/livekit_models_pb.js deleted file mode 100644 index 179ad5d7..00000000 --- a/packages/javascript/src/gen/livekit_models_pb.js +++ /dev/null @@ -1,913 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_models.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3, Timestamp } from "@bufbuild/protobuf"; -import { MetricsBatch } from "./livekit_metrics_pb.js"; - -/** - * @generated from enum livekit.AudioCodec - */ -export const AudioCodec = /*@__PURE__*/ proto3.makeEnum( - "livekit.AudioCodec", - [ - {no: 0, name: "DEFAULT_AC"}, - {no: 1, name: "OPUS"}, - {no: 2, name: "AAC"}, - ], -); - -/** - * @generated from enum livekit.VideoCodec - */ -export const VideoCodec = /*@__PURE__*/ proto3.makeEnum( - "livekit.VideoCodec", - [ - {no: 0, name: "DEFAULT_VC"}, - {no: 1, name: "H264_BASELINE"}, - {no: 2, name: "H264_MAIN"}, - {no: 3, name: "H264_HIGH"}, - {no: 4, name: "VP8"}, - ], -); - -/** - * @generated from enum livekit.ImageCodec - */ -export const ImageCodec = /*@__PURE__*/ proto3.makeEnum( - "livekit.ImageCodec", - [ - {no: 0, name: "IC_DEFAULT"}, - {no: 1, name: "IC_JPEG"}, - ], -); - -/** - * @generated from enum livekit.TrackType - */ -export const TrackType = /*@__PURE__*/ proto3.makeEnum( - "livekit.TrackType", - [ - {no: 0, name: "AUDIO"}, - {no: 1, name: "VIDEO"}, - {no: 2, name: "DATA"}, - ], -); - -/** - * @generated from enum livekit.TrackSource - */ -export const TrackSource = /*@__PURE__*/ proto3.makeEnum( - "livekit.TrackSource", - [ - {no: 0, name: "UNKNOWN"}, - {no: 1, name: "CAMERA"}, - {no: 2, name: "MICROPHONE"}, - {no: 3, name: "SCREEN_SHARE"}, - {no: 4, name: "SCREEN_SHARE_AUDIO"}, - ], -); - -/** - * @generated from enum livekit.VideoQuality - */ -export const VideoQuality = /*@__PURE__*/ proto3.makeEnum( - "livekit.VideoQuality", - [ - {no: 0, name: "LOW"}, - {no: 1, name: "MEDIUM"}, - {no: 2, name: "HIGH"}, - {no: 3, name: "OFF"}, - ], -); - -/** - * @generated from enum livekit.ConnectionQuality - */ -export const ConnectionQuality = /*@__PURE__*/ proto3.makeEnum( - "livekit.ConnectionQuality", - [ - {no: 0, name: "POOR"}, - {no: 1, name: "GOOD"}, - {no: 2, name: "EXCELLENT"}, - {no: 3, name: "LOST"}, - ], -); - -/** - * @generated from enum livekit.ClientConfigSetting - */ -export const ClientConfigSetting = /*@__PURE__*/ proto3.makeEnum( - "livekit.ClientConfigSetting", - [ - {no: 0, name: "UNSET"}, - {no: 1, name: "DISABLED"}, - {no: 2, name: "ENABLED"}, - ], -); - -/** - * @generated from enum livekit.DisconnectReason - */ -export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum( - "livekit.DisconnectReason", - [ - {no: 0, name: "UNKNOWN_REASON"}, - {no: 1, name: "CLIENT_INITIATED"}, - {no: 2, name: "DUPLICATE_IDENTITY"}, - {no: 3, name: "SERVER_SHUTDOWN"}, - {no: 4, name: "PARTICIPANT_REMOVED"}, - {no: 5, name: "ROOM_DELETED"}, - {no: 6, name: "STATE_MISMATCH"}, - {no: 7, name: "JOIN_FAILURE"}, - {no: 8, name: "MIGRATION"}, - {no: 9, name: "SIGNAL_CLOSE"}, - {no: 10, name: "ROOM_CLOSED"}, - {no: 11, name: "USER_UNAVAILABLE"}, - {no: 12, name: "USER_REJECTED"}, - {no: 13, name: "SIP_TRUNK_FAILURE"}, - ], -); - -/** - * @generated from enum livekit.ReconnectReason - */ -export const ReconnectReason = /*@__PURE__*/ proto3.makeEnum( - "livekit.ReconnectReason", - [ - {no: 0, name: "RR_UNKNOWN"}, - {no: 1, name: "RR_SIGNAL_DISCONNECTED"}, - {no: 2, name: "RR_PUBLISHER_FAILED"}, - {no: 3, name: "RR_SUBSCRIBER_FAILED"}, - {no: 4, name: "RR_SWITCH_CANDIDATE"}, - ], -); - -/** - * @generated from enum livekit.SubscriptionError - */ -export const SubscriptionError = /*@__PURE__*/ proto3.makeEnum( - "livekit.SubscriptionError", - [ - {no: 0, name: "SE_UNKNOWN"}, - {no: 1, name: "SE_CODEC_UNSUPPORTED"}, - {no: 2, name: "SE_TRACK_NOTFOUND"}, - ], -); - -/** - * @generated from enum livekit.AudioTrackFeature - */ -export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum( - "livekit.AudioTrackFeature", - [ - {no: 0, name: "TF_STEREO"}, - {no: 1, name: "TF_NO_DTX"}, - {no: 2, name: "TF_AUTO_GAIN_CONTROL"}, - {no: 3, name: "TF_ECHO_CANCELLATION"}, - {no: 4, name: "TF_NOISE_SUPPRESSION"}, - {no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"}, - ], -); - -/** - * @generated from message livekit.Room - */ -export const Room = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Room", - () => [ - { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 14, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "creation_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 6, name: "turn_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "enabled_codecs", kind: "message", T: Codec, repeated: true }, - { no: 8, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "num_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 11, name: "num_publishers", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 10, name: "active_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 13, name: "version", kind: "message", T: TimedVersion }, - ], -); - -/** - * @generated from message livekit.Codec - */ -export const Codec = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Codec", - () => [ - { no: 1, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.PlayoutDelay - */ -export const PlayoutDelay = /*@__PURE__*/ proto3.makeMessageType( - "livekit.PlayoutDelay", - () => [ - { no: 1, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "min", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.ParticipantPermission - */ -export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ParticipantPermission", - () => [ - { no: 1, name: "can_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "can_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "can_publish_data", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 9, name: "can_publish_sources", kind: "enum", T: proto3.getEnumType(TrackSource), repeated: true }, - { no: 7, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 8, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.ParticipantInfo - */ -export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ParticipantInfo", - () => [ - { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) }, - { no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, - { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "joined_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 9, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 11, name: "permission", kind: "message", T: ParticipantPermission }, - { no: 12, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) }, - { no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, - ], -); - -/** - * @generated from enum livekit.ParticipantInfo.State - */ -export const ParticipantInfo_State = /*@__PURE__*/ proto3.makeEnum( - "livekit.ParticipantInfo.State", - [ - {no: 0, name: "JOINING"}, - {no: 1, name: "JOINED"}, - {no: 2, name: "ACTIVE"}, - {no: 3, name: "DISCONNECTED"}, - ], -); - -/** - * @generated from enum livekit.ParticipantInfo.Kind - */ -export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum( - "livekit.ParticipantInfo.Kind", - [ - {no: 0, name: "STANDARD"}, - {no: 1, name: "INGRESS"}, - {no: 2, name: "EGRESS"}, - {no: 3, name: "SIP"}, - {no: 4, name: "AGENT"}, - ], -); - -/** - * @generated from message livekit.Encryption - */ -export const Encryption = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Encryption", - [], -); - -/** - * @generated from enum livekit.Encryption.Type - */ -export const Encryption_Type = /*@__PURE__*/ proto3.makeEnum( - "livekit.Encryption.Type", - [ - {no: 0, name: "NONE"}, - {no: 1, name: "GCM"}, - {no: 2, name: "CUSTOM"}, - ], -); - -/** - * @generated from message livekit.SimulcastCodecInfo - */ -export const SimulcastCodecInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SimulcastCodecInfo", - () => [ - { no: 1, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - ], -); - -/** - * @generated from message livekit.TrackInfo - */ -export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackInfo", - () => [ - { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, - { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 7, name: "simulcast", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 8, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 9, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 10, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - { no: 11, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 12, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 13, name: "codecs", kind: "message", T: SimulcastCodecInfo, repeated: true }, - { no: 14, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 15, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 16, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { no: 17, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 18, name: "version", kind: "message", T: TimedVersion }, - { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, - ], -); - -/** - * provide information about available spatial layers - * - * @generated from message livekit.VideoLayer - */ -export const VideoLayer = /*@__PURE__*/ proto3.makeMessageType( - "livekit.VideoLayer", - () => [ - { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * new DataPacket API - * - * @generated from message livekit.DataPacket - */ -export const DataPacket = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataPacket", - () => [ - { no: 1, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, - { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 2, name: "user", kind: "message", T: UserPacket, oneof: "value" }, - { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" }, - { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, - { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, - { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" }, - { no: 9, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" }, - { no: 10, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" }, - { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" }, - { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" }, - { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" }, - { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" }, - ], -); - -/** - * @generated from enum livekit.DataPacket.Kind - */ -export const DataPacket_Kind = /*@__PURE__*/ proto3.makeEnum( - "livekit.DataPacket.Kind", - [ - {no: 0, name: "RELIABLE"}, - {no: 1, name: "LOSSY"}, - ], -); - -/** - * @generated from message livekit.ActiveSpeakerUpdate - */ -export const ActiveSpeakerUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ActiveSpeakerUpdate", - () => [ - { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.SpeakerInfo - */ -export const SpeakerInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SpeakerInfo", - () => [ - { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "level", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.UserPacket - */ -export const UserPacket = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UserPacket", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, - { no: 3, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 8, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - { no: 9, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, - { no: 10, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, - ], -); - -/** - * @generated from message livekit.SipDTMF - */ -export const SipDTMF = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SipDTMF", - () => [ - { no: 3, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "digit", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.Transcription - */ -export const Transcription = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Transcription", - () => [ - { no: 2, name: "transcribed_participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }, - ], -); - -/** - * @generated from message livekit.TranscriptionSegment - */ -export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TranscriptionSegment", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ChatMessage - */ -export const ChatMessage = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ChatMessage", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "edit_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, - { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "deleted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.RpcRequest - */ -export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RpcRequest", - () => [ - { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.RpcAck - */ -export const RpcAck = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RpcAck", - () => [ - { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.RpcResponse - */ -export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RpcResponse", - () => [ - { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" }, - { no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" }, - ], -); - -/** - * @generated from message livekit.RpcError - */ -export const RpcError = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RpcError", - () => [ - { no: 1, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ParticipantTracks - */ -export const ParticipantTracks = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ParticipantTracks", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * details about the server - * - * @generated from message livekit.ServerInfo - */ -export const ServerInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ServerInfo", - () => [ - { no: 1, name: "edition", kind: "enum", T: proto3.getEnumType(ServerInfo_Edition) }, - { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "debug_info", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "agent_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - ], -); - -/** - * @generated from enum livekit.ServerInfo.Edition - */ -export const ServerInfo_Edition = /*@__PURE__*/ proto3.makeEnum( - "livekit.ServerInfo.Edition", - [ - {no: 0, name: "Standard"}, - {no: 1, name: "Cloud"}, - ], -); - -/** - * details about the client - * - * @generated from message livekit.ClientInfo - */ -export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ClientInfo", - () => [ - { no: 1, name: "sdk", kind: "enum", T: proto3.getEnumType(ClientInfo_SDK) }, - { no: 2, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: "os", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "os_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "device_model", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "browser", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "browser_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from enum livekit.ClientInfo.SDK - */ -export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum( - "livekit.ClientInfo.SDK", - [ - {no: 0, name: "UNKNOWN"}, - {no: 1, name: "JS"}, - {no: 2, name: "SWIFT"}, - {no: 3, name: "ANDROID"}, - {no: 4, name: "FLUTTER"}, - {no: 5, name: "GO"}, - {no: 6, name: "UNITY"}, - {no: 7, name: "REACT_NATIVE"}, - {no: 8, name: "RUST"}, - {no: 9, name: "PYTHON"}, - {no: 10, name: "CPP"}, - {no: 11, name: "UNITY_WEB"}, - {no: 12, name: "NODE"}, - ], -); - -/** - * server provided client configuration - * - * @generated from message livekit.ClientConfiguration - */ -export const ClientConfiguration = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ClientConfiguration", - () => [ - { no: 1, name: "video", kind: "message", T: VideoConfiguration }, - { no: 2, name: "screen", kind: "message", T: VideoConfiguration }, - { no: 3, name: "resume_connection", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, - { no: 4, name: "disabled_codecs", kind: "message", T: DisabledCodecs }, - { no: 5, name: "force_relay", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, - ], -); - -/** - * @generated from message livekit.VideoConfiguration - */ -export const VideoConfiguration = /*@__PURE__*/ proto3.makeMessageType( - "livekit.VideoConfiguration", - () => [ - { no: 1, name: "hardware_encoder", kind: "enum", T: proto3.getEnumType(ClientConfigSetting) }, - ], -); - -/** - * @generated from message livekit.DisabledCodecs - */ -export const DisabledCodecs = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DisabledCodecs", - () => [ - { no: 1, name: "codecs", kind: "message", T: Codec, repeated: true }, - { no: 2, name: "publish", kind: "message", T: Codec, repeated: true }, - ], -); - -/** - * @generated from message livekit.RTPDrift - */ -export const RTPDrift = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RTPDrift", - () => [ - { no: 1, name: "start_time", kind: "message", T: Timestamp }, - { no: 2, name: "end_time", kind: "message", T: Timestamp }, - { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 4, name: "start_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 5, name: "end_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 6, name: "rtp_clock_ticks", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 7, name: "drift_samples", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 8, name: "drift_ms", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 9, name: "clock_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - ], -); - -/** - * @generated from message livekit.RTPStats - */ -export const RTPStats = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RTPStats", - () => [ - { no: 1, name: "start_time", kind: "message", T: Timestamp }, - { no: 2, name: "end_time", kind: "message", T: Timestamp }, - { no: 3, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 4, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "packet_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 6, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 39, name: "header_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 7, name: "bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 9, name: "packet_loss_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 10, name: "packet_loss_percentage", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - { no: 11, name: "packets_duplicate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 12, name: "packet_duplicate_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 13, name: "bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 40, name: "header_bytes_duplicate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 14, name: "bitrate_duplicate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 15, name: "packets_padding", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 16, name: "packet_padding_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 17, name: "bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 41, name: "header_bytes_padding", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 18, name: "bitrate_padding", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 20, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 21, name: "frame_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 22, name: "jitter_current", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 23, name: "jitter_max", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, - { no: 24, name: "gap_histogram", kind: "map", K: 5 /* ScalarType.INT32 */, V: {kind: "scalar", T: 13 /* ScalarType.UINT32 */} }, - { no: 25, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 37, name: "nack_acks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 26, name: "nack_misses", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 38, name: "nack_repeated", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 27, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 28, name: "last_pli", kind: "message", T: Timestamp }, - { no: 29, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 30, name: "last_fir", kind: "message", T: Timestamp }, - { no: 31, name: "rtt_current", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 32, name: "rtt_max", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 33, name: "key_frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 34, name: "last_key_frame", kind: "message", T: Timestamp }, - { no: 35, name: "layer_lock_plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 36, name: "last_layer_lock_pli", kind: "message", T: Timestamp }, - { no: 44, name: "packet_drift", kind: "message", T: RTPDrift }, - { no: 45, name: "ntp_report_drift", kind: "message", T: RTPDrift }, - { no: 46, name: "rebased_report_drift", kind: "message", T: RTPDrift }, - { no: 47, name: "received_report_drift", kind: "message", T: RTPDrift }, - ], -); - -/** - * @generated from message livekit.RTCPSenderReportState - */ -export const RTCPSenderReportState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RTCPSenderReportState", - () => [ - { no: 1, name: "rtp_timestamp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "rtp_timestamp_ext", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 3, name: "ntp_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 4, name: "at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 5, name: "at_adjusted", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 6, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 7, name: "octets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - ], -); - -/** - * @generated from message livekit.RTPForwarderState - */ -export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RTPForwarderState", - () => [ - { no: 1, name: "started", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "reference_layer_spatial", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: "pre_start_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 4, name: "ext_first_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState }, - { no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" }, - { no: 8, name: "sender_report_state", kind: "message", T: RTCPSenderReportState, repeated: true }, - ], -); - -/** - * @generated from message livekit.RTPMungerState - */ -export const RTPMungerState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RTPMungerState", - () => [ - { no: 1, name: "ext_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 2, name: "ext_second_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 3, name: "ext_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 4, name: "ext_second_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 5, name: "last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "second_last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.VP8MungerState - */ -export const VP8MungerState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.VP8MungerState", - () => [ - { no: 1, name: "ext_last_picture_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 2, name: "picture_id_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "last_tl0_pic_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "tl0_pic_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "tid_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "last_key_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 7, name: "key_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.TimedVersion - */ -export const TimedVersion = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TimedVersion", - () => [ - { no: 1, name: "unix_micro", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "ticks", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - ], -); - -/** - * @generated from message livekit.DataStream - */ -export const DataStream = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataStream", - [], -); - -/** - * enum for operation types (specific to TextHeader) - * - * @generated from enum livekit.DataStream.OperationType - */ -export const DataStream_OperationType = /*@__PURE__*/ proto3.makeEnum( - "livekit.DataStream.OperationType", - [ - {no: 0, name: "CREATE"}, - {no: 1, name: "UPDATE"}, - {no: 2, name: "DELETE"}, - {no: 3, name: "REACTION"}, - ], -); - -/** - * header properties specific to text streams - * - * @generated from message livekit.DataStream.TextHeader - */ -export const DataStream_TextHeader = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataStream.TextHeader", - () => [ - { no: 1, name: "operation_type", kind: "enum", T: proto3.getEnumType(DataStream_OperationType) }, - { no: 2, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: "reply_to_stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "attached_stream_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 5, name: "generated", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], - {localName: "DataStream_TextHeader"}, -); - -/** - * header properties specific to file or image streams - * - * @generated from message livekit.DataStream.FileHeader - */ -export const DataStream_FileHeader = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataStream.FileHeader", - () => [ - { no: 1, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], - {localName: "DataStream_FileHeader"}, -); - -/** - * main DataStream.Header that contains a oneof for specific headers - * - * @generated from message livekit.DataStream.Header - */ -export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataStream.Header", - () => [ - { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, - { no: 6, name: "total_chunks", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, - { no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { no: 8, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" }, - { no: 10, name: "file_header", kind: "message", T: DataStream_FileHeader, oneof: "content_header" }, - ], - {localName: "DataStream_Header"}, -); - -/** - * @generated from message livekit.DataStream.Chunk - */ -export const DataStream_Chunk = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataStream.Chunk", - () => [ - { no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "chunk_index", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, - { no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, - { no: 4, name: "complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 6, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true }, - ], - {localName: "DataStream_Chunk"}, -); - diff --git a/packages/javascript/src/gen/livekit_room_pb.d.ts b/packages/javascript/src/gen/livekit_room_pb.d.ts deleted file mode 100644 index a88320ac..00000000 --- a/packages/javascript/src/gen/livekit_room_pb.d.ts +++ /dev/null @@ -1,774 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_room.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; -import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; - -/** - * @generated from message livekit.CreateRoomRequest - */ -export declare class CreateRoomRequest extends Message { - /** - * name of the room - * - * @generated from field: string name = 1; - */ - name: string; - - /** - * configuration to use for this room parameters. Setting parameters below override the config defaults. - * - * @generated from field: string room_preset = 12; - */ - roomPreset: string; - - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - emptyTimeout: number; - - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 10; - */ - departureTimeout: number; - - /** - * limit number of participants that can be in a room - * - * @generated from field: uint32 max_participants = 3; - */ - maxParticipants: number; - - /** - * override the node room is allocated to, for debugging - * - * @generated from field: string node_id = 4; - */ - nodeId: string; - - /** - * metadata of room - * - * @generated from field: string metadata = 5; - */ - metadata: string; - - /** - * auto-egress configurations - * - * @generated from field: livekit.RoomEgress egress = 6; - */ - egress?: RoomEgress; - - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - minPlayoutDelay: number; - - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - maxPlayoutDelay: number; - - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - syncStreams: boolean; - - /** - * replay - * - * @generated from field: bool replay_enabled = 13; - */ - replayEnabled: boolean; - - /** - * Define agents that should be dispatched to this room - * - * NEXT-ID: 15 - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; - */ - agents: RoomAgentDispatch[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateRoomRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest; - - static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomEgress - */ -export declare class RoomEgress extends Message { - /** - * @generated from field: livekit.RoomCompositeEgressRequest room = 1; - */ - room?: RoomCompositeEgressRequest; - - /** - * @generated from field: livekit.AutoParticipantEgress participant = 3; - */ - participant?: AutoParticipantEgress; - - /** - * @generated from field: livekit.AutoTrackEgress tracks = 2; - */ - tracks?: AutoTrackEgress; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomEgress"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress; - - static fromJsonString(jsonString: string, options?: Partial): RoomEgress; - - static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomAgent - */ -export declare class RoomAgent extends Message { - /** - * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; - */ - dispatches: RoomAgentDispatch[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomAgent"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent; - - static fromJsonString(jsonString: string, options?: Partial): RoomAgent; - - static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListRoomsRequest - */ -export declare class ListRoomsRequest extends Message { - /** - * when set, will only return rooms with name match - * - * @generated from field: repeated string names = 1; - */ - names: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListRoomsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest; - - static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListRoomsResponse - */ -export declare class ListRoomsResponse extends Message { - /** - * @generated from field: repeated livekit.Room rooms = 1; - */ - rooms: Room[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListRoomsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse; - - static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteRoomRequest - */ -export declare class DeleteRoomRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteRoomRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest; - - static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest; - - static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteRoomResponse - */ -export declare class DeleteRoomResponse extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteRoomResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse; - - static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse; - - static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListParticipantsRequest - */ -export declare class ListParticipantsRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListParticipantsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest; - - static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListParticipantsResponse - */ -export declare class ListParticipantsResponse extends Message { - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - participants: ParticipantInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListParticipantsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse; - - static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomParticipantIdentity - */ -export declare class RoomParticipantIdentity extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - - /** - * identity of the participant - * - * @generated from field: string identity = 2; - */ - identity: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomParticipantIdentity"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity; - - static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity; - - static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RemoveParticipantResponse - */ -export declare class RemoveParticipantResponse extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RemoveParticipantResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse; - - static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse; - - static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.MuteRoomTrackRequest - */ -export declare class MuteRoomTrackRequest extends Message { - /** - * name of the room - * - * @generated from field: string room = 1; - */ - room: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * sid of the track to mute - * - * @generated from field: string track_sid = 3; - */ - trackSid: string; - - /** - * set to true to mute, false to unmute - * - * @generated from field: bool muted = 4; - */ - muted: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteRoomTrackRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest; - - static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest; - - static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.MuteRoomTrackResponse - */ -export declare class MuteRoomTrackResponse extends Message { - /** - * @generated from field: livekit.TrackInfo track = 1; - */ - track?: TrackInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteRoomTrackResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse; - - static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse; - - static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateParticipantRequest - */ -export declare class UpdateParticipantRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 3; - */ - metadata: string; - - /** - * set to update the participant's permissions - * - * @generated from field: livekit.ParticipantPermission permission = 4; - */ - permission?: ParticipantPermission; - - /** - * display name to update - * - * @generated from field: string name = 5; - */ - name: string; - - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 6; - */ - attributes: { [key: string]: string }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateParticipantRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest; - - static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateSubscriptionsRequest - */ -export declare class UpdateSubscriptionsRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - - /** - * @generated from field: string identity = 2; - */ - identity: string; - - /** - * list of sids of tracks - * - * @generated from field: repeated string track_sids = 3; - */ - trackSids: string[]; - - /** - * set to true to subscribe, false to unsubscribe from tracks - * - * @generated from field: bool subscribe = 4; - */ - subscribe: boolean; - - /** - * list of participants and their tracks - * - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; - */ - participantTracks: ParticipantTracks[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscriptionsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest; - - static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean; -} - -/** - * empty for now - * - * @generated from message livekit.UpdateSubscriptionsResponse - */ -export declare class UpdateSubscriptionsResponse extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscriptionsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse; - - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse; - - static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SendDataRequest - */ -export declare class SendDataRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - - /** - * @generated from field: bytes data = 2; - */ - data: Uint8Array; - - /** - * @generated from field: livekit.DataPacket.Kind kind = 3; - */ - kind: DataPacket_Kind; - - /** - * mark deprecated - * - * @generated from field: repeated string destination_sids = 4 [deprecated = true]; - * @deprecated - */ - destinationSids: string[]; - - /** - * when set, only forward to these identities - * - * @generated from field: repeated string destination_identities = 6; - */ - destinationIdentities: string[]; - - /** - * @generated from field: optional string topic = 5; - */ - topic?: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SendDataRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest; - - static fromJsonString(jsonString: string, options?: Partial): SendDataRequest; - - static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SendDataResponse - */ -export declare class SendDataResponse extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SendDataResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse; - - static fromJsonString(jsonString: string, options?: Partial): SendDataResponse; - - static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateRoomMetadataRequest - */ -export declare class UpdateRoomMetadataRequest extends Message { - /** - * @generated from field: string room = 1; - */ - room: string; - - /** - * metadata to update. skipping updates if left empty - * - * @generated from field: string metadata = 2; - */ - metadata: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateRoomMetadataRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest; - - static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest; - - static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomConfiguration - */ -export declare class RoomConfiguration extends Message { - /** - * Used as ID, must be unique - * - * @generated from field: string name = 1; - */ - name: string; - - /** - * number of seconds to keep the room open if no one joins - * - * @generated from field: uint32 empty_timeout = 2; - */ - emptyTimeout: number; - - /** - * number of seconds to keep the room open after everyone leaves - * - * @generated from field: uint32 departure_timeout = 3; - */ - departureTimeout: number; - - /** - * limit number of participants that can be in a room, excluding Egress and Ingress participants - * - * @generated from field: uint32 max_participants = 4; - */ - maxParticipants: number; - - /** - * egress - * - * @generated from field: livekit.RoomEgress egress = 5; - */ - egress?: RoomEgress; - - /** - * playout delay of subscriber - * - * @generated from field: uint32 min_playout_delay = 7; - */ - minPlayoutDelay: number; - - /** - * @generated from field: uint32 max_playout_delay = 8; - */ - maxPlayoutDelay: number; - - /** - * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use - * so not recommended for rooms with frequent subscription changes - * - * @generated from field: bool sync_streams = 9; - */ - syncStreams: boolean; - - /** - * Define agents that should be dispatched to this room - * - * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; - */ - agents: RoomAgentDispatch[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomConfiguration"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration; - - static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration; - - static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_room_pb.js b/packages/javascript/src/gen/livekit_room_pb.js deleted file mode 100644 index 9b4c21d0..00000000 --- a/packages/javascript/src/gen/livekit_room_pb.js +++ /dev/null @@ -1,259 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_room.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js"; -import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js"; -import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js"; - -/** - * @generated from message livekit.CreateRoomRequest - */ -export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateRoomRequest", - () => [ - { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 12, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 10, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "egress", kind: "message", T: RoomEgress }, - { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 13, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 14, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }, - ], -); - -/** - * @generated from message livekit.RoomEgress - */ -export const RoomEgress = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomEgress", - () => [ - { no: 1, name: "room", kind: "message", T: RoomCompositeEgressRequest }, - { no: 3, name: "participant", kind: "message", T: AutoParticipantEgress }, - { no: 2, name: "tracks", kind: "message", T: AutoTrackEgress }, - ], -); - -/** - * @generated from message livekit.RoomAgent - */ -export const RoomAgent = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomAgent", - () => [ - { no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true }, - ], -); - -/** - * @generated from message livekit.ListRoomsRequest - */ -export const ListRoomsRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListRoomsRequest", - () => [ - { no: 1, name: "names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * @generated from message livekit.ListRoomsResponse - */ -export const ListRoomsResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListRoomsResponse", - () => [ - { no: 1, name: "rooms", kind: "message", T: Room, repeated: true }, - ], -); - -/** - * @generated from message livekit.DeleteRoomRequest - */ -export const DeleteRoomRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteRoomRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.DeleteRoomResponse - */ -export const DeleteRoomResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteRoomResponse", - [], -); - -/** - * @generated from message livekit.ListParticipantsRequest - */ -export const ListParticipantsRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListParticipantsRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ListParticipantsResponse - */ -export const ListParticipantsResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListParticipantsResponse", - () => [ - { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.RoomParticipantIdentity - */ -export const RoomParticipantIdentity = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomParticipantIdentity", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.RemoveParticipantResponse - */ -export const RemoveParticipantResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RemoveParticipantResponse", - [], -); - -/** - * @generated from message livekit.MuteRoomTrackRequest - */ -export const MuteRoomTrackRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MuteRoomTrackRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.MuteRoomTrackResponse - */ -export const MuteRoomTrackResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MuteRoomTrackResponse", - () => [ - { no: 1, name: "track", kind: "message", T: TrackInfo }, - ], -); - -/** - * @generated from message livekit.UpdateParticipantRequest - */ -export const UpdateParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateParticipantRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "permission", kind: "message", T: ParticipantPermission }, - { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - ], -); - -/** - * @generated from message livekit.UpdateSubscriptionsRequest - */ -export const UpdateSubscriptionsRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateSubscriptionsRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 5, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }, - ], -); - -/** - * empty for now - * - * @generated from message livekit.UpdateSubscriptionsResponse - */ -export const UpdateSubscriptionsResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateSubscriptionsResponse", - [], -); - -/** - * @generated from message livekit.SendDataRequest - */ -export const SendDataRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SendDataRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, - { no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacket_Kind) }, - { no: 4, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 6, name: "destination_identities", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 5, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, - ], -); - -/** - * @generated from message livekit.SendDataResponse - */ -export const SendDataResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SendDataResponse", - [], -); - -/** - * @generated from message livekit.UpdateRoomMetadataRequest - */ -export const UpdateRoomMetadataRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateRoomMetadataRequest", - () => [ - { no: 1, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.RoomConfiguration - */ -export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomConfiguration", - () => [ - { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "egress", kind: "message", T: RoomEgress }, - { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_rtc_pb.d.ts b/packages/javascript/src/gen/livekit_rtc_pb.d.ts deleted file mode 100644 index 5c005ebc..00000000 --- a/packages/javascript/src/gen/livekit_rtc_pb.d.ts +++ /dev/null @@ -1,2001 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_rtc.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.SignalTarget - */ -export declare enum SignalTarget { - /** - * @generated from enum value: PUBLISHER = 0; - */ - PUBLISHER = 0, - - /** - * @generated from enum value: SUBSCRIBER = 1; - */ - SUBSCRIBER = 1, -} - -/** - * @generated from enum livekit.StreamState - */ -export declare enum StreamState { - /** - * @generated from enum value: ACTIVE = 0; - */ - ACTIVE = 0, - - /** - * @generated from enum value: PAUSED = 1; - */ - PAUSED = 1, -} - -/** - * @generated from enum livekit.CandidateProtocol - */ -export declare enum CandidateProtocol { - /** - * @generated from enum value: UDP = 0; - */ - UDP = 0, - - /** - * @generated from enum value: TCP = 1; - */ - TCP = 1, - - /** - * @generated from enum value: TLS = 2; - */ - TLS = 2, -} - -/** - * @generated from message livekit.SignalRequest - */ -export declare class SignalRequest extends Message { - /** - * @generated from oneof livekit.SignalRequest.message - */ - message: { - /** - * initial join exchange, for publisher - * - * @generated from field: livekit.SessionDescription offer = 1; - */ - value: SessionDescription; - case: "offer"; - } | { - /** - * participant answering publisher offer - * - * @generated from field: livekit.SessionDescription answer = 2; - */ - value: SessionDescription; - case: "answer"; - } | { - /** - * @generated from field: livekit.TrickleRequest trickle = 3; - */ - value: TrickleRequest; - case: "trickle"; - } | { - /** - * @generated from field: livekit.AddTrackRequest add_track = 4; - */ - value: AddTrackRequest; - case: "addTrack"; - } | { - /** - * mute the participant's published tracks - * - * @generated from field: livekit.MuteTrackRequest mute = 5; - */ - value: MuteTrackRequest; - case: "mute"; - } | { - /** - * Subscribe or unsubscribe from tracks - * - * @generated from field: livekit.UpdateSubscription subscription = 6; - */ - value: UpdateSubscription; - case: "subscription"; - } | { - /** - * Update settings of subscribed tracks - * - * @generated from field: livekit.UpdateTrackSettings track_setting = 7; - */ - value: UpdateTrackSettings; - case: "trackSetting"; - } | { - /** - * Immediately terminate session - * - * @generated from field: livekit.LeaveRequest leave = 8; - */ - value: LeaveRequest; - case: "leave"; - } | { - /** - * Update published video layers - * - * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; - * @deprecated - */ - value: UpdateVideoLayers; - case: "updateLayers"; - } | { - /** - * Update subscriber permissions - * - * @generated from field: livekit.SubscriptionPermission subscription_permission = 11; - */ - value: SubscriptionPermission; - case: "subscriptionPermission"; - } | { - /** - * sync client's subscribe state to server during reconnect - * - * @generated from field: livekit.SyncState sync_state = 12; - */ - value: SyncState; - case: "syncState"; - } | { - /** - * Simulate conditions, for client validations - * - * @generated from field: livekit.SimulateScenario simulate = 13; - */ - value: SimulateScenario; - case: "simulate"; - } | { - /** - * client triggered ping to server - * - * deprecated by ping_req (message Ping) - * - * @generated from field: int64 ping = 14; - */ - value: bigint; - case: "ping"; - } | { - /** - * update a participant's own metadata, name, or attributes - * requires canUpdateOwnParticipantMetadata permission - * - * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; - */ - value: UpdateParticipantMetadata; - case: "updateMetadata"; - } | { - /** - * @generated from field: livekit.Ping ping_req = 16; - */ - value: Ping; - case: "pingReq"; - } | { - /** - * Update local audio track settings - * - * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; - */ - value: UpdateLocalAudioTrack; - case: "updateAudioTrack"; - } | { - /** - * Update local video track settings - * - * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; - */ - value: UpdateLocalVideoTrack; - case: "updateVideoTrack"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SignalRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest; - - static fromJsonString(jsonString: string, options?: Partial): SignalRequest; - - static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SignalResponse - */ -export declare class SignalResponse extends Message { - /** - * @generated from oneof livekit.SignalResponse.message - */ - message: { - /** - * sent when join is accepted - * - * @generated from field: livekit.JoinResponse join = 1; - */ - value: JoinResponse; - case: "join"; - } | { - /** - * sent when server answers publisher - * - * @generated from field: livekit.SessionDescription answer = 2; - */ - value: SessionDescription; - case: "answer"; - } | { - /** - * sent when server is sending subscriber an offer - * - * @generated from field: livekit.SessionDescription offer = 3; - */ - value: SessionDescription; - case: "offer"; - } | { - /** - * sent when an ICE candidate is available - * - * @generated from field: livekit.TrickleRequest trickle = 4; - */ - value: TrickleRequest; - case: "trickle"; - } | { - /** - * sent when participants in the room has changed - * - * @generated from field: livekit.ParticipantUpdate update = 5; - */ - value: ParticipantUpdate; - case: "update"; - } | { - /** - * sent to the participant when their track has been published - * - * @generated from field: livekit.TrackPublishedResponse track_published = 6; - */ - value: TrackPublishedResponse; - case: "trackPublished"; - } | { - /** - * Immediately terminate session - * - * @generated from field: livekit.LeaveRequest leave = 8; - */ - value: LeaveRequest; - case: "leave"; - } | { - /** - * server initiated mute - * - * @generated from field: livekit.MuteTrackRequest mute = 9; - */ - value: MuteTrackRequest; - case: "mute"; - } | { - /** - * indicates changes to speaker status, including when they've gone to not speaking - * - * @generated from field: livekit.SpeakersChanged speakers_changed = 10; - */ - value: SpeakersChanged; - case: "speakersChanged"; - } | { - /** - * sent when metadata of the room has changed - * - * @generated from field: livekit.RoomUpdate room_update = 11; - */ - value: RoomUpdate; - case: "roomUpdate"; - } | { - /** - * when connection quality changed - * - * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12; - */ - value: ConnectionQualityUpdate; - case: "connectionQuality"; - } | { - /** - * when streamed tracks state changed, used to notify when any of the streams were paused due to - * congestion - * - * @generated from field: livekit.StreamStateUpdate stream_state_update = 13; - */ - value: StreamStateUpdate; - case: "streamStateUpdate"; - } | { - /** - * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers - * - * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14; - */ - value: SubscribedQualityUpdate; - case: "subscribedQualityUpdate"; - } | { - /** - * when subscription permission changed - * - * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15; - */ - value: SubscriptionPermissionUpdate; - case: "subscriptionPermissionUpdate"; - } | { - /** - * update the token the client was using, to prevent an active client from using an expired token - * - * @generated from field: string refresh_token = 16; - */ - value: string; - case: "refreshToken"; - } | { - /** - * server initiated track unpublish - * - * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17; - */ - value: TrackUnpublishedResponse; - case: "trackUnpublished"; - } | { - /** - * respond to ping - * - * deprecated by pong_resp (message Pong) - * - * @generated from field: int64 pong = 18; - */ - value: bigint; - case: "pong"; - } | { - /** - * sent when client reconnects - * - * @generated from field: livekit.ReconnectResponse reconnect = 19; - */ - value: ReconnectResponse; - case: "reconnect"; - } | { - /** - * respond to Ping - * - * @generated from field: livekit.Pong pong_resp = 20; - */ - value: Pong; - case: "pongResp"; - } | { - /** - * Subscription response, client should not expect any media from this subscription if it fails - * - * @generated from field: livekit.SubscriptionResponse subscription_response = 21; - */ - value: SubscriptionResponse; - case: "subscriptionResponse"; - } | { - /** - * Response relating to user inititated requests that carry a `request_id` - * - * @generated from field: livekit.RequestResponse request_response = 22; - */ - value: RequestResponse; - case: "requestResponse"; - } | { - /** - * notify to the publisher when a published track has been subscribed for the first time - * - * @generated from field: livekit.TrackSubscribed track_subscribed = 23; - */ - value: TrackSubscribed; - case: "trackSubscribed"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SignalResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse; - - static fromJsonString(jsonString: string, options?: Partial): SignalResponse; - - static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SimulcastCodec - */ -export declare class SimulcastCodec extends Message { - /** - * @generated from field: string codec = 1; - */ - codec: string; - - /** - * @generated from field: string cid = 2; - */ - cid: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulcastCodec"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec; - - static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec; - - static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec; - - static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.AddTrackRequest - */ -export declare class AddTrackRequest extends Message { - /** - * client ID of track, to match it when RTC track is received - * - * @generated from field: string cid = 1; - */ - cid: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * @generated from field: livekit.TrackType type = 3; - */ - type: TrackType; - - /** - * to be deprecated in favor of layers - * - * @generated from field: uint32 width = 4; - */ - width: number; - - /** - * @generated from field: uint32 height = 5; - */ - height: number; - - /** - * true to add track and initialize to muted - * - * @generated from field: bool muted = 6; - */ - muted: boolean; - - /** - * true if DTX (Discontinuous Transmission) is disabled for audio - * - * @generated from field: bool disable_dtx = 7; - */ - disableDtx: boolean; - - /** - * @generated from field: livekit.TrackSource source = 8; - */ - source: TrackSource; - - /** - * @generated from field: repeated livekit.VideoLayer layers = 9; - */ - layers: VideoLayer[]; - - /** - * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; - */ - simulcastCodecs: SimulcastCodec[]; - - /** - * server ID of track, publish new codec to exist track - * - * @generated from field: string sid = 11; - */ - sid: string; - - /** - * @generated from field: bool stereo = 12; - */ - stereo: boolean; - - /** - * true if RED (Redundant Encoding) is disabled for audio - * - * @generated from field: bool disable_red = 13; - */ - disableRed: boolean; - - /** - * @generated from field: livekit.Encryption.Type encryption = 14; - */ - encryption: Encryption_Type; - - /** - * which stream the track belongs to, used to group tracks together. - * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together - * - * @generated from field: string stream = 15; - */ - stream: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.AddTrackRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest; - - static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest; - - static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TrickleRequest - */ -export declare class TrickleRequest extends Message { - /** - * @generated from field: string candidateInit = 1; - */ - candidateInit: string; - - /** - * @generated from field: livekit.SignalTarget target = 2; - */ - target: SignalTarget; - - /** - * @generated from field: bool final = 3; - */ - final: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrickleRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest; - - static fromJsonString(jsonString: string, options?: Partial): TrickleRequest; - - static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.MuteTrackRequest - */ -export declare class MuteTrackRequest extends Message { - /** - * @generated from field: string sid = 1; - */ - sid: string; - - /** - * @generated from field: bool muted = 2; - */ - muted: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.MuteTrackRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest; - - static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest; - - static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.JoinResponse - */ -export declare class JoinResponse extends Message { - /** - * @generated from field: livekit.Room room = 1; - */ - room?: Room; - - /** - * @generated from field: livekit.ParticipantInfo participant = 2; - */ - participant?: ParticipantInfo; - - /** - * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; - */ - otherParticipants: ParticipantInfo[]; - - /** - * deprecated. use server_info.version instead. - * - * @generated from field: string server_version = 4; - */ - serverVersion: string; - - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 5; - */ - iceServers: ICEServer[]; - - /** - * use subscriber as the primary PeerConnection - * - * @generated from field: bool subscriber_primary = 6; - */ - subscriberPrimary: boolean; - - /** - * when the current server isn't available, return alternate url to retry connection - * when this is set, the other fields will be largely empty - * - * @generated from field: string alternative_url = 7; - */ - alternativeUrl: string; - - /** - * @generated from field: livekit.ClientConfiguration client_configuration = 8; - */ - clientConfiguration?: ClientConfiguration; - - /** - * deprecated. use server_info.region instead. - * - * @generated from field: string server_region = 9; - */ - serverRegion: string; - - /** - * @generated from field: int32 ping_timeout = 10; - */ - pingTimeout: number; - - /** - * @generated from field: int32 ping_interval = 11; - */ - pingInterval: number; - - /** - * @generated from field: livekit.ServerInfo server_info = 12; - */ - serverInfo?: ServerInfo; - - /** - * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled - * - * @generated from field: bytes sif_trailer = 13; - */ - sifTrailer: Uint8Array; - - /** - * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; - */ - enabledPublishCodecs: Codec[]; - - /** - * when set, client should attempt to establish publish peer connection when joining room to speed up publishing - * - * @generated from field: bool fast_publish = 15; - */ - fastPublish: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.JoinResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse; - - static fromJsonString(jsonString: string, options?: Partial): JoinResponse; - - static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ReconnectResponse - */ -export declare class ReconnectResponse extends Message { - /** - * @generated from field: repeated livekit.ICEServer ice_servers = 1; - */ - iceServers: ICEServer[]; - - /** - * @generated from field: livekit.ClientConfiguration client_configuration = 2; - */ - clientConfiguration?: ClientConfiguration; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ReconnectResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse; - - static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse; - - static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TrackPublishedResponse - */ -export declare class TrackPublishedResponse extends Message { - /** - * @generated from field: string cid = 1; - */ - cid: string; - - /** - * @generated from field: livekit.TrackInfo track = 2; - */ - track?: TrackInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackPublishedResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse; - - static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse; - - static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TrackUnpublishedResponse - */ -export declare class TrackUnpublishedResponse extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackUnpublishedResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse; - - static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse; - - static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SessionDescription - */ -export declare class SessionDescription extends Message { - /** - * "answer" | "offer" | "pranswer" | "rollback" - * - * @generated from field: string type = 1; - */ - type: string; - - /** - * @generated from field: string sdp = 2; - */ - sdp: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SessionDescription"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription; - - static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription; - - static fromJsonString(jsonString: string, options?: Partial): SessionDescription; - - static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ParticipantUpdate - */ -export declare class ParticipantUpdate extends Message { - /** - * @generated from field: repeated livekit.ParticipantInfo participants = 1; - */ - participants: ParticipantInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ParticipantUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate; - - static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate; - - static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateSubscription - */ -export declare class UpdateSubscription extends Message { - /** - * @generated from field: repeated string track_sids = 1; - */ - trackSids: string[]; - - /** - * @generated from field: bool subscribe = 2; - */ - subscribe: boolean; - - /** - * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; - */ - participantTracks: ParticipantTracks[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateSubscription"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription; - - static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription; - - static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateTrackSettings - */ -export declare class UpdateTrackSettings extends Message { - /** - * @generated from field: repeated string track_sids = 1; - */ - trackSids: string[]; - - /** - * when true, the track is placed in a paused state, with no new data returned - * - * @generated from field: bool disabled = 3; - */ - disabled: boolean; - - /** - * deprecated in favor of width & height - * - * @generated from field: livekit.VideoQuality quality = 4; - */ - quality: VideoQuality; - - /** - * for video, width to receive - * - * @generated from field: uint32 width = 5; - */ - width: number; - - /** - * for video, height to receive - * - * @generated from field: uint32 height = 6; - */ - height: number; - - /** - * @generated from field: uint32 fps = 7; - */ - fps: number; - - /** - * subscription priority. 1 being the highest (0 is unset) - * when unset, server sill assign priority based on the order of subscription - * server will use priority in the following ways: - * 1. when subscribed tracks exceed per-participant subscription limit, server will - * pause the lowest priority tracks - * 2. when the network is congested, server will assign available bandwidth to - * higher priority tracks first. lowest priority tracks can be paused - * - * @generated from field: uint32 priority = 8; - */ - priority: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateTrackSettings"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings; - - static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings; - - static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateLocalAudioTrack - */ -export declare class UpdateLocalAudioTrack extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - /** - * @generated from field: repeated livekit.AudioTrackFeature features = 2; - */ - features: AudioTrackFeature[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLocalAudioTrack"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack; - - static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack; - - static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateLocalVideoTrack - */ -export declare class UpdateLocalVideoTrack extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - /** - * @generated from field: uint32 width = 2; - */ - width: number; - - /** - * @generated from field: uint32 height = 3; - */ - height: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateLocalVideoTrack"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack; - - static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack; - - static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.LeaveRequest - */ -export declare class LeaveRequest extends Message { - /** - * sent when server initiates the disconnect due to server-restart - * indicates clients should attempt full-reconnect sequence - * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 - * - * @generated from field: bool can_reconnect = 1; - */ - canReconnect: boolean; - - /** - * @generated from field: livekit.DisconnectReason reason = 2; - */ - reason: DisconnectReason; - - /** - * @generated from field: livekit.LeaveRequest.Action action = 3; - */ - action: LeaveRequest_Action; - - /** - * @generated from field: livekit.RegionSettings regions = 4; - */ - regions?: RegionSettings; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.LeaveRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest; - - static fromJsonString(jsonString: string, options?: Partial): LeaveRequest; - - static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean; -} - -/** - * indicates action clients should take on receiving this message - * - * @generated from enum livekit.LeaveRequest.Action - */ -export declare enum LeaveRequest_Action { - /** - * should disconnect - * - * @generated from enum value: DISCONNECT = 0; - */ - DISCONNECT = 0, - - /** - * should attempt a resume with `reconnect=1` in join URL - * - * @generated from enum value: RESUME = 1; - */ - RESUME = 1, - - /** - * should attempt a reconnect, i. e. no `reconnect=1` - * - * @generated from enum value: RECONNECT = 2; - */ - RECONNECT = 2, -} - -/** - * message to indicate published video track dimensions are changing - * - * @generated from message livekit.UpdateVideoLayers - * @deprecated - */ -export declare class UpdateVideoLayers extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - /** - * @generated from field: repeated livekit.VideoLayer layers = 2; - */ - layers: VideoLayer[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateVideoLayers"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers; - - static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers; - - static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.UpdateParticipantMetadata - */ -export declare class UpdateParticipantMetadata extends Message { - /** - * @generated from field: string metadata = 1; - */ - metadata: string; - - /** - * @generated from field: string name = 2; - */ - name: string; - - /** - * attributes to update. it only updates attributes that have been set - * to delete attributes, set the value to an empty string - * - * @generated from field: map attributes = 3; - */ - attributes: { [key: string]: string }; - - /** - * @generated from field: uint32 request_id = 4; - */ - requestId: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.UpdateParticipantMetadata"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata; - - static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata; - - static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata; - - static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ICEServer - */ -export declare class ICEServer extends Message { - /** - * @generated from field: repeated string urls = 1; - */ - urls: string[]; - - /** - * @generated from field: string username = 2; - */ - username: string; - - /** - * @generated from field: string credential = 3; - */ - credential: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ICEServer"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer; - - static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer; - - static fromJsonString(jsonString: string, options?: Partial): ICEServer; - - static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SpeakersChanged - */ -export declare class SpeakersChanged extends Message { - /** - * @generated from field: repeated livekit.SpeakerInfo speakers = 1; - */ - speakers: SpeakerInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SpeakersChanged"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged; - - static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged; - - static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged; - - static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RoomUpdate - */ -export declare class RoomUpdate extends Message { - /** - * @generated from field: livekit.Room room = 1; - */ - room?: Room; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RoomUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate; - - static fromJsonString(jsonString: string, options?: Partial): RoomUpdate; - - static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ConnectionQualityInfo - */ -export declare class ConnectionQualityInfo extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - - /** - * @generated from field: livekit.ConnectionQuality quality = 2; - */ - quality: ConnectionQuality; - - /** - * @generated from field: float score = 3; - */ - score: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ConnectionQualityInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo; - - static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo; - - static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ConnectionQualityUpdate - */ -export declare class ConnectionQualityUpdate extends Message { - /** - * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; - */ - updates: ConnectionQualityInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ConnectionQualityUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate; - - static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate; - - static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StreamStateInfo - */ -export declare class StreamStateInfo extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - - /** - * @generated from field: string track_sid = 2; - */ - trackSid: string; - - /** - * @generated from field: livekit.StreamState state = 3; - */ - state: StreamState; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamStateInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo; - - static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo; - - static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.StreamStateUpdate - */ -export declare class StreamStateUpdate extends Message { - /** - * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; - */ - streamStates: StreamStateInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.StreamStateUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate; - - static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate; - - static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscribedQuality - */ -export declare class SubscribedQuality extends Message { - /** - * @generated from field: livekit.VideoQuality quality = 1; - */ - quality: VideoQuality; - - /** - * @generated from field: bool enabled = 2; - */ - enabled: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedQuality"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality; - - static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality; - - static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscribedCodec - */ -export declare class SubscribedCodec extends Message { - /** - * @generated from field: string codec = 1; - */ - codec: string; - - /** - * @generated from field: repeated livekit.SubscribedQuality qualities = 2; - */ - qualities: SubscribedQuality[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedCodec"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec; - - static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec; - - static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscribedQualityUpdate - */ -export declare class SubscribedQualityUpdate extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - /** - * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2; - */ - subscribedQualities: SubscribedQuality[]; - - /** - * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; - */ - subscribedCodecs: SubscribedCodec[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscribedQualityUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate; - - static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate; - - static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TrackPermission - */ -export declare class TrackPermission extends Message { - /** - * permission could be granted either by participant sid or identity - * - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - - /** - * @generated from field: bool all_tracks = 2; - */ - allTracks: boolean; - - /** - * @generated from field: repeated string track_sids = 3; - */ - trackSids: string[]; - - /** - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackPermission"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission; - - static fromJsonString(jsonString: string, options?: Partial): TrackPermission; - - static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscriptionPermission - */ -export declare class SubscriptionPermission extends Message { - /** - * @generated from field: bool all_participants = 1; - */ - allParticipants: boolean; - - /** - * @generated from field: repeated livekit.TrackPermission track_permissions = 2; - */ - trackPermissions: TrackPermission[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionPermission"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission; - - static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission; - - static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscriptionPermissionUpdate - */ -export declare class SubscriptionPermissionUpdate extends Message { - /** - * @generated from field: string participant_sid = 1; - */ - participantSid: string; - - /** - * @generated from field: string track_sid = 2; - */ - trackSid: string; - - /** - * @generated from field: bool allowed = 3; - */ - allowed: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionPermissionUpdate"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate; - - static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate; - - static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SyncState - */ -export declare class SyncState extends Message { - /** - * last subscribe answer before reconnecting - * - * @generated from field: livekit.SessionDescription answer = 1; - */ - answer?: SessionDescription; - - /** - * @generated from field: livekit.UpdateSubscription subscription = 2; - */ - subscription?: UpdateSubscription; - - /** - * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; - */ - publishTracks: TrackPublishedResponse[]; - - /** - * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; - */ - dataChannels: DataChannelInfo[]; - - /** - * last received server side offer before reconnecting - * - * @generated from field: livekit.SessionDescription offer = 5; - */ - offer?: SessionDescription; - - /** - * @generated from field: repeated string track_sids_disabled = 6; - */ - trackSidsDisabled: string[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SyncState"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SyncState; - - static fromJson(jsonValue: JsonValue, options?: Partial): SyncState; - - static fromJsonString(jsonString: string, options?: Partial): SyncState; - - static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DataChannelInfo - */ -export declare class DataChannelInfo extends Message { - /** - * @generated from field: string label = 1; - */ - label: string; - - /** - * @generated from field: uint32 id = 2; - */ - id: number; - - /** - * @generated from field: livekit.SignalTarget target = 3; - */ - target: SignalTarget; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DataChannelInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo; - - static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo; - - static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SimulateScenario - */ -export declare class SimulateScenario extends Message { - /** - * @generated from oneof livekit.SimulateScenario.scenario - */ - scenario: { - /** - * simulate N seconds of speaker activity - * - * @generated from field: int32 speaker_update = 1; - */ - value: number; - case: "speakerUpdate"; - } | { - /** - * simulate local node failure - * - * @generated from field: bool node_failure = 2; - */ - value: boolean; - case: "nodeFailure"; - } | { - /** - * simulate migration - * - * @generated from field: bool migration = 3; - */ - value: boolean; - case: "migration"; - } | { - /** - * server to send leave - * - * @generated from field: bool server_leave = 4; - */ - value: boolean; - case: "serverLeave"; - } | { - /** - * switch candidate protocol to tcp - * - * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5; - */ - value: CandidateProtocol; - case: "switchCandidateProtocol"; - } | { - /** - * maximum bandwidth for subscribers, in bps - * when zero, clears artificial bandwidth limit - * - * @generated from field: int64 subscriber_bandwidth = 6; - */ - value: bigint; - case: "subscriberBandwidth"; - } | { - /** - * disconnect signal on resume - * - * @generated from field: bool disconnect_signal_on_resume = 7; - */ - value: boolean; - case: "disconnectSignalOnResume"; - } | { - /** - * disconnect signal on resume before sending any messages from server - * - * @generated from field: bool disconnect_signal_on_resume_no_messages = 8; - */ - value: boolean; - case: "disconnectSignalOnResumeNoMessages"; - } | { - /** - * full reconnect leave request - * - * @generated from field: bool leave_request_full_reconnect = 9; - */ - value: boolean; - case: "leaveRequestFullReconnect"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SimulateScenario"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario; - - static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario; - - static fromJsonString(jsonString: string, options?: Partial): SimulateScenario; - - static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.Ping - */ -export declare class Ping extends Message { - /** - * @generated from field: int64 timestamp = 1; - */ - timestamp: bigint; - - /** - * rtt in milliseconds calculated by client - * - * @generated from field: int64 rtt = 2; - */ - rtt: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Ping"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Ping; - - static fromJson(jsonValue: JsonValue, options?: Partial): Ping; - - static fromJsonString(jsonString: string, options?: Partial): Ping; - - static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.Pong - */ -export declare class Pong extends Message { - /** - * timestamp field of last received ping request - * - * @generated from field: int64 last_ping_timestamp = 1; - */ - lastPingTimestamp: bigint; - - /** - * @generated from field: int64 timestamp = 2; - */ - timestamp: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.Pong"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Pong; - - static fromJson(jsonValue: JsonValue, options?: Partial): Pong; - - static fromJsonString(jsonString: string, options?: Partial): Pong; - - static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RegionSettings - */ -export declare class RegionSettings extends Message { - /** - * @generated from field: repeated livekit.RegionInfo regions = 1; - */ - regions: RegionInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegionSettings"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings; - - static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings; - - static fromJsonString(jsonString: string, options?: Partial): RegionSettings; - - static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RegionInfo - */ -export declare class RegionInfo extends Message { - /** - * @generated from field: string region = 1; - */ - region: string; - - /** - * @generated from field: string url = 2; - */ - url: string; - - /** - * @generated from field: int64 distance = 3; - */ - distance: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RegionInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo; - - static fromJsonString(jsonString: string, options?: Partial): RegionInfo; - - static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SubscriptionResponse - */ -export declare class SubscriptionResponse extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - /** - * @generated from field: livekit.SubscriptionError err = 2; - */ - err: SubscriptionError; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SubscriptionResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse; - - static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse; - - static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.RequestResponse - */ -export declare class RequestResponse extends Message { - /** - * @generated from field: uint32 request_id = 1; - */ - requestId: number; - - /** - * @generated from field: livekit.RequestResponse.Reason reason = 2; - */ - reason: RequestResponse_Reason; - - /** - * @generated from field: string message = 3; - */ - message: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.RequestResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse; - - static fromJsonString(jsonString: string, options?: Partial): RequestResponse; - - static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.RequestResponse.Reason - */ -export declare enum RequestResponse_Reason { - /** - * @generated from enum value: OK = 0; - */ - OK = 0, - - /** - * @generated from enum value: NOT_FOUND = 1; - */ - NOT_FOUND = 1, - - /** - * @generated from enum value: NOT_ALLOWED = 2; - */ - NOT_ALLOWED = 2, - - /** - * @generated from enum value: LIMIT_EXCEEDED = 3; - */ - LIMIT_EXCEEDED = 3, -} - -/** - * @generated from message livekit.TrackSubscribed - */ -export declare class TrackSubscribed extends Message { - /** - * @generated from field: string track_sid = 1; - */ - trackSid: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TrackSubscribed"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; - - static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; - - static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; - - static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_rtc_pb.js b/packages/javascript/src/gen/livekit_rtc_pb.js deleted file mode 100644 index 25d49b2a..00000000 --- a/packages/javascript/src/gen/livekit_rtc_pb.js +++ /dev/null @@ -1,634 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_rtc.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.SignalTarget - */ -export const SignalTarget = /*@__PURE__*/ proto3.makeEnum( - "livekit.SignalTarget", - [ - {no: 0, name: "PUBLISHER"}, - {no: 1, name: "SUBSCRIBER"}, - ], -); - -/** - * @generated from enum livekit.StreamState - */ -export const StreamState = /*@__PURE__*/ proto3.makeEnum( - "livekit.StreamState", - [ - {no: 0, name: "ACTIVE"}, - {no: 1, name: "PAUSED"}, - ], -); - -/** - * @generated from enum livekit.CandidateProtocol - */ -export const CandidateProtocol = /*@__PURE__*/ proto3.makeEnum( - "livekit.CandidateProtocol", - [ - {no: 0, name: "UDP"}, - {no: 1, name: "TCP"}, - {no: 2, name: "TLS"}, - ], -); - -/** - * @generated from message livekit.SignalRequest - */ -export const SignalRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SignalRequest", - () => [ - { no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" }, - { no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" }, - { no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" }, - { no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" }, - { no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" }, - { no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" }, - { no: 14, name: "ping", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" }, - { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" }, - { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, - { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, - { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }, - ], -); - -/** - * @generated from message livekit.SignalResponse - */ -export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SignalResponse", - () => [ - { no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" }, - { no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" }, - { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" }, - { no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" }, - { no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" }, - { no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" }, - { no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" }, - { no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" }, - { no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" }, - { no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" }, - { no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" }, - { no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" }, - { no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" }, - { no: 16, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" }, - { no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" }, - { no: 18, name: "pong", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" }, - { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" }, - { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" }, - { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" }, - { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" }, - { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" }, - ], -); - -/** - * @generated from message livekit.SimulcastCodec - */ -export const SimulcastCodec = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SimulcastCodec", - () => [ - { no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.AddTrackRequest - */ -export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.AddTrackRequest", - () => [ - { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) }, - { no: 4, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 6, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) }, - { no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - { no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true }, - { no: 11, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 12, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 13, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) }, - { no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.TrickleRequest - */ -export const TrickleRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrickleRequest", - () => [ - { no: 1, name: "candidateInit", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, - { no: 3, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.MuteTrackRequest - */ -export const MuteTrackRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.MuteTrackRequest", - () => [ - { no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.JoinResponse - */ -export const JoinResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.JoinResponse", - () => [ - { no: 1, name: "room", kind: "message", T: Room }, - { no: 2, name: "participant", kind: "message", T: ParticipantInfo }, - { no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true }, - { no: 4, name: "server_version", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { no: 6, name: "subscriber_primary", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: "alternative_url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration }, - { no: 9, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "ping_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 11, name: "ping_interval", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - { no: 12, name: "server_info", kind: "message", T: ServerInfo }, - { no: 13, name: "sif_trailer", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, - { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true }, - { no: 15, name: "fast_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.ReconnectResponse - */ -export const ReconnectResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ReconnectResponse", - () => [ - { no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true }, - { no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }, - ], -); - -/** - * @generated from message livekit.TrackPublishedResponse - */ -export const TrackPublishedResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackPublishedResponse", - () => [ - { no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "track", kind: "message", T: TrackInfo }, - ], -); - -/** - * @generated from message livekit.TrackUnpublishedResponse - */ -export const TrackUnpublishedResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackUnpublishedResponse", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SessionDescription - */ -export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SessionDescription", - () => [ - { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "sdp", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.ParticipantUpdate - */ -export const ParticipantUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ParticipantUpdate", - () => [ - { no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.UpdateSubscription - */ -export const UpdateSubscription = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateSubscription", - () => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 2, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }, - ], -); - -/** - * @generated from message livekit.UpdateTrackSettings - */ -export const UpdateTrackSettings = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateTrackSettings", - () => [ - { no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 3, name: "disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 7, name: "fps", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 8, name: "priority", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.UpdateLocalAudioTrack - */ -export const UpdateLocalAudioTrack = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateLocalAudioTrack", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, - ], -); - -/** - * @generated from message livekit.UpdateLocalVideoTrack - */ -export const UpdateLocalVideoTrack = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateLocalVideoTrack", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.LeaveRequest - */ -export const LeaveRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.LeaveRequest", - () => [ - { no: 1, name: "can_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, - { no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) }, - { no: 4, name: "regions", kind: "message", T: RegionSettings }, - ], -); - -/** - * indicates action clients should take on receiving this message - * - * @generated from enum livekit.LeaveRequest.Action - */ -export const LeaveRequest_Action = /*@__PURE__*/ proto3.makeEnum( - "livekit.LeaveRequest.Action", - [ - {no: 0, name: "DISCONNECT"}, - {no: 1, name: "RESUME"}, - {no: 2, name: "RECONNECT"}, - ], -); - -/** - * message to indicate published video track dimensions are changing - * - * @generated from message livekit.UpdateVideoLayers - * @deprecated - */ -export const UpdateVideoLayers = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateVideoLayers", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true }, - ], -); - -/** - * @generated from message livekit.UpdateParticipantMetadata - */ -export const UpdateParticipantMetadata = /*@__PURE__*/ proto3.makeMessageType( - "livekit.UpdateParticipantMetadata", - () => [ - { no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 4, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - ], -); - -/** - * @generated from message livekit.ICEServer - */ -export const ICEServer = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ICEServer", - () => [ - { no: 1, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SpeakersChanged - */ -export const SpeakersChanged = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SpeakersChanged", - () => [ - { no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.RoomUpdate - */ -export const RoomUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RoomUpdate", - () => [ - { no: 1, name: "room", kind: "message", T: Room }, - ], -); - -/** - * @generated from message livekit.ConnectionQualityInfo - */ -export const ConnectionQualityInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ConnectionQualityInfo", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) }, - { no: 3, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, - ], -); - -/** - * @generated from message livekit.ConnectionQualityUpdate - */ -export const ConnectionQualityUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ConnectionQualityUpdate", - () => [ - { no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.StreamStateInfo - */ -export const StreamStateInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StreamStateInfo", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) }, - ], -); - -/** - * @generated from message livekit.StreamStateUpdate - */ -export const StreamStateUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.StreamStateUpdate", - () => [ - { no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.SubscribedQuality - */ -export const SubscribedQuality = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscribedQuality", - () => [ - { no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) }, - { no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.SubscribedCodec - */ -export const SubscribedCodec = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscribedCodec", - () => [ - { no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true }, - ], -); - -/** - * @generated from message livekit.SubscribedQualityUpdate - */ -export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscribedQualityUpdate", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true }, - { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }, - ], -); - -/** - * @generated from message livekit.TrackPermission - */ -export const TrackPermission = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackPermission", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "all_tracks", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SubscriptionPermission - */ -export const SubscriptionPermission = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscriptionPermission", - () => [ - { no: 1, name: "all_participants", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true }, - ], -); - -/** - * @generated from message livekit.SubscriptionPermissionUpdate - */ -export const SubscriptionPermissionUpdate = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscriptionPermissionUpdate", - () => [ - { no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "allowed", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.SyncState - */ -export const SyncState = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SyncState", - () => [ - { no: 1, name: "answer", kind: "message", T: SessionDescription }, - { no: 2, name: "subscription", kind: "message", T: UpdateSubscription }, - { no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true }, - { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true }, - { no: 5, name: "offer", kind: "message", T: SessionDescription }, - { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - ], -); - -/** - * @generated from message livekit.DataChannelInfo - */ -export const DataChannelInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DataChannelInfo", - () => [ - { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) }, - ], -); - -/** - * @generated from message livekit.SimulateScenario - */ -export const SimulateScenario = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SimulateScenario", - () => [ - { no: 1, name: "speaker_update", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "scenario" }, - { no: 2, name: "node_failure", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - { no: 3, name: "migration", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - { no: 4, name: "server_leave", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - { no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" }, - { no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "scenario" }, - { no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - { no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - { no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" }, - ], -); - -/** - * @generated from message livekit.Ping - */ -export const Ping = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Ping", - () => [ - { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "rtt", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.Pong - */ -export const Pong = /*@__PURE__*/ proto3.makeMessageType( - "livekit.Pong", - () => [ - { no: 1, name: "last_ping_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.RegionSettings - */ -export const RegionSettings = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RegionSettings", - () => [ - { no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.RegionInfo - */ -export const RegionInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RegionInfo", - () => [ - { no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "distance", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - ], -); - -/** - * @generated from message livekit.SubscriptionResponse - */ -export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SubscriptionResponse", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) }, - ], -); - -/** - * @generated from message livekit.RequestResponse - */ -export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.RequestResponse", - () => [ - { no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) }, - { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from enum livekit.RequestResponse.Reason - */ -export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum( - "livekit.RequestResponse.Reason", - [ - {no: 0, name: "OK"}, - {no: 1, name: "NOT_FOUND"}, - {no: 2, name: "NOT_ALLOWED"}, - {no: 3, name: "LIMIT_EXCEEDED"}, - ], -); - -/** - * @generated from message livekit.TrackSubscribed - */ -export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TrackSubscribed", - () => [ - { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_sip_pb.d.ts b/packages/javascript/src/gen/livekit_sip_pb.d.ts deleted file mode 100644 index 134240f2..00000000 --- a/packages/javascript/src/gen/livekit_sip_pb.d.ts +++ /dev/null @@ -1,1551 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_sip.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { DisconnectReason } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.SIPTransport - */ -export declare enum SIPTransport { - /** - * @generated from enum value: SIP_TRANSPORT_AUTO = 0; - */ - SIP_TRANSPORT_AUTO = 0, - - /** - * @generated from enum value: SIP_TRANSPORT_UDP = 1; - */ - SIP_TRANSPORT_UDP = 1, - - /** - * @generated from enum value: SIP_TRANSPORT_TCP = 2; - */ - SIP_TRANSPORT_TCP = 2, - - /** - * @generated from enum value: SIP_TRANSPORT_TLS = 3; - */ - SIP_TRANSPORT_TLS = 3, -} - -/** - * @generated from enum livekit.SIPCallStatus - */ -export declare enum SIPCallStatus { - /** - * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet - * - * @generated from enum value: SCS_CALL_INCOMING = 0; - */ - SCS_CALL_INCOMING = 0, - - /** - * SIP participant for outgoing call has been created. The SIP outgoing call is being established - * - * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; - */ - SCS_PARTICIPANT_JOINED = 1, - - /** - * Call is ongoing. SIP participant is active in the LiveKit room - * - * @generated from enum value: SCS_ACTIVE = 2; - */ - SCS_ACTIVE = 2, - - /** - * Call has ended - * - * @generated from enum value: SCS_DISCONNECTED = 3; - */ - SCS_DISCONNECTED = 3, - - /** - * Call has ended or never succeeded because of an error - * - * @generated from enum value: SCS_ERROR = 4; - */ - SCS_ERROR = 4, -} - -/** - * @generated from enum livekit.SIPFeature - */ -export declare enum SIPFeature { - /** - * @generated from enum value: NONE = 0; - */ - NONE = 0, - - /** - * @generated from enum value: KRISP_ENABLED = 1; - */ - KRISP_ENABLED = 1, -} - -/** - * @generated from message livekit.CreateSIPTrunkRequest - * @deprecated - */ -export declare class CreateSIPTrunkRequest extends Message { - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 1; - */ - inboundAddresses: string[]; - - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 2; - */ - outboundAddress: string; - - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 3; - */ - outboundNumber: string; - - /** - * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; - * @deprecated - */ - inboundNumbersRegex: string[]; - - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 9; - */ - inboundNumbers: string[]; - - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 5; - */ - inboundUsername: string; - - /** - * @generated from field: string inbound_password = 6; - */ - inboundPassword: string; - - /** - * @generated from field: string outbound_username = 7; - */ - outboundUsername: string; - - /** - * @generated from field: string outbound_password = 8; - */ - outboundPassword: string; - - /** - * Optional human-readable name for the Trunk. - * - * @generated from field: string name = 10; - */ - name: string; - - /** - * Optional user-defined metadata for the Trunk. - * - * @generated from field: string metadata = 11; - */ - metadata: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; - - static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPTrunkInfo - * @deprecated - */ -export declare class SIPTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - /** - * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; - */ - kind: SIPTrunkInfo_TrunkKind; - - /** - * CIDR or IPs that traffic is accepted from - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string inbound_addresses = 2; - */ - inboundAddresses: string[]; - - /** - * IP that SIP INVITE is sent too - * - * @generated from field: string outbound_address = 3; - */ - outboundAddress: string; - - /** - * Number used to make outbound calls - * - * @generated from field: string outbound_number = 4; - */ - outboundNumber: string; - - /** - * Transport used for inbound and outbound calls. - * - * @generated from field: livekit.SIPTransport transport = 13; - */ - transport: SIPTransport; - - /** - * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; - * @deprecated - */ - inboundNumbersRegex: string[]; - - /** - * Accepted `To` values. This Trunk will only accept a call made to - * these numbers. This allows you to have distinct Trunks for different phone - * numbers at the same provider. - * - * @generated from field: repeated string inbound_numbers = 10; - */ - inboundNumbers: string[]; - - /** - * Username and password used to authenticate inbound and outbound SIP invites - * May be empty to have no Authentication - * - * @generated from field: string inbound_username = 6; - */ - inboundUsername: string; - - /** - * @generated from field: string inbound_password = 7; - */ - inboundPassword: string; - - /** - * @generated from field: string outbound_username = 8; - */ - outboundUsername: string; - - /** - * @generated from field: string outbound_password = 9; - */ - outboundPassword: string; - - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 11; - */ - name: string; - - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 12; - */ - metadata: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPTrunkInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; - - static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from enum livekit.SIPTrunkInfo.TrunkKind - */ -export declare enum SIPTrunkInfo_TrunkKind { - /** - * @generated from enum value: TRUNK_LEGACY = 0; - */ - TRUNK_LEGACY = 0, - - /** - * @generated from enum value: TRUNK_INBOUND = 1; - */ - TRUNK_INBOUND = 1, - - /** - * @generated from enum value: TRUNK_OUTBOUND = 2; - */ - TRUNK_OUTBOUND = 2, -} - -/** - * @generated from message livekit.CreateSIPInboundTrunkRequest - */ -export declare class CreateSIPInboundTrunkRequest extends Message { - /** - * Trunk ID is ignored - * - * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; - */ - trunk?: SIPInboundTrunkInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; - - static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPInboundTrunkInfo - */ -export declare class SIPInboundTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - name: string; - - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - metadata: string; - - /** - * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. - * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. - * - * @generated from field: repeated string numbers = 4; - */ - numbers: string[]; - - /** - * CIDR or IPs that traffic is accepted from. - * An empty list means all inbound traffic is accepted. - * - * @generated from field: repeated string allowed_addresses = 5; - */ - allowedAddresses: string[]; - - /** - * Numbers that are allowed to make calls to this Trunk. - * An empty list means calls from any phone number is accepted. - * - * @generated from field: repeated string allowed_numbers = 6; - */ - allowedNumbers: string[]; - - /** - * Username and password used to authenticate inbound SIP invites. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - authUsername: string; - - /** - * @generated from field: string auth_password = 8; - */ - authPassword: string; - - /** - * Include these SIP X-* headers in 200 OK responses. - * - * @generated from field: map headers = 9; - */ - headers: { [key: string]: string }; - - /** - * Map SIP X-* headers from INVITE to SIP participant attributes. - * - * @generated from field: map headers_to_attributes = 10; - */ - headersToAttributes: { [key: string]: string }; - - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 14; - */ - attributesToHeaders: { [key: string]: string }; - - /** - * Max time for the caller to wait for track subscription. - * - * @generated from field: google.protobuf.Duration ringing_timeout = 11; - */ - ringingTimeout?: Duration; - - /** - * Max call duration. - * - * @generated from field: google.protobuf.Duration max_call_duration = 12; - */ - maxCallDuration?: Duration; - - /** - * @generated from field: bool krisp_enabled = 13; - */ - krispEnabled: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPInboundTrunkInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; - - static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.CreateSIPOutboundTrunkRequest - */ -export declare class CreateSIPOutboundTrunkRequest extends Message { - /** - * Trunk ID is ignored - * - * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; - */ - trunk?: SIPOutboundTrunkInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; - - static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPOutboundTrunkInfo - */ -export declare class SIPOutboundTrunkInfo extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - /** - * Human-readable name for the Trunk. - * - * @generated from field: string name = 2; - */ - name: string; - - /** - * User-defined metadata for the Trunk. - * - * @generated from field: string metadata = 3; - */ - metadata: string; - - /** - * Hostname or IP that SIP INVITE is sent too. - * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. - * - * @generated from field: string address = 4; - */ - address: string; - - /** - * SIP Transport used for outbound call. - * - * @generated from field: livekit.SIPTransport transport = 5; - */ - transport: SIPTransport; - - /** - * Numbers used to make the calls. Random one from this list will be selected. - * - * @generated from field: repeated string numbers = 6; - */ - numbers: string[]; - - /** - * Username and password used to authenticate with SIP server. - * May be empty to have no authentication. - * - * @generated from field: string auth_username = 7; - */ - authUsername: string; - - /** - * @generated from field: string auth_password = 8; - */ - authPassword: string; - - /** - * Include these SIP X-* headers in INVITE request. - * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. - * - * @generated from field: map headers = 9; - */ - headers: { [key: string]: string }; - - /** - * Map SIP X-* headers from 200 OK to SIP participant attributes. - * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. - * - * @generated from field: map headers_to_attributes = 10; - */ - headersToAttributes: { [key: string]: string }; - - /** - * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. - * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. - * - * @generated from field: map attributes_to_headers = 11; - */ - attributesToHeaders: { [key: string]: string }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPOutboundTrunkInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; - - static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.GetSIPInboundTrunkRequest - */ -export declare class GetSIPInboundTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; - - static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.GetSIPInboundTrunkResponse - */ -export declare class GetSIPInboundTrunkResponse extends Message { - /** - * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; - */ - trunk?: SIPInboundTrunkInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; - - static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; - - static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.GetSIPOutboundTrunkRequest - */ -export declare class GetSIPOutboundTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; - - static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.GetSIPOutboundTrunkResponse - */ -export declare class GetSIPOutboundTrunkResponse extends Message { - /** - * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; - */ - trunk?: SIPOutboundTrunkInfo; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; - - static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; - - static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPTrunkRequest - * @deprecated - */ -export declare class ListSIPTrunkRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; - - static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPTrunkResponse - * @deprecated - */ -export declare class ListSIPTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPTrunkInfo items = 1; - */ - items: SIPTrunkInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPTrunkResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; - - static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPInboundTrunkRequest - */ -export declare class ListSIPInboundTrunkRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; - - static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPInboundTrunkResponse - */ -export declare class ListSIPInboundTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; - */ - items: SIPInboundTrunkInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; - - static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPOutboundTrunkRequest - */ -export declare class ListSIPOutboundTrunkRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; - - static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPOutboundTrunkResponse - */ -export declare class ListSIPOutboundTrunkResponse extends Message { - /** - * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; - */ - items: SIPOutboundTrunkInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; - - static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteSIPTrunkRequest - */ -export declare class DeleteSIPTrunkRequest extends Message { - /** - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteSIPTrunkRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; - - static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; - - static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPDispatchRuleDirect - */ -export declare class SIPDispatchRuleDirect extends Message { - /** - * What room should call be directed into - * - * @generated from field: string room_name = 1; - */ - roomName: string; - - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleDirect"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; - - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; - - static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPDispatchRuleIndividual - */ -export declare class SIPDispatchRuleIndividual extends Message { - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - roomPrefix: string; - - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleIndividual"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; - - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; - - static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPDispatchRuleCallee - */ -export declare class SIPDispatchRuleCallee extends Message { - /** - * Prefix used on new room name - * - * @generated from field: string room_prefix = 1; - */ - roomPrefix: string; - - /** - * Optional pin required to enter room - * - * @generated from field: string pin = 2; - */ - pin: string; - - /** - * Optionally append random suffix - * - * @generated from field: bool randomize = 3; - */ - randomize: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleCallee"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; - - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; - - static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPDispatchRule - */ -export declare class SIPDispatchRule extends Message { - /** - * @generated from oneof livekit.SIPDispatchRule.rule - */ - rule: { - /** - * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room - * This places users into an existing room. Optionally you can require a pin before a user can - * enter the room - * - * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; - */ - value: SIPDispatchRuleDirect; - case: "dispatchRuleDirect"; - } | { - /** - * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. - * - * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; - */ - value: SIPDispatchRuleIndividual; - case: "dispatchRuleIndividual"; - } | { - /** - * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. - * - * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; - */ - value: SIPDispatchRuleCallee; - case: "dispatchRuleCallee"; - } | { case: undefined; value?: undefined }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRule"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; - - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; - - static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.CreateSIPDispatchRuleRequest - */ -export declare class CreateSIPDispatchRuleRequest extends Message { - /** - * @generated from field: livekit.SIPDispatchRule rule = 1; - */ - rule?: SIPDispatchRule; - - /** - * What trunks are accepted for this dispatch rule - * If empty all trunks will match this dispatch rule - * - * @generated from field: repeated string trunk_ids = 2; - */ - trunkIds: string[]; - - /** - * By default the From value (Phone number) is used for participant name/identity and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 3; - */ - hidePhoneNumber: boolean; - - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 6; - */ - inboundNumbers: string[]; - - /** - * Optional human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 4; - */ - name: string; - - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 5; - */ - metadata: string; - - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 7; - */ - attributes: { [key: string]: string }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; - - static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPDispatchRuleInfo - */ -export declare class SIPDispatchRuleInfo extends Message { - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - sipDispatchRuleId: string; - - /** - * @generated from field: livekit.SIPDispatchRule rule = 2; - */ - rule?: SIPDispatchRule; - - /** - * @generated from field: repeated string trunk_ids = 3; - */ - trunkIds: string[]; - - /** - * @generated from field: bool hide_phone_number = 4; - */ - hidePhoneNumber: boolean; - - /** - * Dispatch Rule will only accept a call made to these numbers (if set). - * - * @generated from field: repeated string inbound_numbers = 7; - */ - inboundNumbers: string[]; - - /** - * Human-readable name for the Dispatch Rule. - * - * @generated from field: string name = 5; - */ - name: string; - - /** - * User-defined metadata for the Dispatch Rule. - * Participants created by this rule will inherit this metadata. - * - * @generated from field: string metadata = 6; - */ - metadata: string; - - /** - * User-defined attributes for the Dispatch Rule. - * Participants created by this rule will inherit these attributes. - * - * @generated from field: map attributes = 8; - */ - attributes: { [key: string]: string }; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPDispatchRuleInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; - - static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPDispatchRuleRequest - */ -export declare class ListSIPDispatchRuleRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; - - static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.ListSIPDispatchRuleResponse - */ -export declare class ListSIPDispatchRuleResponse extends Message { - /** - * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; - */ - items: SIPDispatchRuleInfo[]; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; - - static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; - - static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.DeleteSIPDispatchRuleRequest - */ -export declare class DeleteSIPDispatchRuleRequest extends Message { - /** - * @generated from field: string sip_dispatch_rule_id = 1; - */ - sipDispatchRuleId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; - - static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; - - static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; -} - -/** - * A SIP Participant is a singular SIP session connected to a LiveKit room via - * a SIP Trunk into a SIP DispatchRule - * - * @generated from message livekit.CreateSIPParticipantRequest - */ -export declare class CreateSIPParticipantRequest extends Message { - /** - * What SIP Trunk should be used to dial the user - * - * @generated from field: string sip_trunk_id = 1; - */ - sipTrunkId: string; - - /** - * What number should be dialed via SIP - * - * @generated from field: string sip_call_to = 2; - */ - sipCallTo: string; - - /** - * Optional SIP From number to use. If empty, trunk number is used. - * - * @generated from field: string sip_number = 15; - */ - sipNumber: string; - - /** - * What LiveKit room should this participant be connected too - * - * @generated from field: string room_name = 3; - */ - roomName: string; - - /** - * Optional identity of the participant in LiveKit room - * - * @generated from field: string participant_identity = 4; - */ - participantIdentity: string; - - /** - * Optional name of the participant in LiveKit room - * - * @generated from field: string participant_name = 7; - */ - participantName: string; - - /** - * Optional user-defined metadata. Will be attached to a created Participant in the room. - * - * @generated from field: string participant_metadata = 8; - */ - participantMetadata: string; - - /** - * Optional user-defined attributes. Will be attached to a created Participant in the room. - * - * @generated from field: map participant_attributes = 9; - */ - participantAttributes: { [key: string]: string }; - - /** - * Optionally send following DTMF digits (extension codes) when making a call. - * Character 'w' can be used to add a 0.5 sec delay. - * - * @generated from field: string dtmf = 5; - */ - dtmf: string; - - /** - * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. - * - * @generated from field: bool play_ringtone = 6 [deprecated = true]; - * @deprecated - */ - playRingtone: boolean; - - /** - * @generated from field: bool play_dialtone = 13; - */ - playDialtone: boolean; - - /** - * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. - * If true, a random value for identity will be used and numbers will be omitted from attributes. - * - * @generated from field: bool hide_phone_number = 10; - */ - hidePhoneNumber: boolean; - - /** - * Max time for the callee to answer the call. - * - * @generated from field: google.protobuf.Duration ringing_timeout = 11; - */ - ringingTimeout?: Duration; - - /** - * Max call duration. - * - * @generated from field: google.protobuf.Duration max_call_duration = 12; - */ - maxCallDuration?: Duration; - - /** - * Enable voice isolation for the callee. - * - * NEXT ID: 16 - * - * @generated from field: bool enable_krisp = 14; - */ - enableKrisp: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.CreateSIPParticipantRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; - - static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; - - static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPParticipantInfo - */ -export declare class SIPParticipantInfo extends Message { - /** - * @generated from field: string participant_id = 1; - */ - participantId: string; - - /** - * @generated from field: string participant_identity = 2; - */ - participantIdentity: string; - - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - - /** - * @generated from field: string sip_call_id = 4; - */ - sipCallId: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPParticipantInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; - - static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.TransferSIPParticipantRequest - */ -export declare class TransferSIPParticipantRequest extends Message { - /** - * @generated from field: string participant_identity = 1; - */ - participantIdentity: string; - - /** - * @generated from field: string room_name = 2; - */ - roomName: string; - - /** - * @generated from field: string transfer_to = 3; - */ - transferTo: string; - - /** - * Optionally play dialtone to the SIP participant as an audible indicator of being transferred - * - * @generated from field: bool play_dialtone = 4; - */ - playDialtone: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.TransferSIPParticipantRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; - - static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; - - static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPCallInfo - */ -export declare class SIPCallInfo extends Message { - /** - * @generated from field: string call_id = 1; - */ - callId: string; - - /** - * @generated from field: string trunk_id = 2; - */ - trunkId: string; - - /** - * @generated from field: string room_name = 3; - */ - roomName: string; - - /** - * ID of the current/previous room published to - * - * @generated from field: string room_id = 4; - */ - roomId: string; - - /** - * @generated from field: string participant_identity = 5; - */ - participantIdentity: string; - - /** - * @generated from field: livekit.SIPUri from_uri = 6; - */ - fromUri?: SIPUri; - - /** - * @generated from field: livekit.SIPUri to_uri = 7; - */ - toUri?: SIPUri; - - /** - * @generated from field: repeated livekit.SIPFeature enabled_features = 14; - */ - enabledFeatures: SIPFeature[]; - - /** - * @generated from field: livekit.SIPCallStatus call_status = 8; - */ - callStatus: SIPCallStatus; - - /** - * @generated from field: int64 created_at = 9; - */ - createdAt: bigint; - - /** - * @generated from field: int64 started_at = 10; - */ - startedAt: bigint; - - /** - * @generated from field: int64 ended_at = 11; - */ - endedAt: bigint; - - /** - * @generated from field: livekit.DisconnectReason disconnect_reason = 12; - */ - disconnectReason: DisconnectReason; - - /** - * @generated from field: string error = 13; - */ - error: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPCallInfo"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; - - static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; - - static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; -} - -/** - * @generated from message livekit.SIPUri - */ -export declare class SIPUri extends Message { - /** - * @generated from field: string user = 1; - */ - user: string; - - /** - * @generated from field: string host = 2; - */ - host: string; - - /** - * @generated from field: string ip = 3; - */ - ip: string; - - /** - * @generated from field: uint32 port = 4; - */ - port: number; - - /** - * @generated from field: livekit.SIPTransport transport = 5; - */ - transport: SIPTransport; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.SIPUri"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; - - static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; - - static fromJsonString(jsonString: string, options?: Partial): SIPUri; - - static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_sip_pb.js b/packages/javascript/src/gen/livekit_sip_pb.js deleted file mode 100644 index 5f015afd..00000000 --- a/packages/javascript/src/gen/livekit_sip_pb.js +++ /dev/null @@ -1,483 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_sip.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { Duration, proto3 } from "@bufbuild/protobuf"; -import { DisconnectReason } from "./livekit_models_pb.js"; - -/** - * @generated from enum livekit.SIPTransport - */ -export const SIPTransport = /*@__PURE__*/ proto3.makeEnum( - "livekit.SIPTransport", - [ - {no: 0, name: "SIP_TRANSPORT_AUTO"}, - {no: 1, name: "SIP_TRANSPORT_UDP"}, - {no: 2, name: "SIP_TRANSPORT_TCP"}, - {no: 3, name: "SIP_TRANSPORT_TLS"}, - ], -); - -/** - * @generated from enum livekit.SIPCallStatus - */ -export const SIPCallStatus = /*@__PURE__*/ proto3.makeEnum( - "livekit.SIPCallStatus", - [ - {no: 0, name: "SCS_CALL_INCOMING"}, - {no: 1, name: "SCS_PARTICIPANT_JOINED"}, - {no: 2, name: "SCS_ACTIVE"}, - {no: 3, name: "SCS_DISCONNECTED"}, - {no: 4, name: "SCS_ERROR"}, - ], -); - -/** - * @generated from enum livekit.SIPFeature - */ -export const SIPFeature = /*@__PURE__*/ proto3.makeEnum( - "livekit.SIPFeature", - [ - {no: 0, name: "NONE"}, - {no: 1, name: "KRISP_ENABLED"}, - ], -); - -/** - * @generated from message livekit.CreateSIPTrunkRequest - * @deprecated - */ -export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateSIPTrunkRequest", - () => [ - { no: 1, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 2, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 9, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 5, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SIPTrunkInfo - * @deprecated - */ -export const SIPTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPTrunkInfo", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(SIPTrunkInfo_TrunkKind) }, - { no: 2, name: "inbound_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 3, name: "outbound_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "outbound_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 13, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, - { no: 5, name: "inbound_numbers_regex", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 10, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 6, name: "inbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "inbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "outbound_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "outbound_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 12, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from enum livekit.SIPTrunkInfo.TrunkKind - */ -export const SIPTrunkInfo_TrunkKind = /*@__PURE__*/ proto3.makeEnum( - "livekit.SIPTrunkInfo.TrunkKind", - [ - {no: 0, name: "TRUNK_LEGACY"}, - {no: 1, name: "TRUNK_INBOUND"}, - {no: 2, name: "TRUNK_OUTBOUND"}, - ], -); - -/** - * @generated from message livekit.CreateSIPInboundTrunkRequest - */ -export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateSIPInboundTrunkRequest", - () => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }, - ], -); - -/** - * @generated from message livekit.SIPInboundTrunkInfo - */ -export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPInboundTrunkInfo", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 5, name: "allowed_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 6, name: "allowed_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: Duration }, - { no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.CreateSIPOutboundTrunkRequest - */ -export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateSIPOutboundTrunkRequest", - () => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }, - ], -); - -/** - * @generated from message livekit.SIPOutboundTrunkInfo - */ -export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPOutboundTrunkInfo", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, - { no: 6, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 7, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 10, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - ], -); - -/** - * @generated from message livekit.GetSIPInboundTrunkRequest - */ -export const GetSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.GetSIPInboundTrunkRequest", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.GetSIPInboundTrunkResponse - */ -export const GetSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.GetSIPInboundTrunkResponse", - () => [ - { no: 1, name: "trunk", kind: "message", T: SIPInboundTrunkInfo }, - ], -); - -/** - * @generated from message livekit.GetSIPOutboundTrunkRequest - */ -export const GetSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.GetSIPOutboundTrunkRequest", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.GetSIPOutboundTrunkResponse - */ -export const GetSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.GetSIPOutboundTrunkResponse", - () => [ - { no: 1, name: "trunk", kind: "message", T: SIPOutboundTrunkInfo }, - ], -); - -/** - * @generated from message livekit.ListSIPTrunkRequest - * @deprecated - */ -export const ListSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPTrunkRequest", - [], -); - -/** - * @generated from message livekit.ListSIPTrunkResponse - * @deprecated - */ -export const ListSIPTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPTrunkResponse", - () => [ - { no: 1, name: "items", kind: "message", T: SIPTrunkInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.ListSIPInboundTrunkRequest - */ -export const ListSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPInboundTrunkRequest", - [], -); - -/** - * @generated from message livekit.ListSIPInboundTrunkResponse - */ -export const ListSIPInboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPInboundTrunkResponse", - () => [ - { no: 1, name: "items", kind: "message", T: SIPInboundTrunkInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.ListSIPOutboundTrunkRequest - */ -export const ListSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPOutboundTrunkRequest", - [], -); - -/** - * @generated from message livekit.ListSIPOutboundTrunkResponse - */ -export const ListSIPOutboundTrunkResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPOutboundTrunkResponse", - () => [ - { no: 1, name: "items", kind: "message", T: SIPOutboundTrunkInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.DeleteSIPTrunkRequest - */ -export const DeleteSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteSIPTrunkRequest", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SIPDispatchRuleDirect - */ -export const SIPDispatchRuleDirect = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPDispatchRuleDirect", - () => [ - { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SIPDispatchRuleIndividual - */ -export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPDispatchRuleIndividual", - () => [ - { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SIPDispatchRuleCallee - */ -export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPDispatchRuleCallee", - () => [ - { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.SIPDispatchRule - */ -export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPDispatchRule", - () => [ - { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" }, - { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" }, - { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" }, - ], -); - -/** - * @generated from message livekit.CreateSIPDispatchRuleRequest - */ -export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateSIPDispatchRuleRequest", - () => [ - { no: 1, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - ], -); - -/** - * @generated from message livekit.SIPDispatchRuleInfo - */ -export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPDispatchRuleInfo", - () => [ - { no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "rule", kind: "message", T: SIPDispatchRule }, - { no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, - { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - ], -); - -/** - * @generated from message livekit.ListSIPDispatchRuleRequest - */ -export const ListSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPDispatchRuleRequest", - [], -); - -/** - * @generated from message livekit.ListSIPDispatchRuleResponse - */ -export const ListSIPDispatchRuleResponse = /*@__PURE__*/ proto3.makeMessageType( - "livekit.ListSIPDispatchRuleResponse", - () => [ - { no: 1, name: "items", kind: "message", T: SIPDispatchRuleInfo, repeated: true }, - ], -); - -/** - * @generated from message livekit.DeleteSIPDispatchRuleRequest - */ -export const DeleteSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.DeleteSIPDispatchRuleRequest", - () => [ - { no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * A SIP Participant is a singular SIP session connected to a LiveKit room via - * a SIP Trunk into a SIP DispatchRule - * - * @generated from message livekit.CreateSIPParticipantRequest - */ -export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.CreateSIPParticipantRequest", - () => [ - { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "sip_call_to", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 15, name: "sip_number", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 8, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 9, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, - { no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 13, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 11, name: "ringing_timeout", kind: "message", T: Duration }, - { no: 12, name: "max_call_duration", kind: "message", T: Duration }, - { no: 14, name: "enable_krisp", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.SIPParticipantInfo - */ -export const SIPParticipantInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPParticipantInfo", - () => [ - { no: 1, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.TransferSIPParticipantRequest - */ -export const TransferSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType( - "livekit.TransferSIPParticipantRequest", - () => [ - { no: 1, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "transfer_to", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - ], -); - -/** - * @generated from message livekit.SIPCallInfo - */ -export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPCallInfo", - () => [ - { no: 1, name: "call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 6, name: "from_uri", kind: "message", T: SIPUri }, - { no: 7, name: "to_uri", kind: "message", T: SIPUri }, - { no: 14, name: "enabled_features", kind: "enum", T: proto3.getEnumType(SIPFeature), repeated: true }, - { no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) }, - { no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) }, - { no: 13, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - ], -); - -/** - * @generated from message livekit.SIPUri - */ -export const SIPUri = /*@__PURE__*/ proto3.makeMessageType( - "livekit.SIPUri", - () => [ - { no: 1, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 3, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 4, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, - { no: 5, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport) }, - ], -); - diff --git a/packages/javascript/src/gen/livekit_webhook_pb.d.ts b/packages/javascript/src/gen/livekit_webhook_pb.d.ts deleted file mode 100644 index 40650e36..00000000 --- a/packages/javascript/src/gen/livekit_webhook_pb.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_webhook.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; -import type { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; -import type { EgressInfo } from "./livekit_egress_pb.js"; -import type { IngressInfo } from "./livekit_ingress_pb.js"; - -/** - * @generated from message livekit.WebhookEvent - */ -export declare class WebhookEvent extends Message { - /** - * one of room_started, room_finished, participant_joined, participant_left, - * track_published, track_unpublished, egress_started, egress_updated, egress_ended, - * ingress_started, ingress_ended - * - * @generated from field: string event = 1; - */ - event: string; - - /** - * @generated from field: livekit.Room room = 2; - */ - room?: Room; - - /** - * set when event is participant_* or track_* - * - * @generated from field: livekit.ParticipantInfo participant = 3; - */ - participant?: ParticipantInfo; - - /** - * set when event is egress_* - * - * @generated from field: livekit.EgressInfo egress_info = 9; - */ - egressInfo?: EgressInfo; - - /** - * set when event is ingress_* - * - * @generated from field: livekit.IngressInfo ingress_info = 10; - */ - ingressInfo?: IngressInfo; - - /** - * set when event is track_* - * - * @generated from field: livekit.TrackInfo track = 8; - */ - track?: TrackInfo; - - /** - * unique event uuid - * - * @generated from field: string id = 6; - */ - id: string; - - /** - * timestamp in seconds - * - * @generated from field: int64 created_at = 7; - */ - createdAt: bigint; - - /** - * @generated from field: int32 num_dropped = 11; - */ - numDropped: number; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "livekit.WebhookEvent"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent; - - static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent; - - static fromJsonString(jsonString: string, options?: Partial): WebhookEvent; - - static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean; -} - diff --git a/packages/javascript/src/gen/livekit_webhook_pb.js b/packages/javascript/src/gen/livekit_webhook_pb.js deleted file mode 100644 index c736bfc5..00000000 --- a/packages/javascript/src/gen/livekit_webhook_pb.js +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2023 LiveKit, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v1.10.0 with parameter "target=dts+js" -// @generated from file livekit_webhook.proto (package livekit, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import { proto3 } from "@bufbuild/protobuf"; -import { ParticipantInfo, Room, TrackInfo } from "./livekit_models_pb.js"; -import { EgressInfo } from "./livekit_egress_pb.js"; -import { IngressInfo } from "./livekit_ingress_pb.js"; - -/** - * @generated from message livekit.WebhookEvent - */ -export const WebhookEvent = /*@__PURE__*/ proto3.makeMessageType( - "livekit.WebhookEvent", - () => [ - { no: 1, name: "event", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 2, name: "room", kind: "message", T: Room }, - { no: 3, name: "participant", kind: "message", T: ParticipantInfo }, - { no: 9, name: "egress_info", kind: "message", T: EgressInfo }, - { no: 10, name: "ingress_info", kind: "message", T: IngressInfo }, - { no: 8, name: "track", kind: "message", T: TrackInfo }, - { no: 6, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, - { no: 7, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, - { no: 11, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, - ], -); - diff --git a/packages/javascript/src/gen/version.js b/packages/javascript/src/gen/version.js deleted file mode 100644 index 1252b8ea..00000000 --- a/packages/javascript/src/gen/version.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by genversion. -export const version = '1.29.2'; From 38efe087ee926705128b2f47407ec6f77f521dd3 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Fri, 29 Nov 2024 17:15:51 +0100 Subject: [PATCH 6/6] Add changeset --- .changeset/good-adults-compare.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/good-adults-compare.md diff --git a/.changeset/good-adults-compare.md b/.changeset/good-adults-compare.md new file mode 100644 index 00000000..0e64fb92 --- /dev/null +++ b/.changeset/good-adults-compare.md @@ -0,0 +1,5 @@ +--- +"@livekit/protocol": patch +--- + +Fix treehaking possibility of individual imports