@livekit/protocol 1.19.3 → 1.20.1
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 +1 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +13 -8
- package/src/gen/livekit_agent_dispatch_pb.js +4 -3
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_internal_pb.d.ts +6 -0
- package/src/gen/livekit_internal_pb.js +2 -0
- package/src/gen/livekit_metrics_pb.d.ts +216 -0
- package/src/gen/livekit_metrics_pb.js +75 -0
- package/src/gen/livekit_models_pb.d.ts +182 -0
- package/src/gen/livekit_models_pb.js +51 -0
- package/src/gen/livekit_rtc_pb.d.ts +31 -19
- package/src/gen/livekit_rtc_pb.js +12 -10
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -93,6 +93,11 @@ export declare class DeleteAgentDispatchRequest extends Message<DeleteAgentDispa
|
|
|
93
93
|
*/
|
|
94
94
|
dispatchId: string;
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string room = 2;
|
|
98
|
+
*/
|
|
99
|
+
room: string;
|
|
100
|
+
|
|
96
101
|
constructor(data?: PartialMessage<DeleteAgentDispatchRequest>);
|
|
97
102
|
|
|
98
103
|
static readonly runtime: typeof proto3;
|
|
@@ -109,9 +114,9 @@ export declare class DeleteAgentDispatchRequest extends Message<DeleteAgentDispa
|
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
/**
|
|
112
|
-
* @generated from message livekit.
|
|
117
|
+
* @generated from message livekit.ListAgentDispatchRequest
|
|
113
118
|
*/
|
|
114
|
-
export declare class
|
|
119
|
+
export declare class ListAgentDispatchRequest extends Message<ListAgentDispatchRequest> {
|
|
115
120
|
/**
|
|
116
121
|
* if set, only the dispatch whose id is given will be returned
|
|
117
122
|
*
|
|
@@ -126,19 +131,19 @@ export declare class ListAgentDispatchRequesst extends Message<ListAgentDispatch
|
|
|
126
131
|
*/
|
|
127
132
|
room: string;
|
|
128
133
|
|
|
129
|
-
constructor(data?: PartialMessage<
|
|
134
|
+
constructor(data?: PartialMessage<ListAgentDispatchRequest>);
|
|
130
135
|
|
|
131
136
|
static readonly runtime: typeof proto3;
|
|
132
|
-
static readonly typeName = "livekit.
|
|
137
|
+
static readonly typeName = "livekit.ListAgentDispatchRequest";
|
|
133
138
|
static readonly fields: FieldList;
|
|
134
139
|
|
|
135
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
140
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListAgentDispatchRequest;
|
|
136
141
|
|
|
137
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
142
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListAgentDispatchRequest;
|
|
138
143
|
|
|
139
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
144
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListAgentDispatchRequest;
|
|
140
145
|
|
|
141
|
-
static equals(a:
|
|
146
|
+
static equals(a: ListAgentDispatchRequest | PlainMessage<ListAgentDispatchRequest> | undefined, b: ListAgentDispatchRequest | PlainMessage<ListAgentDispatchRequest> | undefined): boolean;
|
|
142
147
|
}
|
|
143
148
|
|
|
144
149
|
/**
|
|
@@ -50,14 +50,15 @@ export const DeleteAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
50
50
|
"livekit.DeleteAgentDispatchRequest",
|
|
51
51
|
() => [
|
|
52
52
|
{ no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
53
|
+
{ no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
53
54
|
],
|
|
54
55
|
);
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
* @generated from message livekit.
|
|
58
|
+
* @generated from message livekit.ListAgentDispatchRequest
|
|
58
59
|
*/
|
|
59
|
-
export const
|
|
60
|
-
"livekit.
|
|
60
|
+
export const ListAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
61
|
+
"livekit.ListAgentDispatchRequest",
|
|
61
62
|
() => [
|
|
62
63
|
{ no: 1, name: "dispatch_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
63
64
|
{ no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -170,6 +170,11 @@ export declare class JobState extends Message<JobState> {
|
|
|
170
170
|
*/
|
|
171
171
|
updatedAt: bigint;
|
|
172
172
|
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: string participant_identity = 6;
|
|
175
|
+
*/
|
|
176
|
+
participantIdentity: string;
|
|
177
|
+
|
|
173
178
|
constructor(data?: PartialMessage<JobState>);
|
|
174
179
|
|
|
175
180
|
static readonly runtime: typeof proto3;
|
|
@@ -84,6 +84,7 @@ export const JobState = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
84
84
|
{ no: 3, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
85
85
|
{ no: 4, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
86
86
|
{ no: 5, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
87
|
+
{ no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
87
88
|
],
|
|
88
89
|
);
|
|
89
90
|
|
|
@@ -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 { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
|
|
23
|
+
import type { CreateRoomRequest } from "./livekit_room_pb.js";
|
|
23
24
|
import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
|
|
24
25
|
import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
25
26
|
|
|
@@ -519,6 +520,11 @@ export declare class StartSession extends Message<StartSession> {
|
|
|
519
520
|
*/
|
|
520
521
|
disableIceLite: boolean;
|
|
521
522
|
|
|
523
|
+
/**
|
|
524
|
+
* @generated from field: livekit.CreateRoomRequest create_room = 20;
|
|
525
|
+
*/
|
|
526
|
+
createRoom?: CreateRoomRequest;
|
|
527
|
+
|
|
522
528
|
constructor(data?: PartialMessage<StartSession>);
|
|
523
529
|
|
|
524
530
|
static readonly runtime: typeof proto3;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
21
|
import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
|
|
22
|
+
import { CreateRoomRequest } from "./livekit_room_pb.js";
|
|
22
23
|
import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
|
|
23
24
|
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
24
25
|
|
|
@@ -156,6 +157,7 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
156
157
|
{ no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
157
158
|
{ no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
158
159
|
{ no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
160
|
+
{ no: 20, name: "create_room", kind: "message", T: CreateRoomRequest },
|
|
159
161
|
],
|
|
160
162
|
);
|
|
161
163
|
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file livekit_metrics.proto (package livekit, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* index from [0; 512] are for predefined labels (`MetricLabel`)
|
|
11
|
+
*
|
|
12
|
+
* @generated from enum livekit.MetricLabel
|
|
13
|
+
*/
|
|
14
|
+
export declare enum MetricLabel {
|
|
15
|
+
/**
|
|
16
|
+
* time to first token from LLM
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum value: AGENTS_LLM_TTFT = 0;
|
|
19
|
+
*/
|
|
20
|
+
AGENTS_LLM_TTFT = 0,
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* time to final transcription
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: AGENTS_STT_TTFT = 1;
|
|
26
|
+
*/
|
|
27
|
+
AGENTS_STT_TTFT = 1,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* time to first byte
|
|
31
|
+
*
|
|
32
|
+
* @generated from enum value: AGENTS_TTS_TTFB = 2;
|
|
33
|
+
*/
|
|
34
|
+
AGENTS_TTS_TTFB = 2,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: METRIC_LABEL_MAX_VALUE = 512;
|
|
38
|
+
*/
|
|
39
|
+
METRIC_LABEL_MAX_VALUE = 512,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message livekit.MetricsBatch
|
|
44
|
+
*/
|
|
45
|
+
export declare class MetricsBatch extends Message<MetricsBatch> {
|
|
46
|
+
/**
|
|
47
|
+
* To avoid repeating string values, we store them in a separate list and reference them by index
|
|
48
|
+
* This is useful for storing participant identities, track names, etc.
|
|
49
|
+
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
50
|
+
* They have reserved indices from 0 to 512
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: repeated string str_data = 1;
|
|
53
|
+
*/
|
|
54
|
+
strData: string[];
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: repeated livekit.TimeSeriesMetric time_series = 2;
|
|
58
|
+
*/
|
|
59
|
+
timeSeries: TimeSeriesMetric[];
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: repeated livekit.EventMetric events = 3;
|
|
63
|
+
*/
|
|
64
|
+
events: EventMetric[];
|
|
65
|
+
|
|
66
|
+
constructor(data?: PartialMessage<MetricsBatch>);
|
|
67
|
+
|
|
68
|
+
static readonly runtime: typeof proto3;
|
|
69
|
+
static readonly typeName = "livekit.MetricsBatch";
|
|
70
|
+
static readonly fields: FieldList;
|
|
71
|
+
|
|
72
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsBatch;
|
|
73
|
+
|
|
74
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsBatch;
|
|
75
|
+
|
|
76
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsBatch;
|
|
77
|
+
|
|
78
|
+
static equals(a: MetricsBatch | PlainMessage<MetricsBatch> | undefined, b: MetricsBatch | PlainMessage<MetricsBatch> | undefined): boolean;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from message livekit.TimeSeriesMetric
|
|
83
|
+
*/
|
|
84
|
+
export declare class TimeSeriesMetric extends Message<TimeSeriesMetric> {
|
|
85
|
+
/**
|
|
86
|
+
* Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index
|
|
87
|
+
* in the `str_data` field of `MetricsBatch`
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: uint32 label = 1;
|
|
90
|
+
*/
|
|
91
|
+
label: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: uint32 participant_identity = 2;
|
|
95
|
+
*/
|
|
96
|
+
participantIdentity: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: uint32 track_sid = 3;
|
|
100
|
+
*/
|
|
101
|
+
trackSid: number;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* samples
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: int64 start_timestamp = 4;
|
|
107
|
+
*/
|
|
108
|
+
startTimestamp: bigint;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: int64 end_timestamp = 5;
|
|
112
|
+
*/
|
|
113
|
+
endTimestamp: bigint;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* list of samples between start_timestamp and end_timestamp
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: repeated livekit.MetricSample samples = 6;
|
|
119
|
+
*/
|
|
120
|
+
samples: MetricSample[];
|
|
121
|
+
|
|
122
|
+
constructor(data?: PartialMessage<TimeSeriesMetric>);
|
|
123
|
+
|
|
124
|
+
static readonly runtime: typeof proto3;
|
|
125
|
+
static readonly typeName = "livekit.TimeSeriesMetric";
|
|
126
|
+
static readonly fields: FieldList;
|
|
127
|
+
|
|
128
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeSeriesMetric;
|
|
129
|
+
|
|
130
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeSeriesMetric;
|
|
131
|
+
|
|
132
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeSeriesMetric;
|
|
133
|
+
|
|
134
|
+
static equals(a: TimeSeriesMetric | PlainMessage<TimeSeriesMetric> | undefined, b: TimeSeriesMetric | PlainMessage<TimeSeriesMetric> | undefined): boolean;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from message livekit.MetricSample
|
|
139
|
+
*/
|
|
140
|
+
export declare class MetricSample extends Message<MetricSample> {
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: int64 timestamp = 1;
|
|
143
|
+
*/
|
|
144
|
+
timestamp: bigint;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: float value = 2;
|
|
148
|
+
*/
|
|
149
|
+
value: number;
|
|
150
|
+
|
|
151
|
+
constructor(data?: PartialMessage<MetricSample>);
|
|
152
|
+
|
|
153
|
+
static readonly runtime: typeof proto3;
|
|
154
|
+
static readonly typeName = "livekit.MetricSample";
|
|
155
|
+
static readonly fields: FieldList;
|
|
156
|
+
|
|
157
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricSample;
|
|
158
|
+
|
|
159
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricSample;
|
|
160
|
+
|
|
161
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricSample;
|
|
162
|
+
|
|
163
|
+
static equals(a: MetricSample | PlainMessage<MetricSample> | undefined, b: MetricSample | PlainMessage<MetricSample> | undefined): boolean;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message livekit.EventMetric
|
|
168
|
+
*/
|
|
169
|
+
export declare class EventMetric extends Message<EventMetric> {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: uint32 label = 1;
|
|
172
|
+
*/
|
|
173
|
+
label: number;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: uint32 participant_identity = 2;
|
|
177
|
+
*/
|
|
178
|
+
participantIdentity: number;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* 0 =
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: uint32 track_sid = 3;
|
|
184
|
+
*/
|
|
185
|
+
trackSid: number;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: int64 start_timestamp = 4;
|
|
189
|
+
*/
|
|
190
|
+
startTimestamp: bigint;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: optional int64 end_timestamp = 5;
|
|
194
|
+
*/
|
|
195
|
+
endTimestamp?: bigint;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string metadata = 6;
|
|
199
|
+
*/
|
|
200
|
+
metadata: string;
|
|
201
|
+
|
|
202
|
+
constructor(data?: PartialMessage<EventMetric>);
|
|
203
|
+
|
|
204
|
+
static readonly runtime: typeof proto3;
|
|
205
|
+
static readonly typeName = "livekit.EventMetric";
|
|
206
|
+
static readonly fields: FieldList;
|
|
207
|
+
|
|
208
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EventMetric;
|
|
209
|
+
|
|
210
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EventMetric;
|
|
211
|
+
|
|
212
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EventMetric;
|
|
213
|
+
|
|
214
|
+
static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
|
|
215
|
+
}
|
|
216
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file livekit_metrics.proto (package livekit, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* index from [0; 512] are for predefined labels (`MetricLabel`)
|
|
10
|
+
*
|
|
11
|
+
* @generated from enum livekit.MetricLabel
|
|
12
|
+
*/
|
|
13
|
+
export const MetricLabel = /*@__PURE__*/ proto3.makeEnum(
|
|
14
|
+
"livekit.MetricLabel",
|
|
15
|
+
[
|
|
16
|
+
{no: 0, name: "AGENTS_LLM_TTFT"},
|
|
17
|
+
{no: 1, name: "AGENTS_STT_TTFT"},
|
|
18
|
+
{no: 2, name: "AGENTS_TTS_TTFB"},
|
|
19
|
+
{no: 512, name: "METRIC_LABEL_MAX_VALUE"},
|
|
20
|
+
],
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from message livekit.MetricsBatch
|
|
25
|
+
*/
|
|
26
|
+
export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType(
|
|
27
|
+
"livekit.MetricsBatch",
|
|
28
|
+
() => [
|
|
29
|
+
{ no: 1, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
30
|
+
{ no: 2, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
|
|
31
|
+
{ no: 3, name: "events", kind: "message", T: EventMetric, repeated: true },
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message livekit.TimeSeriesMetric
|
|
37
|
+
*/
|
|
38
|
+
export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
39
|
+
"livekit.TimeSeriesMetric",
|
|
40
|
+
() => [
|
|
41
|
+
{ no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
42
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
43
|
+
{ no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
44
|
+
{ no: 4, name: "start_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
45
|
+
{ no: 5, name: "end_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
46
|
+
{ no: 6, name: "samples", kind: "message", T: MetricSample, repeated: true },
|
|
47
|
+
],
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message livekit.MetricSample
|
|
52
|
+
*/
|
|
53
|
+
export const MetricSample = /*@__PURE__*/ proto3.makeMessageType(
|
|
54
|
+
"livekit.MetricSample",
|
|
55
|
+
() => [
|
|
56
|
+
{ no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
57
|
+
{ no: 2, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
58
|
+
],
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message livekit.EventMetric
|
|
63
|
+
*/
|
|
64
|
+
export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
|
|
65
|
+
"livekit.EventMetric",
|
|
66
|
+
() => [
|
|
67
|
+
{ no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
68
|
+
{ no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
69
|
+
{ no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
70
|
+
{ no: 4, name: "start_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
71
|
+
{ no: 5, name: "end_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
72
|
+
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
],
|
|
74
|
+
);
|
|
75
|
+
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { MetricsBatch } from "./livekit_metrics_pb.js";
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* @generated from enum livekit.AudioCodec
|
|
@@ -581,6 +582,13 @@ export declare class ParticipantPermission extends Message<ParticipantPermission
|
|
|
581
582
|
*/
|
|
582
583
|
agent: boolean;
|
|
583
584
|
|
|
585
|
+
/**
|
|
586
|
+
* if a participant can subscribe to metrics
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: bool can_subscribe_metrics = 12;
|
|
589
|
+
*/
|
|
590
|
+
canSubscribeMetrics: boolean;
|
|
591
|
+
|
|
584
592
|
constructor(data?: PartialMessage<ParticipantPermission>);
|
|
585
593
|
|
|
586
594
|
static readonly runtime: typeof proto3;
|
|
@@ -670,6 +678,11 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
670
678
|
*/
|
|
671
679
|
attributes: { [key: string]: string };
|
|
672
680
|
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: livekit.DisconnectReason disconnect_reason = 16;
|
|
683
|
+
*/
|
|
684
|
+
disconnectReason: DisconnectReason;
|
|
685
|
+
|
|
673
686
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
674
687
|
|
|
675
688
|
static readonly runtime: typeof proto3;
|
|
@@ -1069,6 +1082,12 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1069
1082
|
*/
|
|
1070
1083
|
value: Transcription;
|
|
1071
1084
|
case: "transcription";
|
|
1085
|
+
} | {
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from field: livekit.MetricsBatch metrics = 8;
|
|
1088
|
+
*/
|
|
1089
|
+
value: MetricsBatch;
|
|
1090
|
+
case: "metrics";
|
|
1072
1091
|
} | { case: undefined; value?: undefined };
|
|
1073
1092
|
|
|
1074
1093
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -2004,6 +2023,169 @@ export declare class RTPStats extends Message<RTPStats> {
|
|
|
2004
2023
|
static equals(a: RTPStats | PlainMessage<RTPStats> | undefined, b: RTPStats | PlainMessage<RTPStats> | undefined): boolean;
|
|
2005
2024
|
}
|
|
2006
2025
|
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from message livekit.RTPForwarderState
|
|
2028
|
+
*/
|
|
2029
|
+
export declare class RTPForwarderState extends Message<RTPForwarderState> {
|
|
2030
|
+
/**
|
|
2031
|
+
* @generated from field: bool started = 1;
|
|
2032
|
+
*/
|
|
2033
|
+
started: boolean;
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* @generated from field: int32 reference_layer_spatial = 2;
|
|
2037
|
+
*/
|
|
2038
|
+
referenceLayerSpatial: number;
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from field: int64 pre_start_time = 3;
|
|
2042
|
+
*/
|
|
2043
|
+
preStartTime: bigint;
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* @generated from field: uint64 ext_first_timestamp = 4;
|
|
2047
|
+
*/
|
|
2048
|
+
extFirstTimestamp: bigint;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* @generated from field: uint64 dummy_start_timestamp_offset = 5;
|
|
2052
|
+
*/
|
|
2053
|
+
dummyStartTimestampOffset: bigint;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* @generated from field: livekit.RTPMungerState rtp_munger = 6;
|
|
2057
|
+
*/
|
|
2058
|
+
rtpMunger?: RTPMungerState;
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* @generated from oneof livekit.RTPForwarderState.codec_munger
|
|
2062
|
+
*/
|
|
2063
|
+
codecMunger: {
|
|
2064
|
+
/**
|
|
2065
|
+
* @generated from field: livekit.VP8MungerState vp8_munger = 7;
|
|
2066
|
+
*/
|
|
2067
|
+
value: VP8MungerState;
|
|
2068
|
+
case: "vp8Munger";
|
|
2069
|
+
} | { case: undefined; value?: undefined };
|
|
2070
|
+
|
|
2071
|
+
constructor(data?: PartialMessage<RTPForwarderState>);
|
|
2072
|
+
|
|
2073
|
+
static readonly runtime: typeof proto3;
|
|
2074
|
+
static readonly typeName = "livekit.RTPForwarderState";
|
|
2075
|
+
static readonly fields: FieldList;
|
|
2076
|
+
|
|
2077
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPForwarderState;
|
|
2078
|
+
|
|
2079
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPForwarderState;
|
|
2080
|
+
|
|
2081
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPForwarderState;
|
|
2082
|
+
|
|
2083
|
+
static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* @generated from message livekit.RTPMungerState
|
|
2088
|
+
*/
|
|
2089
|
+
export declare class RTPMungerState extends Message<RTPMungerState> {
|
|
2090
|
+
/**
|
|
2091
|
+
* @generated from field: uint64 ext_last_sequence_number = 1;
|
|
2092
|
+
*/
|
|
2093
|
+
extLastSequenceNumber: bigint;
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* @generated from field: uint64 ext_second_last_sequence_number = 2;
|
|
2097
|
+
*/
|
|
2098
|
+
extSecondLastSequenceNumber: bigint;
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* @generated from field: uint64 ext_last_timestamp = 3;
|
|
2102
|
+
*/
|
|
2103
|
+
extLastTimestamp: bigint;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* @generated from field: uint64 ext_second_last_timestamp = 4;
|
|
2107
|
+
*/
|
|
2108
|
+
extSecondLastTimestamp: bigint;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: bool last_marker = 5;
|
|
2112
|
+
*/
|
|
2113
|
+
lastMarker: boolean;
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* @generated from field: bool second_last_marker = 6;
|
|
2117
|
+
*/
|
|
2118
|
+
secondLastMarker: boolean;
|
|
2119
|
+
|
|
2120
|
+
constructor(data?: PartialMessage<RTPMungerState>);
|
|
2121
|
+
|
|
2122
|
+
static readonly runtime: typeof proto3;
|
|
2123
|
+
static readonly typeName = "livekit.RTPMungerState";
|
|
2124
|
+
static readonly fields: FieldList;
|
|
2125
|
+
|
|
2126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPMungerState;
|
|
2127
|
+
|
|
2128
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPMungerState;
|
|
2129
|
+
|
|
2130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPMungerState;
|
|
2131
|
+
|
|
2132
|
+
static equals(a: RTPMungerState | PlainMessage<RTPMungerState> | undefined, b: RTPMungerState | PlainMessage<RTPMungerState> | undefined): boolean;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from message livekit.VP8MungerState
|
|
2137
|
+
*/
|
|
2138
|
+
export declare class VP8MungerState extends Message<VP8MungerState> {
|
|
2139
|
+
/**
|
|
2140
|
+
* @generated from field: int32 ext_last_picture_id = 1;
|
|
2141
|
+
*/
|
|
2142
|
+
extLastPictureId: number;
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* @generated from field: bool picture_id_used = 2;
|
|
2146
|
+
*/
|
|
2147
|
+
pictureIdUsed: boolean;
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* @generated from field: uint32 last_tl0_pic_idx = 3;
|
|
2151
|
+
*/
|
|
2152
|
+
lastTl0PicIdx: number;
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
* @generated from field: bool tl0_pic_idx_used = 4;
|
|
2156
|
+
*/
|
|
2157
|
+
tl0PicIdxUsed: boolean;
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* @generated from field: bool tid_used = 5;
|
|
2161
|
+
*/
|
|
2162
|
+
tidUsed: boolean;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* @generated from field: uint32 last_key_idx = 6;
|
|
2166
|
+
*/
|
|
2167
|
+
lastKeyIdx: number;
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @generated from field: bool key_idx_used = 7;
|
|
2171
|
+
*/
|
|
2172
|
+
keyIdxUsed: boolean;
|
|
2173
|
+
|
|
2174
|
+
constructor(data?: PartialMessage<VP8MungerState>);
|
|
2175
|
+
|
|
2176
|
+
static readonly runtime: typeof proto3;
|
|
2177
|
+
static readonly typeName = "livekit.VP8MungerState";
|
|
2178
|
+
static readonly fields: FieldList;
|
|
2179
|
+
|
|
2180
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VP8MungerState;
|
|
2181
|
+
|
|
2182
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VP8MungerState;
|
|
2183
|
+
|
|
2184
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VP8MungerState;
|
|
2185
|
+
|
|
2186
|
+
static equals(a: VP8MungerState | PlainMessage<VP8MungerState> | undefined, b: VP8MungerState | PlainMessage<VP8MungerState> | undefined): boolean;
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2007
2189
|
/**
|
|
2008
2190
|
* @generated from message livekit.TimedVersion
|
|
2009
2191
|
*/
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
21
|
+
import { MetricsBatch } from "./livekit_metrics_pb.js";
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* @generated from enum livekit.AudioCodec
|
|
@@ -240,6 +241,7 @@ export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
240
241
|
{ no: 8, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
241
242
|
{ no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
242
243
|
{ no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
244
|
+
{ no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
243
245
|
],
|
|
244
246
|
);
|
|
245
247
|
|
|
@@ -262,6 +264,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
262
264
|
{ no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
263
265
|
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) },
|
|
264
266
|
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
267
|
+
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
265
268
|
],
|
|
266
269
|
);
|
|
267
270
|
|
|
@@ -384,6 +387,7 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
384
387
|
{ no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" },
|
|
385
388
|
{ no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
|
|
386
389
|
{ no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
|
|
390
|
+
{ no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" },
|
|
387
391
|
],
|
|
388
392
|
);
|
|
389
393
|
|
|
@@ -665,6 +669,53 @@ export const RTPStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
665
669
|
],
|
|
666
670
|
);
|
|
667
671
|
|
|
672
|
+
/**
|
|
673
|
+
* @generated from message livekit.RTPForwarderState
|
|
674
|
+
*/
|
|
675
|
+
export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
|
|
676
|
+
"livekit.RTPForwarderState",
|
|
677
|
+
() => [
|
|
678
|
+
{ no: 1, name: "started", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
679
|
+
{ no: 2, name: "reference_layer_spatial", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
680
|
+
{ no: 3, name: "pre_start_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
681
|
+
{ no: 4, name: "ext_first_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
682
|
+
{ no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
683
|
+
{ no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
|
|
684
|
+
{ no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
|
|
685
|
+
],
|
|
686
|
+
);
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* @generated from message livekit.RTPMungerState
|
|
690
|
+
*/
|
|
691
|
+
export const RTPMungerState = /*@__PURE__*/ proto3.makeMessageType(
|
|
692
|
+
"livekit.RTPMungerState",
|
|
693
|
+
() => [
|
|
694
|
+
{ no: 1, name: "ext_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
695
|
+
{ no: 2, name: "ext_second_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
696
|
+
{ no: 3, name: "ext_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
697
|
+
{ no: 4, name: "ext_second_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
698
|
+
{ no: 5, name: "last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
699
|
+
{ no: 6, name: "second_last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
700
|
+
],
|
|
701
|
+
);
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @generated from message livekit.VP8MungerState
|
|
705
|
+
*/
|
|
706
|
+
export const VP8MungerState = /*@__PURE__*/ proto3.makeMessageType(
|
|
707
|
+
"livekit.VP8MungerState",
|
|
708
|
+
() => [
|
|
709
|
+
{ no: 1, name: "ext_last_picture_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
710
|
+
{ no: 2, name: "picture_id_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
711
|
+
{ no: 3, name: "last_tl0_pic_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
712
|
+
{ no: 4, name: "tl0_pic_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
713
|
+
{ no: 5, name: "tid_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
714
|
+
{ no: 6, name: "last_key_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
715
|
+
{ no: 7, name: "key_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
716
|
+
],
|
|
717
|
+
);
|
|
718
|
+
|
|
668
719
|
/**
|
|
669
720
|
* @generated from message livekit.TimedVersion
|
|
670
721
|
*/
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
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";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.SignalTarget
|
|
@@ -401,12 +401,12 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
401
401
|
case: "subscriptionResponse";
|
|
402
402
|
} | {
|
|
403
403
|
/**
|
|
404
|
-
*
|
|
404
|
+
* Response relating to user inititated requests that carry a `request_id`
|
|
405
405
|
*
|
|
406
|
-
* @generated from field: livekit.
|
|
406
|
+
* @generated from field: livekit.RequestResponse request_response = 22;
|
|
407
407
|
*/
|
|
408
|
-
value:
|
|
409
|
-
case: "
|
|
408
|
+
value: RequestResponse;
|
|
409
|
+
case: "requestResponse";
|
|
410
410
|
} | {
|
|
411
411
|
/**
|
|
412
412
|
* notify to the publisher when a published track has been subscribed for the first time
|
|
@@ -713,6 +713,18 @@ export declare class JoinResponse extends Message<JoinResponse> {
|
|
|
713
713
|
*/
|
|
714
714
|
sifTrailer: Uint8Array;
|
|
715
715
|
|
|
716
|
+
/**
|
|
717
|
+
* @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;
|
|
718
|
+
*/
|
|
719
|
+
enabledPublishCodecs: Codec[];
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* when set, client should attempt to establish publish peer connection when joining room to speed up publishing
|
|
723
|
+
*
|
|
724
|
+
* @generated from field: bool fast_publish = 15;
|
|
725
|
+
*/
|
|
726
|
+
fastPublish: boolean;
|
|
727
|
+
|
|
716
728
|
constructor(data?: PartialMessage<JoinResponse>);
|
|
717
729
|
|
|
718
730
|
static readonly runtime: typeof proto3;
|
|
@@ -1905,47 +1917,47 @@ export declare class SubscriptionResponse extends Message<SubscriptionResponse>
|
|
|
1905
1917
|
}
|
|
1906
1918
|
|
|
1907
1919
|
/**
|
|
1908
|
-
* @generated from message livekit.
|
|
1920
|
+
* @generated from message livekit.RequestResponse
|
|
1909
1921
|
*/
|
|
1910
|
-
export declare class
|
|
1922
|
+
export declare class RequestResponse extends Message<RequestResponse> {
|
|
1911
1923
|
/**
|
|
1912
1924
|
* @generated from field: uint32 request_id = 1;
|
|
1913
1925
|
*/
|
|
1914
1926
|
requestId: number;
|
|
1915
1927
|
|
|
1916
1928
|
/**
|
|
1917
|
-
* @generated from field: livekit.
|
|
1929
|
+
* @generated from field: livekit.RequestResponse.Reason reason = 2;
|
|
1918
1930
|
*/
|
|
1919
|
-
reason:
|
|
1931
|
+
reason: RequestResponse_Reason;
|
|
1920
1932
|
|
|
1921
1933
|
/**
|
|
1922
1934
|
* @generated from field: string message = 3;
|
|
1923
1935
|
*/
|
|
1924
1936
|
message: string;
|
|
1925
1937
|
|
|
1926
|
-
constructor(data?: PartialMessage<
|
|
1938
|
+
constructor(data?: PartialMessage<RequestResponse>);
|
|
1927
1939
|
|
|
1928
1940
|
static readonly runtime: typeof proto3;
|
|
1929
|
-
static readonly typeName = "livekit.
|
|
1941
|
+
static readonly typeName = "livekit.RequestResponse";
|
|
1930
1942
|
static readonly fields: FieldList;
|
|
1931
1943
|
|
|
1932
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1944
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestResponse;
|
|
1933
1945
|
|
|
1934
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1946
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestResponse;
|
|
1935
1947
|
|
|
1936
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1948
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestResponse;
|
|
1937
1949
|
|
|
1938
|
-
static equals(a:
|
|
1950
|
+
static equals(a: RequestResponse | PlainMessage<RequestResponse> | undefined, b: RequestResponse | PlainMessage<RequestResponse> | undefined): boolean;
|
|
1939
1951
|
}
|
|
1940
1952
|
|
|
1941
1953
|
/**
|
|
1942
|
-
* @generated from enum livekit.
|
|
1954
|
+
* @generated from enum livekit.RequestResponse.Reason
|
|
1943
1955
|
*/
|
|
1944
|
-
export declare enum
|
|
1956
|
+
export declare enum RequestResponse_Reason {
|
|
1945
1957
|
/**
|
|
1946
|
-
* @generated from enum value:
|
|
1958
|
+
* @generated from enum value: OK = 0;
|
|
1947
1959
|
*/
|
|
1948
|
-
|
|
1960
|
+
OK = 0,
|
|
1949
1961
|
|
|
1950
1962
|
/**
|
|
1951
1963
|
* @generated from enum value: NOT_FOUND = 1;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.SignalTarget
|
|
@@ -106,7 +106,7 @@ 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: "
|
|
109
|
+
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
110
110
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
111
111
|
],
|
|
112
112
|
);
|
|
@@ -188,6 +188,8 @@ export const JoinResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
188
188
|
{ no: 11, name: "ping_interval", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
189
189
|
{ no: 12, name: "server_info", kind: "message", T: ServerInfo },
|
|
190
190
|
{ no: 13, name: "sif_trailer", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
191
|
+
{ no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true },
|
|
192
|
+
{ no: 15, name: "fast_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
191
193
|
],
|
|
192
194
|
);
|
|
193
195
|
|
|
@@ -596,24 +598,24 @@ export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
596
598
|
);
|
|
597
599
|
|
|
598
600
|
/**
|
|
599
|
-
* @generated from message livekit.
|
|
601
|
+
* @generated from message livekit.RequestResponse
|
|
600
602
|
*/
|
|
601
|
-
export const
|
|
602
|
-
"livekit.
|
|
603
|
+
export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
604
|
+
"livekit.RequestResponse",
|
|
603
605
|
() => [
|
|
604
606
|
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
605
|
-
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(
|
|
607
|
+
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
|
|
606
608
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
607
609
|
],
|
|
608
610
|
);
|
|
609
611
|
|
|
610
612
|
/**
|
|
611
|
-
* @generated from enum livekit.
|
|
613
|
+
* @generated from enum livekit.RequestResponse.Reason
|
|
612
614
|
*/
|
|
613
|
-
export const
|
|
614
|
-
"livekit.
|
|
615
|
+
export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
616
|
+
"livekit.RequestResponse.Reason",
|
|
615
617
|
[
|
|
616
|
-
{no: 0, name: "
|
|
618
|
+
{no: 0, name: "OK"},
|
|
617
619
|
{no: 1, name: "NOT_FOUND"},
|
|
618
620
|
{no: 2, name: "NOT_ALLOWED"},
|
|
619
621
|
{no: 3, name: "LIMIT_EXCEEDED"},
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.20.1';
|