@livekit/protocol 1.19.0 → 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.19.0",
3
+ "version": "1.19.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -4,7 +4,7 @@
4
4
  // you may not use this file except in compliance with the License.
5
5
  // You may obtain a copy of the License at
6
6
  //
7
- // http://www.apache.org/licenses/LICENSE-2.0
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
8
  //
9
9
  // Unless required by applicable law or agreed to in writing, software
10
10
  // distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_agent.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -56,146 +56,133 @@ export declare enum WorkerStatus {
56
56
  */
57
57
  export declare enum JobStatus {
58
58
  /**
59
- * @generated from enum value: JS_UNKNOWN = 0;
59
+ * @generated from enum value: JS_PENDING = 0;
60
60
  */
61
- JS_UNKNOWN = 0,
61
+ JS_PENDING = 0,
62
62
 
63
63
  /**
64
- * @generated from enum value: JS_SUCCESS = 1;
64
+ * @generated from enum value: JS_RUNNING = 1;
65
65
  */
66
- JS_SUCCESS = 1,
66
+ JS_RUNNING = 1,
67
67
 
68
68
  /**
69
- * @generated from enum value: JS_FAILED = 2;
69
+ * @generated from enum value: JS_SUCCESS = 2;
70
70
  */
71
- JS_FAILED = 2,
71
+ JS_SUCCESS = 2,
72
+
73
+ /**
74
+ * @generated from enum value: JS_FAILED = 3;
75
+ */
76
+ JS_FAILED = 3,
72
77
  }
73
78
 
74
79
  /**
75
- * @generated from message livekit.WorkerInfo
80
+ * @generated from message livekit.Job
76
81
  */
