@livekit/rtc-node 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +52 -6
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +155 -32
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +219 -55
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
package/src/proto/stats_pb.ts
CHANGED
|
@@ -12,344 +12,24 @@
|
|
|
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
|
|
16
|
-
// @generated from file stats.proto (package livekit.proto, syntax
|
|
15
|
+
// @generated by protoc-gen-es v2.2.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file stats.proto (package livekit.proto, syntax proto2)
|
|
17
17
|
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
18
|
|
|
20
|
-
import type {
|
|
21
|
-
import {
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
20
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
21
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export enum DataChannelState {
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: DC_CONNECTING = 0;
|
|
29
|
-
*/
|
|
30
|
-
DC_CONNECTING = 0,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @generated from enum value: DC_OPEN = 1;
|
|
34
|
-
*/
|
|
35
|
-
DC_OPEN = 1,
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @generated from enum value: DC_CLOSING = 2;
|
|
39
|
-
*/
|
|
40
|
-
DC_CLOSING = 2,
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @generated from enum value: DC_CLOSED = 3;
|
|
44
|
-
*/
|
|
45
|
-
DC_CLOSED = 3,
|
|
46
|
-
}
|
|
47
|
-
// Retrieve enum metadata with: proto3.getEnumType(DataChannelState)
|
|
48
|
-
proto3.util.setEnumType(DataChannelState, "livekit.proto.DataChannelState", [
|
|
49
|
-
{ no: 0, name: "DC_CONNECTING" },
|
|
50
|
-
{ no: 1, name: "DC_OPEN" },
|
|
51
|
-
{ no: 2, name: "DC_CLOSING" },
|
|
52
|
-
{ no: 3, name: "DC_CLOSED" },
|
|
53
|
-
]);
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum livekit.proto.QualityLimitationReason
|
|
57
|
-
*/
|
|
58
|
-
export enum QualityLimitationReason {
|
|
59
|
-
/**
|
|
60
|
-
* @generated from enum value: LIMITATION_NONE = 0;
|
|
61
|
-
*/
|
|
62
|
-
LIMITATION_NONE = 0,
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @generated from enum value: LIMITATION_CPU = 1;
|
|
66
|
-
*/
|
|
67
|
-
LIMITATION_CPU = 1,
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum value: LIMITATION_BANDWIDTH = 2;
|
|
71
|
-
*/
|
|
72
|
-
LIMITATION_BANDWIDTH = 2,
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @generated from enum value: LIMITATION_OTHER = 3;
|
|
76
|
-
*/
|
|
77
|
-
LIMITATION_OTHER = 3,
|
|
78
|
-
}
|
|
79
|
-
// Retrieve enum metadata with: proto3.getEnumType(QualityLimitationReason)
|
|
80
|
-
proto3.util.setEnumType(QualityLimitationReason, "livekit.proto.QualityLimitationReason", [
|
|
81
|
-
{ no: 0, name: "LIMITATION_NONE" },
|
|
82
|
-
{ no: 1, name: "LIMITATION_CPU" },
|
|
83
|
-
{ no: 2, name: "LIMITATION_BANDWIDTH" },
|
|
84
|
-
{ no: 3, name: "LIMITATION_OTHER" },
|
|
85
|
-
]);
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @generated from enum livekit.proto.IceRole
|
|
24
|
+
* Describes the file stats.proto.
|
|
89
25
|
*/
|
|
90
|
-
export
|
|
91
|
-
/**
|
|
92
|
-
* @generated from enum value: ICE_UNKNOWN = 0;
|
|
93
|
-
*/
|
|
94
|
-
ICE_UNKNOWN = 0,
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @generated from enum value: ICE_CONTROLLING = 1;
|
|
98
|
-
*/
|
|
99
|
-
ICE_CONTROLLING = 1,
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @generated from enum value: ICE_CONTROLLED = 2;
|
|
103
|
-
*/
|
|
104
|
-
ICE_CONTROLLED = 2,
|
|
105
|
-
}
|
|
106
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceRole)
|
|
107
|
-
proto3.util.setEnumType(IceRole, "livekit.proto.IceRole", [
|
|
108
|
-
{ no: 0, name: "ICE_UNKNOWN" },
|
|
109
|
-
{ no: 1, name: "ICE_CONTROLLING" },
|
|
110
|
-
{ no: 2, name: "ICE_CONTROLLED" },
|
|
111
|
-
]);
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @generated from enum livekit.proto.DtlsTransportState
|
|
115
|
-
*/
|
|
116
|
-
export enum DtlsTransportState {
|
|
117
|
-
/**
|
|
118
|
-
* @generated from enum value: DTLS_TRANSPORT_NEW = 0;
|
|
119
|
-
*/
|
|
120
|
-
DTLS_TRANSPORT_NEW = 0,
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1;
|
|
124
|
-
*/
|
|
125
|
-
DTLS_TRANSPORT_CONNECTING = 1,
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2;
|
|
129
|
-
*/
|
|
130
|
-
DTLS_TRANSPORT_CONNECTED = 2,
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from enum value: DTLS_TRANSPORT_CLOSED = 3;
|
|
134
|
-
*/
|
|
135
|
-
DTLS_TRANSPORT_CLOSED = 3,
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
|
|
139
|
-
*/
|
|
140
|
-
DTLS_TRANSPORT_FAILED = 4,
|
|
141
|
-
}
|
|
142
|
-
// Retrieve enum metadata with: proto3.getEnumType(DtlsTransportState)
|
|
143
|
-
proto3.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransportState", [
|
|
144
|
-
{ no: 0, name: "DTLS_TRANSPORT_NEW" },
|
|
145
|
-
{ no: 1, name: "DTLS_TRANSPORT_CONNECTING" },
|
|
146
|
-
{ no: 2, name: "DTLS_TRANSPORT_CONNECTED" },
|
|
147
|
-
{ no: 3, name: "DTLS_TRANSPORT_CLOSED" },
|
|
148
|
-
{ no: 4, name: "DTLS_TRANSPORT_FAILED" },
|
|
149
|
-
]);
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @generated from enum livekit.proto.IceTransportState
|
|
153
|
-
*/
|
|
154
|
-
export enum IceTransportState {
|
|
155
|
-
/**
|
|
156
|
-
* @generated from enum value: ICE_TRANSPORT_NEW = 0;
|
|
157
|
-
*/
|
|
158
|
-
ICE_TRANSPORT_NEW = 0,
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @generated from enum value: ICE_TRANSPORT_CHECKING = 1;
|
|
162
|
-
*/
|
|
163
|
-
ICE_TRANSPORT_CHECKING = 1,
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* @generated from enum value: ICE_TRANSPORT_CONNECTED = 2;
|
|
167
|
-
*/
|
|
168
|
-
ICE_TRANSPORT_CONNECTED = 2,
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* @generated from enum value: ICE_TRANSPORT_COMPLETED = 3;
|
|
172
|
-
*/
|
|
173
|
-
ICE_TRANSPORT_COMPLETED = 3,
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4;
|
|
177
|
-
*/
|
|
178
|
-
ICE_TRANSPORT_DISCONNECTED = 4,
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* @generated from enum value: ICE_TRANSPORT_FAILED = 5;
|
|
182
|
-
*/
|
|
183
|
-
ICE_TRANSPORT_FAILED = 5,
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
|
|
187
|
-
*/
|
|
188
|
-
ICE_TRANSPORT_CLOSED = 6,
|
|
189
|
-
}
|
|
190
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceTransportState)
|
|
191
|
-
proto3.util.setEnumType(IceTransportState, "livekit.proto.IceTransportState", [
|
|
192
|
-
{ no: 0, name: "ICE_TRANSPORT_NEW" },
|
|
193
|
-
{ no: 1, name: "ICE_TRANSPORT_CHECKING" },
|
|
194
|
-
{ no: 2, name: "ICE_TRANSPORT_CONNECTED" },
|
|
195
|
-
{ no: 3, name: "ICE_TRANSPORT_COMPLETED" },
|
|
196
|
-
{ no: 4, name: "ICE_TRANSPORT_DISCONNECTED" },
|
|
197
|
-
{ no: 5, name: "ICE_TRANSPORT_FAILED" },
|
|
198
|
-
{ no: 6, name: "ICE_TRANSPORT_CLOSED" },
|
|
199
|
-
]);
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @generated from enum livekit.proto.DtlsRole
|
|
203
|
-
*/
|
|
204
|
-
export enum DtlsRole {
|
|
205
|
-
/**
|
|
206
|
-
* @generated from enum value: DTLS_CLIENT = 0;
|
|
207
|
-
*/
|
|
208
|
-
DTLS_CLIENT = 0,
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* @generated from enum value: DTLS_SERVER = 1;
|
|
212
|
-
*/
|
|
213
|
-
DTLS_SERVER = 1,
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @generated from enum value: DTLS_UNKNOWN = 2;
|
|
217
|
-
*/
|
|
218
|
-
DTLS_UNKNOWN = 2,
|
|
219
|
-
}
|
|
220
|
-
// Retrieve enum metadata with: proto3.getEnumType(DtlsRole)
|
|
221
|
-
proto3.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
|
|
222
|
-
{ no: 0, name: "DTLS_CLIENT" },
|
|
223
|
-
{ no: 1, name: "DTLS_SERVER" },
|
|
224
|
-
{ no: 2, name: "DTLS_UNKNOWN" },
|
|
225
|
-
]);
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* @generated from enum livekit.proto.IceCandidatePairState
|
|
229
|
-
*/
|
|
230
|
-
export enum IceCandidatePairState {
|
|
231
|
-
/**
|
|
232
|
-
* @generated from enum value: PAIR_FROZEN = 0;
|
|
233
|
-
*/
|
|
234
|
-
PAIR_FROZEN = 0,
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @generated from enum value: PAIR_WAITING = 1;
|
|
238
|
-
*/
|
|
239
|
-
PAIR_WAITING = 1,
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @generated from enum value: PAIR_IN_PROGRESS = 2;
|
|
243
|
-
*/
|
|
244
|
-
PAIR_IN_PROGRESS = 2,
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @generated from enum value: PAIR_FAILED = 3;
|
|
248
|
-
*/
|
|
249
|
-
PAIR_FAILED = 3,
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* @generated from enum value: PAIR_SUCCEEDED = 4;
|
|
253
|
-
*/
|
|
254
|
-
PAIR_SUCCEEDED = 4,
|
|
255
|
-
}
|
|
256
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceCandidatePairState)
|
|
257
|
-
proto3.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCandidatePairState", [
|
|
258
|
-
{ no: 0, name: "PAIR_FROZEN" },
|
|
259
|
-
{ no: 1, name: "PAIR_WAITING" },
|
|
260
|
-
{ no: 2, name: "PAIR_IN_PROGRESS" },
|
|
261
|
-
{ no: 3, name: "PAIR_FAILED" },
|
|
262
|
-
{ no: 4, name: "PAIR_SUCCEEDED" },
|
|
263
|
-
]);
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* @generated from enum livekit.proto.IceCandidateType
|
|
267
|
-
*/
|
|
268
|
-
export enum IceCandidateType {
|
|
269
|
-
/**
|
|
270
|
-
* @generated from enum value: HOST = 0;
|
|
271
|
-
*/
|
|
272
|
-
HOST = 0,
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* @generated from enum value: SRFLX = 1;
|
|
276
|
-
*/
|
|
277
|
-
SRFLX = 1,
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @generated from enum value: PRFLX = 2;
|
|
281
|
-
*/
|
|
282
|
-
PRFLX = 2,
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @generated from enum value: RELAY = 3;
|
|
286
|
-
*/
|
|
287
|
-
RELAY = 3,
|
|
288
|
-
}
|
|
289
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceCandidateType)
|
|
290
|
-
proto3.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidateType", [
|
|
291
|
-
{ no: 0, name: "HOST" },
|
|
292
|
-
{ no: 1, name: "SRFLX" },
|
|
293
|
-
{ no: 2, name: "PRFLX" },
|
|
294
|
-
{ no: 3, name: "RELAY" },
|
|
295
|
-
]);
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* @generated from enum livekit.proto.IceServerTransportProtocol
|
|
299
|
-
*/
|
|
300
|
-
export enum IceServerTransportProtocol {
|
|
301
|
-
/**
|
|
302
|
-
* @generated from enum value: TRANSPORT_UDP = 0;
|
|
303
|
-
*/
|
|
304
|
-
TRANSPORT_UDP = 0,
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @generated from enum value: TRANSPORT_TCP = 1;
|
|
308
|
-
*/
|
|
309
|
-
TRANSPORT_TCP = 1,
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* @generated from enum value: TRANSPORT_TLS = 2;
|
|
313
|
-
*/
|
|
314
|
-
TRANSPORT_TLS = 2,
|
|
315
|
-
}
|
|
316
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceServerTransportProtocol)
|
|
317
|
-
proto3.util.setEnumType(IceServerTransportProtocol, "livekit.proto.IceServerTransportProtocol", [
|
|
318
|
-
{ no: 0, name: "TRANSPORT_UDP" },
|
|
319
|
-
{ no: 1, name: "TRANSPORT_TCP" },
|
|
320
|
-
{ no: 2, name: "TRANSPORT_TLS" },
|
|
321
|
-
]);
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* @generated from enum livekit.proto.IceTcpCandidateType
|
|
325
|
-
*/
|
|
326
|
-
export enum IceTcpCandidateType {
|
|
327
|
-
/**
|
|
328
|
-
* @generated from enum value: CANDIDATE_ACTIVE = 0;
|
|
329
|
-
*/
|
|
330
|
-
CANDIDATE_ACTIVE = 0,
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* @generated from enum value: CANDIDATE_PASSIVE = 1;
|
|
334
|
-
*/
|
|
335
|
-
CANDIDATE_PASSIVE = 1,
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* @generated from enum value: CANDIDATE_SO = 2;
|
|
339
|
-
*/
|
|
340
|
-
CANDIDATE_SO = 2,
|
|
341
|
-
}
|
|
342
|
-
// Retrieve enum metadata with: proto3.getEnumType(IceTcpCandidateType)
|
|
343
|
-
proto3.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCandidateType", [
|
|
344
|
-
{ no: 0, name: "CANDIDATE_ACTIVE" },
|
|
345
|
-
{ no: 1, name: "CANDIDATE_PASSIVE" },
|
|
346
|
-
{ no: 2, name: "CANDIDATE_SO" },
|
|
347
|
-
]);
|
|
26
|
+
export const file_stats: GenFile = /*@__PURE__*/
|
|
27
|
+
fileDesc("CgtzdGF0cy5wcm90bxINbGl2ZWtpdC5wcm90byLZFwoIUnRjU3RhdHMSLgoFY29kZWMYAyABKAsyHS5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkNvZGVjSAASOQoLaW5ib3VuZF9ydHAYBCABKAsyIi5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLkluYm91bmRSdHBIABI7CgxvdXRib3VuZF9ydHAYBSABKAsyIy5saXZla2l0LnByb3RvLlJ0Y1N0YXRzLk91dGJvdW5kUnRwSAASRgoScmVtb3RlX2luYm91bmRfcnRwGAYgASgLMigubGl2ZWtpdC5wcm90by5SdGNTdGF0cy5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T1NUEAASCQoFU1JGTFgQARIJCgVQUkZMWBACEgkKBVJFTEFZEAMqVQoaSWNlU2VydmVyVHJhbnNwb3J0UHJvdG9jb2wSEQoNVFJBTlNQT1JUX1VEUBAAEhEKDVRSQU5TUE9SVF9UQ1AQARIRCg1UUkFOU1BPUlRfVExTEAIqVAoTSWNlVGNwQ2FuZGlkYXRlVHlwZRIUChBDQU5ESURBVEVfQUNUSVZFEAASFQoRQ0FORElEQVRFX1BBU1NJVkUQARIQCgxDQU5ESURBVEVfU08QAkIQqgINTGl2ZUtpdC5Qcm90bw");
|
|
348
28
|
|
|
349
29
|
/**
|
|
350
30
|
* @generated from message livekit.proto.RtcStats
|
|
351
31
|
*/
|
|
352
|
-
export
|
|
32
|
+
export type RtcStats = Message<"livekit.proto.RtcStats"> & {
|
|
353
33
|
/**
|
|
354
34
|
* @generated from oneof livekit.proto.RtcStats.stats
|
|
355
35
|
*/
|
|
@@ -443,2513 +123,1914 @@ export class RtcStats extends Message<RtcStats> {
|
|
|
443
123
|
*/
|
|
444
124
|
value: RtcStats_Track;
|
|
445
125
|
case: "track";
|
|
446
|
-
} | { case: undefined; value?: undefined }
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
456
|
-
{ no: 3, name: "codec", kind: "message", T: RtcStats_Codec, oneof: "stats" },
|
|
457
|
-
{ no: 4, name: "inbound_rtp", kind: "message", T: RtcStats_InboundRtp, oneof: "stats" },
|
|
458
|
-
{ no: 5, name: "outbound_rtp", kind: "message", T: RtcStats_OutboundRtp, oneof: "stats" },
|
|
459
|
-
{ no: 6, name: "remote_inbound_rtp", kind: "message", T: RtcStats_RemoteInboundRtp, oneof: "stats" },
|
|
460
|
-
{ no: 7, name: "remote_outbound_rtp", kind: "message", T: RtcStats_RemoteOutboundRtp, oneof: "stats" },
|
|
461
|
-
{ no: 8, name: "media_source", kind: "message", T: RtcStats_MediaSource, oneof: "stats" },
|
|
462
|
-
{ no: 9, name: "media_playout", kind: "message", T: RtcStats_MediaPlayout, oneof: "stats" },
|
|
463
|
-
{ no: 10, name: "peer_connection", kind: "message", T: RtcStats_PeerConnection, oneof: "stats" },
|
|
464
|
-
{ no: 11, name: "data_channel", kind: "message", T: RtcStats_DataChannel, oneof: "stats" },
|
|
465
|
-
{ no: 12, name: "transport", kind: "message", T: RtcStats_Transport, oneof: "stats" },
|
|
466
|
-
{ no: 13, name: "candidate_pair", kind: "message", T: RtcStats_CandidatePair, oneof: "stats" },
|
|
467
|
-
{ no: 14, name: "local_candidate", kind: "message", T: RtcStats_LocalCandidate, oneof: "stats" },
|
|
468
|
-
{ no: 15, name: "remote_candidate", kind: "message", T: RtcStats_RemoteCandidate, oneof: "stats" },
|
|
469
|
-
{ no: 16, name: "certificate", kind: "message", T: RtcStats_Certificate, oneof: "stats" },
|
|
470
|
-
{ no: 17, name: "track", kind: "message", T: RtcStats_Track, oneof: "stats" },
|
|
471
|
-
]);
|
|
472
|
-
|
|
473
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats {
|
|
474
|
-
return new RtcStats().fromBinary(bytes, options);
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats {
|
|
478
|
-
return new RtcStats().fromJson(jsonValue, options);
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats {
|
|
482
|
-
return new RtcStats().fromJsonString(jsonString, options);
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
static equals(a: RtcStats | PlainMessage<RtcStats> | undefined, b: RtcStats | PlainMessage<RtcStats> | undefined): boolean {
|
|
486
|
-
return proto3.util.equals(RtcStats, a, b);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
126
|
+
} | { case: undefined; value?: undefined };
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message livekit.proto.RtcStats.
|
|
131
|
+
* Use `create(RtcStatsSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const RtcStatsSchema: GenMessage<RtcStats> = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_stats, 0);
|
|
489
135
|
|
|
490
136
|
/**
|
|
491
137
|
* @generated from message livekit.proto.RtcStats.Codec
|
|
492
138
|
*/
|
|
493
|
-
export
|
|
139
|
+
export type RtcStats_Codec = Message<"livekit.proto.RtcStats.Codec"> & {
|
|
494
140
|
/**
|
|
495
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
141
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
496
142
|
*/
|
|
497
143
|
rtc?: RtcStatsData;
|
|
498
144
|
|
|
499
145
|
/**
|
|
500
|
-
* @generated from field: livekit.proto.CodecStats codec = 2;
|
|
146
|
+
* @generated from field: required livekit.proto.CodecStats codec = 2;
|
|
501
147
|
*/
|
|
502
148
|
codec?: CodecStats;
|
|
149
|
+
};
|
|
503
150
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
static readonly typeName = "livekit.proto.RtcStats.Codec";
|
|
511
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
512
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
513
|
-
{ no: 2, name: "codec", kind: "message", T: CodecStats },
|
|
514
|
-
]);
|
|
515
|
-
|
|
516
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Codec {
|
|
517
|
-
return new RtcStats_Codec().fromBinary(bytes, options);
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Codec {
|
|
521
|
-
return new RtcStats_Codec().fromJson(jsonValue, options);
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Codec {
|
|
525
|
-
return new RtcStats_Codec().fromJsonString(jsonString, options);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
static equals(a: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined, b: RtcStats_Codec | PlainMessage<RtcStats_Codec> | undefined): boolean {
|
|
529
|
-
return proto3.util.equals(RtcStats_Codec, a, b);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message livekit.proto.RtcStats.Codec.
|
|
153
|
+
* Use `create(RtcStats_CodecSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const RtcStats_CodecSchema: GenMessage<RtcStats_Codec> = /*@__PURE__*/
|
|
156
|
+
messageDesc(file_stats, 0, 0);
|
|
532
157
|
|
|
533
158
|
/**
|
|
534
159
|
* @generated from message livekit.proto.RtcStats.InboundRtp
|
|
535
160
|
*/
|
|
536
|
-
export
|
|
161
|
+
export type RtcStats_InboundRtp = Message<"livekit.proto.RtcStats.InboundRtp"> & {
|
|
537
162
|
/**
|
|
538
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
163
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
539
164
|
*/
|
|
540
165
|
rtc?: RtcStatsData;
|
|
541
166
|
|
|
542
167
|
/**
|
|
543
|
-
* @generated from field: livekit.proto.RtpStreamStats stream = 2;
|
|
168
|
+
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
544
169
|
*/
|
|
545
170
|
stream?: RtpStreamStats;
|
|
546
171
|
|
|
547
172
|
/**
|
|
548
|
-
* @generated from field: livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
173
|
+
* @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
549
174
|
*/
|
|
550
175
|
received?: ReceivedRtpStreamStats;
|
|
551
176
|
|
|
552
177
|
/**
|
|
553
|
-
* @generated from field: livekit.proto.InboundRtpStreamStats inbound = 4;
|
|
178
|
+
* @generated from field: required livekit.proto.InboundRtpStreamStats inbound = 4;
|
|
554
179
|
*/
|
|
555
180
|
inbound?: InboundRtpStreamStats;
|
|
181
|
+
};
|
|
556
182
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
static readonly typeName = "livekit.proto.RtcStats.InboundRtp";
|
|
564
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
565
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
566
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
567
|
-
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
|
|
568
|
-
{ no: 4, name: "inbound", kind: "message", T: InboundRtpStreamStats },
|
|
569
|
-
]);
|
|
570
|
-
|
|
571
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_InboundRtp {
|
|
572
|
-
return new RtcStats_InboundRtp().fromBinary(bytes, options);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp {
|
|
576
|
-
return new RtcStats_InboundRtp().fromJson(jsonValue, options);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_InboundRtp {
|
|
580
|
-
return new RtcStats_InboundRtp().fromJsonString(jsonString, options);
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
static equals(a: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined, b: RtcStats_InboundRtp | PlainMessage<RtcStats_InboundRtp> | undefined): boolean {
|
|
584
|
-
return proto3.util.equals(RtcStats_InboundRtp, a, b);
|
|
585
|
-
}
|
|
586
|
-
}
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message livekit.proto.RtcStats.InboundRtp.
|
|
185
|
+
* Use `create(RtcStats_InboundRtpSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export const RtcStats_InboundRtpSchema: GenMessage<RtcStats_InboundRtp> = /*@__PURE__*/
|
|
188
|
+
messageDesc(file_stats, 0, 1);
|
|
587
189
|
|
|
588
190
|
/**
|
|
589
191
|
* @generated from message livekit.proto.RtcStats.OutboundRtp
|
|
590
192
|
*/
|
|
591
|
-
export
|
|
193
|
+
export type RtcStats_OutboundRtp = Message<"livekit.proto.RtcStats.OutboundRtp"> & {
|
|
592
194
|
/**
|
|
593
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
195
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
594
196
|
*/
|
|
595
197
|
rtc?: RtcStatsData;
|
|
596
198
|
|
|
597
199
|
/**
|
|
598
|
-
* @generated from field: livekit.proto.RtpStreamStats stream = 2;
|
|
200
|
+
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
599
201
|
*/
|
|
600
202
|
stream?: RtpStreamStats;
|
|
601
203
|
|
|
602
204
|
/**
|
|
603
|
-
* @generated from field: livekit.proto.SentRtpStreamStats sent = 3;
|
|
205
|
+
* @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
|
|
604
206
|
*/
|
|
605
207
|
sent?: SentRtpStreamStats;
|
|
606
208
|
|
|
607
209
|
/**
|
|
608
|
-
* @generated from field: livekit.proto.OutboundRtpStreamStats outbound = 4;
|
|
210
|
+
* @generated from field: required livekit.proto.OutboundRtpStreamStats outbound = 4;
|
|
609
211
|
*/
|
|
610
212
|
outbound?: OutboundRtpStreamStats;
|
|
213
|
+
};
|
|
611
214
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
static readonly typeName = "livekit.proto.RtcStats.OutboundRtp";
|
|
619
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
620
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
621
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
622
|
-
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
|
|
623
|
-
{ no: 4, name: "outbound", kind: "message", T: OutboundRtpStreamStats },
|
|
624
|
-
]);
|
|
625
|
-
|
|
626
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_OutboundRtp {
|
|
627
|
-
return new RtcStats_OutboundRtp().fromBinary(bytes, options);
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp {
|
|
631
|
-
return new RtcStats_OutboundRtp().fromJson(jsonValue, options);
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_OutboundRtp {
|
|
635
|
-
return new RtcStats_OutboundRtp().fromJsonString(jsonString, options);
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
static equals(a: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined, b: RtcStats_OutboundRtp | PlainMessage<RtcStats_OutboundRtp> | undefined): boolean {
|
|
639
|
-
return proto3.util.equals(RtcStats_OutboundRtp, a, b);
|
|
640
|
-
}
|
|
641
|
-
}
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message livekit.proto.RtcStats.OutboundRtp.
|
|
217
|
+
* Use `create(RtcStats_OutboundRtpSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export const RtcStats_OutboundRtpSchema: GenMessage<RtcStats_OutboundRtp> = /*@__PURE__*/
|
|
220
|
+
messageDesc(file_stats, 0, 2);
|
|
642
221
|
|
|
643
222
|
/**
|
|
644
223
|
* @generated from message livekit.proto.RtcStats.RemoteInboundRtp
|
|
645
224
|
*/
|
|
646
|
-
export
|
|
225
|
+
export type RtcStats_RemoteInboundRtp = Message<"livekit.proto.RtcStats.RemoteInboundRtp"> & {
|
|
647
226
|
/**
|
|
648
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
227
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
649
228
|
*/
|
|
650
229
|
rtc?: RtcStatsData;
|
|
651
230
|
|
|
652
231
|
/**
|
|
653
|
-
* @generated from field: livekit.proto.RtpStreamStats stream = 2;
|
|
232
|
+
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
654
233
|
*/
|
|
655
234
|
stream?: RtpStreamStats;
|
|
656
235
|
|
|
657
236
|
/**
|
|
658
|
-
* @generated from field: livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
237
|
+
* @generated from field: required livekit.proto.ReceivedRtpStreamStats received = 3;
|
|
659
238
|
*/
|
|
660
239
|
received?: ReceivedRtpStreamStats;
|
|
661
240
|
|
|
662
241
|
/**
|
|
663
|
-
* @generated from field: livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4;
|
|
242
|
+
* @generated from field: required livekit.proto.RemoteInboundRtpStreamStats remote_inbound = 4;
|
|
664
243
|
*/
|
|
665
244
|
remoteInbound?: RemoteInboundRtpStreamStats;
|
|
245
|
+
};
|
|
666
246
|
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
|
|
674
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
675
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
676
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
677
|
-
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
|
|
678
|
-
{ no: 4, name: "remote_inbound", kind: "message", T: RemoteInboundRtpStreamStats },
|
|
679
|
-
]);
|
|
680
|
-
|
|
681
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteInboundRtp {
|
|
682
|
-
return new RtcStats_RemoteInboundRtp().fromBinary(bytes, options);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp {
|
|
686
|
-
return new RtcStats_RemoteInboundRtp().fromJson(jsonValue, options);
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteInboundRtp {
|
|
690
|
-
return new RtcStats_RemoteInboundRtp().fromJsonString(jsonString, options);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
static equals(a: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined, b: RtcStats_RemoteInboundRtp | PlainMessage<RtcStats_RemoteInboundRtp> | undefined): boolean {
|
|
694
|
-
return proto3.util.equals(RtcStats_RemoteInboundRtp, a, b);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
247
|
+
/**
|
|
248
|
+
* Describes the message livekit.proto.RtcStats.RemoteInboundRtp.
|
|
249
|
+
* Use `create(RtcStats_RemoteInboundRtpSchema)` to create a new message.
|
|
250
|
+
*/
|
|
251
|
+
export const RtcStats_RemoteInboundRtpSchema: GenMessage<RtcStats_RemoteInboundRtp> = /*@__PURE__*/
|
|
252
|
+
messageDesc(file_stats, 0, 3);
|
|
697
253
|
|
|
698
254
|
/**
|
|
699
255
|
* @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
|
|
700
256
|
*/
|
|
701
|
-
export
|
|
257
|
+
export type RtcStats_RemoteOutboundRtp = Message<"livekit.proto.RtcStats.RemoteOutboundRtp"> & {
|
|
702
258
|
/**
|
|
703
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
259
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
704
260
|
*/
|
|
705
261
|
rtc?: RtcStatsData;
|
|
706
262
|
|
|
707
263
|
/**
|
|
708
|
-
* @generated from field: livekit.proto.RtpStreamStats stream = 2;
|
|
264
|
+
* @generated from field: required livekit.proto.RtpStreamStats stream = 2;
|
|
709
265
|
*/
|
|
710
266
|
stream?: RtpStreamStats;
|
|
711
267
|
|
|
712
268
|
/**
|
|
713
|
-
* @generated from field: livekit.proto.SentRtpStreamStats sent = 3;
|
|
269
|
+
* @generated from field: required livekit.proto.SentRtpStreamStats sent = 3;
|
|
714
270
|
*/
|
|
715
271
|
sent?: SentRtpStreamStats;
|
|
716
272
|
|
|
717
273
|
/**
|
|
718
|
-
* @generated from field: livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4;
|
|
274
|
+
* @generated from field: required livekit.proto.RemoteOutboundRtpStreamStats remote_outbound = 4;
|
|
719
275
|
*/
|
|
720
276
|
remoteOutbound?: RemoteOutboundRtpStreamStats;
|
|
277
|
+
};
|
|
721
278
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
|
|
729
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
730
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
731
|
-
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
732
|
-
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
|
|
733
|
-
{ no: 4, name: "remote_outbound", kind: "message", T: RemoteOutboundRtpStreamStats },
|
|
734
|
-
]);
|
|
735
|
-
|
|
736
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
737
|
-
return new RtcStats_RemoteOutboundRtp().fromBinary(bytes, options);
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
741
|
-
return new RtcStats_RemoteOutboundRtp().fromJson(jsonValue, options);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteOutboundRtp {
|
|
745
|
-
return new RtcStats_RemoteOutboundRtp().fromJsonString(jsonString, options);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
static equals(a: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined, b: RtcStats_RemoteOutboundRtp | PlainMessage<RtcStats_RemoteOutboundRtp> | undefined): boolean {
|
|
749
|
-
return proto3.util.equals(RtcStats_RemoteOutboundRtp, a, b);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message livekit.proto.RtcStats.RemoteOutboundRtp.
|
|
281
|
+
* Use `create(RtcStats_RemoteOutboundRtpSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export const RtcStats_RemoteOutboundRtpSchema: GenMessage<RtcStats_RemoteOutboundRtp> = /*@__PURE__*/
|
|
284
|
+
messageDesc(file_stats, 0, 4);
|
|
752
285
|
|
|
753
286
|
/**
|
|
754
287
|
* @generated from message livekit.proto.RtcStats.MediaSource
|
|
755
288
|
*/
|
|
756
|
-
export
|
|
289
|
+
export type RtcStats_MediaSource = Message<"livekit.proto.RtcStats.MediaSource"> & {
|
|
757
290
|
/**
|
|
758
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
291
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
759
292
|
*/
|
|
760
293
|
rtc?: RtcStatsData;
|
|
761
294
|
|
|
762
295
|
/**
|
|
763
|
-
* @generated from field: livekit.proto.MediaSourceStats source = 2;
|
|
296
|
+
* @generated from field: required livekit.proto.MediaSourceStats source = 2;
|
|
764
297
|
*/
|
|
765
298
|
source?: MediaSourceStats;
|
|
766
299
|
|
|
767
300
|
/**
|
|
768
|
-
* @generated from field: livekit.proto.AudioSourceStats audio = 3;
|
|
301
|
+
* @generated from field: required livekit.proto.AudioSourceStats audio = 3;
|
|
769
302
|
*/
|
|
770
303
|
audio?: AudioSourceStats;
|
|
771
304
|
|
|
772
305
|
/**
|
|
773
|
-
* @generated from field: livekit.proto.VideoSourceStats video = 4;
|
|
306
|
+
* @generated from field: required livekit.proto.VideoSourceStats video = 4;
|
|
774
307
|
*/
|
|
775
308
|
video?: VideoSourceStats;
|
|
309
|
+
};
|
|
776
310
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
static readonly typeName = "livekit.proto.RtcStats.MediaSource";
|
|
784
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
785
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
786
|
-
{ no: 2, name: "source", kind: "message", T: MediaSourceStats },
|
|
787
|
-
{ no: 3, name: "audio", kind: "message", T: AudioSourceStats },
|
|
788
|
-
{ no: 4, name: "video", kind: "message", T: VideoSourceStats },
|
|
789
|
-
]);
|
|
790
|
-
|
|
791
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaSource {
|
|
792
|
-
return new RtcStats_MediaSource().fromBinary(bytes, options);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaSource {
|
|
796
|
-
return new RtcStats_MediaSource().fromJson(jsonValue, options);
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaSource {
|
|
800
|
-
return new RtcStats_MediaSource().fromJsonString(jsonString, options);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
static equals(a: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined, b: RtcStats_MediaSource | PlainMessage<RtcStats_MediaSource> | undefined): boolean {
|
|
804
|
-
return proto3.util.equals(RtcStats_MediaSource, a, b);
|
|
805
|
-
}
|
|
806
|
-
}
|
|
311
|
+
/**
|
|
312
|
+
* Describes the message livekit.proto.RtcStats.MediaSource.
|
|
313
|
+
* Use `create(RtcStats_MediaSourceSchema)` to create a new message.
|
|
314
|
+
*/
|
|
315
|
+
export const RtcStats_MediaSourceSchema: GenMessage<RtcStats_MediaSource> = /*@__PURE__*/
|
|
316
|
+
messageDesc(file_stats, 0, 5);
|
|
807
317
|
|
|
808
318
|
/**
|
|
809
319
|
* @generated from message livekit.proto.RtcStats.MediaPlayout
|
|
810
320
|
*/
|
|
811
|
-
export
|
|
321
|
+
export type RtcStats_MediaPlayout = Message<"livekit.proto.RtcStats.MediaPlayout"> & {
|
|
812
322
|
/**
|
|
813
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
323
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
814
324
|
*/
|
|
815
325
|
rtc?: RtcStatsData;
|
|
816
326
|
|
|
817
327
|
/**
|
|
818
|
-
* @generated from field: livekit.proto.AudioPlayoutStats audio_playout = 2;
|
|
328
|
+
* @generated from field: required livekit.proto.AudioPlayoutStats audio_playout = 2;
|
|
819
329
|
*/
|
|
820
330
|
audioPlayout?: AudioPlayoutStats;
|
|
331
|
+
};
|
|
821
332
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
static readonly typeName = "livekit.proto.RtcStats.MediaPlayout";
|
|
829
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
830
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
831
|
-
{ no: 2, name: "audio_playout", kind: "message", T: AudioPlayoutStats },
|
|
832
|
-
]);
|
|
833
|
-
|
|
834
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_MediaPlayout {
|
|
835
|
-
return new RtcStats_MediaPlayout().fromBinary(bytes, options);
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout {
|
|
839
|
-
return new RtcStats_MediaPlayout().fromJson(jsonValue, options);
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_MediaPlayout {
|
|
843
|
-
return new RtcStats_MediaPlayout().fromJsonString(jsonString, options);
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
static equals(a: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined, b: RtcStats_MediaPlayout | PlainMessage<RtcStats_MediaPlayout> | undefined): boolean {
|
|
847
|
-
return proto3.util.equals(RtcStats_MediaPlayout, a, b);
|
|
848
|
-
}
|
|
849
|
-
}
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message livekit.proto.RtcStats.MediaPlayout.
|
|
335
|
+
* Use `create(RtcStats_MediaPlayoutSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
export const RtcStats_MediaPlayoutSchema: GenMessage<RtcStats_MediaPlayout> = /*@__PURE__*/
|
|
338
|
+
messageDesc(file_stats, 0, 6);
|
|
850
339
|
|
|
851
340
|
/**
|
|
852
341
|
* @generated from message livekit.proto.RtcStats.PeerConnection
|
|
853
342
|
*/
|
|
854
|
-
export
|
|
343
|
+
export type RtcStats_PeerConnection = Message<"livekit.proto.RtcStats.PeerConnection"> & {
|
|
855
344
|
/**
|
|
856
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
345
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
857
346
|
*/
|
|
858
347
|
rtc?: RtcStatsData;
|
|
859
348
|
|
|
860
349
|
/**
|
|
861
|
-
* @generated from field: livekit.proto.PeerConnectionStats pc = 2;
|
|
350
|
+
* @generated from field: required livekit.proto.PeerConnectionStats pc = 2;
|
|
862
351
|
*/
|
|
863
352
|
pc?: PeerConnectionStats;
|
|
353
|
+
};
|
|
864
354
|
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
static readonly typeName = "livekit.proto.RtcStats.PeerConnection";
|
|
872
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
873
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
874
|
-
{ no: 2, name: "pc", kind: "message", T: PeerConnectionStats },
|
|
875
|
-
]);
|
|
876
|
-
|
|
877
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_PeerConnection {
|
|
878
|
-
return new RtcStats_PeerConnection().fromBinary(bytes, options);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection {
|
|
882
|
-
return new RtcStats_PeerConnection().fromJson(jsonValue, options);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_PeerConnection {
|
|
886
|
-
return new RtcStats_PeerConnection().fromJsonString(jsonString, options);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
static equals(a: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined, b: RtcStats_PeerConnection | PlainMessage<RtcStats_PeerConnection> | undefined): boolean {
|
|
890
|
-
return proto3.util.equals(RtcStats_PeerConnection, a, b);
|
|
891
|
-
}
|
|
892
|
-
}
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message livekit.proto.RtcStats.PeerConnection.
|
|
357
|
+
* Use `create(RtcStats_PeerConnectionSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
export const RtcStats_PeerConnectionSchema: GenMessage<RtcStats_PeerConnection> = /*@__PURE__*/
|
|
360
|
+
messageDesc(file_stats, 0, 7);
|
|
893
361
|
|
|
894
362
|
/**
|
|
895
363
|
* @generated from message livekit.proto.RtcStats.DataChannel
|
|
896
364
|
*/
|
|
897
|
-
export
|
|
365
|
+
export type RtcStats_DataChannel = Message<"livekit.proto.RtcStats.DataChannel"> & {
|
|
898
366
|
/**
|
|
899
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
367
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
900
368
|
*/
|
|
901
369
|
rtc?: RtcStatsData;
|
|
902
370
|
|
|
903
371
|
/**
|
|
904
|
-
* @generated from field: livekit.proto.DataChannelStats dc = 2;
|
|
372
|
+
* @generated from field: required livekit.proto.DataChannelStats dc = 2;
|
|
905
373
|
*/
|
|
906
374
|
dc?: DataChannelStats;
|
|
375
|
+
};
|
|
907
376
|
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
static readonly typeName = "livekit.proto.RtcStats.DataChannel";
|
|
915
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
916
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
917
|
-
{ no: 2, name: "dc", kind: "message", T: DataChannelStats },
|
|
918
|
-
]);
|
|
919
|
-
|
|
920
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_DataChannel {
|
|
921
|
-
return new RtcStats_DataChannel().fromBinary(bytes, options);
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_DataChannel {
|
|
925
|
-
return new RtcStats_DataChannel().fromJson(jsonValue, options);
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_DataChannel {
|
|
929
|
-
return new RtcStats_DataChannel().fromJsonString(jsonString, options);
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
static equals(a: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined, b: RtcStats_DataChannel | PlainMessage<RtcStats_DataChannel> | undefined): boolean {
|
|
933
|
-
return proto3.util.equals(RtcStats_DataChannel, a, b);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
377
|
+
/**
|
|
378
|
+
* Describes the message livekit.proto.RtcStats.DataChannel.
|
|
379
|
+
* Use `create(RtcStats_DataChannelSchema)` to create a new message.
|
|
380
|
+
*/
|
|
381
|
+
export const RtcStats_DataChannelSchema: GenMessage<RtcStats_DataChannel> = /*@__PURE__*/
|
|
382
|
+
messageDesc(file_stats, 0, 8);
|
|
936
383
|
|
|
937
384
|
/**
|
|
938
385
|
* @generated from message livekit.proto.RtcStats.Transport
|
|
939
386
|
*/
|
|
940
|
-
export
|
|
387
|
+
export type RtcStats_Transport = Message<"livekit.proto.RtcStats.Transport"> & {
|
|
941
388
|
/**
|
|
942
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
389
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
943
390
|
*/
|
|
944
391
|
rtc?: RtcStatsData;
|
|
945
392
|
|
|
946
393
|
/**
|
|
947
|
-
* @generated from field: livekit.proto.TransportStats transport = 2;
|
|
394
|
+
* @generated from field: required livekit.proto.TransportStats transport = 2;
|
|
948
395
|
*/
|
|
949
396
|
transport?: TransportStats;
|
|
397
|
+
};
|
|
950
398
|
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
static readonly typeName = "livekit.proto.RtcStats.Transport";
|
|
958
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
959
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
960
|
-
{ no: 2, name: "transport", kind: "message", T: TransportStats },
|
|
961
|
-
]);
|
|
962
|
-
|
|
963
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Transport {
|
|
964
|
-
return new RtcStats_Transport().fromBinary(bytes, options);
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Transport {
|
|
968
|
-
return new RtcStats_Transport().fromJson(jsonValue, options);
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Transport {
|
|
972
|
-
return new RtcStats_Transport().fromJsonString(jsonString, options);
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
static equals(a: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined, b: RtcStats_Transport | PlainMessage<RtcStats_Transport> | undefined): boolean {
|
|
976
|
-
return proto3.util.equals(RtcStats_Transport, a, b);
|
|
977
|
-
}
|
|
978
|
-
}
|
|
399
|
+
/**
|
|
400
|
+
* Describes the message livekit.proto.RtcStats.Transport.
|
|
401
|
+
* Use `create(RtcStats_TransportSchema)` to create a new message.
|
|
402
|
+
*/
|
|
403
|
+
export const RtcStats_TransportSchema: GenMessage<RtcStats_Transport> = /*@__PURE__*/
|
|
404
|
+
messageDesc(file_stats, 0, 9);
|
|
979
405
|
|
|
980
406
|
/**
|
|
981
407
|
* @generated from message livekit.proto.RtcStats.CandidatePair
|
|
982
408
|
*/
|
|
983
|
-
export
|
|
409
|
+
export type RtcStats_CandidatePair = Message<"livekit.proto.RtcStats.CandidatePair"> & {
|
|
984
410
|
/**
|
|
985
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
411
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
986
412
|
*/
|
|
987
413
|
rtc?: RtcStatsData;
|
|
988
414
|
|
|
989
415
|
/**
|
|
990
|
-
* @generated from field: livekit.proto.CandidatePairStats candidate_pair = 2;
|
|
416
|
+
* @generated from field: required livekit.proto.CandidatePairStats candidate_pair = 2;
|
|
991
417
|
*/
|
|
992
418
|
candidatePair?: CandidatePairStats;
|
|
419
|
+
};
|
|
993
420
|
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
static readonly typeName = "livekit.proto.RtcStats.CandidatePair";
|
|
1001
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1002
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
1003
|
-
{ no: 2, name: "candidate_pair", kind: "message", T: CandidatePairStats },
|
|
1004
|
-
]);
|
|
1005
|
-
|
|
1006
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_CandidatePair {
|
|
1007
|
-
return new RtcStats_CandidatePair().fromBinary(bytes, options);
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair {
|
|
1011
|
-
return new RtcStats_CandidatePair().fromJson(jsonValue, options);
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_CandidatePair {
|
|
1015
|
-
return new RtcStats_CandidatePair().fromJsonString(jsonString, options);
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
static equals(a: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined, b: RtcStats_CandidatePair | PlainMessage<RtcStats_CandidatePair> | undefined): boolean {
|
|
1019
|
-
return proto3.util.equals(RtcStats_CandidatePair, a, b);
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message livekit.proto.RtcStats.CandidatePair.
|
|
423
|
+
* Use `create(RtcStats_CandidatePairSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export const RtcStats_CandidatePairSchema: GenMessage<RtcStats_CandidatePair> = /*@__PURE__*/
|
|
426
|
+
messageDesc(file_stats, 0, 10);
|
|
1022
427
|
|
|
1023
428
|
/**
|
|
1024
429
|
* @generated from message livekit.proto.RtcStats.LocalCandidate
|
|
1025
430
|
*/
|
|
1026
|
-
export
|
|
431
|
+
export type RtcStats_LocalCandidate = Message<"livekit.proto.RtcStats.LocalCandidate"> & {
|
|
1027
432
|
/**
|
|
1028
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
433
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1029
434
|
*/
|
|
1030
435
|
rtc?: RtcStatsData;
|
|
1031
436
|
|
|
1032
437
|
/**
|
|
1033
|
-
* @generated from field: livekit.proto.IceCandidateStats candidate = 2;
|
|
438
|
+
* @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
|
|
1034
439
|
*/
|
|
1035
440
|
candidate?: IceCandidateStats;
|
|
441
|
+
};
|
|
1036
442
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
static readonly typeName = "livekit.proto.RtcStats.LocalCandidate";
|
|
1044
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1045
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
1046
|
-
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
|
|
1047
|
-
]);
|
|
1048
|
-
|
|
1049
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_LocalCandidate {
|
|
1050
|
-
return new RtcStats_LocalCandidate().fromBinary(bytes, options);
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate {
|
|
1054
|
-
return new RtcStats_LocalCandidate().fromJson(jsonValue, options);
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_LocalCandidate {
|
|
1058
|
-
return new RtcStats_LocalCandidate().fromJsonString(jsonString, options);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
static equals(a: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined, b: RtcStats_LocalCandidate | PlainMessage<RtcStats_LocalCandidate> | undefined): boolean {
|
|
1062
|
-
return proto3.util.equals(RtcStats_LocalCandidate, a, b);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message livekit.proto.RtcStats.LocalCandidate.
|
|
445
|
+
* Use `create(RtcStats_LocalCandidateSchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export const RtcStats_LocalCandidateSchema: GenMessage<RtcStats_LocalCandidate> = /*@__PURE__*/
|
|
448
|
+
messageDesc(file_stats, 0, 11);
|
|
1065
449
|
|
|
1066
450
|
/**
|
|
1067
451
|
* @generated from message livekit.proto.RtcStats.RemoteCandidate
|
|
1068
452
|
*/
|
|
1069
|
-
export
|
|
453
|
+
export type RtcStats_RemoteCandidate = Message<"livekit.proto.RtcStats.RemoteCandidate"> & {
|
|
1070
454
|
/**
|
|
1071
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
455
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1072
456
|
*/
|
|
1073
457
|
rtc?: RtcStatsData;
|
|
1074
458
|
|
|
1075
459
|
/**
|
|
1076
|
-
* @generated from field: livekit.proto.IceCandidateStats candidate = 2;
|
|
460
|
+
* @generated from field: required livekit.proto.IceCandidateStats candidate = 2;
|
|
1077
461
|
*/
|
|
1078
462
|
candidate?: IceCandidateStats;
|
|
463
|
+
};
|
|
1079
464
|
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
static readonly typeName = "livekit.proto.RtcStats.RemoteCandidate";
|
|
1087
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1088
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
1089
|
-
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
|
|
1090
|
-
]);
|
|
1091
|
-
|
|
1092
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_RemoteCandidate {
|
|
1093
|
-
return new RtcStats_RemoteCandidate().fromBinary(bytes, options);
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate {
|
|
1097
|
-
return new RtcStats_RemoteCandidate().fromJson(jsonValue, options);
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_RemoteCandidate {
|
|
1101
|
-
return new RtcStats_RemoteCandidate().fromJsonString(jsonString, options);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
static equals(a: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined, b: RtcStats_RemoteCandidate | PlainMessage<RtcStats_RemoteCandidate> | undefined): boolean {
|
|
1105
|
-
return proto3.util.equals(RtcStats_RemoteCandidate, a, b);
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
465
|
+
/**
|
|
466
|
+
* Describes the message livekit.proto.RtcStats.RemoteCandidate.
|
|
467
|
+
* Use `create(RtcStats_RemoteCandidateSchema)` to create a new message.
|
|
468
|
+
*/
|
|
469
|
+
export const RtcStats_RemoteCandidateSchema: GenMessage<RtcStats_RemoteCandidate> = /*@__PURE__*/
|
|
470
|
+
messageDesc(file_stats, 0, 12);
|
|
1108
471
|
|
|
1109
472
|
/**
|
|
1110
473
|
* @generated from message livekit.proto.RtcStats.Certificate
|
|
1111
474
|
*/
|
|
1112
|
-
export
|
|
475
|
+
export type RtcStats_Certificate = Message<"livekit.proto.RtcStats.Certificate"> & {
|
|
1113
476
|
/**
|
|
1114
|
-
* @generated from field: livekit.proto.RtcStatsData rtc = 1;
|
|
477
|
+
* @generated from field: required livekit.proto.RtcStatsData rtc = 1;
|
|
1115
478
|
*/
|
|
1116
479
|
rtc?: RtcStatsData;
|
|
1117
480
|
|
|
1118
481
|
/**
|
|
1119
|
-
* @generated from field: livekit.proto.CertificateStats certificate = 2;
|
|
482
|
+
* @generated from field: required livekit.proto.CertificateStats certificate = 2;
|
|
1120
483
|
*/
|
|
1121
484
|
certificate?: CertificateStats;
|
|
485
|
+
};
|
|
1122
486
|
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
static readonly typeName = "livekit.proto.RtcStats.Certificate";
|
|
1130
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1131
|
-
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
1132
|
-
{ no: 2, name: "certificate", kind: "message", T: CertificateStats },
|
|
1133
|
-
]);
|
|
1134
|
-
|
|
1135
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Certificate {
|
|
1136
|
-
return new RtcStats_Certificate().fromBinary(bytes, options);
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Certificate {
|
|
1140
|
-
return new RtcStats_Certificate().fromJson(jsonValue, options);
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStats_Certificate {
|
|
1144
|
-
return new RtcStats_Certificate().fromJsonString(jsonString, options);
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
static equals(a: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined, b: RtcStats_Certificate | PlainMessage<RtcStats_Certificate> | undefined): boolean {
|
|
1148
|
-
return proto3.util.equals(RtcStats_Certificate, a, b);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
487
|
+
/**
|
|
488
|
+
* Describes the message livekit.proto.RtcStats.Certificate.
|
|
489
|
+
* Use `create(RtcStats_CertificateSchema)` to create a new message.
|
|
490
|
+
*/
|
|
491
|
+
export const RtcStats_CertificateSchema: GenMessage<RtcStats_Certificate> = /*@__PURE__*/
|
|
492
|
+
messageDesc(file_stats, 0, 13);
|
|
1151
493
|
|
|
1152
494
|
/**
|
|
1153
495
|
* Deprecated
|
|
1154
496
|
*
|
|
1155
497
|
* @generated from message livekit.proto.RtcStats.Track
|
|
1156
498
|
*/
|
|
1157
|
-
export
|
|
1158
|
-
|
|
1159
|
-
super();
|
|
1160
|
-
proto3.util.initPartial(data, this);
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1164
|
-
static readonly typeName = "livekit.proto.RtcStats.Track";
|
|
1165
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1166
|
-
]);
|
|
1167
|
-
|
|
1168
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStats_Track {
|
|
1169
|
-
return new RtcStats_Track().fromBinary(bytes, options);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStats_Track {
|
|
1173
|
-
return new RtcStats_Track().fromJson(jsonValue, options);
|
|
1174
|
-
}
|
|
499
|
+
export type RtcStats_Track = Message<"livekit.proto.RtcStats.Track"> & {
|
|
500
|
+
};
|
|
1175
501
|
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
502
|
+
/**
|
|
503
|
+
* Describes the message livekit.proto.RtcStats.Track.
|
|
504
|
+
* Use `create(RtcStats_TrackSchema)` to create a new message.
|
|
505
|
+
*/
|
|
506
|
+
export const RtcStats_TrackSchema: GenMessage<RtcStats_Track> = /*@__PURE__*/
|
|
507
|
+
messageDesc(file_stats, 0, 14);
|
|
1184
508
|
|
|
1185
509
|
/**
|
|
1186
510
|
* @generated from message livekit.proto.RtcStatsData
|
|
1187
511
|
*/
|
|
1188
|
-
export
|
|
512
|
+
export type RtcStatsData = Message<"livekit.proto.RtcStatsData"> & {
|
|
1189
513
|
/**
|
|
1190
|
-
* @generated from field: string id = 1;
|
|
514
|
+
* @generated from field: required string id = 1;
|
|
1191
515
|
*/
|
|
1192
|
-
id
|
|
516
|
+
id: string;
|
|
1193
517
|
|
|
1194
518
|
/**
|
|
1195
|
-
* @generated from field: int64 timestamp = 2;
|
|
519
|
+
* @generated from field: required int64 timestamp = 2;
|
|
1196
520
|
*/
|
|
1197
|
-
timestamp
|
|
521
|
+
timestamp: bigint;
|
|
522
|
+
};
|
|
1198
523
|
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
static readonly typeName = "livekit.proto.RtcStatsData";
|
|
1206
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1207
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1208
|
-
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1209
|
-
]);
|
|
1210
|
-
|
|
1211
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtcStatsData {
|
|
1212
|
-
return new RtcStatsData().fromBinary(bytes, options);
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RtcStatsData {
|
|
1216
|
-
return new RtcStatsData().fromJson(jsonValue, options);
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcStatsData {
|
|
1220
|
-
return new RtcStatsData().fromJsonString(jsonString, options);
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
static equals(a: RtcStatsData | PlainMessage<RtcStatsData> | undefined, b: RtcStatsData | PlainMessage<RtcStatsData> | undefined): boolean {
|
|
1224
|
-
return proto3.util.equals(RtcStatsData, a, b);
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
524
|
+
/**
|
|
525
|
+
* Describes the message livekit.proto.RtcStatsData.
|
|
526
|
+
* Use `create(RtcStatsDataSchema)` to create a new message.
|
|
527
|
+
*/
|
|
528
|
+
export const RtcStatsDataSchema: GenMessage<RtcStatsData> = /*@__PURE__*/
|
|
529
|
+
messageDesc(file_stats, 1);
|
|
1227
530
|
|
|
1228
531
|
/**
|
|
1229
532
|
* @generated from message livekit.proto.CodecStats
|
|
1230
533
|
*/
|
|
1231
|
-
export
|
|
534
|
+
export type CodecStats = Message<"livekit.proto.CodecStats"> & {
|
|
1232
535
|
/**
|
|
1233
|
-
* @generated from field: uint32 payload_type = 1;
|
|
536
|
+
* @generated from field: required uint32 payload_type = 1;
|
|
1234
537
|
*/
|
|
1235
|
-
payloadType
|
|
538
|
+
payloadType: number;
|
|
1236
539
|
|
|
1237
540
|
/**
|
|
1238
|
-
* @generated from field: string transport_id = 2;
|
|
541
|
+
* @generated from field: required string transport_id = 2;
|
|
1239
542
|
*/
|
|
1240
|
-
transportId
|
|
543
|
+
transportId: string;
|
|
1241
544
|
|
|
1242
545
|
/**
|
|
1243
|
-
* @generated from field: string mime_type = 3;
|
|
546
|
+
* @generated from field: required string mime_type = 3;
|
|
1244
547
|
*/
|
|
1245
|
-
mimeType
|
|
548
|
+
mimeType: string;
|
|
1246
549
|
|
|
1247
550
|
/**
|
|
1248
|
-
* @generated from field: uint32 clock_rate = 4;
|
|
551
|
+
* @generated from field: required uint32 clock_rate = 4;
|
|
1249
552
|
*/
|
|
1250
|
-
clockRate
|
|
553
|
+
clockRate: number;
|
|
1251
554
|
|
|
1252
555
|
/**
|
|
1253
|
-
* @generated from field: uint32 channels = 5;
|
|
556
|
+
* @generated from field: required uint32 channels = 5;
|
|
1254
557
|
*/
|
|
1255
|
-
channels
|
|
558
|
+
channels: number;
|
|
1256
559
|
|
|
1257
560
|
/**
|
|
1258
|
-
* @generated from field: string sdp_fmtp_line = 6;
|
|
561
|
+
* @generated from field: required string sdp_fmtp_line = 6;
|
|
1259
562
|
*/
|
|
1260
|
-
sdpFmtpLine
|
|
1261
|
-
|
|
1262
|
-
constructor(data?: PartialMessage<CodecStats>) {
|
|
1263
|
-
super();
|
|
1264
|
-
proto3.util.initPartial(data, this);
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1268
|
-
static readonly typeName = "livekit.proto.CodecStats";
|
|
1269
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1270
|
-
{ no: 1, name: "payload_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1271
|
-
{ no: 2, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1272
|
-
{ no: 3, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1273
|
-
{ no: 4, name: "clock_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1274
|
-
{ no: 5, name: "channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1275
|
-
{ no: 6, name: "sdp_fmtp_line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1276
|
-
]);
|
|
1277
|
-
|
|
1278
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CodecStats {
|
|
1279
|
-
return new CodecStats().fromBinary(bytes, options);
|
|
1280
|
-
}
|
|
563
|
+
sdpFmtpLine: string;
|
|
564
|
+
};
|
|
1281
565
|
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
static equals(a: CodecStats | PlainMessage<CodecStats> | undefined, b: CodecStats | PlainMessage<CodecStats> | undefined): boolean {
|
|
1291
|
-
return proto3.util.equals(CodecStats, a, b);
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
566
|
+
/**
|
|
567
|
+
* Describes the message livekit.proto.CodecStats.
|
|
568
|
+
* Use `create(CodecStatsSchema)` to create a new message.
|
|
569
|
+
*/
|
|
570
|
+
export const CodecStatsSchema: GenMessage<CodecStats> = /*@__PURE__*/
|
|
571
|
+
messageDesc(file_stats, 2);
|
|
1294
572
|
|
|
1295
573
|
/**
|
|
1296
574
|
* @generated from message livekit.proto.RtpStreamStats
|
|
1297
575
|
*/
|
|
1298
|
-
export
|
|
576
|
+
export type RtpStreamStats = Message<"livekit.proto.RtpStreamStats"> & {
|
|
1299
577
|
/**
|
|
1300
|
-
* @generated from field: uint32 ssrc = 1;
|
|
578
|
+
* @generated from field: required uint32 ssrc = 1;
|
|
1301
579
|
*/
|
|
1302
|
-
ssrc
|
|
580
|
+
ssrc: number;
|
|
1303
581
|
|
|
1304
582
|
/**
|
|
1305
|
-
* @generated from field: string kind = 2;
|
|
583
|
+
* @generated from field: required string kind = 2;
|
|
1306
584
|
*/
|
|
1307
|
-
kind
|
|
585
|
+
kind: string;
|
|
1308
586
|
|
|
1309
587
|
/**
|
|
1310
|
-
* @generated from field: string transport_id = 3;
|
|
588
|
+
* @generated from field: required string transport_id = 3;
|
|
1311
589
|
*/
|
|
1312
|
-
transportId
|
|
590
|
+
transportId: string;
|
|
1313
591
|
|
|
1314
592
|
/**
|
|
1315
|
-
* @generated from field: string codec_id = 4;
|
|
593
|
+
* @generated from field: required string codec_id = 4;
|
|
1316
594
|
*/
|
|
1317
|
-
codecId
|
|
1318
|
-
|
|
1319
|
-
constructor(data?: PartialMessage<RtpStreamStats>) {
|
|
1320
|
-
super();
|
|
1321
|
-
proto3.util.initPartial(data, this);
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1325
|
-
static readonly typeName = "livekit.proto.RtpStreamStats";
|
|
1326
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1327
|
-
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1328
|
-
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1329
|
-
{ no: 3, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1330
|
-
{ no: 4, name: "codec_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1331
|
-
]);
|
|
1332
|
-
|
|
1333
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtpStreamStats {
|
|
1334
|
-
return new RtpStreamStats().fromBinary(bytes, options);
|
|
1335
|
-
}
|
|
595
|
+
codecId: string;
|
|
596
|
+
};
|
|
1336
597
|
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
static equals(a: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined, b: RtpStreamStats | PlainMessage<RtpStreamStats> | undefined): boolean {
|
|
1346
|
-
return proto3.util.equals(RtpStreamStats, a, b);
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
598
|
+
/**
|
|
599
|
+
* Describes the message livekit.proto.RtpStreamStats.
|
|
600
|
+
* Use `create(RtpStreamStatsSchema)` to create a new message.
|
|
601
|
+
*/
|
|
602
|
+
export const RtpStreamStatsSchema: GenMessage<RtpStreamStats> = /*@__PURE__*/
|
|
603
|
+
messageDesc(file_stats, 3);
|
|
1349
604
|
|
|
1350
605
|
/**
|
|
1351
606
|
* @generated from message livekit.proto.ReceivedRtpStreamStats
|
|
1352
607
|
*/
|
|
1353
|
-
export
|
|
608
|
+
export type ReceivedRtpStreamStats = Message<"livekit.proto.ReceivedRtpStreamStats"> & {
|
|
1354
609
|
/**
|
|
1355
|
-
* @generated from field: uint64 packets_received = 1;
|
|
610
|
+
* @generated from field: required uint64 packets_received = 1;
|
|
1356
611
|
*/
|
|
1357
|
-
packetsReceived
|
|
612
|
+
packetsReceived: bigint;
|
|
1358
613
|
|
|
1359
614
|
/**
|
|
1360
|
-
* @generated from field: int64 packets_lost = 2;
|
|
615
|
+
* @generated from field: required int64 packets_lost = 2;
|
|
1361
616
|
*/
|
|
1362
|
-
packetsLost
|
|
617
|
+
packetsLost: bigint;
|
|
1363
618
|
|
|
1364
619
|
/**
|
|
1365
|
-
* @generated from field: double jitter = 3;
|
|
620
|
+
* @generated from field: required double jitter = 3;
|
|
1366
621
|
*/
|
|
1367
|
-
jitter
|
|
1368
|
-
|
|
1369
|
-
constructor(data?: PartialMessage<ReceivedRtpStreamStats>) {
|
|
1370
|
-
super();
|
|
1371
|
-
proto3.util.initPartial(data, this);
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1375
|
-
static readonly typeName = "livekit.proto.ReceivedRtpStreamStats";
|
|
1376
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1377
|
-
{ no: 1, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1378
|
-
{ no: 2, name: "packets_lost", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1379
|
-
{ no: 3, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1380
|
-
]);
|
|
622
|
+
jitter: number;
|
|
623
|
+
};
|
|
1381
624
|
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReceivedRtpStreamStats {
|
|
1391
|
-
return new ReceivedRtpStreamStats().fromJsonString(jsonString, options);
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
static equals(a: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined, b: ReceivedRtpStreamStats | PlainMessage<ReceivedRtpStreamStats> | undefined): boolean {
|
|
1395
|
-
return proto3.util.equals(ReceivedRtpStreamStats, a, b);
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
625
|
+
/**
|
|
626
|
+
* Describes the message livekit.proto.ReceivedRtpStreamStats.
|
|
627
|
+
* Use `create(ReceivedRtpStreamStatsSchema)` to create a new message.
|
|
628
|
+
*/
|
|
629
|
+
export const ReceivedRtpStreamStatsSchema: GenMessage<ReceivedRtpStreamStats> = /*@__PURE__*/
|
|
630
|
+
messageDesc(file_stats, 4);
|
|
1398
631
|
|
|
1399
632
|
/**
|
|
1400
633
|
* @generated from message livekit.proto.InboundRtpStreamStats
|
|
1401
634
|
*/
|
|
1402
|
-
export
|
|
635
|
+
export type InboundRtpStreamStats = Message<"livekit.proto.InboundRtpStreamStats"> & {
|
|
1403
636
|
/**
|
|
1404
|
-
* @generated from field: string track_identifier = 1;
|
|
637
|
+
* @generated from field: required string track_identifier = 1;
|
|
1405
638
|
*/
|
|
1406
|
-
trackIdentifier
|
|
639
|
+
trackIdentifier: string;
|
|
1407
640
|
|
|
1408
641
|
/**
|
|
1409
|
-
* @generated from field: string mid = 2;
|
|
642
|
+
* @generated from field: required string mid = 2;
|
|
1410
643
|
*/
|
|
1411
|
-
mid
|
|
644
|
+
mid: string;
|
|
1412
645
|
|
|
1413
646
|
/**
|
|
1414
|
-
* @generated from field: string remote_id = 3;
|
|
647
|
+
* @generated from field: required string remote_id = 3;
|
|
1415
648
|
*/
|
|
1416
|
-
remoteId
|
|
649
|
+
remoteId: string;
|
|
1417
650
|
|
|
1418
651
|
/**
|
|
1419
|
-
* @generated from field: uint32 frames_decoded = 4;
|
|
652
|
+
* @generated from field: required uint32 frames_decoded = 4;
|
|
1420
653
|
*/
|
|
1421
|
-
framesDecoded
|
|
654
|
+
framesDecoded: number;
|
|
1422
655
|
|
|
1423
656
|
/**
|
|
1424
|
-
* @generated from field: uint32 key_frames_decoded = 5;
|
|
657
|
+
* @generated from field: required uint32 key_frames_decoded = 5;
|
|
1425
658
|
*/
|
|
1426
|
-
keyFramesDecoded
|
|
659
|
+
keyFramesDecoded: number;
|
|
1427
660
|
|
|
1428
661
|
/**
|
|
1429
|
-
* @generated from field: uint32 frames_rendered = 6;
|
|
662
|
+
* @generated from field: required uint32 frames_rendered = 6;
|
|
1430
663
|
*/
|
|
1431
|
-
framesRendered
|
|
664
|
+
framesRendered: number;
|
|
1432
665
|
|
|
1433
666
|
/**
|
|
1434
|
-
* @generated from field: uint32 frames_dropped = 7;
|
|
667
|
+
* @generated from field: required uint32 frames_dropped = 7;
|
|
1435
668
|
*/
|
|
1436
|
-
framesDropped
|
|
669
|
+
framesDropped: number;
|
|
1437
670
|
|
|
1438
671
|
/**
|
|
1439
|
-
* @generated from field: uint32 frame_width = 8;
|
|
672
|
+
* @generated from field: required uint32 frame_width = 8;
|
|
1440
673
|
*/
|
|
1441
|
-
frameWidth
|
|
674
|
+
frameWidth: number;
|
|
1442
675
|
|
|
1443
676
|
/**
|
|
1444
|
-
* @generated from field: uint32 frame_height = 9;
|
|
677
|
+
* @generated from field: required uint32 frame_height = 9;
|
|
1445
678
|
*/
|
|
1446
|
-
frameHeight
|
|
679
|
+
frameHeight: number;
|
|
1447
680
|
|
|
1448
681
|
/**
|
|
1449
|
-
* @generated from field: double frames_per_second = 10;
|
|
682
|
+
* @generated from field: required double frames_per_second = 10;
|
|
1450
683
|
*/
|
|
1451
|
-
framesPerSecond
|
|
684
|
+
framesPerSecond: number;
|
|
1452
685
|
|
|
1453
686
|
/**
|
|
1454
|
-
* @generated from field: uint64 qp_sum = 11;
|
|
687
|
+
* @generated from field: required uint64 qp_sum = 11;
|
|
1455
688
|
*/
|
|
1456
|
-
qpSum
|
|
689
|
+
qpSum: bigint;
|
|
1457
690
|
|
|
1458
691
|
/**
|
|
1459
|
-
* @generated from field: double total_decode_time = 12;
|
|
692
|
+
* @generated from field: required double total_decode_time = 12;
|
|
1460
693
|
*/
|
|
1461
|
-
totalDecodeTime
|
|
694
|
+
totalDecodeTime: number;
|
|
1462
695
|
|
|
1463
696
|
/**
|
|
1464
|
-
* @generated from field: double total_inter_frame_delay = 13;
|
|
697
|
+
* @generated from field: required double total_inter_frame_delay = 13;
|
|
1465
698
|
*/
|
|
1466
|
-
totalInterFrameDelay
|
|
699
|
+
totalInterFrameDelay: number;
|
|
1467
700
|
|
|
1468
701
|
/**
|
|
1469
|
-
* @generated from field: double total_squared_inter_frame_delay = 14;
|
|
702
|
+
* @generated from field: required double total_squared_inter_frame_delay = 14;
|
|
1470
703
|
*/
|
|
1471
|
-
totalSquaredInterFrameDelay
|
|
704
|
+
totalSquaredInterFrameDelay: number;
|
|
1472
705
|
|
|
1473
706
|
/**
|
|
1474
|
-
* @generated from field: uint32 pause_count = 15;
|
|
707
|
+
* @generated from field: required uint32 pause_count = 15;
|
|
1475
708
|
*/
|
|
1476
|
-
pauseCount
|
|
709
|
+
pauseCount: number;
|
|
1477
710
|
|
|
1478
711
|
/**
|
|
1479
|
-
* @generated from field: double total_pause_duration = 16;
|
|
712
|
+
* @generated from field: required double total_pause_duration = 16;
|
|
1480
713
|
*/
|
|
1481
|
-
totalPauseDuration
|
|
714
|
+
totalPauseDuration: number;
|
|
1482
715
|
|
|
1483
716
|
/**
|
|
1484
|
-
* @generated from field: uint32 freeze_count = 17;
|
|
717
|
+
* @generated from field: required uint32 freeze_count = 17;
|
|
1485
718
|
*/
|
|
1486
|
-
freezeCount
|
|
719
|
+
freezeCount: number;
|
|
1487
720
|
|
|
1488
721
|
/**
|
|
1489
|
-
* @generated from field: double total_freeze_duration = 18;
|
|
722
|
+
* @generated from field: required double total_freeze_duration = 18;
|
|
1490
723
|
*/
|
|
1491
|
-
totalFreezeDuration
|
|
724
|
+
totalFreezeDuration: number;
|
|
1492
725
|
|
|
1493
726
|
/**
|
|
1494
|
-
* @generated from field: double last_packet_received_timestamp = 19;
|
|
727
|
+
* @generated from field: required double last_packet_received_timestamp = 19;
|
|
1495
728
|
*/
|
|
1496
|
-
lastPacketReceivedTimestamp
|
|
729
|
+
lastPacketReceivedTimestamp: number;
|
|
1497
730
|
|
|
1498
731
|
/**
|
|
1499
|
-
* @generated from field: uint64 header_bytes_received = 20;
|
|
732
|
+
* @generated from field: required uint64 header_bytes_received = 20;
|
|
1500
733
|
*/
|
|
1501
|
-
headerBytesReceived
|
|
734
|
+
headerBytesReceived: bigint;
|
|
1502
735
|
|
|
1503
736
|
/**
|
|
1504
|
-
* @generated from field: uint64 packets_discarded = 21;
|
|
737
|
+
* @generated from field: required uint64 packets_discarded = 21;
|
|
1505
738
|
*/
|
|
1506
|
-
packetsDiscarded
|
|
739
|
+
packetsDiscarded: bigint;
|
|
1507
740
|
|
|
1508
741
|
/**
|
|
1509
|
-
* @generated from field: uint64 fec_bytes_received = 22;
|
|
742
|
+
* @generated from field: required uint64 fec_bytes_received = 22;
|
|
1510
743
|
*/
|
|
1511
|
-
fecBytesReceived
|
|
744
|
+
fecBytesReceived: bigint;
|
|
1512
745
|
|
|
1513
746
|
/**
|
|
1514
|
-
* @generated from field: uint64 fec_packets_received = 23;
|
|
747
|
+
* @generated from field: required uint64 fec_packets_received = 23;
|
|
1515
748
|
*/
|
|
1516
|
-
fecPacketsReceived
|
|
749
|
+
fecPacketsReceived: bigint;
|
|
1517
750
|
|
|
1518
751
|
/**
|
|
1519
|
-
* @generated from field: uint64 fec_packets_discarded = 24;
|
|
752
|
+
* @generated from field: required uint64 fec_packets_discarded = 24;
|
|
1520
753
|
*/
|
|
1521
|
-
fecPacketsDiscarded
|
|
754
|
+
fecPacketsDiscarded: bigint;
|
|
1522
755
|
|
|
1523
756
|
/**
|
|
1524
|
-
* @generated from field: uint64 bytes_received = 25;
|
|
757
|
+
* @generated from field: required uint64 bytes_received = 25;
|
|
1525
758
|
*/
|
|
1526
|
-
bytesReceived
|
|
759
|
+
bytesReceived: bigint;
|
|
1527
760
|
|
|
1528
761
|
/**
|
|
1529
|
-
* @generated from field: uint32 nack_count = 26;
|
|
762
|
+
* @generated from field: required uint32 nack_count = 26;
|
|
1530
763
|
*/
|
|
1531
|
-
nackCount
|
|
764
|
+
nackCount: number;
|
|
1532
765
|
|
|
1533
766
|
/**
|
|
1534
|
-
* @generated from field: uint32 fir_count = 27;
|
|
767
|
+
* @generated from field: required uint32 fir_count = 27;
|
|
1535
768
|
*/
|
|
1536
|
-
firCount
|
|
769
|
+
firCount: number;
|
|
1537
770
|
|
|
1538
771
|
/**
|
|
1539
|
-
* @generated from field: uint32 pli_count = 28;
|
|
772
|
+
* @generated from field: required uint32 pli_count = 28;
|
|
1540
773
|
*/
|
|
1541
|
-
pliCount
|
|
774
|
+
pliCount: number;
|
|
1542
775
|
|
|
1543
776
|
/**
|
|
1544
|
-
* @generated from field: double total_processing_delay = 29;
|
|
777
|
+
* @generated from field: required double total_processing_delay = 29;
|
|
1545
778
|
*/
|
|
1546
|
-
totalProcessingDelay
|
|
779
|
+
totalProcessingDelay: number;
|
|
1547
780
|
|
|
1548
781
|
/**
|
|
1549
|
-
* @generated from field: double estimated_playout_timestamp = 30;
|
|
782
|
+
* @generated from field: required double estimated_playout_timestamp = 30;
|
|
1550
783
|
*/
|
|
1551
|
-
estimatedPlayoutTimestamp
|
|
784
|
+
estimatedPlayoutTimestamp: number;
|
|
1552
785
|
|
|
1553
786
|
/**
|
|
1554
|
-
* @generated from field: double jitter_buffer_delay = 31;
|
|
787
|
+
* @generated from field: required double jitter_buffer_delay = 31;
|
|
1555
788
|
*/
|
|
1556
|
-
jitterBufferDelay
|
|
789
|
+
jitterBufferDelay: number;
|
|
1557
790
|
|
|
1558
791
|
/**
|
|
1559
|
-
* @generated from field: double jitter_buffer_target_delay = 32;
|
|
792
|
+
* @generated from field: required double jitter_buffer_target_delay = 32;
|
|
1560
793
|
*/
|
|
1561
|
-
jitterBufferTargetDelay
|
|
794
|
+
jitterBufferTargetDelay: number;
|
|
1562
795
|
|
|
1563
796
|
/**
|
|
1564
|
-
* @generated from field: uint64 jitter_buffer_emitted_count = 33;
|
|
797
|
+
* @generated from field: required uint64 jitter_buffer_emitted_count = 33;
|
|
1565
798
|
*/
|
|
1566
|
-
jitterBufferEmittedCount
|
|
799
|
+
jitterBufferEmittedCount: bigint;
|
|
1567
800
|
|
|
1568
801
|
/**
|
|
1569
|
-
* @generated from field: double jitter_buffer_minimum_delay = 34;
|
|
802
|
+
* @generated from field: required double jitter_buffer_minimum_delay = 34;
|
|
1570
803
|
*/
|
|
1571
|
-
jitterBufferMinimumDelay
|
|
804
|
+
jitterBufferMinimumDelay: number;
|
|
1572
805
|
|
|
1573
806
|
/**
|
|
1574
|
-
* @generated from field: uint64 total_samples_received = 35;
|
|
807
|
+
* @generated from field: required uint64 total_samples_received = 35;
|
|
1575
808
|
*/
|
|
1576
|
-
totalSamplesReceived
|
|
809
|
+
totalSamplesReceived: bigint;
|
|
1577
810
|
|
|
1578
811
|
/**
|
|
1579
|
-
* @generated from field: uint64 concealed_samples = 36;
|
|
812
|
+
* @generated from field: required uint64 concealed_samples = 36;
|
|
1580
813
|
*/
|
|
1581
|
-
concealedSamples
|
|
814
|
+
concealedSamples: bigint;
|
|
1582
815
|
|
|
1583
816
|
/**
|
|
1584
|
-
* @generated from field: uint64 silent_concealed_samples = 37;
|
|
817
|
+
* @generated from field: required uint64 silent_concealed_samples = 37;
|
|
1585
818
|
*/
|
|
1586
|
-
silentConcealedSamples
|
|
819
|
+
silentConcealedSamples: bigint;
|
|
1587
820
|
|
|
1588
821
|
/**
|
|
1589
|
-
* @generated from field: uint64 concealment_events = 38;
|
|
822
|
+
* @generated from field: required uint64 concealment_events = 38;
|
|
1590
823
|
*/
|
|
1591
|
-
concealmentEvents
|
|
824
|
+
concealmentEvents: bigint;
|
|
1592
825
|
|
|
1593
826
|
/**
|
|
1594
|
-
* @generated from field: uint64 inserted_samples_for_deceleration = 39;
|
|
827
|
+
* @generated from field: required uint64 inserted_samples_for_deceleration = 39;
|
|
1595
828
|
*/
|
|
1596
|
-
insertedSamplesForDeceleration
|
|
829
|
+
insertedSamplesForDeceleration: bigint;
|
|
1597
830
|
|
|
1598
831
|
/**
|
|
1599
|
-
* @generated from field: uint64 removed_samples_for_acceleration = 40;
|
|
832
|
+
* @generated from field: required uint64 removed_samples_for_acceleration = 40;
|
|
1600
833
|
*/
|
|
1601
|
-
removedSamplesForAcceleration
|
|
834
|
+
removedSamplesForAcceleration: bigint;
|
|
1602
835
|
|
|
1603
836
|
/**
|
|
1604
|
-
* @generated from field: double audio_level = 41;
|
|
837
|
+
* @generated from field: required double audio_level = 41;
|
|
1605
838
|
*/
|
|
1606
|
-
audioLevel
|
|
839
|
+
audioLevel: number;
|
|
1607
840
|
|
|
1608
841
|
/**
|
|
1609
|
-
* @generated from field: double total_audio_energy = 42;
|
|
842
|
+
* @generated from field: required double total_audio_energy = 42;
|
|
1610
843
|
*/
|
|
1611
|
-
totalAudioEnergy
|
|
844
|
+
totalAudioEnergy: number;
|
|
1612
845
|
|
|
1613
846
|
/**
|
|
1614
|
-
* @generated from field: double total_samples_duration = 43;
|
|
847
|
+
* @generated from field: required double total_samples_duration = 43;
|
|
1615
848
|
*/
|
|
1616
|
-
totalSamplesDuration
|
|
849
|
+
totalSamplesDuration: number;
|
|
1617
850
|
|
|
1618
851
|
/**
|
|
1619
|
-
* @generated from field: uint64 frames_received = 44;
|
|
852
|
+
* @generated from field: required uint64 frames_received = 44;
|
|
1620
853
|
*/
|
|
1621
|
-
framesReceived
|
|
854
|
+
framesReceived: bigint;
|
|
1622
855
|
|
|
1623
856
|
/**
|
|
1624
|
-
* @generated from field: string decoder_implementation = 45;
|
|
857
|
+
* @generated from field: required string decoder_implementation = 45;
|
|
1625
858
|
*/
|
|
1626
|
-
decoderImplementation
|
|
859
|
+
decoderImplementation: string;
|
|
1627
860
|
|
|
1628
861
|
/**
|
|
1629
|
-
* @generated from field: string playout_id = 46;
|
|
862
|
+
* @generated from field: required string playout_id = 46;
|
|
1630
863
|
*/
|
|
1631
|
-
playoutId
|
|
864
|
+
playoutId: string;
|
|
1632
865
|
|
|
1633
866
|
/**
|
|
1634
|
-
* @generated from field: bool power_efficient_decoder = 47;
|
|
867
|
+
* @generated from field: required bool power_efficient_decoder = 47;
|
|
1635
868
|
*/
|
|
1636
|
-
powerEfficientDecoder
|
|
869
|
+
powerEfficientDecoder: boolean;
|
|
1637
870
|
|
|
1638
871
|
/**
|
|
1639
|
-
* @generated from field: uint64 frames_assembled_from_multiple_packets = 48;
|
|
872
|
+
* @generated from field: required uint64 frames_assembled_from_multiple_packets = 48;
|
|
1640
873
|
*/
|
|
1641
|
-
framesAssembledFromMultiplePackets
|
|
874
|
+
framesAssembledFromMultiplePackets: bigint;
|
|
1642
875
|
|
|
1643
876
|
/**
|
|
1644
|
-
* @generated from field: double total_assembly_time = 49;
|
|
877
|
+
* @generated from field: required double total_assembly_time = 49;
|
|
1645
878
|
*/
|
|
1646
|
-
totalAssemblyTime
|
|
879
|
+
totalAssemblyTime: number;
|
|
1647
880
|
|
|
1648
881
|
/**
|
|
1649
|
-
* @generated from field: uint64 retransmitted_packets_received = 50;
|
|
882
|
+
* @generated from field: required uint64 retransmitted_packets_received = 50;
|
|
1650
883
|
*/
|
|
1651
|
-
retransmittedPacketsReceived
|
|
884
|
+
retransmittedPacketsReceived: bigint;
|
|
1652
885
|
|
|
1653
886
|
/**
|
|
1654
|
-
* @generated from field: uint64 retransmitted_bytes_received = 51;
|
|
887
|
+
* @generated from field: required uint64 retransmitted_bytes_received = 51;
|
|
1655
888
|
*/
|
|
1656
|
-
retransmittedBytesReceived
|
|
889
|
+
retransmittedBytesReceived: bigint;
|
|
1657
890
|
|
|
1658
891
|
/**
|
|
1659
|
-
* @generated from field: uint32 rtx_ssrc = 52;
|
|
892
|
+
* @generated from field: required uint32 rtx_ssrc = 52;
|
|
1660
893
|
*/
|
|
1661
|
-
rtxSsrc
|
|
894
|
+
rtxSsrc: number;
|
|
1662
895
|
|
|
1663
896
|
/**
|
|
1664
|
-
* @generated from field: uint32 fec_ssrc = 53;
|
|
897
|
+
* @generated from field: required uint32 fec_ssrc = 53;
|
|
1665
898
|
*/
|
|
1666
|
-
fecSsrc
|
|
899
|
+
fecSsrc: number;
|
|
900
|
+
};
|
|
1667
901
|
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
static readonly typeName = "livekit.proto.InboundRtpStreamStats";
|
|
1675
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1676
|
-
{ no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1677
|
-
{ no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1678
|
-
{ no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1679
|
-
{ no: 4, name: "frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1680
|
-
{ no: 5, name: "key_frames_decoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1681
|
-
{ no: 6, name: "frames_rendered", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1682
|
-
{ no: 7, name: "frames_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1683
|
-
{ no: 8, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1684
|
-
{ no: 9, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1685
|
-
{ no: 10, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1686
|
-
{ no: 11, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1687
|
-
{ no: 12, name: "total_decode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1688
|
-
{ no: 13, name: "total_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1689
|
-
{ no: 14, name: "total_squared_inter_frame_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1690
|
-
{ no: 15, name: "pause_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1691
|
-
{ no: 16, name: "total_pause_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1692
|
-
{ no: 17, name: "freeze_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1693
|
-
{ no: 18, name: "total_freeze_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1694
|
-
{ no: 19, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1695
|
-
{ no: 20, name: "header_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1696
|
-
{ no: 21, name: "packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1697
|
-
{ no: 22, name: "fec_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1698
|
-
{ no: 23, name: "fec_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1699
|
-
{ no: 24, name: "fec_packets_discarded", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1700
|
-
{ no: 25, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1701
|
-
{ no: 26, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1702
|
-
{ no: 27, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1703
|
-
{ no: 28, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1704
|
-
{ no: 29, name: "total_processing_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1705
|
-
{ no: 30, name: "estimated_playout_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1706
|
-
{ no: 31, name: "jitter_buffer_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1707
|
-
{ no: 32, name: "jitter_buffer_target_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1708
|
-
{ no: 33, name: "jitter_buffer_emitted_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1709
|
-
{ no: 34, name: "jitter_buffer_minimum_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1710
|
-
{ no: 35, name: "total_samples_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1711
|
-
{ no: 36, name: "concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1712
|
-
{ no: 37, name: "silent_concealed_samples", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1713
|
-
{ no: 38, name: "concealment_events", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1714
|
-
{ no: 39, name: "inserted_samples_for_deceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1715
|
-
{ no: 40, name: "removed_samples_for_acceleration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1716
|
-
{ no: 41, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1717
|
-
{ no: 42, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1718
|
-
{ no: 43, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1719
|
-
{ no: 44, name: "frames_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1720
|
-
{ no: 45, name: "decoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1721
|
-
{ no: 46, name: "playout_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1722
|
-
{ no: 47, name: "power_efficient_decoder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1723
|
-
{ no: 48, name: "frames_assembled_from_multiple_packets", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1724
|
-
{ no: 49, name: "total_assembly_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1725
|
-
{ no: 50, name: "retransmitted_packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1726
|
-
{ no: 51, name: "retransmitted_bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1727
|
-
{ no: 52, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1728
|
-
{ no: 53, name: "fec_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1729
|
-
]);
|
|
1730
|
-
|
|
1731
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InboundRtpStreamStats {
|
|
1732
|
-
return new InboundRtpStreamStats().fromBinary(bytes, options);
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InboundRtpStreamStats {
|
|
1736
|
-
return new InboundRtpStreamStats().fromJson(jsonValue, options);
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InboundRtpStreamStats {
|
|
1740
|
-
return new InboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
static equals(a: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined, b: InboundRtpStreamStats | PlainMessage<InboundRtpStreamStats> | undefined): boolean {
|
|
1744
|
-
return proto3.util.equals(InboundRtpStreamStats, a, b);
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
902
|
+
/**
|
|
903
|
+
* Describes the message livekit.proto.InboundRtpStreamStats.
|
|
904
|
+
* Use `create(InboundRtpStreamStatsSchema)` to create a new message.
|
|
905
|
+
*/
|
|
906
|
+
export const InboundRtpStreamStatsSchema: GenMessage<InboundRtpStreamStats> = /*@__PURE__*/
|
|
907
|
+
messageDesc(file_stats, 5);
|
|
1747
908
|
|
|
1748
909
|
/**
|
|
1749
910
|
* @generated from message livekit.proto.SentRtpStreamStats
|
|
1750
911
|
*/
|
|
1751
|
-
export
|
|
912
|
+
export type SentRtpStreamStats = Message<"livekit.proto.SentRtpStreamStats"> & {
|
|
1752
913
|
/**
|
|
1753
|
-
* @generated from field: uint64 packets_sent = 1;
|
|
914
|
+
* @generated from field: required uint64 packets_sent = 1;
|
|
1754
915
|
*/
|
|
1755
|
-
packetsSent
|
|
916
|
+
packetsSent: bigint;
|
|
1756
917
|
|
|
1757
918
|
/**
|
|
1758
|
-
* @generated from field: uint64 bytes_sent = 2;
|
|
919
|
+
* @generated from field: required uint64 bytes_sent = 2;
|
|
1759
920
|
*/
|
|
1760
|
-
bytesSent
|
|
921
|
+
bytesSent: bigint;
|
|
922
|
+
};
|
|
1761
923
|
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
924
|
+
/**
|
|
925
|
+
* Describes the message livekit.proto.SentRtpStreamStats.
|
|
926
|
+
* Use `create(SentRtpStreamStatsSchema)` to create a new message.
|
|
927
|
+
*/
|
|
928
|
+
export const SentRtpStreamStatsSchema: GenMessage<SentRtpStreamStats> = /*@__PURE__*/
|
|
929
|
+
messageDesc(file_stats, 6);
|
|
1766
930
|
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
931
|
+
/**
|
|
932
|
+
* @generated from message livekit.proto.OutboundRtpStreamStats
|
|
933
|
+
*/
|
|
934
|
+
export type OutboundRtpStreamStats = Message<"livekit.proto.OutboundRtpStreamStats"> & {
|
|
935
|
+
/**
|
|
936
|
+
* @generated from field: required string mid = 1;
|
|
937
|
+
*/
|
|
938
|
+
mid: string;
|
|
1773
939
|
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: required string media_source_id = 2;
|
|
942
|
+
*/
|
|
943
|
+
mediaSourceId: string;
|
|
1777
944
|
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
945
|
+
/**
|
|
946
|
+
* @generated from field: required string remote_id = 3;
|
|
947
|
+
*/
|
|
948
|
+
remoteId: string;
|
|
1781
949
|
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
950
|
+
/**
|
|
951
|
+
* @generated from field: required string rid = 4;
|
|
952
|
+
*/
|
|
953
|
+
rid: string;
|
|
1785
954
|
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: required uint64 header_bytes_sent = 5;
|
|
957
|
+
*/
|
|
958
|
+
headerBytesSent: bigint;
|
|
1790
959
|
|
|
1791
|
-
/**
|
|
1792
|
-
* @generated from message livekit.proto.OutboundRtpStreamStats
|
|
1793
|
-
*/
|
|
1794
|
-
export class OutboundRtpStreamStats extends Message<OutboundRtpStreamStats> {
|
|
1795
960
|
/**
|
|
1796
|
-
* @generated from field:
|
|
961
|
+
* @generated from field: required uint64 retransmitted_packets_sent = 6;
|
|
1797
962
|
*/
|
|
1798
|
-
|
|
963
|
+
retransmittedPacketsSent: bigint;
|
|
1799
964
|
|
|
1800
965
|
/**
|
|
1801
|
-
* @generated from field:
|
|
966
|
+
* @generated from field: required uint64 retransmitted_bytes_sent = 7;
|
|
1802
967
|
*/
|
|
1803
|
-
|
|
968
|
+
retransmittedBytesSent: bigint;
|
|
1804
969
|
|
|
1805
970
|
/**
|
|
1806
|
-
* @generated from field:
|
|
971
|
+
* @generated from field: required uint32 rtx_ssrc = 8;
|
|
1807
972
|
*/
|
|
1808
|
-
|
|
973
|
+
rtxSsrc: number;
|
|
1809
974
|
|
|
1810
975
|
/**
|
|
1811
|
-
* @generated from field:
|
|
976
|
+
* @generated from field: required double target_bitrate = 9;
|
|
1812
977
|
*/
|
|
1813
|
-
|
|
978
|
+
targetBitrate: number;
|
|
1814
979
|
|
|
1815
980
|
/**
|
|
1816
|
-
* @generated from field: uint64
|
|
981
|
+
* @generated from field: required uint64 total_encoded_bytes_target = 10;
|
|
1817
982
|
*/
|
|
1818
|
-
|
|
983
|
+
totalEncodedBytesTarget: bigint;
|
|
1819
984
|
|
|
1820
985
|
/**
|
|
1821
|
-
* @generated from field:
|
|
986
|
+
* @generated from field: required uint32 frame_width = 11;
|
|
1822
987
|
*/
|
|
1823
|
-
|
|
988
|
+
frameWidth: number;
|
|
1824
989
|
|
|
1825
990
|
/**
|
|
1826
|
-
* @generated from field:
|
|
991
|
+
* @generated from field: required uint32 frame_height = 12;
|
|
1827
992
|
*/
|
|
1828
|
-
|
|
993
|
+
frameHeight: number;
|
|
1829
994
|
|
|
1830
995
|
/**
|
|
1831
|
-
* @generated from field:
|
|
996
|
+
* @generated from field: required double frames_per_second = 13;
|
|
1832
997
|
*/
|
|
1833
|
-
|
|
998
|
+
framesPerSecond: number;
|
|
1834
999
|
|
|
1835
1000
|
/**
|
|
1836
|
-
* @generated from field:
|
|
1001
|
+
* @generated from field: required uint32 frames_sent = 14;
|
|
1837
1002
|
*/
|
|
1838
|
-
|
|
1003
|
+
framesSent: number;
|
|
1839
1004
|
|
|
1840
1005
|
/**
|
|
1841
|
-
* @generated from field:
|
|
1006
|
+
* @generated from field: required uint32 huge_frames_sent = 15;
|
|
1842
1007
|
*/
|
|
1843
|
-
|
|
1008
|
+
hugeFramesSent: number;
|
|
1844
1009
|
|
|
1845
1010
|
/**
|
|
1846
|
-
* @generated from field: uint32
|
|
1011
|
+
* @generated from field: required uint32 frames_encoded = 16;
|
|
1847
1012
|
*/
|
|
1848
|
-
|
|
1013
|
+
framesEncoded: number;
|
|
1849
1014
|
|
|
1850
1015
|
/**
|
|
1851
|
-
* @generated from field: uint32
|
|
1016
|
+
* @generated from field: required uint32 key_frames_encoded = 17;
|
|
1852
1017
|
*/
|
|
1853
|
-
|
|
1018
|
+
keyFramesEncoded: number;
|
|
1854
1019
|
|
|
1855
1020
|
/**
|
|
1856
|
-
* @generated from field:
|
|
1021
|
+
* @generated from field: required uint64 qp_sum = 18;
|
|
1857
1022
|
*/
|
|
1858
|
-
|
|
1023
|
+
qpSum: bigint;
|
|
1859
1024
|
|
|
1860
1025
|
/**
|
|
1861
|
-
* @generated from field:
|
|
1026
|
+
* @generated from field: required double total_encode_time = 19;
|
|
1862
1027
|
*/
|
|
1863
|
-
|
|
1028
|
+
totalEncodeTime: number;
|
|
1864
1029
|
|
|
1865
1030
|
/**
|
|
1866
|
-
* @generated from field:
|
|
1031
|
+
* @generated from field: required double total_packet_send_delay = 20;
|
|
1867
1032
|
*/
|
|
1868
|
-
|
|
1033
|
+
totalPacketSendDelay: number;
|
|
1869
1034
|
|
|
1870
1035
|
/**
|
|
1871
|
-
* @generated from field:
|
|
1036
|
+
* @generated from field: required livekit.proto.QualityLimitationReason quality_limitation_reason = 21;
|
|
1872
1037
|
*/
|
|
1873
|
-
|
|
1038
|
+
qualityLimitationReason: QualityLimitationReason;
|
|
1874
1039
|
|
|
1875
1040
|
/**
|
|
1876
|
-
* @generated from field:
|
|
1041
|
+
* @generated from field: map<string, double> quality_limitation_durations = 22;
|
|
1877
1042
|
*/
|
|
1878
|
-
|
|
1043
|
+
qualityLimitationDurations: { [key: string]: number };
|
|
1879
1044
|
|
|
1880
1045
|
/**
|
|
1881
|
-
* @generated from field:
|
|
1046
|
+
* @generated from field: required uint32 quality_limitation_resolution_changes = 23;
|
|
1882
1047
|
*/
|
|
1883
|
-
|
|
1048
|
+
qualityLimitationResolutionChanges: number;
|
|
1884
1049
|
|
|
1885
1050
|
/**
|
|
1886
|
-
* @generated from field:
|
|
1051
|
+
* @generated from field: required uint32 nack_count = 24;
|
|
1887
1052
|
*/
|
|
1888
|
-
|
|
1053
|
+
nackCount: number;
|
|
1889
1054
|
|
|
1890
1055
|
/**
|
|
1891
|
-
* @generated from field:
|
|
1056
|
+
* @generated from field: required uint32 fir_count = 25;
|
|
1892
1057
|
*/
|
|
1893
|
-
|
|
1058
|
+
firCount: number;
|
|
1894
1059
|
|
|
1895
1060
|
/**
|
|
1896
|
-
* @generated from field:
|
|
1061
|
+
* @generated from field: required uint32 pli_count = 26;
|
|
1897
1062
|
*/
|
|
1898
|
-
|
|
1063
|
+
pliCount: number;
|
|
1899
1064
|
|
|
1900
1065
|
/**
|
|
1901
|
-
* @generated from field:
|
|
1066
|
+
* @generated from field: required string encoder_implementation = 27;
|
|
1902
1067
|
*/
|
|
1903
|
-
|
|
1068
|
+
encoderImplementation: string;
|
|
1904
1069
|
|
|
1905
1070
|
/**
|
|
1906
|
-
* @generated from field:
|
|
1071
|
+
* @generated from field: required bool power_efficient_encoder = 28;
|
|
1907
1072
|
*/
|
|
1908
|
-
|
|
1073
|
+
powerEfficientEncoder: boolean;
|
|
1909
1074
|
|
|
1910
1075
|
/**
|
|
1911
|
-
* @generated from field:
|
|
1076
|
+
* @generated from field: required bool active = 29;
|
|
1912
1077
|
*/
|
|
1913
|
-
|
|
1078
|
+
active: boolean;
|
|
1914
1079
|
|
|
1915
1080
|
/**
|
|
1916
|
-
* @generated from field:
|
|
1081
|
+
* @generated from field: required string scalability_mode = 30;
|
|
1917
1082
|
*/
|
|
1918
|
-
|
|
1083
|
+
scalabilityMode: string;
|
|
1084
|
+
};
|
|
1919
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* Describes the message livekit.proto.OutboundRtpStreamStats.
|
|
1088
|
+
* Use `create(OutboundRtpStreamStatsSchema)` to create a new message.
|
|
1089
|
+
*/
|
|
1090
|
+
export const OutboundRtpStreamStatsSchema: GenMessage<OutboundRtpStreamStats> = /*@__PURE__*/
|
|
1091
|
+
messageDesc(file_stats, 7);
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* @generated from message livekit.proto.RemoteInboundRtpStreamStats
|
|
1095
|
+
*/
|
|
1096
|
+
export type RemoteInboundRtpStreamStats = Message<"livekit.proto.RemoteInboundRtpStreamStats"> & {
|
|
1920
1097
|
/**
|
|
1921
|
-
* @generated from field:
|
|
1098
|
+
* @generated from field: required string local_id = 1;
|
|
1922
1099
|
*/
|
|
1923
|
-
|
|
1100
|
+
localId: string;
|
|
1924
1101
|
|
|
1925
1102
|
/**
|
|
1926
|
-
* @generated from field:
|
|
1103
|
+
* @generated from field: required double round_trip_time = 2;
|
|
1927
1104
|
*/
|
|
1928
|
-
|
|
1105
|
+
roundTripTime: number;
|
|
1929
1106
|
|
|
1930
1107
|
/**
|
|
1931
|
-
* @generated from field:
|
|
1108
|
+
* @generated from field: required double total_round_trip_time = 3;
|
|
1932
1109
|
*/
|
|
1933
|
-
|
|
1110
|
+
totalRoundTripTime: number;
|
|
1934
1111
|
|
|
1935
1112
|
/**
|
|
1936
|
-
* @generated from field:
|
|
1113
|
+
* @generated from field: required double fraction_lost = 4;
|
|
1937
1114
|
*/
|
|
1938
|
-
|
|
1115
|
+
fractionLost: number;
|
|
1939
1116
|
|
|
1940
1117
|
/**
|
|
1941
|
-
* @generated from field:
|
|
1118
|
+
* @generated from field: required uint64 round_trip_time_measurements = 5;
|
|
1942
1119
|
*/
|
|
1943
|
-
|
|
1120
|
+
roundTripTimeMeasurements: bigint;
|
|
1121
|
+
};
|
|
1944
1122
|
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1123
|
+
/**
|
|
1124
|
+
* Describes the message livekit.proto.RemoteInboundRtpStreamStats.
|
|
1125
|
+
* Use `create(RemoteInboundRtpStreamStatsSchema)` to create a new message.
|
|
1126
|
+
*/
|
|
1127
|
+
export const RemoteInboundRtpStreamStatsSchema: GenMessage<RemoteInboundRtpStreamStats> = /*@__PURE__*/
|
|
1128
|
+
messageDesc(file_stats, 8);
|
|
1949
1129
|
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
{ no: 6, name: "retransmitted_packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1959
|
-
{ no: 7, name: "retransmitted_bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1960
|
-
{ no: 8, name: "rtx_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1961
|
-
{ no: 9, name: "target_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1962
|
-
{ no: 10, name: "total_encoded_bytes_target", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1963
|
-
{ no: 11, name: "frame_width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1964
|
-
{ no: 12, name: "frame_height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1965
|
-
{ no: 13, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1966
|
-
{ no: 14, name: "frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1967
|
-
{ no: 15, name: "huge_frames_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1968
|
-
{ no: 16, name: "frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1969
|
-
{ no: 17, name: "key_frames_encoded", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1970
|
-
{ no: 18, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1971
|
-
{ no: 19, name: "total_encode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1972
|
-
{ no: 20, name: "total_packet_send_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1973
|
-
{ no: 21, name: "quality_limitation_reason", kind: "enum", T: proto3.getEnumType(QualityLimitationReason) },
|
|
1974
|
-
{ no: 22, name: "quality_limitation_durations", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 1 /* ScalarType.DOUBLE */} },
|
|
1975
|
-
{ no: 23, name: "quality_limitation_resolution_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1976
|
-
{ no: 24, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1977
|
-
{ no: 25, name: "fir_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1978
|
-
{ no: 26, name: "pli_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1979
|
-
{ no: 27, name: "encoder_implementation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1980
|
-
{ no: 28, name: "power_efficient_encoder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1981
|
-
{ no: 29, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1982
|
-
{ no: 30, name: "scalibility_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1983
|
-
]);
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from message livekit.proto.RemoteOutboundRtpStreamStats
|
|
1132
|
+
*/
|
|
1133
|
+
export type RemoteOutboundRtpStreamStats = Message<"livekit.proto.RemoteOutboundRtpStreamStats"> & {
|
|
1134
|
+
/**
|
|
1135
|
+
* @generated from field: required string local_id = 1;
|
|
1136
|
+
*/
|
|
1137
|
+
localId: string;
|
|
1984
1138
|
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1139
|
+
/**
|
|
1140
|
+
* @generated from field: required double remote_timestamp = 2;
|
|
1141
|
+
*/
|
|
1142
|
+
remoteTimestamp: number;
|
|
1988
1143
|
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from field: required uint64 reports_sent = 3;
|
|
1146
|
+
*/
|
|
1147
|
+
reportsSent: bigint;
|
|
1992
1148
|
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1149
|
+
/**
|
|
1150
|
+
* @generated from field: required double round_trip_time = 4;
|
|
1151
|
+
*/
|
|
1152
|
+
roundTripTime: number;
|
|
1996
1153
|
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
1154
|
+
/**
|
|
1155
|
+
* @generated from field: required double total_round_trip_time = 5;
|
|
1156
|
+
*/
|
|
1157
|
+
totalRoundTripTime: number;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* @generated from field: required uint64 round_trip_time_measurements = 6;
|
|
1161
|
+
*/
|
|
1162
|
+
roundTripTimeMeasurements: bigint;
|
|
1163
|
+
};
|
|
2001
1164
|
|
|
2002
1165
|
/**
|
|
2003
|
-
*
|
|
1166
|
+
* Describes the message livekit.proto.RemoteOutboundRtpStreamStats.
|
|
1167
|
+
* Use `create(RemoteOutboundRtpStreamStatsSchema)` to create a new message.
|
|
1168
|
+
*/
|
|
1169
|
+
export const RemoteOutboundRtpStreamStatsSchema: GenMessage<RemoteOutboundRtpStreamStats> = /*@__PURE__*/
|
|
1170
|
+
messageDesc(file_stats, 9);
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from message livekit.proto.MediaSourceStats
|
|
2004
1174
|
*/
|
|
2005
|
-
export
|
|
1175
|
+
export type MediaSourceStats = Message<"livekit.proto.MediaSourceStats"> & {
|
|
2006
1176
|
/**
|
|
2007
|
-
* @generated from field: string
|
|
1177
|
+
* @generated from field: required string track_identifier = 1;
|
|
2008
1178
|
*/
|
|
2009
|
-
|
|
1179
|
+
trackIdentifier: string;
|
|
2010
1180
|
|
|
2011
1181
|
/**
|
|
2012
|
-
* @generated from field:
|
|
1182
|
+
* @generated from field: required string kind = 2;
|
|
2013
1183
|
*/
|
|
2014
|
-
|
|
1184
|
+
kind: string;
|
|
1185
|
+
};
|
|
2015
1186
|
|
|
1187
|
+
/**
|
|
1188
|
+
* Describes the message livekit.proto.MediaSourceStats.
|
|
1189
|
+
* Use `create(MediaSourceStatsSchema)` to create a new message.
|
|
1190
|
+
*/
|
|
1191
|
+
export const MediaSourceStatsSchema: GenMessage<MediaSourceStats> = /*@__PURE__*/
|
|
1192
|
+
messageDesc(file_stats, 10);
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from message livekit.proto.AudioSourceStats
|
|
1196
|
+
*/
|
|
1197
|
+
export type AudioSourceStats = Message<"livekit.proto.AudioSourceStats"> & {
|
|
2016
1198
|
/**
|
|
2017
|
-
* @generated from field: double
|
|
1199
|
+
* @generated from field: required double audio_level = 1;
|
|
2018
1200
|
*/
|
|
2019
|
-
|
|
1201
|
+
audioLevel: number;
|
|
2020
1202
|
|
|
2021
1203
|
/**
|
|
2022
|
-
* @generated from field: double
|
|
1204
|
+
* @generated from field: required double total_audio_energy = 2;
|
|
2023
1205
|
*/
|
|
2024
|
-
|
|
1206
|
+
totalAudioEnergy: number;
|
|
2025
1207
|
|
|
2026
1208
|
/**
|
|
2027
|
-
* @generated from field:
|
|
1209
|
+
* @generated from field: required double total_samples_duration = 3;
|
|
2028
1210
|
*/
|
|
2029
|
-
|
|
1211
|
+
totalSamplesDuration: number;
|
|
2030
1212
|
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
1213
|
+
/**
|
|
1214
|
+
* @generated from field: required double echo_return_loss = 4;
|
|
1215
|
+
*/
|
|
1216
|
+
echoReturnLoss: number;
|
|
2035
1217
|
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
{ no: 2, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2041
|
-
{ no: 3, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2042
|
-
{ no: 4, name: "fraction_lost", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2043
|
-
{ no: 5, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2044
|
-
]);
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from field: required double echo_return_loss_enhancement = 5;
|
|
1220
|
+
*/
|
|
1221
|
+
echoReturnLossEnhancement: number;
|
|
2045
1222
|
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
1223
|
+
/**
|
|
1224
|
+
* @generated from field: required double dropped_samples_duration = 6;
|
|
1225
|
+
*/
|
|
1226
|
+
droppedSamplesDuration: number;
|
|
2049
1227
|
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
1228
|
+
/**
|
|
1229
|
+
* @generated from field: required uint32 dropped_samples_events = 7;
|
|
1230
|
+
*/
|
|
1231
|
+
droppedSamplesEvents: number;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from field: required double total_capture_delay = 8;
|
|
1235
|
+
*/
|
|
1236
|
+
totalCaptureDelay: number;
|
|
2053
1237
|
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from field: required uint64 total_samples_captured = 9;
|
|
1240
|
+
*/
|
|
1241
|
+
totalSamplesCaptured: bigint;
|
|
1242
|
+
};
|
|
2057
1243
|
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
1244
|
+
/**
|
|
1245
|
+
* Describes the message livekit.proto.AudioSourceStats.
|
|
1246
|
+
* Use `create(AudioSourceStatsSchema)` to create a new message.
|
|
1247
|
+
*/
|
|
1248
|
+
export const AudioSourceStatsSchema: GenMessage<AudioSourceStats> = /*@__PURE__*/
|
|
1249
|
+
messageDesc(file_stats, 11);
|
|
2062
1250
|
|
|
2063
1251
|
/**
|
|
2064
|
-
* @generated from message livekit.proto.
|
|
1252
|
+
* @generated from message livekit.proto.VideoSourceStats
|
|
2065
1253
|
*/
|
|
2066
|
-
export
|
|
1254
|
+
export type VideoSourceStats = Message<"livekit.proto.VideoSourceStats"> & {
|
|
2067
1255
|
/**
|
|
2068
|
-
* @generated from field:
|
|
1256
|
+
* @generated from field: required uint32 width = 1;
|
|
2069
1257
|
*/
|
|
2070
|
-
|
|
1258
|
+
width: number;
|
|
2071
1259
|
|
|
2072
1260
|
/**
|
|
2073
|
-
* @generated from field:
|
|
1261
|
+
* @generated from field: required uint32 height = 2;
|
|
2074
1262
|
*/
|
|
2075
|
-
|
|
1263
|
+
height: number;
|
|
2076
1264
|
|
|
2077
1265
|
/**
|
|
2078
|
-
* @generated from field:
|
|
1266
|
+
* @generated from field: required uint32 frames = 3;
|
|
2079
1267
|
*/
|
|
2080
|
-
|
|
1268
|
+
frames: number;
|
|
2081
1269
|
|
|
2082
1270
|
/**
|
|
2083
|
-
* @generated from field: double
|
|
1271
|
+
* @generated from field: required double frames_per_second = 4;
|
|
2084
1272
|
*/
|
|
2085
|
-
|
|
1273
|
+
framesPerSecond: number;
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* Describes the message livekit.proto.VideoSourceStats.
|
|
1278
|
+
* Use `create(VideoSourceStatsSchema)` to create a new message.
|
|
1279
|
+
*/
|
|
1280
|
+
export const VideoSourceStatsSchema: GenMessage<VideoSourceStats> = /*@__PURE__*/
|
|
1281
|
+
messageDesc(file_stats, 12);
|
|
2086
1282
|
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated from message livekit.proto.AudioPlayoutStats
|
|
1285
|
+
*/
|
|
1286
|
+
export type AudioPlayoutStats = Message<"livekit.proto.AudioPlayoutStats"> & {
|
|
2087
1287
|
/**
|
|
2088
|
-
* @generated from field:
|
|
1288
|
+
* @generated from field: required string kind = 1;
|
|
2089
1289
|
*/
|
|
2090
|
-
|
|
1290
|
+
kind: string;
|
|
2091
1291
|
|
|
2092
1292
|
/**
|
|
2093
|
-
* @generated from field:
|
|
1293
|
+
* @generated from field: required double synthesized_samples_duration = 2;
|
|
2094
1294
|
*/
|
|
2095
|
-
|
|
1295
|
+
synthesizedSamplesDuration: number;
|
|
2096
1296
|
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from field: required uint32 synthesized_samples_events = 3;
|
|
1299
|
+
*/
|
|
1300
|
+
synthesizedSamplesEvents: number;
|
|
2101
1301
|
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
{ no: 2, name: "remote_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2107
|
-
{ no: 3, name: "reports_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2108
|
-
{ no: 4, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2109
|
-
{ no: 5, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2110
|
-
{ no: 6, name: "round_trip_time_measurements", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2111
|
-
]);
|
|
1302
|
+
/**
|
|
1303
|
+
* @generated from field: required double total_samples_duration = 4;
|
|
1304
|
+
*/
|
|
1305
|
+
totalSamplesDuration: number;
|
|
2112
1306
|
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
1307
|
+
/**
|
|
1308
|
+
* @generated from field: required double total_playout_delay = 5;
|
|
1309
|
+
*/
|
|
1310
|
+
totalPlayoutDelay: number;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: required uint64 total_samples_count = 6;
|
|
1314
|
+
*/
|
|
1315
|
+
totalSamplesCount: bigint;
|
|
1316
|
+
};
|
|
2116
1317
|
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
1318
|
+
/**
|
|
1319
|
+
* Describes the message livekit.proto.AudioPlayoutStats.
|
|
1320
|
+
* Use `create(AudioPlayoutStatsSchema)` to create a new message.
|
|
1321
|
+
*/
|
|
1322
|
+
export const AudioPlayoutStatsSchema: GenMessage<AudioPlayoutStats> = /*@__PURE__*/
|
|
1323
|
+
messageDesc(file_stats, 13);
|
|
2120
1324
|
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
1325
|
+
/**
|
|
1326
|
+
* @generated from message livekit.proto.PeerConnectionStats
|
|
1327
|
+
*/
|
|
1328
|
+
export type PeerConnectionStats = Message<"livekit.proto.PeerConnectionStats"> & {
|
|
1329
|
+
/**
|
|
1330
|
+
* @generated from field: required uint32 data_channels_opened = 1;
|
|
1331
|
+
*/
|
|
1332
|
+
dataChannelsOpened: number;
|
|
2124
1333
|
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
1334
|
+
/**
|
|
1335
|
+
* @generated from field: required uint32 data_channels_closed = 2;
|
|
1336
|
+
*/
|
|
1337
|
+
dataChannelsClosed: number;
|
|
1338
|
+
};
|
|
2129
1339
|
|
|
2130
1340
|
/**
|
|
2131
|
-
*
|
|
1341
|
+
* Describes the message livekit.proto.PeerConnectionStats.
|
|
1342
|
+
* Use `create(PeerConnectionStatsSchema)` to create a new message.
|
|
2132
1343
|
*/
|
|
2133
|
-
export
|
|
1344
|
+
export const PeerConnectionStatsSchema: GenMessage<PeerConnectionStats> = /*@__PURE__*/
|
|
1345
|
+
messageDesc(file_stats, 14);
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* @generated from message livekit.proto.DataChannelStats
|
|
1349
|
+
*/
|
|
1350
|
+
export type DataChannelStats = Message<"livekit.proto.DataChannelStats"> & {
|
|
2134
1351
|
/**
|
|
2135
|
-
* @generated from field: string
|
|
1352
|
+
* @generated from field: required string label = 1;
|
|
2136
1353
|
*/
|
|
2137
|
-
|
|
1354
|
+
label: string;
|
|
2138
1355
|
|
|
2139
1356
|
/**
|
|
2140
|
-
* @generated from field: string
|
|
1357
|
+
* @generated from field: required string protocol = 2;
|
|
2141
1358
|
*/
|
|
2142
|
-
|
|
1359
|
+
protocol: string;
|
|
2143
1360
|
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
1361
|
+
/**
|
|
1362
|
+
* @generated from field: required int32 data_channel_identifier = 3;
|
|
1363
|
+
*/
|
|
1364
|
+
dataChannelIdentifier: number;
|
|
2148
1365
|
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2154
|
-
]);
|
|
1366
|
+
/**
|
|
1367
|
+
* @generated from field: optional livekit.proto.DataChannelState state = 4;
|
|
1368
|
+
*/
|
|
1369
|
+
state: DataChannelState;
|
|
2155
1370
|
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
1371
|
+
/**
|
|
1372
|
+
* @generated from field: required uint32 messages_sent = 5;
|
|
1373
|
+
*/
|
|
1374
|
+
messagesSent: number;
|
|
2159
1375
|
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
1376
|
+
/**
|
|
1377
|
+
* @generated from field: required uint64 bytes_sent = 6;
|
|
1378
|
+
*/
|
|
1379
|
+
bytesSent: bigint;
|
|
2163
1380
|
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
1381
|
+
/**
|
|
1382
|
+
* @generated from field: required uint32 messages_received = 7;
|
|
1383
|
+
*/
|
|
1384
|
+
messagesReceived: number;
|
|
2167
1385
|
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from field: required uint64 bytes_received = 8;
|
|
1388
|
+
*/
|
|
1389
|
+
bytesReceived: bigint;
|
|
1390
|
+
};
|
|
2172
1391
|
|
|
2173
1392
|
/**
|
|
2174
|
-
*
|
|
1393
|
+
* Describes the message livekit.proto.DataChannelStats.
|
|
1394
|
+
* Use `create(DataChannelStatsSchema)` to create a new message.
|
|
2175
1395
|
*/
|
|
2176
|
-
export
|
|
1396
|
+
export const DataChannelStatsSchema: GenMessage<DataChannelStats> = /*@__PURE__*/
|
|
1397
|
+
messageDesc(file_stats, 15);
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @generated from message livekit.proto.TransportStats
|
|
1401
|
+
*/
|
|
1402
|
+
export type TransportStats = Message<"livekit.proto.TransportStats"> & {
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated from field: required uint64 packets_sent = 1;
|
|
1405
|
+
*/
|
|
1406
|
+
packetsSent: bigint;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* @generated from field: required uint64 packets_received = 2;
|
|
1410
|
+
*/
|
|
1411
|
+
packetsReceived: bigint;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* @generated from field: required uint64 bytes_sent = 3;
|
|
1415
|
+
*/
|
|
1416
|
+
bytesSent: bigint;
|
|
1417
|
+
|
|
2177
1418
|
/**
|
|
2178
|
-
* @generated from field:
|
|
1419
|
+
* @generated from field: required uint64 bytes_received = 4;
|
|
2179
1420
|
*/
|
|
2180
|
-
|
|
1421
|
+
bytesReceived: bigint;
|
|
2181
1422
|
|
|
2182
1423
|
/**
|
|
2183
|
-
* @generated from field:
|
|
1424
|
+
* @generated from field: required livekit.proto.IceRole ice_role = 5;
|
|
2184
1425
|
*/
|
|
2185
|
-
|
|
1426
|
+
iceRole: IceRole;
|
|
2186
1427
|
|
|
2187
1428
|
/**
|
|
2188
|
-
* @generated from field:
|
|
1429
|
+
* @generated from field: required string ice_local_username_fragment = 6;
|
|
2189
1430
|
*/
|
|
2190
|
-
|
|
1431
|
+
iceLocalUsernameFragment: string;
|
|
2191
1432
|
|
|
2192
1433
|
/**
|
|
2193
|
-
* @generated from field:
|
|
1434
|
+
* @generated from field: optional livekit.proto.DtlsTransportState dtls_state = 7;
|
|
2194
1435
|
*/
|
|
2195
|
-
|
|
1436
|
+
dtlsState: DtlsTransportState;
|
|
2196
1437
|
|
|
2197
1438
|
/**
|
|
2198
|
-
* @generated from field:
|
|
1439
|
+
* @generated from field: optional livekit.proto.IceTransportState ice_state = 8;
|
|
2199
1440
|
*/
|
|
2200
|
-
|
|
1441
|
+
iceState: IceTransportState;
|
|
2201
1442
|
|
|
2202
1443
|
/**
|
|
2203
|
-
* @generated from field:
|
|
1444
|
+
* @generated from field: required string selected_candidate_pair_id = 9;
|
|
2204
1445
|
*/
|
|
2205
|
-
|
|
1446
|
+
selectedCandidatePairId: string;
|
|
2206
1447
|
|
|
2207
1448
|
/**
|
|
2208
|
-
* @generated from field:
|
|
1449
|
+
* @generated from field: required string local_certificate_id = 10;
|
|
2209
1450
|
*/
|
|
2210
|
-
|
|
1451
|
+
localCertificateId: string;
|
|
2211
1452
|
|
|
2212
1453
|
/**
|
|
2213
|
-
* @generated from field:
|
|
1454
|
+
* @generated from field: required string remote_certificate_id = 11;
|
|
2214
1455
|
*/
|
|
2215
|
-
|
|
1456
|
+
remoteCertificateId: string;
|
|
2216
1457
|
|
|
2217
1458
|
/**
|
|
2218
|
-
* @generated from field:
|
|
1459
|
+
* @generated from field: required string tls_version = 12;
|
|
2219
1460
|
*/
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
constructor(data?: PartialMessage<AudioSourceStats>) {
|
|
2223
|
-
super();
|
|
2224
|
-
proto3.util.initPartial(data, this);
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2228
|
-
static readonly typeName = "livekit.proto.AudioSourceStats";
|
|
2229
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2230
|
-
{ no: 1, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2231
|
-
{ no: 2, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2232
|
-
{ no: 3, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2233
|
-
{ no: 4, name: "echo_return_loss", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2234
|
-
{ no: 5, name: "echo_return_loss_enhancement", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2235
|
-
{ no: 6, name: "dropped_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2236
|
-
{ no: 7, name: "dropped_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2237
|
-
{ no: 8, name: "total_capture_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2238
|
-
{ no: 9, name: "total_samples_captured", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2239
|
-
]);
|
|
2240
|
-
|
|
2241
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSourceStats {
|
|
2242
|
-
return new AudioSourceStats().fromBinary(bytes, options);
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioSourceStats {
|
|
2246
|
-
return new AudioSourceStats().fromJson(jsonValue, options);
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceStats {
|
|
2250
|
-
return new AudioSourceStats().fromJsonString(jsonString, options);
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
|
-
static equals(a: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined, b: AudioSourceStats | PlainMessage<AudioSourceStats> | undefined): boolean {
|
|
2254
|
-
return proto3.util.equals(AudioSourceStats, a, b);
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
1461
|
+
tlsVersion: string;
|
|
2257
1462
|
|
|
2258
|
-
/**
|
|
2259
|
-
* @generated from message livekit.proto.VideoSourceStats
|
|
2260
|
-
*/
|
|
2261
|
-
export class VideoSourceStats extends Message<VideoSourceStats> {
|
|
2262
1463
|
/**
|
|
2263
|
-
* @generated from field:
|
|
1464
|
+
* @generated from field: required string dtls_cipher = 13;
|
|
2264
1465
|
*/
|
|
2265
|
-
|
|
1466
|
+
dtlsCipher: string;
|
|
2266
1467
|
|
|
2267
1468
|
/**
|
|
2268
|
-
* @generated from field:
|
|
1469
|
+
* @generated from field: required livekit.proto.DtlsRole dtls_role = 14;
|
|
2269
1470
|
*/
|
|
2270
|
-
|
|
1471
|
+
dtlsRole: DtlsRole;
|
|
2271
1472
|
|
|
2272
1473
|
/**
|
|
2273
|
-
* @generated from field:
|
|
1474
|
+
* @generated from field: required string srtp_cipher = 15;
|
|
2274
1475
|
*/
|
|
2275
|
-
|
|
1476
|
+
srtpCipher: string;
|
|
2276
1477
|
|
|
2277
1478
|
/**
|
|
2278
|
-
* @generated from field:
|
|
1479
|
+
* @generated from field: required uint32 selected_candidate_pair_changes = 16;
|
|
2279
1480
|
*/
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
constructor(data?: PartialMessage<VideoSourceStats>) {
|
|
2283
|
-
super();
|
|
2284
|
-
proto3.util.initPartial(data, this);
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2288
|
-
static readonly typeName = "livekit.proto.VideoSourceStats";
|
|
2289
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2290
|
-
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2291
|
-
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2292
|
-
{ no: 3, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2293
|
-
{ no: 4, name: "frames_per_second", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2294
|
-
]);
|
|
2295
|
-
|
|
2296
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceStats {
|
|
2297
|
-
return new VideoSourceStats().fromBinary(bytes, options);
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceStats {
|
|
2301
|
-
return new VideoSourceStats().fromJson(jsonValue, options);
|
|
2302
|
-
}
|
|
1481
|
+
selectedCandidatePairChanges: number;
|
|
1482
|
+
};
|
|
2303
1483
|
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Describes the message livekit.proto.TransportStats.
|
|
1486
|
+
* Use `create(TransportStatsSchema)` to create a new message.
|
|
1487
|
+
*/
|
|
1488
|
+
export const TransportStatsSchema: GenMessage<TransportStats> = /*@__PURE__*/
|
|
1489
|
+
messageDesc(file_stats, 16);
|
|
2312
1490
|
|
|
2313
1491
|
/**
|
|
2314
|
-
* @generated from message livekit.proto.
|
|
1492
|
+
* @generated from message livekit.proto.CandidatePairStats
|
|
2315
1493
|
*/
|
|
2316
|
-
export
|
|
1494
|
+
export type CandidatePairStats = Message<"livekit.proto.CandidatePairStats"> & {
|
|
2317
1495
|
/**
|
|
2318
|
-
* @generated from field: string
|
|
1496
|
+
* @generated from field: required string transport_id = 1;
|
|
2319
1497
|
*/
|
|
2320
|
-
|
|
1498
|
+
transportId: string;
|
|
2321
1499
|
|
|
2322
1500
|
/**
|
|
2323
|
-
* @generated from field:
|
|
1501
|
+
* @generated from field: required string local_candidate_id = 2;
|
|
2324
1502
|
*/
|
|
2325
|
-
|
|
1503
|
+
localCandidateId: string;
|
|
2326
1504
|
|
|
2327
1505
|
/**
|
|
2328
|
-
* @generated from field:
|
|
1506
|
+
* @generated from field: required string remote_candidate_id = 3;
|
|
2329
1507
|
*/
|
|
2330
|
-
|
|
1508
|
+
remoteCandidateId: string;
|
|
2331
1509
|
|
|
2332
1510
|
/**
|
|
2333
|
-
* @generated from field:
|
|
1511
|
+
* @generated from field: optional livekit.proto.IceCandidatePairState state = 4;
|
|
2334
1512
|
*/
|
|
2335
|
-
|
|
1513
|
+
state: IceCandidatePairState;
|
|
2336
1514
|
|
|
2337
1515
|
/**
|
|
2338
|
-
* @generated from field:
|
|
1516
|
+
* @generated from field: required bool nominated = 5;
|
|
2339
1517
|
*/
|
|
2340
|
-
|
|
1518
|
+
nominated: boolean;
|
|
2341
1519
|
|
|
2342
1520
|
/**
|
|
2343
|
-
* @generated from field: uint64
|
|
1521
|
+
* @generated from field: required uint64 packets_sent = 6;
|
|
2344
1522
|
*/
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
constructor(data?: PartialMessage<AudioPlayoutStats>) {
|
|
2348
|
-
super();
|
|
2349
|
-
proto3.util.initPartial(data, this);
|
|
2350
|
-
}
|
|
1523
|
+
packetsSent: bigint;
|
|
2351
1524
|
|
|
2352
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2353
|
-
static readonly typeName = "livekit.proto.AudioPlayoutStats";
|
|
2354
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2355
|
-
{ no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2356
|
-
{ no: 2, name: "synthesized_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2357
|
-
{ no: 3, name: "synthesized_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2358
|
-
{ no: 4, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2359
|
-
{ no: 5, name: "total_playout_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2360
|
-
{ no: 6, name: "total_samples_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2361
|
-
]);
|
|
2362
|
-
|
|
2363
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioPlayoutStats {
|
|
2364
|
-
return new AudioPlayoutStats().fromBinary(bytes, options);
|
|
2365
|
-
}
|
|
2366
|
-
|
|
2367
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioPlayoutStats {
|
|
2368
|
-
return new AudioPlayoutStats().fromJson(jsonValue, options);
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioPlayoutStats {
|
|
2372
|
-
return new AudioPlayoutStats().fromJsonString(jsonString, options);
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2375
|
-
static equals(a: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined, b: AudioPlayoutStats | PlainMessage<AudioPlayoutStats> | undefined): boolean {
|
|
2376
|
-
return proto3.util.equals(AudioPlayoutStats, a, b);
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
/**
|
|
2381
|
-
* @generated from message livekit.proto.PeerConnectionStats
|
|
2382
|
-
*/
|
|
2383
|
-
export class PeerConnectionStats extends Message<PeerConnectionStats> {
|
|
2384
1525
|
/**
|
|
2385
|
-
* @generated from field:
|
|
1526
|
+
* @generated from field: required uint64 packets_received = 7;
|
|
2386
1527
|
*/
|
|
2387
|
-
|
|
1528
|
+
packetsReceived: bigint;
|
|
2388
1529
|
|
|
2389
1530
|
/**
|
|
2390
|
-
* @generated from field:
|
|
1531
|
+
* @generated from field: required uint64 bytes_sent = 8;
|
|
2391
1532
|
*/
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
constructor(data?: PartialMessage<PeerConnectionStats>) {
|
|
2395
|
-
super();
|
|
2396
|
-
proto3.util.initPartial(data, this);
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2400
|
-
static readonly typeName = "livekit.proto.PeerConnectionStats";
|
|
2401
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2402
|
-
{ no: 1, name: "data_channels_opened", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2403
|
-
{ no: 2, name: "data_channels_closed", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2404
|
-
]);
|
|
2405
|
-
|
|
2406
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PeerConnectionStats {
|
|
2407
|
-
return new PeerConnectionStats().fromBinary(bytes, options);
|
|
2408
|
-
}
|
|
1533
|
+
bytesSent: bigint;
|
|
2409
1534
|
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PeerConnectionStats {
|
|
2415
|
-
return new PeerConnectionStats().fromJsonString(jsonString, options);
|
|
2416
|
-
}
|
|
2417
|
-
|
|
2418
|
-
static equals(a: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined, b: PeerConnectionStats | PlainMessage<PeerConnectionStats> | undefined): boolean {
|
|
2419
|
-
return proto3.util.equals(PeerConnectionStats, a, b);
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
1535
|
+
/**
|
|
1536
|
+
* @generated from field: required uint64 bytes_received = 9;
|
|
1537
|
+
*/
|
|
1538
|
+
bytesReceived: bigint;
|
|
2422
1539
|
|
|
2423
|
-
/**
|
|
2424
|
-
* @generated from message livekit.proto.DataChannelStats
|
|
2425
|
-
*/
|
|
2426
|
-
export class DataChannelStats extends Message<DataChannelStats> {
|
|
2427
1540
|
/**
|
|
2428
|
-
* @generated from field:
|
|
1541
|
+
* @generated from field: required double last_packet_sent_timestamp = 10;
|
|
2429
1542
|
*/
|
|
2430
|
-
|
|
1543
|
+
lastPacketSentTimestamp: number;
|
|
2431
1544
|
|
|
2432
1545
|
/**
|
|
2433
|
-
* @generated from field:
|
|
1546
|
+
* @generated from field: required double last_packet_received_timestamp = 11;
|
|
2434
1547
|
*/
|
|
2435
|
-
|
|
1548
|
+
lastPacketReceivedTimestamp: number;
|
|
2436
1549
|
|
|
2437
1550
|
/**
|
|
2438
|
-
* @generated from field:
|
|
1551
|
+
* @generated from field: required double total_round_trip_time = 12;
|
|
2439
1552
|
*/
|
|
2440
|
-
|
|
1553
|
+
totalRoundTripTime: number;
|
|
2441
1554
|
|
|
2442
1555
|
/**
|
|
2443
|
-
* @generated from field:
|
|
1556
|
+
* @generated from field: required double current_round_trip_time = 13;
|
|
2444
1557
|
*/
|
|
2445
|
-
|
|
1558
|
+
currentRoundTripTime: number;
|
|
2446
1559
|
|
|
2447
1560
|
/**
|
|
2448
|
-
* @generated from field:
|
|
1561
|
+
* @generated from field: required double available_outgoing_bitrate = 14;
|
|
2449
1562
|
*/
|
|
2450
|
-
|
|
1563
|
+
availableOutgoingBitrate: number;
|
|
2451
1564
|
|
|
2452
1565
|
/**
|
|
2453
|
-
* @generated from field:
|
|
1566
|
+
* @generated from field: required double available_incoming_bitrate = 15;
|
|
2454
1567
|
*/
|
|
2455
|
-
|
|
1568
|
+
availableIncomingBitrate: number;
|
|
2456
1569
|
|
|
2457
1570
|
/**
|
|
2458
|
-
* @generated from field:
|
|
1571
|
+
* @generated from field: required uint64 requests_received = 16;
|
|
2459
1572
|
*/
|
|
2460
|
-
|
|
1573
|
+
requestsReceived: bigint;
|
|
2461
1574
|
|
|
2462
1575
|
/**
|
|
2463
|
-
* @generated from field: uint64
|
|
1576
|
+
* @generated from field: required uint64 requests_sent = 17;
|
|
2464
1577
|
*/
|
|
2465
|
-
|
|
1578
|
+
requestsSent: bigint;
|
|
2466
1579
|
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
1580
|
+
/**
|
|
1581
|
+
* @generated from field: required uint64 responses_received = 18;
|
|
1582
|
+
*/
|
|
1583
|
+
responsesReceived: bigint;
|
|
2471
1584
|
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
{ no: 2, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2477
|
-
{ no: 3, name: "data_channel_identifier", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2478
|
-
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(DataChannelState), opt: true },
|
|
2479
|
-
{ no: 5, name: "messages_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2480
|
-
{ no: 6, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2481
|
-
{ no: 7, name: "messages_received", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2482
|
-
{ no: 8, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2483
|
-
]);
|
|
1585
|
+
/**
|
|
1586
|
+
* @generated from field: required uint64 responses_sent = 19;
|
|
1587
|
+
*/
|
|
1588
|
+
responsesSent: bigint;
|
|
2484
1589
|
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
1590
|
+
/**
|
|
1591
|
+
* @generated from field: required uint64 consent_requests_sent = 20;
|
|
1592
|
+
*/
|
|
1593
|
+
consentRequestsSent: bigint;
|
|
2488
1594
|
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
1595
|
+
/**
|
|
1596
|
+
* @generated from field: required uint32 packets_discarded_on_send = 21;
|
|
1597
|
+
*/
|
|
1598
|
+
packetsDiscardedOnSend: number;
|
|
2492
1599
|
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
1600
|
+
/**
|
|
1601
|
+
* @generated from field: required uint64 bytes_discarded_on_send = 22;
|
|
1602
|
+
*/
|
|
1603
|
+
bytesDiscardedOnSend: bigint;
|
|
1604
|
+
};
|
|
2496
1605
|
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
1606
|
+
/**
|
|
1607
|
+
* Describes the message livekit.proto.CandidatePairStats.
|
|
1608
|
+
* Use `create(CandidatePairStatsSchema)` to create a new message.
|
|
1609
|
+
*/
|
|
1610
|
+
export const CandidatePairStatsSchema: GenMessage<CandidatePairStats> = /*@__PURE__*/
|
|
1611
|
+
messageDesc(file_stats, 17);
|
|
2501
1612
|
|
|
2502
1613
|
/**
|
|
2503
|
-
* @generated from message livekit.proto.
|
|
1614
|
+
* @generated from message livekit.proto.IceCandidateStats
|
|
2504
1615
|
*/
|
|
2505
|
-
export
|
|
1616
|
+
export type IceCandidateStats = Message<"livekit.proto.IceCandidateStats"> & {
|
|
2506
1617
|
/**
|
|
2507
|
-
* @generated from field:
|
|
1618
|
+
* @generated from field: required string transport_id = 1;
|
|
2508
1619
|
*/
|
|
2509
|
-
|
|
1620
|
+
transportId: string;
|
|
2510
1621
|
|
|
2511
1622
|
/**
|
|
2512
|
-
* @generated from field:
|
|
1623
|
+
* @generated from field: required string address = 2;
|
|
2513
1624
|
*/
|
|
2514
|
-
|
|
1625
|
+
address: string;
|
|
2515
1626
|
|
|
2516
1627
|
/**
|
|
2517
|
-
* @generated from field:
|
|
1628
|
+
* @generated from field: required int32 port = 3;
|
|
2518
1629
|
*/
|
|
2519
|
-
|
|
1630
|
+
port: number;
|
|
2520
1631
|
|
|
2521
1632
|
/**
|
|
2522
|
-
* @generated from field:
|
|
1633
|
+
* @generated from field: required string protocol = 4;
|
|
2523
1634
|
*/
|
|
2524
|
-
|
|
1635
|
+
protocol: string;
|
|
2525
1636
|
|
|
2526
1637
|
/**
|
|
2527
|
-
* @generated from field: livekit.proto.
|
|
1638
|
+
* @generated from field: optional livekit.proto.IceCandidateType candidate_type = 5;
|
|
2528
1639
|
*/
|
|
2529
|
-
|
|
1640
|
+
candidateType: IceCandidateType;
|
|
2530
1641
|
|
|
2531
1642
|
/**
|
|
2532
|
-
* @generated from field:
|
|
1643
|
+
* @generated from field: required int32 priority = 6;
|
|
2533
1644
|
*/
|
|
2534
|
-
|
|
1645
|
+
priority: number;
|
|
2535
1646
|
|
|
2536
1647
|
/**
|
|
2537
|
-
* @generated from field:
|
|
1648
|
+
* @generated from field: required string url = 7;
|
|
2538
1649
|
*/
|
|
2539
|
-
|
|
1650
|
+
url: string;
|
|
2540
1651
|
|
|
2541
1652
|
/**
|
|
2542
|
-
* @generated from field: optional livekit.proto.
|
|
1653
|
+
* @generated from field: optional livekit.proto.IceServerTransportProtocol relay_protocol = 8;
|
|
2543
1654
|
*/
|
|
2544
|
-
|
|
1655
|
+
relayProtocol: IceServerTransportProtocol;
|
|
2545
1656
|
|
|
2546
1657
|
/**
|
|
2547
|
-
* @generated from field: string
|
|
1658
|
+
* @generated from field: required string foundation = 9;
|
|
2548
1659
|
*/
|
|
2549
|
-
|
|
1660
|
+
foundation: string;
|
|
2550
1661
|
|
|
2551
1662
|
/**
|
|
2552
|
-
* @generated from field: string
|
|
1663
|
+
* @generated from field: required string related_address = 10;
|
|
2553
1664
|
*/
|
|
2554
|
-
|
|
1665
|
+
relatedAddress: string;
|
|
2555
1666
|
|
|
2556
1667
|
/**
|
|
2557
|
-
* @generated from field:
|
|
1668
|
+
* @generated from field: required int32 related_port = 11;
|
|
2558
1669
|
*/
|
|
2559
|
-
|
|
1670
|
+
relatedPort: number;
|
|
2560
1671
|
|
|
2561
1672
|
/**
|
|
2562
|
-
* @generated from field: string
|
|
1673
|
+
* @generated from field: required string username_fragment = 12;
|
|
2563
1674
|
*/
|
|
2564
|
-
|
|
1675
|
+
usernameFragment: string;
|
|
2565
1676
|
|
|
2566
1677
|
/**
|
|
2567
|
-
* @generated from field:
|
|
1678
|
+
* @generated from field: optional livekit.proto.IceTcpCandidateType tcp_type = 13;
|
|
2568
1679
|
*/
|
|
2569
|
-
|
|
1680
|
+
tcpType: IceTcpCandidateType;
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Describes the message livekit.proto.IceCandidateStats.
|
|
1685
|
+
* Use `create(IceCandidateStatsSchema)` to create a new message.
|
|
1686
|
+
*/
|
|
1687
|
+
export const IceCandidateStatsSchema: GenMessage<IceCandidateStats> = /*@__PURE__*/
|
|
1688
|
+
messageDesc(file_stats, 18);
|
|
2570
1689
|
|
|
1690
|
+
/**
|
|
1691
|
+
* @generated from message livekit.proto.CertificateStats
|
|
1692
|
+
*/
|
|
1693
|
+
export type CertificateStats = Message<"livekit.proto.CertificateStats"> & {
|
|
2571
1694
|
/**
|
|
2572
|
-
* @generated from field:
|
|
1695
|
+
* @generated from field: required string fingerprint = 1;
|
|
2573
1696
|
*/
|
|
2574
|
-
|
|
1697
|
+
fingerprint: string;
|
|
2575
1698
|
|
|
2576
1699
|
/**
|
|
2577
|
-
* @generated from field: string
|
|
1700
|
+
* @generated from field: required string fingerprint_algorithm = 2;
|
|
2578
1701
|
*/
|
|
2579
|
-
|
|
1702
|
+
fingerprintAlgorithm: string;
|
|
2580
1703
|
|
|
2581
1704
|
/**
|
|
2582
|
-
* @generated from field:
|
|
1705
|
+
* @generated from field: required string base64_certificate = 3;
|
|
2583
1706
|
*/
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
constructor(data?: PartialMessage<TransportStats>) {
|
|
2587
|
-
super();
|
|
2588
|
-
proto3.util.initPartial(data, this);
|
|
2589
|
-
}
|
|
1707
|
+
base64Certificate: string;
|
|
2590
1708
|
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
{ no: 3, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2597
|
-
{ no: 4, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2598
|
-
{ no: 5, name: "ice_role", kind: "enum", T: proto3.getEnumType(IceRole) },
|
|
2599
|
-
{ no: 6, name: "ice_local_username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2600
|
-
{ no: 7, name: "dtls_state", kind: "enum", T: proto3.getEnumType(DtlsTransportState), opt: true },
|
|
2601
|
-
{ no: 8, name: "ice_state", kind: "enum", T: proto3.getEnumType(IceTransportState), opt: true },
|
|
2602
|
-
{ no: 9, name: "selected_candidate_pair_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2603
|
-
{ no: 10, name: "local_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2604
|
-
{ no: 11, name: "remote_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2605
|
-
{ no: 12, name: "tls_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2606
|
-
{ no: 13, name: "dtls_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2607
|
-
{ no: 14, name: "dtls_role", kind: "enum", T: proto3.getEnumType(DtlsRole) },
|
|
2608
|
-
{ no: 15, name: "srtp_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2609
|
-
{ no: 16, name: "selected_candidate_pair_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2610
|
-
]);
|
|
2611
|
-
|
|
2612
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransportStats {
|
|
2613
|
-
return new TransportStats().fromBinary(bytes, options);
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransportStats {
|
|
2617
|
-
return new TransportStats().fromJson(jsonValue, options);
|
|
2618
|
-
}
|
|
2619
|
-
|
|
2620
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransportStats {
|
|
2621
|
-
return new TransportStats().fromJsonString(jsonString, options);
|
|
2622
|
-
}
|
|
1709
|
+
/**
|
|
1710
|
+
* @generated from field: required string issuer_certificate_id = 4;
|
|
1711
|
+
*/
|
|
1712
|
+
issuerCertificateId: string;
|
|
1713
|
+
};
|
|
2623
1714
|
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
1715
|
+
/**
|
|
1716
|
+
* Describes the message livekit.proto.CertificateStats.
|
|
1717
|
+
* Use `create(CertificateStatsSchema)` to create a new message.
|
|
1718
|
+
*/
|
|
1719
|
+
export const CertificateStatsSchema: GenMessage<CertificateStats> = /*@__PURE__*/
|
|
1720
|
+
messageDesc(file_stats, 19);
|
|
2628
1721
|
|
|
2629
1722
|
/**
|
|
2630
|
-
* @generated from
|
|
1723
|
+
* @generated from enum livekit.proto.DataChannelState
|
|
2631
1724
|
*/
|
|
2632
|
-
export
|
|
1725
|
+
export enum DataChannelState {
|
|
2633
1726
|
/**
|
|
2634
|
-
* @generated from
|
|
1727
|
+
* @generated from enum value: DC_CONNECTING = 0;
|
|
2635
1728
|
*/
|
|
2636
|
-
|
|
1729
|
+
DC_CONNECTING = 0,
|
|
2637
1730
|
|
|
2638
1731
|
/**
|
|
2639
|
-
* @generated from
|
|
1732
|
+
* @generated from enum value: DC_OPEN = 1;
|
|
2640
1733
|
*/
|
|
2641
|
-
|
|
1734
|
+
DC_OPEN = 1,
|
|
2642
1735
|
|
|
2643
1736
|
/**
|
|
2644
|
-
* @generated from
|
|
1737
|
+
* @generated from enum value: DC_CLOSING = 2;
|
|
2645
1738
|
*/
|
|
2646
|
-
|
|
1739
|
+
DC_CLOSING = 2,
|
|
2647
1740
|
|
|
2648
1741
|
/**
|
|
2649
|
-
* @generated from
|
|
1742
|
+
* @generated from enum value: DC_CLOSED = 3;
|
|
2650
1743
|
*/
|
|
2651
|
-
|
|
1744
|
+
DC_CLOSED = 3,
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* Describes the enum livekit.proto.DataChannelState.
|
|
1749
|
+
*/
|
|
1750
|
+
export const DataChannelStateSchema: GenEnum<DataChannelState> = /*@__PURE__*/
|
|
1751
|
+
enumDesc(file_stats, 0);
|
|
2652
1752
|
|
|
1753
|
+
/**
|
|
1754
|
+
* @generated from enum livekit.proto.QualityLimitationReason
|
|
1755
|
+
*/
|
|
1756
|
+
export enum QualityLimitationReason {
|
|
2653
1757
|
/**
|
|
2654
|
-
* @generated from
|
|
1758
|
+
* @generated from enum value: LIMITATION_NONE = 0;
|
|
2655
1759
|
*/
|
|
2656
|
-
|
|
1760
|
+
LIMITATION_NONE = 0,
|
|
2657
1761
|
|
|
2658
1762
|
/**
|
|
2659
|
-
* @generated from
|
|
1763
|
+
* @generated from enum value: LIMITATION_CPU = 1;
|
|
2660
1764
|
*/
|
|
2661
|
-
|
|
1765
|
+
LIMITATION_CPU = 1,
|
|
2662
1766
|
|
|
2663
1767
|
/**
|
|
2664
|
-
* @generated from
|
|
1768
|
+
* @generated from enum value: LIMITATION_BANDWIDTH = 2;
|
|
2665
1769
|
*/
|
|
2666
|
-
|
|
1770
|
+
LIMITATION_BANDWIDTH = 2,
|
|
2667
1771
|
|
|
2668
1772
|
/**
|
|
2669
|
-
* @generated from
|
|
1773
|
+
* @generated from enum value: LIMITATION_OTHER = 3;
|
|
2670
1774
|
*/
|
|
2671
|
-
|
|
1775
|
+
LIMITATION_OTHER = 3,
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* Describes the enum livekit.proto.QualityLimitationReason.
|
|
1780
|
+
*/
|
|
1781
|
+
export const QualityLimitationReasonSchema: GenEnum<QualityLimitationReason> = /*@__PURE__*/
|
|
1782
|
+
enumDesc(file_stats, 1);
|
|
2672
1783
|
|
|
1784
|
+
/**
|
|
1785
|
+
* @generated from enum livekit.proto.IceRole
|
|
1786
|
+
*/
|
|
1787
|
+
export enum IceRole {
|
|
2673
1788
|
/**
|
|
2674
|
-
* @generated from
|
|
1789
|
+
* @generated from enum value: ICE_UNKNOWN = 0;
|
|
2675
1790
|
*/
|
|
2676
|
-
|
|
1791
|
+
ICE_UNKNOWN = 0,
|
|
2677
1792
|
|
|
2678
1793
|
/**
|
|
2679
|
-
* @generated from
|
|
1794
|
+
* @generated from enum value: ICE_CONTROLLING = 1;
|
|
2680
1795
|
*/
|
|
2681
|
-
|
|
1796
|
+
ICE_CONTROLLING = 1,
|
|
2682
1797
|
|
|
2683
1798
|
/**
|
|
2684
|
-
* @generated from
|
|
1799
|
+
* @generated from enum value: ICE_CONTROLLED = 2;
|
|
2685
1800
|
*/
|
|
2686
|
-
|
|
1801
|
+
ICE_CONTROLLED = 2,
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Describes the enum livekit.proto.IceRole.
|
|
1806
|
+
*/
|
|
1807
|
+
export const IceRoleSchema: GenEnum<IceRole> = /*@__PURE__*/
|
|
1808
|
+
enumDesc(file_stats, 2);
|
|
2687
1809
|
|
|
1810
|
+
/**
|
|
1811
|
+
* @generated from enum livekit.proto.DtlsTransportState
|
|
1812
|
+
*/
|
|
1813
|
+
export enum DtlsTransportState {
|
|
2688
1814
|
/**
|
|
2689
|
-
* @generated from
|
|
1815
|
+
* @generated from enum value: DTLS_TRANSPORT_NEW = 0;
|
|
2690
1816
|
*/
|
|
2691
|
-
|
|
1817
|
+
DTLS_TRANSPORT_NEW = 0,
|
|
2692
1818
|
|
|
2693
1819
|
/**
|
|
2694
|
-
* @generated from
|
|
1820
|
+
* @generated from enum value: DTLS_TRANSPORT_CONNECTING = 1;
|
|
2695
1821
|
*/
|
|
2696
|
-
|
|
1822
|
+
DTLS_TRANSPORT_CONNECTING = 1,
|
|
2697
1823
|
|
|
2698
1824
|
/**
|
|
2699
|
-
* @generated from
|
|
1825
|
+
* @generated from enum value: DTLS_TRANSPORT_CONNECTED = 2;
|
|
2700
1826
|
*/
|
|
2701
|
-
|
|
1827
|
+
DTLS_TRANSPORT_CONNECTED = 2,
|
|
2702
1828
|
|
|
2703
1829
|
/**
|
|
2704
|
-
* @generated from
|
|
1830
|
+
* @generated from enum value: DTLS_TRANSPORT_CLOSED = 3;
|
|
2705
1831
|
*/
|
|
2706
|
-
|
|
1832
|
+
DTLS_TRANSPORT_CLOSED = 3,
|
|
2707
1833
|
|
|
2708
1834
|
/**
|
|
2709
|
-
* @generated from
|
|
1835
|
+
* @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
|
|
2710
1836
|
*/
|
|
2711
|
-
|
|
1837
|
+
DTLS_TRANSPORT_FAILED = 4,
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Describes the enum livekit.proto.DtlsTransportState.
|
|
1842
|
+
*/
|
|
1843
|
+
export const DtlsTransportStateSchema: GenEnum<DtlsTransportState> = /*@__PURE__*/
|
|
1844
|
+
enumDesc(file_stats, 3);
|
|
2712
1845
|
|
|
1846
|
+
/**
|
|
1847
|
+
* @generated from enum livekit.proto.IceTransportState
|
|
1848
|
+
*/
|
|
1849
|
+
export enum IceTransportState {
|
|
2713
1850
|
/**
|
|
2714
|
-
* @generated from
|
|
1851
|
+
* @generated from enum value: ICE_TRANSPORT_NEW = 0;
|
|
2715
1852
|
*/
|
|
2716
|
-
|
|
1853
|
+
ICE_TRANSPORT_NEW = 0,
|
|
2717
1854
|
|
|
2718
1855
|
/**
|
|
2719
|
-
* @generated from
|
|
1856
|
+
* @generated from enum value: ICE_TRANSPORT_CHECKING = 1;
|
|
2720
1857
|
*/
|
|
2721
|
-
|
|
1858
|
+
ICE_TRANSPORT_CHECKING = 1,
|
|
2722
1859
|
|
|
2723
1860
|
/**
|
|
2724
|
-
* @generated from
|
|
1861
|
+
* @generated from enum value: ICE_TRANSPORT_CONNECTED = 2;
|
|
2725
1862
|
*/
|
|
2726
|
-
|
|
1863
|
+
ICE_TRANSPORT_CONNECTED = 2,
|
|
2727
1864
|
|
|
2728
1865
|
/**
|
|
2729
|
-
* @generated from
|
|
1866
|
+
* @generated from enum value: ICE_TRANSPORT_COMPLETED = 3;
|
|
2730
1867
|
*/
|
|
2731
|
-
|
|
1868
|
+
ICE_TRANSPORT_COMPLETED = 3,
|
|
2732
1869
|
|
|
2733
1870
|
/**
|
|
2734
|
-
* @generated from
|
|
1871
|
+
* @generated from enum value: ICE_TRANSPORT_DISCONNECTED = 4;
|
|
2735
1872
|
*/
|
|
2736
|
-
|
|
1873
|
+
ICE_TRANSPORT_DISCONNECTED = 4,
|
|
2737
1874
|
|
|
2738
1875
|
/**
|
|
2739
|
-
* @generated from
|
|
1876
|
+
* @generated from enum value: ICE_TRANSPORT_FAILED = 5;
|
|
2740
1877
|
*/
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
constructor(data?: PartialMessage<CandidatePairStats>) {
|
|
2744
|
-
super();
|
|
2745
|
-
proto3.util.initPartial(data, this);
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2749
|
-
static readonly typeName = "livekit.proto.CandidatePairStats";
|
|
2750
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2751
|
-
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2752
|
-
{ no: 2, name: "local_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2753
|
-
{ no: 3, name: "remote_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2754
|
-
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(IceCandidatePairState), opt: true },
|
|
2755
|
-
{ no: 5, name: "nominated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2756
|
-
{ no: 6, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2757
|
-
{ no: 7, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2758
|
-
{ no: 8, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2759
|
-
{ no: 9, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2760
|
-
{ no: 10, name: "last_packet_sent_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2761
|
-
{ no: 11, name: "last_packet_received_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2762
|
-
{ no: 12, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2763
|
-
{ no: 13, name: "current_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2764
|
-
{ no: 14, name: "available_outgoing_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2765
|
-
{ no: 15, name: "available_incoming_bitrate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
2766
|
-
{ no: 16, name: "requests_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2767
|
-
{ no: 17, name: "requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2768
|
-
{ no: 18, name: "responses_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2769
|
-
{ no: 19, name: "responses_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2770
|
-
{ no: 20, name: "consent_requests_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2771
|
-
{ no: 21, name: "packets_discarded_on_send", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
2772
|
-
{ no: 22, name: "bytes_discarded_on_send", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2773
|
-
]);
|
|
2774
|
-
|
|
2775
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CandidatePairStats {
|
|
2776
|
-
return new CandidatePairStats().fromBinary(bytes, options);
|
|
2777
|
-
}
|
|
2778
|
-
|
|
2779
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CandidatePairStats {
|
|
2780
|
-
return new CandidatePairStats().fromJson(jsonValue, options);
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CandidatePairStats {
|
|
2784
|
-
return new CandidatePairStats().fromJsonString(jsonString, options);
|
|
2785
|
-
}
|
|
1878
|
+
ICE_TRANSPORT_FAILED = 5,
|
|
2786
1879
|
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
1880
|
+
/**
|
|
1881
|
+
* @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
|
|
1882
|
+
*/
|
|
1883
|
+
ICE_TRANSPORT_CLOSED = 6,
|
|
2790
1884
|
}
|
|
2791
1885
|
|
|
2792
1886
|
/**
|
|
2793
|
-
*
|
|
1887
|
+
* Describes the enum livekit.proto.IceTransportState.
|
|
2794
1888
|
*/
|
|
2795
|
-
export
|
|
2796
|
-
|
|
2797
|
-
* @generated from field: string transport_id = 1;
|
|
2798
|
-
*/
|
|
2799
|
-
transportId = "";
|
|
1889
|
+
export const IceTransportStateSchema: GenEnum<IceTransportState> = /*@__PURE__*/
|
|
1890
|
+
enumDesc(file_stats, 4);
|
|
2800
1891
|
|
|
1892
|
+
/**
|
|
1893
|
+
* @generated from enum livekit.proto.DtlsRole
|
|
1894
|
+
*/
|
|
1895
|
+
export enum DtlsRole {
|
|
2801
1896
|
/**
|
|
2802
|
-
* @generated from
|
|
1897
|
+
* @generated from enum value: DTLS_CLIENT = 0;
|
|
2803
1898
|
*/
|
|
2804
|
-
|
|
1899
|
+
DTLS_CLIENT = 0,
|
|
2805
1900
|
|
|
2806
1901
|
/**
|
|
2807
|
-
* @generated from
|
|
1902
|
+
* @generated from enum value: DTLS_SERVER = 1;
|
|
2808
1903
|
*/
|
|
2809
|
-
|
|
1904
|
+
DTLS_SERVER = 1,
|
|
2810
1905
|
|
|
2811
1906
|
/**
|
|
2812
|
-
* @generated from
|
|
1907
|
+
* @generated from enum value: DTLS_UNKNOWN = 2;
|
|
2813
1908
|
*/
|
|
2814
|
-
|
|
1909
|
+
DTLS_UNKNOWN = 2,
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Describes the enum livekit.proto.DtlsRole.
|
|
1914
|
+
*/
|
|
1915
|
+
export const DtlsRoleSchema: GenEnum<DtlsRole> = /*@__PURE__*/
|
|
1916
|
+
enumDesc(file_stats, 5);
|
|
2815
1917
|
|
|
1918
|
+
/**
|
|
1919
|
+
* @generated from enum livekit.proto.IceCandidatePairState
|
|
1920
|
+
*/
|
|
1921
|
+
export enum IceCandidatePairState {
|
|
2816
1922
|
/**
|
|
2817
|
-
* @generated from
|
|
1923
|
+
* @generated from enum value: PAIR_FROZEN = 0;
|
|
2818
1924
|
*/
|
|
2819
|
-
|
|
1925
|
+
PAIR_FROZEN = 0,
|
|
2820
1926
|
|
|
2821
1927
|
/**
|
|
2822
|
-
* @generated from
|
|
1928
|
+
* @generated from enum value: PAIR_WAITING = 1;
|
|
2823
1929
|
*/
|
|
2824
|
-
|
|
1930
|
+
PAIR_WAITING = 1,
|
|
2825
1931
|
|
|
2826
1932
|
/**
|
|
2827
|
-
* @generated from
|
|
1933
|
+
* @generated from enum value: PAIR_IN_PROGRESS = 2;
|
|
2828
1934
|
*/
|
|
2829
|
-
|
|
1935
|
+
PAIR_IN_PROGRESS = 2,
|
|
2830
1936
|
|
|
2831
1937
|
/**
|
|
2832
|
-
* @generated from
|
|
1938
|
+
* @generated from enum value: PAIR_FAILED = 3;
|
|
2833
1939
|
*/
|
|
2834
|
-
|
|
1940
|
+
PAIR_FAILED = 3,
|
|
2835
1941
|
|
|
2836
1942
|
/**
|
|
2837
|
-
* @generated from
|
|
1943
|
+
* @generated from enum value: PAIR_SUCCEEDED = 4;
|
|
2838
1944
|
*/
|
|
2839
|
-
|
|
1945
|
+
PAIR_SUCCEEDED = 4,
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Describes the enum livekit.proto.IceCandidatePairState.
|
|
1950
|
+
*/
|
|
1951
|
+
export const IceCandidatePairStateSchema: GenEnum<IceCandidatePairState> = /*@__PURE__*/
|
|
1952
|
+
enumDesc(file_stats, 6);
|
|
2840
1953
|
|
|
1954
|
+
/**
|
|
1955
|
+
* @generated from enum livekit.proto.IceCandidateType
|
|
1956
|
+
*/
|
|
1957
|
+
export enum IceCandidateType {
|
|
2841
1958
|
/**
|
|
2842
|
-
* @generated from
|
|
1959
|
+
* @generated from enum value: HOST = 0;
|
|
2843
1960
|
*/
|
|
2844
|
-
|
|
1961
|
+
HOST = 0,
|
|
2845
1962
|
|
|
2846
1963
|
/**
|
|
2847
|
-
* @generated from
|
|
1964
|
+
* @generated from enum value: SRFLX = 1;
|
|
2848
1965
|
*/
|
|
2849
|
-
|
|
1966
|
+
SRFLX = 1,
|
|
2850
1967
|
|
|
2851
1968
|
/**
|
|
2852
|
-
* @generated from
|
|
1969
|
+
* @generated from enum value: PRFLX = 2;
|
|
2853
1970
|
*/
|
|
2854
|
-
|
|
1971
|
+
PRFLX = 2,
|
|
2855
1972
|
|
|
2856
1973
|
/**
|
|
2857
|
-
* @generated from
|
|
1974
|
+
* @generated from enum value: RELAY = 3;
|
|
2858
1975
|
*/
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
constructor(data?: PartialMessage<IceCandidateStats>) {
|
|
2862
|
-
super();
|
|
2863
|
-
proto3.util.initPartial(data, this);
|
|
2864
|
-
}
|
|
2865
|
-
|
|
2866
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2867
|
-
static readonly typeName = "livekit.proto.IceCandidateStats";
|
|
2868
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2869
|
-
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2870
|
-
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2871
|
-
{ no: 3, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2872
|
-
{ no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2873
|
-
{ no: 5, name: "candidate_type", kind: "enum", T: proto3.getEnumType(IceCandidateType), opt: true },
|
|
2874
|
-
{ no: 6, name: "priority", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2875
|
-
{ no: 7, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2876
|
-
{ no: 8, name: "relay_protocol", kind: "enum", T: proto3.getEnumType(IceServerTransportProtocol), opt: true },
|
|
2877
|
-
{ no: 9, name: "foundation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2878
|
-
{ no: 10, name: "related_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2879
|
-
{ no: 11, name: "related_port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2880
|
-
{ no: 12, name: "username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2881
|
-
{ no: 13, name: "tcp_type", kind: "enum", T: proto3.getEnumType(IceTcpCandidateType), opt: true },
|
|
2882
|
-
]);
|
|
2883
|
-
|
|
2884
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceCandidateStats {
|
|
2885
|
-
return new IceCandidateStats().fromBinary(bytes, options);
|
|
2886
|
-
}
|
|
2887
|
-
|
|
2888
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceCandidateStats {
|
|
2889
|
-
return new IceCandidateStats().fromJson(jsonValue, options);
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceCandidateStats {
|
|
2893
|
-
return new IceCandidateStats().fromJsonString(jsonString, options);
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
static equals(a: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined, b: IceCandidateStats | PlainMessage<IceCandidateStats> | undefined): boolean {
|
|
2897
|
-
return proto3.util.equals(IceCandidateStats, a, b);
|
|
2898
|
-
}
|
|
1976
|
+
RELAY = 3,
|
|
2899
1977
|
}
|
|
2900
1978
|
|
|
2901
1979
|
/**
|
|
2902
|
-
*
|
|
1980
|
+
* Describes the enum livekit.proto.IceCandidateType.
|
|
2903
1981
|
*/
|
|
2904
|
-
export
|
|
2905
|
-
|
|
2906
|
-
* @generated from field: string fingerprint = 1;
|
|
2907
|
-
*/
|
|
2908
|
-
fingerprint = "";
|
|
1982
|
+
export const IceCandidateTypeSchema: GenEnum<IceCandidateType> = /*@__PURE__*/
|
|
1983
|
+
enumDesc(file_stats, 7);
|
|
2909
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* @generated from enum livekit.proto.IceServerTransportProtocol
|
|
1987
|
+
*/
|
|
1988
|
+
export enum IceServerTransportProtocol {
|
|
2910
1989
|
/**
|
|
2911
|
-
* @generated from
|
|
1990
|
+
* @generated from enum value: TRANSPORT_UDP = 0;
|
|
2912
1991
|
*/
|
|
2913
|
-
|
|
1992
|
+
TRANSPORT_UDP = 0,
|
|
2914
1993
|
|
|
2915
1994
|
/**
|
|
2916
|
-
* @generated from
|
|
1995
|
+
* @generated from enum value: TRANSPORT_TCP = 1;
|
|
2917
1996
|
*/
|
|
2918
|
-
|
|
1997
|
+
TRANSPORT_TCP = 1,
|
|
2919
1998
|
|
|
2920
1999
|
/**
|
|
2921
|
-
* @generated from
|
|
2000
|
+
* @generated from enum value: TRANSPORT_TLS = 2;
|
|
2922
2001
|
*/
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
constructor(data?: PartialMessage<CertificateStats>) {
|
|
2926
|
-
super();
|
|
2927
|
-
proto3.util.initPartial(data, this);
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
2931
|
-
static readonly typeName = "livekit.proto.CertificateStats";
|
|
2932
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2933
|
-
{ no: 1, name: "fingerprint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2934
|
-
{ no: 2, name: "fingerprint_algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2935
|
-
{ no: 3, name: "base64_certificate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2936
|
-
{ no: 4, name: "issuer_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2937
|
-
]);
|
|
2002
|
+
TRANSPORT_TLS = 2,
|
|
2003
|
+
}
|
|
2938
2004
|
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2005
|
+
/**
|
|
2006
|
+
* Describes the enum livekit.proto.IceServerTransportProtocol.
|
|
2007
|
+
*/
|
|
2008
|
+
export const IceServerTransportProtocolSchema: GenEnum<IceServerTransportProtocol> = /*@__PURE__*/
|
|
2009
|
+
enumDesc(file_stats, 8);
|
|
2942
2010
|
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2011
|
+
/**
|
|
2012
|
+
* @generated from enum livekit.proto.IceTcpCandidateType
|
|
2013
|
+
*/
|
|
2014
|
+
export enum IceTcpCandidateType {
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from enum value: CANDIDATE_ACTIVE = 0;
|
|
2017
|
+
*/
|
|
2018
|
+
CANDIDATE_ACTIVE = 0,
|
|
2946
2019
|
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2020
|
+
/**
|
|
2021
|
+
* @generated from enum value: CANDIDATE_PASSIVE = 1;
|
|
2022
|
+
*/
|
|
2023
|
+
CANDIDATE_PASSIVE = 1,
|
|
2950
2024
|
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2025
|
+
/**
|
|
2026
|
+
* @generated from enum value: CANDIDATE_SO = 2;
|
|
2027
|
+
*/
|
|
2028
|
+
CANDIDATE_SO = 2,
|
|
2954
2029
|
}
|
|
2955
2030
|
|
|
2031
|
+
/**
|
|
2032
|
+
* Describes the enum livekit.proto.IceTcpCandidateType.
|
|
2033
|
+
*/
|
|
2034
|
+
export const IceTcpCandidateTypeSchema: GenEnum<IceTcpCandidateType> = /*@__PURE__*/
|
|
2035
|
+
enumDesc(file_stats, 9);
|
|
2036
|
+
|