77
- export declare class WorkerInfo extends Message<WorkerInfo> {
82
+ export declare class Job extends Message<Job> {
78
83
  /**
79
84
  * @generated from field: string id = 1;
80
85
  */
81
86
  id: string;
82
87
 
83
88
  /**
84
- * @generated from field: string namespace = 2;
89
+ * @generated from field: string dispatch_id = 9;
85
90
  */
86
- namespace: string;
91
+ dispatchId: string;
87
92
 
88
93
  /**
89
- * @generated from field: string version = 3;
94
+ * @generated from field: livekit.JobType type = 2;
90
95
  */
91
- version: string;
96
+ type: JobType;
92
97
 
93
98
  /**
94
- * @generated from field: string name = 4;
99
+ * @generated from field: livekit.Room room = 3;
95
100
  */
96
- name: string;
101
+ room?: Room;
97
102
 
98
103
  /**
99
- * @generated from field: livekit.JobType type = 5;
104
+ * @generated from field: optional livekit.ParticipantInfo participant = 4;
100
105
  */
101
- type: JobType;
106
+ participant?: ParticipantInfo;
102
107
 
103
108
  /**
104
- * @generated from field: livekit.ParticipantPermission allowed_permissions = 6;
109
+ * @generated from field: string namespace = 5 [deprecated = true];
110
+ * @deprecated
105
111
  */
106
- allowedPermissions?: ParticipantPermission;
107
-
108
- constructor(data?: PartialMessage<WorkerInfo>);
109
-
110
- static readonly runtime: typeof proto3;
111
- static readonly typeName = "livekit.WorkerInfo";
112
- static readonly fields: FieldList;
113
-
114
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerInfo;
115
-
116
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerInfo;
117
-
118
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerInfo;
119
-
120
- static equals(a: WorkerInfo | PlainMessage<WorkerInfo> | undefined, b: WorkerInfo | PlainMessage<WorkerInfo> | undefined): boolean;
121
- }
112
+ namespace: string;
122
113
 
123
- /**
124
- * @generated from message livekit.AgentInfo
125
- */
126
- export declare class AgentInfo extends Message<AgentInfo> {
127
114
  /**
128
- * @generated from field: string id = 1;
115
+ * @generated from field: string metadata = 6;
129
116
  */
130
- id: string;
117
+ metadata: string;
131
118
 
132
119
  /**
133
- * @generated from field: string name = 2;
120
+ * @generated from field: string agent_name = 7;
134
121
  */
135
- name: string;
122
+ agentName: string;
136
123
 
137
124
  /**
138
- * @generated from field: string version = 3;
125
+ * @generated from field: livekit.JobState state = 8;
139
126
  */
140
- version: string;
127
+ state?: JobState;
141
128
 
142
- constructor(data?: PartialMessage<AgentInfo>);
129
+ constructor(data?: PartialMessage<Job>);
143
130
 
144
131
  static readonly runtime: typeof proto3;
145
- static readonly typeName = "livekit.AgentInfo";
132
+ static readonly typeName = "livekit.Job";
146
133
  static readonly fields: FieldList;
147
134
 
148
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentInfo;
135
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job;
149
136
 
150
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentInfo;
137
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job;
151
138
 
152
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentInfo;
139
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job;
153
140
 
154
- static equals(a: AgentInfo | PlainMessage<AgentInfo> | undefined, b: AgentInfo | PlainMessage<AgentInfo> | undefined): boolean;
141
+ static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean;
155
142
  }
156
143
 
157
144
  /**
158
- * @generated from message livekit.Job
145
+ * @generated from message livekit.JobState
159
146
  */
160
- export declare class Job extends Message<Job> {
147
+ export declare class JobState extends Message<JobState> {
161
148
  /**
162
- * @generated from field: string id = 1;
149
+ * @generated from field: livekit.JobStatus status = 1;
163
150
  */
164
- id: string;
151
+ status: JobStatus;
165
152
 
166
153
  /**
167
- * @generated from field: livekit.JobType type = 2;
154
+ * @generated from field: string error = 2;
168
155
  */
169
- type: JobType;
156
+ error: string;
170
157
 
171
158
  /**
172
- * @generated from field: livekit.Room room = 3;
159
+ * @generated from field: int64 started_at = 3;
173
160
  */
174
- room?: Room;
161
+ startedAt: bigint;
175
162
 
176
163
  /**
177
- * @generated from field: optional livekit.ParticipantInfo participant = 4;
164
+ * @generated from field: int64 ended_at = 4;
178
165
  */
179
- participant?: ParticipantInfo;
166
+ endedAt: bigint;
180
167
 
181
168
  /**
182
- * @generated from field: string namespace = 5;
169
+ * @generated from field: int64 updated_at = 5;
183
170
  */
184
- namespace: string;
171
+ updatedAt: bigint;
185
172
 
186
- constructor(data?: PartialMessage<Job>);
173
+ constructor(data?: PartialMessage<JobState>);
187
174
 
188
175
  static readonly runtime: typeof proto3;
189
- static readonly typeName = "livekit.Job";
176
+ static readonly typeName = "livekit.JobState";
190
177
  static readonly fields: FieldList;
191
178
 
192
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Job;
179
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobState;
193
180
 
194
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Job;
181
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobState;
195
182
 
196
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Job;
183
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobState;
197
184
 
198
- static equals(a: Job | PlainMessage<Job> | undefined, b: Job | PlainMessage<Job> | undefined): boolean;
185
+ static equals(a: JobState | PlainMessage<JobState> | undefined, b: JobState | PlainMessage<JobState> | undefined): boolean;
199
186
  }
200
187
 
201
188
  /**
@@ -305,6 +292,12 @@ export declare class ServerMessage extends Message<ServerMessage> {
305
292
  */
306
293
  value: JobAssignment;
307
294
  case: "assignment";
295
+ } | {
296
+ /**
297
+ * @generated from field: livekit.JobTermination termination = 5;
298
+ */
299
+ value: JobTermination;
300
+ case: "termination";
308
301
  } | {
309
302
  /**
310
303
  * @generated from field: livekit.WorkerPong pong = 4;
@@ -424,6 +417,11 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
424
417
  */
425
418
  type: JobType;
426
419
 
420
+ /**
421
+ * @generated from field: string agent_name = 8;
422
+ */
423
+ agentName: string;
424
+
427
425
  /**
428
426
  * string worker_id = 2;
429
427
  *
@@ -432,11 +430,8 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
432
430
  version: string;
433
431
 
434
432
  /**
435
- * @generated from field: string name = 4;
436
- */
437
- name: string;
438
-
439
- /**
433
+ * string name = 4 [deprecated = true];
434
+ *
440
435
  * @generated from field: uint32 ping_interval = 5;
441
436
  */
442
437
  pingInterval: number;
@@ -500,9 +495,11 @@ export declare class RegisterWorkerResponse extends Message<RegisterWorkerRespon
500
495
  */
501
496
  export declare class MigrateJobRequest extends Message<MigrateJobRequest> {
502
497
  /**
503
- * @generated from field: string job_id = 1;
498
+ * string job_id = 1 [deprecated = true];
499
+ *
500
+ * @generated from field: repeated string job_ids = 2;
504
501
  */
505
- jobId: string;
502
+ jobIds: string[];
506
503
 
507
504
  constructor(data?: PartialMessage<MigrateJobRequest>);
508
505
 
@@ -529,7 +526,7 @@ export declare class AvailabilityRequest extends Message<AvailabilityRequest> {
529
526
  job?: Job;
530
527
 
531
528
  /**
532
- * True when the job was previously assigned to another worker but has been
529
+ * True when the job was previously assigned to another worker but has been
533
530
  * migrated due to different reasons (e.g. worker failure, job migration)
534
531
  *
535
532
  * @generated from field: bool resuming = 2;
@@ -585,6 +582,11 @@ export declare class AvailabilityResponse extends Message<AvailabilityResponse>
585
582
  */
586
583
  participantMetadata: string;
587
584
 
585
+ /**
586
+ * @generated from field: map<string, string> participant_attributes = 7;
587
+ */
588
+ participantAttributes: { [key: string]: string };
589
+
588
590
  constructor(data?: PartialMessage<AvailabilityResponse>);
589
591
 
590
592
  static readonly runtime: typeof proto3;
@@ -612,9 +614,9 @@ export declare class UpdateJobStatus extends Message<UpdateJobStatus> {
612
614
  /**
613
615
  * The worker can indicate the job end by either specifying SUCCESS or FAILED
614
616
  *
615
- * @generated from field: optional livekit.JobStatus status = 2;
617
+ * @generated from field: livekit.JobStatus status = 2;
616
618
  */
617
- status?: JobStatus;
619
+ status: JobStatus;
618
620
 
619
621
  /**
620
622
  * metadata shown on the dashboard, useful for debugging
@@ -623,20 +625,6 @@ export declare class UpdateJobStatus extends Message<UpdateJobStatus> {
623
625
  */
624
626
  error: string;
625
627
 
626
- /**
627
- * the metadata can be updated multiple times
628
- *
629
- * @generated from field: optional string metadata = 4;
630
- */
631
- metadata?: string;
632
-
633
- /**
634
- * The load that the job currently has on the worker
635
- *
636
- * @generated from field: float load = 5;
637
- */
638
- load: number;
639
-
640
628
  constructor(data?: PartialMessage<UpdateJobStatus>);
641
629
 
642
630
  static readonly runtime: typeof proto3;
@@ -662,14 +650,16 @@ export declare class UpdateWorkerStatus extends Message<UpdateWorkerStatus> {
662
650
  status?: WorkerStatus;
663
651
 
664
652
  /**
665
- * @generated from field: optional string metadata = 2;
653
+ * optional string metadata = 2 [deprecated=true];
654
+ *
655
+ * @generated from field: float load = 3;
666
656
  */
667
- metadata?: string;
657
+ load: number;
668
658
 
669
659
  /**
670
- * @generated from field: float load = 3;
660
+ * @generated from field: int32 job_count = 4;
671
661
  */
672
- load: number;
662
+ jobCount: number;
673
663
 
674
664
  constructor(data?: PartialMessage<UpdateWorkerStatus>);
675
665
 
@@ -720,3 +710,27 @@ export declare class JobAssignment extends Message<JobAssignment> {
720
710
  static equals(a: JobAssignment | PlainMessage<JobAssignment> | undefined, b: JobAssignment | PlainMessage<JobAssignment> | undefined): boolean;
721
711
  }
722
712
 
713
+ /**
714
+ * @generated from message livekit.JobTermination
715
+ */
716
+ export declare class JobTermination extends Message<JobTermination> {
717
+ /**
718
+ * @generated from field: string job_id = 1;
719
+ */
720
+ jobId: string;
721
+
722
+ constructor(data?: PartialMessage<JobTermination>);
723
+
724
+ static readonly runtime: typeof proto3;
725
+ static readonly typeName = "livekit.JobTermination";
726
+ static readonly fields: FieldList;
727
+
728
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTermination;
729
+
730
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTermination;
731
+
732
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTermination;
733
+
734
+ static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
735
+ }
736
+
@@ -4,7 +4,7 @@
4
4
  // you may not use this file except in compliance with the License.
5
5
  // You may obtain a copy of the License at
6
6
  //
7
- // http://www.apache.org/licenses/LICENSE-2.0
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
8
  //
9
9
  // Unless required by applicable law or agreed to in writing, software
10
10
  // distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_agent.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -48,36 +48,10 @@ export const WorkerStatus = /*@__PURE__*/ proto3.makeEnum(
48
48
  export const JobStatus = /*@__PURE__*/ proto3.makeEnum(
49
49
  "livekit.JobStatus",
50
50
  [
51
- {no: 0, name: "JS_UNKNOWN"},
52
- {no: 1, name: "JS_SUCCESS"},
53
- {no: 2, name: "JS_FAILED"},
54
- ],
55
- );
56
-
57
- /**
58
- * @generated from message livekit.WorkerInfo
59
- */
60
- export const WorkerInfo = /*@__PURE__*/ proto3.makeMessageType(
61
- "livekit.WorkerInfo",
62
- () => [
63
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
- { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
- { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
66
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
67
- { no: 5, name: "type", kind: "enum", T: proto3.getEnumType(JobType) },
68
- { no: 6, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
69
- ],
70
- );
71
-
72
- /**
73
- * @generated from message livekit.AgentInfo
74
- */
75
- export const AgentInfo = /*@__PURE__*/ proto3.makeMessageType(
76
- "livekit.AgentInfo",
77
- () => [
78
- { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
80
- { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
+ {no: 0, name: "JS_PENDING"},
52
+ {no: 1, name: "JS_RUNNING"},
53
+ {no: 2, name: "JS_SUCCESS"},
54
+ {no: 3, name: "JS_FAILED"},
81
55
  ],
82
56
  );
83
57
 
@@ -88,10 +62,28 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
88
62
  "livekit.Job",
89
63
  () => [
90
64
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ { no: 9, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
91
66
  { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(JobType) },
92
67
  { no: 3, name: "room", kind: "message", T: Room },
93
68
  { no: 4, name: "participant", kind: "message", T: ParticipantInfo, opt: true },
94
69
  { no: 5, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
70
+ { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
+ { no: 8, name: "state", kind: "message", T: JobState },
73
+ ],
74
+ );
75
+
76
+ /**
77
+ * @generated from message livekit.JobState
78
+ */
79
+ export const JobState = /*@__PURE__*/ proto3.makeMessageType(
80
+ "livekit.JobState",
81
+ () => [
82
+ { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) },
83
+ { no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
84
+ { no: 3, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
85
+ { no: 4, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
86
+ { no: 5, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
95
87
  ],
96
88
  );
97
89
 
@@ -124,6 +116,7 @@ export const ServerMessage = /*@__PURE__*/ proto3.makeMessageType(
124
116
  { no: 1, name: "register", kind: "message", T: RegisterWorkerResponse, oneof: "message" },
125
117
  { no: 2, name: "availability", kind: "message", T: AvailabilityRequest, oneof: "message" },
126
118
  { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" },
119
+ { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" },
127
120
  { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" },
128
121
  ],
129
122
  );
@@ -168,8 +161,8 @@ export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType(
168
161
  "livekit.RegisterWorkerRequest",
169
162
  () => [
170
163
  { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobType) },
164
+ { no: 8, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
171
165
  { no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
172
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
173
166
  { no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
174
167
  { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
175
168
  { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
@@ -193,7 +186,7 @@ export const RegisterWorkerResponse = /*@__PURE__*/ proto3.makeMessageType(
193
186
  export const MigrateJobRequest = /*@__PURE__*/ proto3.makeMessageType(
194
187
  "livekit.MigrateJobRequest",
195
188
  () => [
196
- { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ { no: 2, name: "job_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
197
190
  ],
198
191
  );
199
192
 
@@ -220,6 +213,7 @@ export const AvailabilityResponse = /*@__PURE__*/ proto3.makeMessageType(
220
213
  { no: 4, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
221
214
  { no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
222
215
  { no: 6, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
216
+ { no: 7, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
223
217
  ],
224
218
  );
225
219
 
@@ -230,10 +224,8 @@ export const UpdateJobStatus = /*@__PURE__*/ proto3.makeMessageType(
230
224
  "livekit.UpdateJobStatus",
231
225
  () => [
232
226
  { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
233
- { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus), opt: true },
227
+ { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(JobStatus) },
234
228
  { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
235
- { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
236
- { no: 5, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
237
229
  ],
238
230
  );
239
231
 
@@ -244,8 +236,8 @@ export const UpdateWorkerStatus = /*@__PURE__*/ proto3.makeMessageType(
244
236
  "livekit.UpdateWorkerStatus",
245
237
  () => [
246
238
  { no: 1, name: "status", kind: "enum", T: proto3.getEnumType(WorkerStatus), opt: true },
247
- { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
248
239
  { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
240
+ { no: 4, name: "job_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
249
241
  ],
250
242
  );
251
243
 
@@ -261,3 +253,13 @@ export const JobAssignment = /*@__PURE__*/ proto3.makeMessageType(
261
253
  ],
262
254
  );
263
255
 
256
+ /**
257
+ * @generated from message livekit.JobTermination
258
+ */
259
+ export const JobTermination = /*@__PURE__*/ proto3.makeMessageType(
260
+ "livekit.JobTermination",
261
+ () => [
262
+ { no: 1, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
263
+ ],
264
+ );
265
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_egress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -103,6 +103,11 @@ export declare enum StreamProtocol {
103
103
  * @generated from enum value: RTMP = 1;
104
104
  */
105
105
  RTMP = 1,
106
+
107
+ /**
108
+ * @generated from enum value: SRT = 2;
109
+ */
110
+ SRT = 2,
106
111
  }
107
112
 
108
113
  /**
@@ -1890,6 +1895,11 @@ export declare class SegmentsInfo extends Message<SegmentsInfo> {
1890
1895
  * @generated from message livekit.ImagesInfo
1891
1896
  */
1892
1897
  export declare class ImagesInfo extends Message<ImagesInfo> {
1898
+ /**
1899
+ * @generated from field: string filename_prefix = 4;
1900
+ */
1901
+ filenamePrefix: string;
1902
+
1893
1903
  /**
1894
1904
  * @generated from field: int64 image_count = 1;
1895
1905
  */
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_egress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -73,6 +73,7 @@ export const StreamProtocol = /*@__PURE__*/ proto3.makeEnum(
73
73
  [
74
74
  {no: 0, name: "DEFAULT_PROTOCOL"},
75
75
  {no: 1, name: "RTMP"},
76
+ {no: 2, name: "SRT"},
76
77
  ],
77
78
  );
78
79
 
@@ -554,6 +555,7 @@ export const SegmentsInfo = /*@__PURE__*/ proto3.makeMessageType(
554
555
  export const ImagesInfo = /*@__PURE__*/ proto3.makeMessageType(
555
556
  "livekit.ImagesInfo",
556
557
  () => [
558
+ { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
557
559
  { no: 1, name: "image_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
558
560
  { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
559
561
  { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_ingress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_ingress.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -215,49 +215,74 @@ export declare enum DisconnectReason {
215
215
  UNKNOWN_REASON = 0,
216
216
 
217
217
  /**
218
+ * the client initiated the disconnect
219
+ *
218
220
  * @generated from enum value: CLIENT_INITIATED = 1;
219
221
  */
220
222
  CLIENT_INITIATED = 1,
221
223
 
222
224
  /**
225
+ * another participant with the same identity has joined the room
226
+ *
223
227
  * @generated from enum value: DUPLICATE_IDENTITY = 2;
224
228
  */
225
229
  DUPLICATE_IDENTITY = 2,
226
230
 
227
231
  /**
232
+ * the server instance is shutting down
233
+ *
228
234
  * @generated from enum value: SERVER_SHUTDOWN = 3;
229
235
  */
230
236
  SERVER_SHUTDOWN = 3,
231
237
 
232
238
  /**
239
+ * RoomService.RemoveParticipant was called
240
+ *
233
241
  * @generated from enum value: PARTICIPANT_REMOVED = 4;
234
242
  */
235
243
  PARTICIPANT_REMOVED = 4,
236
244
 
237
245
  /**
246
+ * RoomService.DeleteRoom was called
247
+ *
238
248
  * @generated from enum value: ROOM_DELETED = 5;
239
249
  */
240
250
  ROOM_DELETED = 5,
241
251
 
242
252
  /**
253
+ * the client is attempting to resume a session, but server is not aware of it
254
+ *
243
255
  * @generated from enum value: STATE_MISMATCH = 6;
244
256
  */
245
257
  STATE_MISMATCH = 6,
246
258
 
247
259
  /**
260
+ * client was unable to connect fully
261
+ *
248
262
  * @generated from enum value: JOIN_FAILURE = 7;
249
263
  */
250
264
  JOIN_FAILURE = 7,
251
265
 
252
266
  /**
267
+ * Cloud-only, the server requested Participant to migrate the connection elsewhere
268
+ *
253
269
  * @generated from enum value: MIGRATION = 8;
254
270
  */
255
271
  MIGRATION = 8,
256
272
 
257
273
  /**
274
+ * the signal websocket was closed unexpectedly
275
+ *
258
276
  * @generated from enum value: SIGNAL_CLOSE = 9;
259
277
  */
260
278
  SIGNAL_CLOSE = 9,
279
+
280
+ /**
281
+ * the room was closed, due to all Standard and Ingress participants having left
282
+ *
283
+ * @generated from enum value: ROOM_CLOSED = 10;
284
+ */
285
+ ROOM_CLOSED = 10,
261
286
  }
262
287
 
263
288
  /**
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_models.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -136,6 +136,7 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
136
136
  {no: 7, name: "JOIN_FAILURE"},
137
137
  {no: 8, name: "MIGRATION"},
138
138
  {no: 9, name: "SIGNAL_CLOSE"},
139
+ {no: 10, name: "ROOM_CLOSED"},
139
140
  ],
140
141
  );
141
142
 
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_room.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -20,6 +20,7 @@
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
23
+ import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
23
24
  import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
24
25
 
25
26
  /**
@@ -33,6 +34,13 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
33
34
  */
34
35
  name: string;
35
36
 
37
+ /**
38
+ * configuration to use for this room parameters. Setting parameters below override the config defaults.
39
+ *
40
+ * @generated from field: string config_name = 12;
41
+ */
42
+ configName: string;
43
+
36
44
  /**
37
45
  * number of seconds to keep the room open if no one joins
38
46
  *
@@ -75,6 +83,13 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
75
83
  */
76
84
  egress?: RoomEgress;
77
85
 
86
+ /**
87
+ * agent
88
+ *
89
+ * @generated from field: livekit.RoomAgent agent = 11;
90
+ */
91
+ agent?: RoomAgent;
92
+
78
93
  /**
79
94
  * playout delay of subscriber
80
95
  *
@@ -95,6 +110,15 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
95
110
  */
96
111
  syncStreams: boolean;
97
112
 
113
+ /**
114
+ * replay
115
+ *
116
+ * NEXT-ID: 14
117
+ *
118
+ * @generated from field: bool replay_enabled = 13;
119
+ */
120
+ replayEnabled: boolean;
121
+
98
122
  constructor(data?: PartialMessage<CreateRoomRequest>);
99
123
 
100
124
  static readonly runtime: typeof proto3;
@@ -144,6 +168,30 @@ export declare class RoomEgress extends Message<RoomEgress> {
144
168
  static equals(a: RoomEgress | PlainMessage<RoomEgress> | undefined, b: RoomEgress | PlainMessage<RoomEgress> | undefined): boolean;
145
169
  }
146
170
 
171
+ /**
172
+ * @generated from message livekit.RoomAgent
173
+ */
174
+ export declare class RoomAgent extends Message<RoomAgent> {
175
+ /**
176
+ * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;
177
+ */
178
+ dispatches: RoomAgentDispatch[];
179
+
180
+ constructor(data?: PartialMessage<RoomAgent>);
181
+
182
+ static readonly runtime: typeof proto3;
183
+ static readonly typeName = "livekit.RoomAgent";
184
+ static readonly fields: FieldList;
185
+
186
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomAgent;
187
+
188
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomAgent;
189
+
190
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomAgent;
191
+
192
+ static equals(a: RoomAgent | PlainMessage<RoomAgent> | undefined, b: RoomAgent | PlainMessage<RoomAgent> | undefined): boolean;
193
+ }
194
+
147
195
  /**
148
196
  * @generated from message livekit.ListRoomsRequest
149
197
  */
@@ -643,3 +691,84 @@ export declare class UpdateRoomMetadataRequest extends Message<UpdateRoomMetadat
643
691
  static equals(a: UpdateRoomMetadataRequest | PlainMessage<UpdateRoomMetadataRequest> | undefined, b: UpdateRoomMetadataRequest | PlainMessage<UpdateRoomMetadataRequest> | undefined): boolean;
644
692
  }
645
693
 
694
+ /**
695
+ * @generated from message livekit.RoomConfiguration
696
+ */
697
+ export declare class RoomConfiguration extends Message<RoomConfiguration> {
698
+ /**
699
+ * Used as ID, must be unique
700
+ *
701
+ * @generated from field: string name = 1;
702
+ */
703
+ name: string;
704
+
705
+ /**
706
+ * number of seconds to keep the room open if no one joins
707
+ *
708
+ * @generated from field: uint32 empty_timeout = 2;
709
+ */
710
+ emptyTimeout: number;
711
+
712
+ /**
713
+ * number of seconds to keep the room open after everyone leaves
714
+ *
715
+ * @generated from field: uint32 departure_timeout = 3;
716
+ */
717
+ departureTimeout: number;
718
+
719
+ /**
720
+ * limit number of participants that can be in a room
721
+ *
722
+ * @generated from field: uint32 max_participants = 4;
723
+ */
724
+ maxParticipants: number;
725
+
726
+ /**
727
+ * egress
728
+ *
729
+ * @generated from field: livekit.RoomEgress egress = 5;
730
+ */
731
+ egress?: RoomEgress;
732
+
733
+ /**
734
+ * agent
735
+ *
736
+ * @generated from field: livekit.RoomAgent agent = 6;
737
+ */
738
+ agent?: RoomAgent;
739
+
740
+ /**
741
+ * playout delay of subscriber
742
+ *
743
+ * @generated from field: uint32 min_playout_delay = 7;
744
+ */
745
+ minPlayoutDelay: number;
746
+
747
+ /**
748
+ * @generated from field: uint32 max_playout_delay = 8;
749
+ */
750
+ maxPlayoutDelay: number;
751
+
752
+ /**
753
+ * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
754
+ * so not recommended for rooms with frequent subscription changes
755
+ *
756
+ * @generated from field: bool sync_streams = 9;
757
+ */
758
+ syncStreams: boolean;
759
+
760
+ constructor(data?: PartialMessage<RoomConfiguration>);
761
+
762
+ static readonly runtime: typeof proto3;
763
+ static readonly typeName = "livekit.RoomConfiguration";
764
+ static readonly fields: FieldList;
765
+
766
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomConfiguration;
767
+
768
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomConfiguration;
769
+
770
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomConfiguration;
771
+
772
+ static equals(a: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined, b: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined): boolean;
773
+ }
774
+
@@ -12,13 +12,14 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_room.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
21
  import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
22
+ import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
22
23
  import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
23
24
 
24
25
  /**
@@ -28,15 +29,18 @@ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
28
29
  "livekit.CreateRoomRequest",
29
30
  () => [
30
31
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 12, name: "config_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
31
33
  { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
32
34
  { no: 10, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
33
35
  { no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
34
36
  { no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
35
37
  { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
36
38
  { no: 6, name: "egress", kind: "message", T: RoomEgress },
39
+ { no: 11, name: "agent", kind: "message", T: RoomAgent },
37
40
  { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
38
41
  { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
39
42
  { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
43
+ { no: 13, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
40
44
  ],
41
45
  );
42
46
 
@@ -52,6 +56,16 @@ export const RoomEgress = /*@__PURE__*/ proto3.makeMessageType(
52
56
  ],
53
57
  );
54
58
 
59
+ /**
60
+ * @generated from message livekit.RoomAgent
61
+ */
62
+ export const RoomAgent = /*@__PURE__*/ proto3.makeMessageType(
63
+ "livekit.RoomAgent",
64
+ () => [
65
+ { no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
66
+ ],
67
+ );
68
+
55
69
  /**
56
70
  * @generated from message livekit.ListRoomsRequest
57
71
  */
@@ -225,3 +239,21 @@ export const UpdateRoomMetadataRequest = /*@__PURE__*/ proto3.makeMessageType(
225
239
  ],
226
240
  );
227
241
 
242
+ /**
243
+ * @generated from message livekit.RoomConfiguration
244
+ */
245
+ export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType(
246
+ "livekit.RoomConfiguration",
247
+ () => [
248
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
249
+ { no: 2, name: "empty_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
250
+ { no: 3, name: "departure_timeout", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
251
+ { no: 4, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
252
+ { no: 5, name: "egress", kind: "message", T: RoomEgress },
253
+ { no: 6, name: "agent", kind: "message", T: RoomAgent },
254
+ { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
255
+ { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
256
+ { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
257
+ ],
258
+ );
259
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_rtc.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -399,6 +399,22 @@ export declare class SignalResponse extends Message<SignalResponse> {
399
399
  */
400
400
  value: SubscriptionResponse;
401
401
  case: "subscriptionResponse";
402
+ } | {
403
+ /**
404
+ * Errors relating to user inititated requests that carry a `request_id`
405
+ *
406
+ * @generated from field: livekit.ErrorResponse error_response = 22;
407
+ */
408
+ value: ErrorResponse;
409
+ case: "errorResponse";
410
+ } | {
411
+ /**
412
+ * notify to the publisher when a published track has been subscribed for the first time
413
+ *
414
+ * @generated from field: livekit.TrackSubscribed track_subscribed = 23;
415
+ */
416
+ value: TrackSubscribed;
417
+ case: "trackSubscribed";
402
418
  } | { case: undefined; value?: undefined };
403
419
 
404
420
  constructor(data?: PartialMessage<SignalResponse>);
@@ -568,6 +584,11 @@ export declare class TrickleRequest extends Message<TrickleRequest> {
568
584
  */
569
585
  target: SignalTarget;
570
586
 
587
+ /**
588
+ * @generated from field: bool final = 3;
589
+ */
590
+ final: boolean;
591
+
571
592
  constructor(data?: PartialMessage<TrickleRequest>);
572
593
 
573
594
  static readonly runtime: typeof proto3;
@@ -1136,6 +1157,11 @@ export declare class UpdateParticipantMetadata extends Message<UpdateParticipant
1136
1157
  */
1137
1158
  attributes: { [key: string]: string };
1138
1159
 
1160
+ /**
1161
+ * @generated from field: uint32 request_id = 4;
1162
+ */
1163
+ requestId: number;
1164
+
1139
1165
  constructor(data?: PartialMessage<UpdateParticipantMetadata>);
1140
1166
 
1141
1167
  static readonly runtime: typeof proto3;
@@ -1878,3 +1904,86 @@ export declare class SubscriptionResponse extends Message<SubscriptionResponse>
1878
1904
  static equals(a: SubscriptionResponse | PlainMessage<SubscriptionResponse> | undefined, b: SubscriptionResponse | PlainMessage<SubscriptionResponse> | undefined): boolean;
1879
1905
  }
1880
1906
 
1907
+ /**
1908
+ * @generated from message livekit.ErrorResponse
1909
+ */
1910
+ export declare class ErrorResponse extends Message<ErrorResponse> {
1911
+ /**
1912
+ * @generated from field: uint32 request_id = 1;
1913
+ */
1914
+ requestId: number;
1915
+
1916
+ /**
1917
+ * @generated from field: livekit.ErrorResponse.Reason reason = 2;
1918
+ */
1919
+ reason: ErrorResponse_Reason;
1920
+
1921
+ /**
1922
+ * @generated from field: string message = 3;
1923
+ */
1924
+ message: string;
1925
+
1926
+ constructor(data?: PartialMessage<ErrorResponse>);
1927
+
1928
+ static readonly runtime: typeof proto3;
1929
+ static readonly typeName = "livekit.ErrorResponse";
1930
+ static readonly fields: FieldList;
1931
+
1932
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ErrorResponse;
1933
+
1934
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ErrorResponse;
1935
+
1936
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ErrorResponse;
1937
+
1938
+ static equals(a: ErrorResponse | PlainMessage<ErrorResponse> | undefined, b: ErrorResponse | PlainMessage<ErrorResponse> | undefined): boolean;
1939
+ }
1940
+
1941
+ /**
1942
+ * @generated from enum livekit.ErrorResponse.Reason
1943
+ */
1944
+ export declare enum ErrorResponse_Reason {
1945
+ /**
1946
+ * @generated from enum value: UNKNOWN = 0;
1947
+ */
1948
+ UNKNOWN = 0,
1949
+
1950
+ /**
1951
+ * @generated from enum value: NOT_FOUND = 1;
1952
+ */
1953
+ NOT_FOUND = 1,
1954
+
1955
+ /**
1956
+ * @generated from enum value: NOT_ALLOWED = 2;
1957
+ */
1958
+ NOT_ALLOWED = 2,
1959
+
1960
+ /**
1961
+ * @generated from enum value: LIMIT_EXCEEDED = 3;
1962
+ */
1963
+ LIMIT_EXCEEDED = 3,
1964
+ }
1965
+
1966
+ /**
1967
+ * @generated from message livekit.TrackSubscribed
1968
+ */
1969
+ export declare class TrackSubscribed extends Message<TrackSubscribed> {
1970
+ /**
1971
+ * @generated from field: string track_sid = 1;
1972
+ */
1973
+ trackSid: string;
1974
+
1975
+ constructor(data?: PartialMessage<TrackSubscribed>);
1976
+
1977
+ static readonly runtime: typeof proto3;
1978
+ static readonly typeName = "livekit.TrackSubscribed";
1979
+ static readonly fields: FieldList;
1980
+
1981
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackSubscribed;
1982
+
1983
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackSubscribed;
1984
+
1985
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscribed;
1986
+
1987
+ static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
1988
+ }
1989
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_rtc.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -106,6 +106,8 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
106
106
  { no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" },
107
107
  { no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
108
108
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
109
+ { no: 22, name: "error_response", kind: "message", T: ErrorResponse, oneof: "message" },
110
+ { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
109
111
  ],
110
112
  );
111
113
 
@@ -152,6 +154,7 @@ export const TrickleRequest = /*@__PURE__*/ proto3.makeMessageType(
152
154
  () => [
153
155
  { no: 1, name: "candidateInit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
154
156
  { no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) },
157
+ { no: 3, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
155
158
  ],
156
159
  );
157
160
 
@@ -342,6 +345,7 @@ export const UpdateParticipantMetadata = /*@__PURE__*/ proto3.makeMessageType(
342
345
  { no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
346
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
347
  { no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
348
+ { no: 4, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
345
349
  ],
346
350
  );
347
351
 
@@ -591,3 +595,38 @@ export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType(
591
595
  ],
592
596
  );
593
597
 
598
+ /**
599
+ * @generated from message livekit.ErrorResponse
600
+ */
601
+ export const ErrorResponse = /*@__PURE__*/ proto3.makeMessageType(
602
+ "livekit.ErrorResponse",
603
+ () => [
604
+ { no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
605
+ { no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(ErrorResponse_Reason) },
606
+ { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
607
+ ],
608
+ );
609
+
610
+ /**
611
+ * @generated from enum livekit.ErrorResponse.Reason
612
+ */
613
+ export const ErrorResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
614
+ "livekit.ErrorResponse.Reason",
615
+ [
616
+ {no: 0, name: "UNKNOWN"},
617
+ {no: 1, name: "NOT_FOUND"},
618
+ {no: 2, name: "NOT_ALLOWED"},
619
+ {no: 3, name: "LIMIT_EXCEEDED"},
620
+ ],
621
+ );
622
+
623
+ /**
624
+ * @generated from message livekit.TrackSubscribed
625
+ */
626
+ export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType(
627
+ "livekit.TrackSubscribed",
628
+ () => [
629
+ { no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
630
+ ],
631
+ );
632
+
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_sip.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_sip.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_webhook.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -12,7 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
- // @generated by protoc-gen-es v1.8.0 with parameter "target=js+dts"
15
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
16
16
  // @generated from file livekit_webhook.proto (package livekit, syntax proto3)
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.19.0';
2
+ export const version = '1.19.2';