@livekit/rtc-node 0.0.7 → 0.2.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/build.rs +4 -0
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +10 -11
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_source.d.ts +3 -3
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +14 -15
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +8 -5
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +18 -22
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +42 -45
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +2 -2
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +17 -24
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -70
- package/dist/index.js.map +1 -1
- package/{src/native.js → dist/napi/native.cjs} +12 -0
- package/dist/napi/native.js +15 -0
- package/dist/participant.d.ts +24 -9
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +45 -45
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +0 -46
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +138 -236
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.js +134 -162
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +31 -44
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +140 -126
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.js +7 -11
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.js +13 -18
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +5 -1
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +393 -454
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/stats_pb.js +265 -303
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.js +87 -102
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +124 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +252 -620
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +10 -9
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +74 -76
- package/dist/room.js.map +1 -1
- package/dist/track.d.ts +4 -4
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +15 -20
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts +4 -4
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +12 -15
- package/dist/track_publication.js.map +1 -1
- package/dist/video_frame.d.ts +8 -103
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +161 -341
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts +4 -4
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +16 -22
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +10 -5
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +20 -24
- package/dist/video_stream.js.map +1 -1
- package/package.json +14 -14
- package/src/audio_frame.ts +6 -2
- package/src/audio_source.ts +8 -4
- package/src/audio_stream.ts +15 -7
- package/src/e2ee.ts +6 -2
- package/src/ffi_client.ts +6 -2
- package/src/index.ts +19 -28
- package/src/lib.rs +4 -0
- package/src/napi/native.cjs +281 -0
- package/src/napi/native.js +15 -0
- package/src/nodejs.rs +4 -0
- package/src/participant.ts +45 -22
- package/src/proto/audio_frame_pb.ts +1 -91
- package/src/proto/e2ee_pb.ts +1 -1
- package/src/proto/ffi_pb.ts +55 -53
- package/src/proto/handle_pb.ts +1 -1
- package/src/proto/participant_pb.ts +1 -1
- package/src/proto/room_pb.ts +7 -1
- package/src/proto/stats_pb.ts +1 -1
- package/src/proto/track_pb.ts +1 -1
- package/src/proto/video_frame_pb.ts +186 -641
- package/src/room.ts +56 -48
- package/src/track.ts +8 -4
- package/src/track_publication.ts +10 -6
- package/src/video_frame.ts +186 -579
- package/src/video_source.ts +12 -12
- package/src/video_stream.ts +21 -10
- package/dist/native.d.ts.map +0 -1
- package/dist/native.js +0 -297
- package/dist/native.js.map +0 -1
- /package/dist/{native.d.ts → napi/native.d.ts} +0 -0
- /package/src/{native.d.ts → napi/native.d.ts} +0 -0
package/dist/proto/stats_pb.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Copyright 2023 LiveKit, Inc.
|
|
3
2
|
//
|
|
4
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -12,13 +11,11 @@
|
|
|
12
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
12
|
// See the License for the specific language governing permissions and
|
|
14
13
|
// limitations under the License.
|
|
15
|
-
|
|
16
|
-
exports.CertificateStats = exports.IceCandidateStats = exports.CandidatePairStats = exports.TransportStats = exports.DataChannelStats = exports.PeerConnectionStats = exports.AudioPlayoutStats = exports.VideoSourceStats = exports.AudioSourceStats = exports.MediaSourceStats = exports.RemoteOutboundRtpStreamStats = exports.RemoteInboundRtpStreamStats = exports.OutboundRtpStreamStats = exports.SentRtpStreamStats = exports.InboundRtpStreamStats = exports.ReceivedRtpStreamStats = exports.RtpStreamStats = exports.CodecStats = exports.RtcStatsData = exports.RtcStats_Track = exports.RtcStats_Certificate = exports.RtcStats_RemoteCandidate = exports.RtcStats_LocalCandidate = exports.RtcStats_CandidatePair = exports.RtcStats_Transport = exports.RtcStats_DataChannel = exports.RtcStats_PeerConnection = exports.RtcStats_MediaPlayout = exports.RtcStats_MediaSource = exports.RtcStats_RemoteOutboundRtp = exports.RtcStats_RemoteInboundRtp = exports.RtcStats_OutboundRtp = exports.RtcStats_InboundRtp = exports.RtcStats_Codec = exports.RtcStats = exports.IceTcpCandidateType = exports.IceServerTransportProtocol = exports.IceCandidateType = exports.IceCandidatePairState = exports.DtlsRole = exports.IceTransportState = exports.DtlsTransportState = exports.IceRole = exports.QualityLimitationReason = exports.DataChannelState = void 0;
|
|
17
|
-
const protobuf_1 = require("@bufbuild/protobuf");
|
|
14
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
18
15
|
/**
|
|
19
16
|
* @generated from enum livekit.proto.DataChannelState
|
|
20
17
|
*/
|
|
21
|
-
var DataChannelState;
|
|
18
|
+
export var DataChannelState;
|
|
22
19
|
(function (DataChannelState) {
|
|
23
20
|
/**
|
|
24
21
|
* @generated from enum value: DC_CONNECTING = 0;
|
|
@@ -36,9 +33,9 @@ var DataChannelState;
|
|
|
36
33
|
* @generated from enum value: DC_CLOSED = 3;
|
|
37
34
|
*/
|
|
38
35
|
DataChannelState[DataChannelState["DC_CLOSED"] = 3] = "DC_CLOSED";
|
|
39
|
-
})(DataChannelState || (
|
|
36
|
+
})(DataChannelState || (DataChannelState = {}));
|
|
40
37
|
// Retrieve enum metadata with: proto3.getEnumType(DataChannelState)
|
|
41
|
-
|
|
38
|
+
proto3.util.setEnumType(DataChannelState, "livekit.proto.DataChannelState", [
|
|
42
39
|
{ no: 0, name: "DC_CONNECTING" },
|
|
43
40
|
{ no: 1, name: "DC_OPEN" },
|
|
44
41
|
{ no: 2, name: "DC_CLOSING" },
|
|
@@ -47,7 +44,7 @@ protobuf_1.proto3.util.setEnumType(DataChannelState, "livekit.proto.DataChannelS
|
|
|
47
44
|
/**
|
|
48
45
|
* @generated from enum livekit.proto.QualityLimitationReason
|
|
49
46
|
*/
|
|
50
|
-
var QualityLimitationReason;
|
|
47
|
+
export var QualityLimitationReason;
|
|
51
48
|
(function (QualityLimitationReason) {
|
|
52
49
|
/**
|
|
53
50
|
* @generated from enum value: LIMITATION_NONE = 0;
|
|
@@ -65,9 +62,9 @@ var QualityLimitationReason;
|
|
|
65
62
|
* @generated from enum value: LIMITATION_OTHER = 3;
|
|
66
63
|
*/
|
|
67
64
|
QualityLimitationReason[QualityLimitationReason["LIMITATION_OTHER"] = 3] = "LIMITATION_OTHER";
|
|
68
|
-
})(QualityLimitationReason || (
|
|
65
|
+
})(QualityLimitationReason || (QualityLimitationReason = {}));
|
|
69
66
|
// Retrieve enum metadata with: proto3.getEnumType(QualityLimitationReason)
|
|
70
|
-
|
|
67
|
+
proto3.util.setEnumType(QualityLimitationReason, "livekit.proto.QualityLimitationReason", [
|
|
71
68
|
{ no: 0, name: "LIMITATION_NONE" },
|
|
72
69
|
{ no: 1, name: "LIMITATION_CPU" },
|
|
73
70
|
{ no: 2, name: "LIMITATION_BANDWIDTH" },
|
|
@@ -76,7 +73,7 @@ protobuf_1.proto3.util.setEnumType(QualityLimitationReason, "livekit.proto.Quali
|
|
|
76
73
|
/**
|
|
77
74
|
* @generated from enum livekit.proto.IceRole
|
|
78
75
|
*/
|
|
79
|
-
var IceRole;
|
|
76
|
+
export var IceRole;
|
|
80
77
|
(function (IceRole) {
|
|
81
78
|
/**
|
|
82
79
|
* @generated from enum value: ICE_UNKNOWN = 0;
|
|
@@ -90,9 +87,9 @@ var IceRole;
|
|
|
90
87
|
* @generated from enum value: ICE_CONTROLLED = 2;
|
|
91
88
|
*/
|
|
92
89
|
IceRole[IceRole["ICE_CONTROLLED"] = 2] = "ICE_CONTROLLED";
|
|
93
|
-
})(IceRole || (
|
|
90
|
+
})(IceRole || (IceRole = {}));
|
|
94
91
|
// Retrieve enum metadata with: proto3.getEnumType(IceRole)
|
|
95
|
-
|
|
92
|
+
proto3.util.setEnumType(IceRole, "livekit.proto.IceRole", [
|
|
96
93
|
{ no: 0, name: "ICE_UNKNOWN" },
|
|
97
94
|
{ no: 1, name: "ICE_CONTROLLING" },
|
|
98
95
|
{ no: 2, name: "ICE_CONTROLLED" },
|
|
@@ -100,7 +97,7 @@ protobuf_1.proto3.util.setEnumType(IceRole, "livekit.proto.IceRole", [
|
|
|
100
97
|
/**
|
|
101
98
|
* @generated from enum livekit.proto.DtlsTransportState
|
|
102
99
|
*/
|
|
103
|
-
var DtlsTransportState;
|
|
100
|
+
export var DtlsTransportState;
|
|
104
101
|
(function (DtlsTransportState) {
|
|
105
102
|
/**
|
|
106
103
|
* @generated from enum value: DTLS_TRANSPORT_NEW = 0;
|
|
@@ -122,9 +119,9 @@ var DtlsTransportState;
|
|
|
122
119
|
* @generated from enum value: DTLS_TRANSPORT_FAILED = 4;
|
|
123
120
|
*/
|
|
124
121
|
DtlsTransportState[DtlsTransportState["DTLS_TRANSPORT_FAILED"] = 4] = "DTLS_TRANSPORT_FAILED";
|
|
125
|
-
})(DtlsTransportState || (
|
|
122
|
+
})(DtlsTransportState || (DtlsTransportState = {}));
|
|
126
123
|
// Retrieve enum metadata with: proto3.getEnumType(DtlsTransportState)
|
|
127
|
-
|
|
124
|
+
proto3.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransportState", [
|
|
128
125
|
{ no: 0, name: "DTLS_TRANSPORT_NEW" },
|
|
129
126
|
{ no: 1, name: "DTLS_TRANSPORT_CONNECTING" },
|
|
130
127
|
{ no: 2, name: "DTLS_TRANSPORT_CONNECTED" },
|
|
@@ -134,7 +131,7 @@ protobuf_1.proto3.util.setEnumType(DtlsTransportState, "livekit.proto.DtlsTransp
|
|
|
134
131
|
/**
|
|
135
132
|
* @generated from enum livekit.proto.IceTransportState
|
|
136
133
|
*/
|
|
137
|
-
var IceTransportState;
|
|
134
|
+
export var IceTransportState;
|
|
138
135
|
(function (IceTransportState) {
|
|
139
136
|
/**
|
|
140
137
|
* @generated from enum value: ICE_TRANSPORT_NEW = 0;
|
|
@@ -164,9 +161,9 @@ var IceTransportState;
|
|
|
164
161
|
* @generated from enum value: ICE_TRANSPORT_CLOSED = 6;
|
|
165
162
|
*/
|
|
166
163
|
IceTransportState[IceTransportState["ICE_TRANSPORT_CLOSED"] = 6] = "ICE_TRANSPORT_CLOSED";
|
|
167
|
-
})(IceTransportState || (
|
|
164
|
+
})(IceTransportState || (IceTransportState = {}));
|
|
168
165
|
// Retrieve enum metadata with: proto3.getEnumType(IceTransportState)
|
|
169
|
-
|
|
166
|
+
proto3.util.setEnumType(IceTransportState, "livekit.proto.IceTransportState", [
|
|
170
167
|
{ no: 0, name: "ICE_TRANSPORT_NEW" },
|
|
171
168
|
{ no: 1, name: "ICE_TRANSPORT_CHECKING" },
|
|
172
169
|
{ no: 2, name: "ICE_TRANSPORT_CONNECTED" },
|
|
@@ -178,7 +175,7 @@ protobuf_1.proto3.util.setEnumType(IceTransportState, "livekit.proto.IceTranspor
|
|
|
178
175
|
/**
|
|
179
176
|
* @generated from enum livekit.proto.DtlsRole
|
|
180
177
|
*/
|
|
181
|
-
var DtlsRole;
|
|
178
|
+
export var DtlsRole;
|
|
182
179
|
(function (DtlsRole) {
|
|
183
180
|
/**
|
|
184
181
|
* @generated from enum value: DTLS_CLIENT = 0;
|
|
@@ -192,9 +189,9 @@ var DtlsRole;
|
|
|
192
189
|
* @generated from enum value: DTLS_UNKNOWN = 2;
|
|
193
190
|
*/
|
|
194
191
|
DtlsRole[DtlsRole["DTLS_UNKNOWN"] = 2] = "DTLS_UNKNOWN";
|
|
195
|
-
})(DtlsRole || (
|
|
192
|
+
})(DtlsRole || (DtlsRole = {}));
|
|
196
193
|
// Retrieve enum metadata with: proto3.getEnumType(DtlsRole)
|
|
197
|
-
|
|
194
|
+
proto3.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
|
|
198
195
|
{ no: 0, name: "DTLS_CLIENT" },
|
|
199
196
|
{ no: 1, name: "DTLS_SERVER" },
|
|
200
197
|
{ no: 2, name: "DTLS_UNKNOWN" },
|
|
@@ -202,7 +199,7 @@ protobuf_1.proto3.util.setEnumType(DtlsRole, "livekit.proto.DtlsRole", [
|
|
|
202
199
|
/**
|
|
203
200
|
* @generated from enum livekit.proto.IceCandidatePairState
|
|
204
201
|
*/
|
|
205
|
-
var IceCandidatePairState;
|
|
202
|
+
export var IceCandidatePairState;
|
|
206
203
|
(function (IceCandidatePairState) {
|
|
207
204
|
/**
|
|
208
205
|
* @generated from enum value: PAIR_FROZEN = 0;
|
|
@@ -224,9 +221,9 @@ var IceCandidatePairState;
|
|
|
224
221
|
* @generated from enum value: PAIR_SUCCEEDED = 4;
|
|
225
222
|
*/
|
|
226
223
|
IceCandidatePairState[IceCandidatePairState["PAIR_SUCCEEDED"] = 4] = "PAIR_SUCCEEDED";
|
|
227
|
-
})(IceCandidatePairState || (
|
|
224
|
+
})(IceCandidatePairState || (IceCandidatePairState = {}));
|
|
228
225
|
// Retrieve enum metadata with: proto3.getEnumType(IceCandidatePairState)
|
|
229
|
-
|
|
226
|
+
proto3.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCandidatePairState", [
|
|
230
227
|
{ no: 0, name: "PAIR_FROZEN" },
|
|
231
228
|
{ no: 1, name: "PAIR_WAITING" },
|
|
232
229
|
{ no: 2, name: "PAIR_IN_PROGRESS" },
|
|
@@ -236,7 +233,7 @@ protobuf_1.proto3.util.setEnumType(IceCandidatePairState, "livekit.proto.IceCand
|
|
|
236
233
|
/**
|
|
237
234
|
* @generated from enum livekit.proto.IceCandidateType
|
|
238
235
|
*/
|
|
239
|
-
var IceCandidateType;
|
|
236
|
+
export var IceCandidateType;
|
|
240
237
|
(function (IceCandidateType) {
|
|
241
238
|
/**
|
|
242
239
|
* @generated from enum value: HOST = 0;
|
|
@@ -254,9 +251,9 @@ var IceCandidateType;
|
|
|
254
251
|
* @generated from enum value: RELAY = 3;
|
|
255
252
|
*/
|
|
256
253
|
IceCandidateType[IceCandidateType["RELAY"] = 3] = "RELAY";
|
|
257
|
-
})(IceCandidateType || (
|
|
254
|
+
})(IceCandidateType || (IceCandidateType = {}));
|
|
258
255
|
// Retrieve enum metadata with: proto3.getEnumType(IceCandidateType)
|
|
259
|
-
|
|
256
|
+
proto3.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidateType", [
|
|
260
257
|
{ no: 0, name: "HOST" },
|
|
261
258
|
{ no: 1, name: "SRFLX" },
|
|
262
259
|
{ no: 2, name: "PRFLX" },
|
|
@@ -265,7 +262,7 @@ protobuf_1.proto3.util.setEnumType(IceCandidateType, "livekit.proto.IceCandidate
|
|
|
265
262
|
/**
|
|
266
263
|
* @generated from enum livekit.proto.IceServerTransportProtocol
|
|
267
264
|
*/
|
|
268
|
-
var IceServerTransportProtocol;
|
|
265
|
+
export var IceServerTransportProtocol;
|
|
269
266
|
(function (IceServerTransportProtocol) {
|
|
270
267
|
/**
|
|
271
268
|
* @generated from enum value: TRANSPORT_UDP = 0;
|
|
@@ -279,9 +276,9 @@ var IceServerTransportProtocol;
|
|
|
279
276
|
* @generated from enum value: TRANSPORT_TLS = 2;
|
|
280
277
|
*/
|
|
281
278
|
IceServerTransportProtocol[IceServerTransportProtocol["TRANSPORT_TLS"] = 2] = "TRANSPORT_TLS";
|
|
282
|
-
})(IceServerTransportProtocol || (
|
|
279
|
+
})(IceServerTransportProtocol || (IceServerTransportProtocol = {}));
|
|
283
280
|
// Retrieve enum metadata with: proto3.getEnumType(IceServerTransportProtocol)
|
|
284
|
-
|
|
281
|
+
proto3.util.setEnumType(IceServerTransportProtocol, "livekit.proto.IceServerTransportProtocol", [
|
|
285
282
|
{ no: 0, name: "TRANSPORT_UDP" },
|
|
286
283
|
{ no: 1, name: "TRANSPORT_TCP" },
|
|
287
284
|
{ no: 2, name: "TRANSPORT_TLS" },
|
|
@@ -289,7 +286,7 @@ protobuf_1.proto3.util.setEnumType(IceServerTransportProtocol, "livekit.proto.Ic
|
|
|
289
286
|
/**
|
|
290
287
|
* @generated from enum livekit.proto.IceTcpCandidateType
|
|
291
288
|
*/
|
|
292
|
-
var IceTcpCandidateType;
|
|
289
|
+
export var IceTcpCandidateType;
|
|
293
290
|
(function (IceTcpCandidateType) {
|
|
294
291
|
/**
|
|
295
292
|
* @generated from enum value: CANDIDATE_ACTIVE = 0;
|
|
@@ -303,9 +300,9 @@ var IceTcpCandidateType;
|
|
|
303
300
|
* @generated from enum value: CANDIDATE_SO = 2;
|
|
304
301
|
*/
|
|
305
302
|
IceTcpCandidateType[IceTcpCandidateType["CANDIDATE_SO"] = 2] = "CANDIDATE_SO";
|
|
306
|
-
})(IceTcpCandidateType || (
|
|
303
|
+
})(IceTcpCandidateType || (IceTcpCandidateType = {}));
|
|
307
304
|
// Retrieve enum metadata with: proto3.getEnumType(IceTcpCandidateType)
|
|
308
|
-
|
|
305
|
+
proto3.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCandidateType", [
|
|
309
306
|
{ no: 0, name: "CANDIDATE_ACTIVE" },
|
|
310
307
|
{ no: 1, name: "CANDIDATE_PASSIVE" },
|
|
311
308
|
{ no: 2, name: "CANDIDATE_SO" },
|
|
@@ -313,14 +310,14 @@ protobuf_1.proto3.util.setEnumType(IceTcpCandidateType, "livekit.proto.IceTcpCan
|
|
|
313
310
|
/**
|
|
314
311
|
* @generated from message livekit.proto.RtcStats
|
|
315
312
|
*/
|
|
316
|
-
class RtcStats extends
|
|
313
|
+
export class RtcStats extends Message {
|
|
317
314
|
constructor(data) {
|
|
318
315
|
super();
|
|
319
316
|
/**
|
|
320
317
|
* @generated from oneof livekit.proto.RtcStats.stats
|
|
321
318
|
*/
|
|
322
319
|
this.stats = { case: undefined };
|
|
323
|
-
|
|
320
|
+
proto3.util.initPartial(data, this);
|
|
324
321
|
}
|
|
325
322
|
static fromBinary(bytes, options) {
|
|
326
323
|
return new RtcStats().fromBinary(bytes, options);
|
|
@@ -332,13 +329,12 @@ class RtcStats extends protobuf_1.Message {
|
|
|
332
329
|
return new RtcStats().fromJsonString(jsonString, options);
|
|
333
330
|
}
|
|
334
331
|
static equals(a, b) {
|
|
335
|
-
return
|
|
332
|
+
return proto3.util.equals(RtcStats, a, b);
|
|
336
333
|
}
|
|
337
334
|
}
|
|
338
|
-
|
|
339
|
-
RtcStats.runtime = protobuf_1.proto3;
|
|
335
|
+
RtcStats.runtime = proto3;
|
|
340
336
|
RtcStats.typeName = "livekit.proto.RtcStats";
|
|
341
|
-
RtcStats.fields =
|
|
337
|
+
RtcStats.fields = proto3.util.newFieldList(() => [
|
|
342
338
|
{ no: 3, name: "codec", kind: "message", T: RtcStats_Codec, oneof: "stats" },
|
|
343
339
|
{ no: 4, name: "inbound_rtp", kind: "message", T: RtcStats_InboundRtp, oneof: "stats" },
|
|
344
340
|
{ no: 5, name: "outbound_rtp", kind: "message", T: RtcStats_OutboundRtp, oneof: "stats" },
|
|
@@ -358,10 +354,10 @@ RtcStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
358
354
|
/**
|
|
359
355
|
* @generated from message livekit.proto.RtcStats.Codec
|
|
360
356
|
*/
|
|
361
|
-
class RtcStats_Codec extends
|
|
357
|
+
export class RtcStats_Codec extends Message {
|
|
362
358
|
constructor(data) {
|
|
363
359
|
super();
|
|
364
|
-
|
|
360
|
+
proto3.util.initPartial(data, this);
|
|
365
361
|
}
|
|
366
362
|
static fromBinary(bytes, options) {
|
|
367
363
|
return new RtcStats_Codec().fromBinary(bytes, options);
|
|
@@ -373,23 +369,22 @@ class RtcStats_Codec extends protobuf_1.Message {
|
|
|
373
369
|
return new RtcStats_Codec().fromJsonString(jsonString, options);
|
|
374
370
|
}
|
|
375
371
|
static equals(a, b) {
|
|
376
|
-
return
|
|
372
|
+
return proto3.util.equals(RtcStats_Codec, a, b);
|
|
377
373
|
}
|
|
378
374
|
}
|
|
379
|
-
|
|
380
|
-
RtcStats_Codec.runtime = protobuf_1.proto3;
|
|
375
|
+
RtcStats_Codec.runtime = proto3;
|
|
381
376
|
RtcStats_Codec.typeName = "livekit.proto.RtcStats.Codec";
|
|
382
|
-
RtcStats_Codec.fields =
|
|
377
|
+
RtcStats_Codec.fields = proto3.util.newFieldList(() => [
|
|
383
378
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
384
379
|
{ no: 2, name: "codec", kind: "message", T: CodecStats },
|
|
385
380
|
]);
|
|
386
381
|
/**
|
|
387
382
|
* @generated from message livekit.proto.RtcStats.InboundRtp
|
|
388
383
|
*/
|
|
389
|
-
class RtcStats_InboundRtp extends
|
|
384
|
+
export class RtcStats_InboundRtp extends Message {
|
|
390
385
|
constructor(data) {
|
|
391
386
|
super();
|
|
392
|
-
|
|
387
|
+
proto3.util.initPartial(data, this);
|
|
393
388
|
}
|
|
394
389
|
static fromBinary(bytes, options) {
|
|
395
390
|
return new RtcStats_InboundRtp().fromBinary(bytes, options);
|
|
@@ -401,13 +396,12 @@ class RtcStats_InboundRtp extends protobuf_1.Message {
|
|
|
401
396
|
return new RtcStats_InboundRtp().fromJsonString(jsonString, options);
|
|
402
397
|
}
|
|
403
398
|
static equals(a, b) {
|
|
404
|
-
return
|
|
399
|
+
return proto3.util.equals(RtcStats_InboundRtp, a, b);
|
|
405
400
|
}
|
|
406
401
|
}
|
|
407
|
-
|
|
408
|
-
RtcStats_InboundRtp.runtime = protobuf_1.proto3;
|
|
402
|
+
RtcStats_InboundRtp.runtime = proto3;
|
|
409
403
|
RtcStats_InboundRtp.typeName = "livekit.proto.RtcStats.InboundRtp";
|
|
410
|
-
RtcStats_InboundRtp.fields =
|
|
404
|
+
RtcStats_InboundRtp.fields = proto3.util.newFieldList(() => [
|
|
411
405
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
412
406
|
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
413
407
|
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
|
|
@@ -416,10 +410,10 @@ RtcStats_InboundRtp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
416
410
|
/**
|
|
417
411
|
* @generated from message livekit.proto.RtcStats.OutboundRtp
|
|
418
412
|
*/
|
|
419
|
-
class RtcStats_OutboundRtp extends
|
|
413
|
+
export class RtcStats_OutboundRtp extends Message {
|
|
420
414
|
constructor(data) {
|
|
421
415
|
super();
|
|
422
|
-
|
|
416
|
+
proto3.util.initPartial(data, this);
|
|
423
417
|
}
|
|
424
418
|
static fromBinary(bytes, options) {
|
|
425
419
|
return new RtcStats_OutboundRtp().fromBinary(bytes, options);
|
|
@@ -431,13 +425,12 @@ class RtcStats_OutboundRtp extends protobuf_1.Message {
|
|
|
431
425
|
return new RtcStats_OutboundRtp().fromJsonString(jsonString, options);
|
|
432
426
|
}
|
|
433
427
|
static equals(a, b) {
|
|
434
|
-
return
|
|
428
|
+
return proto3.util.equals(RtcStats_OutboundRtp, a, b);
|
|
435
429
|
}
|
|
436
430
|
}
|
|
437
|
-
|
|
438
|
-
RtcStats_OutboundRtp.runtime = protobuf_1.proto3;
|
|
431
|
+
RtcStats_OutboundRtp.runtime = proto3;
|
|
439
432
|
RtcStats_OutboundRtp.typeName = "livekit.proto.RtcStats.OutboundRtp";
|
|
440
|
-
RtcStats_OutboundRtp.fields =
|
|
433
|
+
RtcStats_OutboundRtp.fields = proto3.util.newFieldList(() => [
|
|
441
434
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
442
435
|
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
443
436
|
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
|
|
@@ -446,10 +439,10 @@ RtcStats_OutboundRtp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
446
439
|
/**
|
|
447
440
|
* @generated from message livekit.proto.RtcStats.RemoteInboundRtp
|
|
448
441
|
*/
|
|
449
|
-
class RtcStats_RemoteInboundRtp extends
|
|
442
|
+
export class RtcStats_RemoteInboundRtp extends Message {
|
|
450
443
|
constructor(data) {
|
|
451
444
|
super();
|
|
452
|
-
|
|
445
|
+
proto3.util.initPartial(data, this);
|
|
453
446
|
}
|
|
454
447
|
static fromBinary(bytes, options) {
|
|
455
448
|
return new RtcStats_RemoteInboundRtp().fromBinary(bytes, options);
|
|
@@ -461,13 +454,12 @@ class RtcStats_RemoteInboundRtp extends protobuf_1.Message {
|
|
|
461
454
|
return new RtcStats_RemoteInboundRtp().fromJsonString(jsonString, options);
|
|
462
455
|
}
|
|
463
456
|
static equals(a, b) {
|
|
464
|
-
return
|
|
457
|
+
return proto3.util.equals(RtcStats_RemoteInboundRtp, a, b);
|
|
465
458
|
}
|
|
466
459
|
}
|
|
467
|
-
|
|
468
|
-
RtcStats_RemoteInboundRtp.runtime = protobuf_1.proto3;
|
|
460
|
+
RtcStats_RemoteInboundRtp.runtime = proto3;
|
|
469
461
|
RtcStats_RemoteInboundRtp.typeName = "livekit.proto.RtcStats.RemoteInboundRtp";
|
|
470
|
-
RtcStats_RemoteInboundRtp.fields =
|
|
462
|
+
RtcStats_RemoteInboundRtp.fields = proto3.util.newFieldList(() => [
|
|
471
463
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
472
464
|
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
473
465
|
{ no: 3, name: "received", kind: "message", T: ReceivedRtpStreamStats },
|
|
@@ -476,10 +468,10 @@ RtcStats_RemoteInboundRtp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
476
468
|
/**
|
|
477
469
|
* @generated from message livekit.proto.RtcStats.RemoteOutboundRtp
|
|
478
470
|
*/
|
|
479
|
-
class RtcStats_RemoteOutboundRtp extends
|
|
471
|
+
export class RtcStats_RemoteOutboundRtp extends Message {
|
|
480
472
|
constructor(data) {
|
|
481
473
|
super();
|
|
482
|
-
|
|
474
|
+
proto3.util.initPartial(data, this);
|
|
483
475
|
}
|
|
484
476
|
static fromBinary(bytes, options) {
|
|
485
477
|
return new RtcStats_RemoteOutboundRtp().fromBinary(bytes, options);
|
|
@@ -491,13 +483,12 @@ class RtcStats_RemoteOutboundRtp extends protobuf_1.Message {
|
|
|
491
483
|
return new RtcStats_RemoteOutboundRtp().fromJsonString(jsonString, options);
|
|
492
484
|
}
|
|
493
485
|
static equals(a, b) {
|
|
494
|
-
return
|
|
486
|
+
return proto3.util.equals(RtcStats_RemoteOutboundRtp, a, b);
|
|
495
487
|
}
|
|
496
488
|
}
|
|
497
|
-
|
|
498
|
-
RtcStats_RemoteOutboundRtp.runtime = protobuf_1.proto3;
|
|
489
|
+
RtcStats_RemoteOutboundRtp.runtime = proto3;
|
|
499
490
|
RtcStats_RemoteOutboundRtp.typeName = "livekit.proto.RtcStats.RemoteOutboundRtp";
|
|
500
|
-
RtcStats_RemoteOutboundRtp.fields =
|
|
491
|
+
RtcStats_RemoteOutboundRtp.fields = proto3.util.newFieldList(() => [
|
|
501
492
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
502
493
|
{ no: 2, name: "stream", kind: "message", T: RtpStreamStats },
|
|
503
494
|
{ no: 3, name: "sent", kind: "message", T: SentRtpStreamStats },
|
|
@@ -506,10 +497,10 @@ RtcStats_RemoteOutboundRtp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
506
497
|
/**
|
|
507
498
|
* @generated from message livekit.proto.RtcStats.MediaSource
|
|
508
499
|
*/
|
|
509
|
-
class RtcStats_MediaSource extends
|
|
500
|
+
export class RtcStats_MediaSource extends Message {
|
|
510
501
|
constructor(data) {
|
|
511
502
|
super();
|
|
512
|
-
|
|
503
|
+
proto3.util.initPartial(data, this);
|
|
513
504
|
}
|
|
514
505
|
static fromBinary(bytes, options) {
|
|
515
506
|
return new RtcStats_MediaSource().fromBinary(bytes, options);
|
|
@@ -521,13 +512,12 @@ class RtcStats_MediaSource extends protobuf_1.Message {
|
|
|
521
512
|
return new RtcStats_MediaSource().fromJsonString(jsonString, options);
|
|
522
513
|
}
|
|
523
514
|
static equals(a, b) {
|
|
524
|
-
return
|
|
515
|
+
return proto3.util.equals(RtcStats_MediaSource, a, b);
|
|
525
516
|
}
|
|
526
517
|
}
|
|
527
|
-
|
|
528
|
-
RtcStats_MediaSource.runtime = protobuf_1.proto3;
|
|
518
|
+
RtcStats_MediaSource.runtime = proto3;
|
|
529
519
|
RtcStats_MediaSource.typeName = "livekit.proto.RtcStats.MediaSource";
|
|
530
|
-
RtcStats_MediaSource.fields =
|
|
520
|
+
RtcStats_MediaSource.fields = proto3.util.newFieldList(() => [
|
|
531
521
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
532
522
|
{ no: 2, name: "source", kind: "message", T: MediaSourceStats },
|
|
533
523
|
{ no: 3, name: "audio", kind: "message", T: AudioSourceStats },
|
|
@@ -536,10 +526,10 @@ RtcStats_MediaSource.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
536
526
|
/**
|
|
537
527
|
* @generated from message livekit.proto.RtcStats.MediaPlayout
|
|
538
528
|
*/
|
|
539
|
-
class RtcStats_MediaPlayout extends
|
|
529
|
+
export class RtcStats_MediaPlayout extends Message {
|
|
540
530
|
constructor(data) {
|
|
541
531
|
super();
|
|
542
|
-
|
|
532
|
+
proto3.util.initPartial(data, this);
|
|
543
533
|
}
|
|
544
534
|
static fromBinary(bytes, options) {
|
|
545
535
|
return new RtcStats_MediaPlayout().fromBinary(bytes, options);
|
|
@@ -551,23 +541,22 @@ class RtcStats_MediaPlayout extends protobuf_1.Message {
|
|
|
551
541
|
return new RtcStats_MediaPlayout().fromJsonString(jsonString, options);
|
|
552
542
|
}
|
|
553
543
|
static equals(a, b) {
|
|
554
|
-
return
|
|
544
|
+
return proto3.util.equals(RtcStats_MediaPlayout, a, b);
|
|
555
545
|
}
|
|
556
546
|
}
|
|
557
|
-
|
|
558
|
-
RtcStats_MediaPlayout.runtime = protobuf_1.proto3;
|
|
547
|
+
RtcStats_MediaPlayout.runtime = proto3;
|
|
559
548
|
RtcStats_MediaPlayout.typeName = "livekit.proto.RtcStats.MediaPlayout";
|
|
560
|
-
RtcStats_MediaPlayout.fields =
|
|
549
|
+
RtcStats_MediaPlayout.fields = proto3.util.newFieldList(() => [
|
|
561
550
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
562
551
|
{ no: 2, name: "audio_playout", kind: "message", T: AudioPlayoutStats },
|
|
563
552
|
]);
|
|
564
553
|
/**
|
|
565
554
|
* @generated from message livekit.proto.RtcStats.PeerConnection
|
|
566
555
|
*/
|
|
567
|
-
class RtcStats_PeerConnection extends
|
|
556
|
+
export class RtcStats_PeerConnection extends Message {
|
|
568
557
|
constructor(data) {
|
|
569
558
|
super();
|
|
570
|
-
|
|
559
|
+
proto3.util.initPartial(data, this);
|
|
571
560
|
}
|
|
572
561
|
static fromBinary(bytes, options) {
|
|
573
562
|
return new RtcStats_PeerConnection().fromBinary(bytes, options);
|
|
@@ -579,23 +568,22 @@ class RtcStats_PeerConnection extends protobuf_1.Message {
|
|
|
579
568
|
return new RtcStats_PeerConnection().fromJsonString(jsonString, options);
|
|
580
569
|
}
|
|
581
570
|
static equals(a, b) {
|
|
582
|
-
return
|
|
571
|
+
return proto3.util.equals(RtcStats_PeerConnection, a, b);
|
|
583
572
|
}
|
|
584
573
|
}
|
|
585
|
-
|
|
586
|
-
RtcStats_PeerConnection.runtime = protobuf_1.proto3;
|
|
574
|
+
RtcStats_PeerConnection.runtime = proto3;
|
|
587
575
|
RtcStats_PeerConnection.typeName = "livekit.proto.RtcStats.PeerConnection";
|
|
588
|
-
RtcStats_PeerConnection.fields =
|
|
576
|
+
RtcStats_PeerConnection.fields = proto3.util.newFieldList(() => [
|
|
589
577
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
590
578
|
{ no: 2, name: "pc", kind: "message", T: PeerConnectionStats },
|
|
591
579
|
]);
|
|
592
580
|
/**
|
|
593
581
|
* @generated from message livekit.proto.RtcStats.DataChannel
|
|
594
582
|
*/
|
|
595
|
-
class RtcStats_DataChannel extends
|
|
583
|
+
export class RtcStats_DataChannel extends Message {
|
|
596
584
|
constructor(data) {
|
|
597
585
|
super();
|
|
598
|
-
|
|
586
|
+
proto3.util.initPartial(data, this);
|
|
599
587
|
}
|
|
600
588
|
static fromBinary(bytes, options) {
|
|
601
589
|
return new RtcStats_DataChannel().fromBinary(bytes, options);
|
|
@@ -607,23 +595,22 @@ class RtcStats_DataChannel extends protobuf_1.Message {
|
|
|
607
595
|
return new RtcStats_DataChannel().fromJsonString(jsonString, options);
|
|
608
596
|
}
|
|
609
597
|
static equals(a, b) {
|
|
610
|
-
return
|
|
598
|
+
return proto3.util.equals(RtcStats_DataChannel, a, b);
|
|
611
599
|
}
|
|
612
600
|
}
|
|
613
|
-
|
|
614
|
-
RtcStats_DataChannel.runtime = protobuf_1.proto3;
|
|
601
|
+
RtcStats_DataChannel.runtime = proto3;
|
|
615
602
|
RtcStats_DataChannel.typeName = "livekit.proto.RtcStats.DataChannel";
|
|
616
|
-
RtcStats_DataChannel.fields =
|
|
603
|
+
RtcStats_DataChannel.fields = proto3.util.newFieldList(() => [
|
|
617
604
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
618
605
|
{ no: 2, name: "dc", kind: "message", T: DataChannelStats },
|
|
619
606
|
]);
|
|
620
607
|
/**
|
|
621
608
|
* @generated from message livekit.proto.RtcStats.Transport
|
|
622
609
|
*/
|
|
623
|
-
class RtcStats_Transport extends
|
|
610
|
+
export class RtcStats_Transport extends Message {
|
|
624
611
|
constructor(data) {
|
|
625
612
|
super();
|
|
626
|
-
|
|
613
|
+
proto3.util.initPartial(data, this);
|
|
627
614
|
}
|
|
628
615
|
static fromBinary(bytes, options) {
|
|
629
616
|
return new RtcStats_Transport().fromBinary(bytes, options);
|
|
@@ -635,23 +622,22 @@ class RtcStats_Transport extends protobuf_1.Message {
|
|
|
635
622
|
return new RtcStats_Transport().fromJsonString(jsonString, options);
|
|
636
623
|
}
|
|
637
624
|
static equals(a, b) {
|
|
638
|
-
return
|
|
625
|
+
return proto3.util.equals(RtcStats_Transport, a, b);
|
|
639
626
|
}
|
|
640
627
|
}
|
|
641
|
-
|
|
642
|
-
RtcStats_Transport.runtime = protobuf_1.proto3;
|
|
628
|
+
RtcStats_Transport.runtime = proto3;
|
|
643
629
|
RtcStats_Transport.typeName = "livekit.proto.RtcStats.Transport";
|
|
644
|
-
RtcStats_Transport.fields =
|
|
630
|
+
RtcStats_Transport.fields = proto3.util.newFieldList(() => [
|
|
645
631
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
646
632
|
{ no: 2, name: "transport", kind: "message", T: TransportStats },
|
|
647
633
|
]);
|
|
648
634
|
/**
|
|
649
635
|
* @generated from message livekit.proto.RtcStats.CandidatePair
|
|
650
636
|
*/
|
|
651
|
-
class RtcStats_CandidatePair extends
|
|
637
|
+
export class RtcStats_CandidatePair extends Message {
|
|
652
638
|
constructor(data) {
|
|
653
639
|
super();
|
|
654
|
-
|
|
640
|
+
proto3.util.initPartial(data, this);
|
|
655
641
|
}
|
|
656
642
|
static fromBinary(bytes, options) {
|
|
657
643
|
return new RtcStats_CandidatePair().fromBinary(bytes, options);
|
|
@@ -663,23 +649,22 @@ class RtcStats_CandidatePair extends protobuf_1.Message {
|
|
|
663
649
|
return new RtcStats_CandidatePair().fromJsonString(jsonString, options);
|
|
664
650
|
}
|
|
665
651
|
static equals(a, b) {
|
|
666
|
-
return
|
|
652
|
+
return proto3.util.equals(RtcStats_CandidatePair, a, b);
|
|
667
653
|
}
|
|
668
654
|
}
|
|
669
|
-
|
|
670
|
-
RtcStats_CandidatePair.runtime = protobuf_1.proto3;
|
|
655
|
+
RtcStats_CandidatePair.runtime = proto3;
|
|
671
656
|
RtcStats_CandidatePair.typeName = "livekit.proto.RtcStats.CandidatePair";
|
|
672
|
-
RtcStats_CandidatePair.fields =
|
|
657
|
+
RtcStats_CandidatePair.fields = proto3.util.newFieldList(() => [
|
|
673
658
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
674
659
|
{ no: 2, name: "candidate_pair", kind: "message", T: CandidatePairStats },
|
|
675
660
|
]);
|
|
676
661
|
/**
|
|
677
662
|
* @generated from message livekit.proto.RtcStats.LocalCandidate
|
|
678
663
|
*/
|
|
679
|
-
class RtcStats_LocalCandidate extends
|
|
664
|
+
export class RtcStats_LocalCandidate extends Message {
|
|
680
665
|
constructor(data) {
|
|
681
666
|
super();
|
|
682
|
-
|
|
667
|
+
proto3.util.initPartial(data, this);
|
|
683
668
|
}
|
|
684
669
|
static fromBinary(bytes, options) {
|
|
685
670
|
return new RtcStats_LocalCandidate().fromBinary(bytes, options);
|
|
@@ -691,23 +676,22 @@ class RtcStats_LocalCandidate extends protobuf_1.Message {
|
|
|
691
676
|
return new RtcStats_LocalCandidate().fromJsonString(jsonString, options);
|
|
692
677
|
}
|
|
693
678
|
static equals(a, b) {
|
|
694
|
-
return
|
|
679
|
+
return proto3.util.equals(RtcStats_LocalCandidate, a, b);
|
|
695
680
|
}
|
|
696
681
|
}
|
|
697
|
-
|
|
698
|
-
RtcStats_LocalCandidate.runtime = protobuf_1.proto3;
|
|
682
|
+
RtcStats_LocalCandidate.runtime = proto3;
|
|
699
683
|
RtcStats_LocalCandidate.typeName = "livekit.proto.RtcStats.LocalCandidate";
|
|
700
|
-
RtcStats_LocalCandidate.fields =
|
|
684
|
+
RtcStats_LocalCandidate.fields = proto3.util.newFieldList(() => [
|
|
701
685
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
702
686
|
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
|
|
703
687
|
]);
|
|
704
688
|
/**
|
|
705
689
|
* @generated from message livekit.proto.RtcStats.RemoteCandidate
|
|
706
690
|
*/
|
|
707
|
-
class RtcStats_RemoteCandidate extends
|
|
691
|
+
export class RtcStats_RemoteCandidate extends Message {
|
|
708
692
|
constructor(data) {
|
|
709
693
|
super();
|
|
710
|
-
|
|
694
|
+
proto3.util.initPartial(data, this);
|
|
711
695
|
}
|
|
712
696
|
static fromBinary(bytes, options) {
|
|
713
697
|
return new RtcStats_RemoteCandidate().fromBinary(bytes, options);
|
|
@@ -719,23 +703,22 @@ class RtcStats_RemoteCandidate extends protobuf_1.Message {
|
|
|
719
703
|
return new RtcStats_RemoteCandidate().fromJsonString(jsonString, options);
|
|
720
704
|
}
|
|
721
705
|
static equals(a, b) {
|
|
722
|
-
return
|
|
706
|
+
return proto3.util.equals(RtcStats_RemoteCandidate, a, b);
|
|
723
707
|
}
|
|
724
708
|
}
|
|
725
|
-
|
|
726
|
-
RtcStats_RemoteCandidate.runtime = protobuf_1.proto3;
|
|
709
|
+
RtcStats_RemoteCandidate.runtime = proto3;
|
|
727
710
|
RtcStats_RemoteCandidate.typeName = "livekit.proto.RtcStats.RemoteCandidate";
|
|
728
|
-
RtcStats_RemoteCandidate.fields =
|
|
711
|
+
RtcStats_RemoteCandidate.fields = proto3.util.newFieldList(() => [
|
|
729
712
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
730
713
|
{ no: 2, name: "candidate", kind: "message", T: IceCandidateStats },
|
|
731
714
|
]);
|
|
732
715
|
/**
|
|
733
716
|
* @generated from message livekit.proto.RtcStats.Certificate
|
|
734
717
|
*/
|
|
735
|
-
class RtcStats_Certificate extends
|
|
718
|
+
export class RtcStats_Certificate extends Message {
|
|
736
719
|
constructor(data) {
|
|
737
720
|
super();
|
|
738
|
-
|
|
721
|
+
proto3.util.initPartial(data, this);
|
|
739
722
|
}
|
|
740
723
|
static fromBinary(bytes, options) {
|
|
741
724
|
return new RtcStats_Certificate().fromBinary(bytes, options);
|
|
@@ -747,13 +730,12 @@ class RtcStats_Certificate extends protobuf_1.Message {
|
|
|
747
730
|
return new RtcStats_Certificate().fromJsonString(jsonString, options);
|
|
748
731
|
}
|
|
749
732
|
static equals(a, b) {
|
|
750
|
-
return
|
|
733
|
+
return proto3.util.equals(RtcStats_Certificate, a, b);
|
|
751
734
|
}
|
|
752
735
|
}
|
|
753
|
-
|
|
754
|
-
RtcStats_Certificate.runtime = protobuf_1.proto3;
|
|
736
|
+
RtcStats_Certificate.runtime = proto3;
|
|
755
737
|
RtcStats_Certificate.typeName = "livekit.proto.RtcStats.Certificate";
|
|
756
|
-
RtcStats_Certificate.fields =
|
|
738
|
+
RtcStats_Certificate.fields = proto3.util.newFieldList(() => [
|
|
757
739
|
{ no: 1, name: "rtc", kind: "message", T: RtcStatsData },
|
|
758
740
|
{ no: 2, name: "certificate", kind: "message", T: CertificateStats },
|
|
759
741
|
]);
|
|
@@ -762,10 +744,10 @@ RtcStats_Certificate.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
762
744
|
*
|
|
763
745
|
* @generated from message livekit.proto.RtcStats.Track
|
|
764
746
|
*/
|
|
765
|
-
class RtcStats_Track extends
|
|
747
|
+
export class RtcStats_Track extends Message {
|
|
766
748
|
constructor(data) {
|
|
767
749
|
super();
|
|
768
|
-
|
|
750
|
+
proto3.util.initPartial(data, this);
|
|
769
751
|
}
|
|
770
752
|
static fromBinary(bytes, options) {
|
|
771
753
|
return new RtcStats_Track().fromBinary(bytes, options);
|
|
@@ -777,17 +759,16 @@ class RtcStats_Track extends protobuf_1.Message {
|
|
|
777
759
|
return new RtcStats_Track().fromJsonString(jsonString, options);
|
|
778
760
|
}
|
|
779
761
|
static equals(a, b) {
|
|
780
|
-
return
|
|
762
|
+
return proto3.util.equals(RtcStats_Track, a, b);
|
|
781
763
|
}
|
|
782
764
|
}
|
|
783
|
-
|
|
784
|
-
RtcStats_Track.runtime = protobuf_1.proto3;
|
|
765
|
+
RtcStats_Track.runtime = proto3;
|
|
785
766
|
RtcStats_Track.typeName = "livekit.proto.RtcStats.Track";
|
|
786
|
-
RtcStats_Track.fields =
|
|
767
|
+
RtcStats_Track.fields = proto3.util.newFieldList(() => []);
|
|
787
768
|
/**
|
|
788
769
|
* @generated from message livekit.proto.RtcStatsData
|
|
789
770
|
*/
|
|
790
|
-
class RtcStatsData extends
|
|
771
|
+
export class RtcStatsData extends Message {
|
|
791
772
|
constructor(data) {
|
|
792
773
|
super();
|
|
793
774
|
/**
|
|
@@ -797,8 +778,8 @@ class RtcStatsData extends protobuf_1.Message {
|
|
|
797
778
|
/**
|
|
798
779
|
* @generated from field: int64 timestamp = 2;
|
|
799
780
|
*/
|
|
800
|
-
this.timestamp =
|
|
801
|
-
|
|
781
|
+
this.timestamp = protoInt64.zero;
|
|
782
|
+
proto3.util.initPartial(data, this);
|
|
802
783
|
}
|
|
803
784
|
static fromBinary(bytes, options) {
|
|
804
785
|
return new RtcStatsData().fromBinary(bytes, options);
|
|
@@ -810,20 +791,19 @@ class RtcStatsData extends protobuf_1.Message {
|
|
|
810
791
|
return new RtcStatsData().fromJsonString(jsonString, options);
|
|
811
792
|
}
|
|
812
793
|
static equals(a, b) {
|
|
813
|
-
return
|
|
794
|
+
return proto3.util.equals(RtcStatsData, a, b);
|
|
814
795
|
}
|
|
815
796
|
}
|
|
816
|
-
|
|
817
|
-
RtcStatsData.runtime = protobuf_1.proto3;
|
|
797
|
+
RtcStatsData.runtime = proto3;
|
|
818
798
|
RtcStatsData.typeName = "livekit.proto.RtcStatsData";
|
|
819
|
-
RtcStatsData.fields =
|
|
799
|
+
RtcStatsData.fields = proto3.util.newFieldList(() => [
|
|
820
800
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
821
801
|
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
822
802
|
]);
|
|
823
803
|
/**
|
|
824
804
|
* @generated from message livekit.proto.CodecStats
|
|
825
805
|
*/
|
|
826
|
-
class CodecStats extends
|
|
806
|
+
export class CodecStats extends Message {
|
|
827
807
|
constructor(data) {
|
|
828
808
|
super();
|
|
829
809
|
/**
|
|
@@ -850,7 +830,7 @@ class CodecStats extends protobuf_1.Message {
|
|
|
850
830
|
* @generated from field: string sdp_fmtp_line = 6;
|
|
851
831
|
*/
|
|
852
832
|
this.sdpFmtpLine = "";
|
|
853
|
-
|
|
833
|
+
proto3.util.initPartial(data, this);
|
|
854
834
|
}
|
|
855
835
|
static fromBinary(bytes, options) {
|
|
856
836
|
return new CodecStats().fromBinary(bytes, options);
|
|
@@ -862,13 +842,12 @@ class CodecStats extends protobuf_1.Message {
|
|
|
862
842
|
return new CodecStats().fromJsonString(jsonString, options);
|
|
863
843
|
}
|
|
864
844
|
static equals(a, b) {
|
|
865
|
-
return
|
|
845
|
+
return proto3.util.equals(CodecStats, a, b);
|
|
866
846
|
}
|
|
867
847
|
}
|
|
868
|
-
|
|
869
|
-
CodecStats.runtime = protobuf_1.proto3;
|
|
848
|
+
CodecStats.runtime = proto3;
|
|
870
849
|
CodecStats.typeName = "livekit.proto.CodecStats";
|
|
871
|
-
CodecStats.fields =
|
|
850
|
+
CodecStats.fields = proto3.util.newFieldList(() => [
|
|
872
851
|
{ no: 1, name: "payload_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
873
852
|
{ no: 2, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
874
853
|
{ no: 3, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -879,7 +858,7 @@ CodecStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
879
858
|
/**
|
|
880
859
|
* @generated from message livekit.proto.RtpStreamStats
|
|
881
860
|
*/
|
|
882
|
-
class RtpStreamStats extends
|
|
861
|
+
export class RtpStreamStats extends Message {
|
|
883
862
|
constructor(data) {
|
|
884
863
|
super();
|
|
885
864
|
/**
|
|
@@ -898,7 +877,7 @@ class RtpStreamStats extends protobuf_1.Message {
|
|
|
898
877
|
* @generated from field: string codec_id = 4;
|
|
899
878
|
*/
|
|
900
879
|
this.codecId = "";
|
|
901
|
-
|
|
880
|
+
proto3.util.initPartial(data, this);
|
|
902
881
|
}
|
|
903
882
|
static fromBinary(bytes, options) {
|
|
904
883
|
return new RtpStreamStats().fromBinary(bytes, options);
|
|
@@ -910,13 +889,12 @@ class RtpStreamStats extends protobuf_1.Message {
|
|
|
910
889
|
return new RtpStreamStats().fromJsonString(jsonString, options);
|
|
911
890
|
}
|
|
912
891
|
static equals(a, b) {
|
|
913
|
-
return
|
|
892
|
+
return proto3.util.equals(RtpStreamStats, a, b);
|
|
914
893
|
}
|
|
915
894
|
}
|
|
916
|
-
|
|
917
|
-
RtpStreamStats.runtime = protobuf_1.proto3;
|
|
895
|
+
RtpStreamStats.runtime = proto3;
|
|
918
896
|
RtpStreamStats.typeName = "livekit.proto.RtpStreamStats";
|
|
919
|
-
RtpStreamStats.fields =
|
|
897
|
+
RtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
920
898
|
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
921
899
|
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
922
900
|
{ no: 3, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -925,22 +903,22 @@ RtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
925
903
|
/**
|
|
926
904
|
* @generated from message livekit.proto.ReceivedRtpStreamStats
|
|
927
905
|
*/
|
|
928
|
-
class ReceivedRtpStreamStats extends
|
|
906
|
+
export class ReceivedRtpStreamStats extends Message {
|
|
929
907
|
constructor(data) {
|
|
930
908
|
super();
|
|
931
909
|
/**
|
|
932
910
|
* @generated from field: uint64 packets_received = 1;
|
|
933
911
|
*/
|
|
934
|
-
this.packetsReceived =
|
|
912
|
+
this.packetsReceived = protoInt64.zero;
|
|
935
913
|
/**
|
|
936
914
|
* @generated from field: int64 packets_lost = 2;
|
|
937
915
|
*/
|
|
938
|
-
this.packetsLost =
|
|
916
|
+
this.packetsLost = protoInt64.zero;
|
|
939
917
|
/**
|
|
940
918
|
* @generated from field: double jitter = 3;
|
|
941
919
|
*/
|
|
942
920
|
this.jitter = 0;
|
|
943
|
-
|
|
921
|
+
proto3.util.initPartial(data, this);
|
|
944
922
|
}
|
|
945
923
|
static fromBinary(bytes, options) {
|
|
946
924
|
return new ReceivedRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -952,13 +930,12 @@ class ReceivedRtpStreamStats extends protobuf_1.Message {
|
|
|
952
930
|
return new ReceivedRtpStreamStats().fromJsonString(jsonString, options);
|
|
953
931
|
}
|
|
954
932
|
static equals(a, b) {
|
|
955
|
-
return
|
|
933
|
+
return proto3.util.equals(ReceivedRtpStreamStats, a, b);
|
|
956
934
|
}
|
|
957
935
|
}
|
|
958
|
-
|
|
959
|
-
ReceivedRtpStreamStats.runtime = protobuf_1.proto3;
|
|
936
|
+
ReceivedRtpStreamStats.runtime = proto3;
|
|
960
937
|
ReceivedRtpStreamStats.typeName = "livekit.proto.ReceivedRtpStreamStats";
|
|
961
|
-
ReceivedRtpStreamStats.fields =
|
|
938
|
+
ReceivedRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
962
939
|
{ no: 1, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
963
940
|
{ no: 2, name: "packets_lost", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
964
941
|
{ no: 3, name: "jitter", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
@@ -966,7 +943,7 @@ ReceivedRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
966
943
|
/**
|
|
967
944
|
* @generated from message livekit.proto.InboundRtpStreamStats
|
|
968
945
|
*/
|
|
969
|
-
class InboundRtpStreamStats extends
|
|
946
|
+
export class InboundRtpStreamStats extends Message {
|
|
970
947
|
constructor(data) {
|
|
971
948
|
super();
|
|
972
949
|
/**
|
|
@@ -1012,7 +989,7 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1012
989
|
/**
|
|
1013
990
|
* @generated from field: uint64 qp_sum = 11;
|
|
1014
991
|
*/
|
|
1015
|
-
this.qpSum =
|
|
992
|
+
this.qpSum = protoInt64.zero;
|
|
1016
993
|
/**
|
|
1017
994
|
* @generated from field: double total_decode_time = 12;
|
|
1018
995
|
*/
|
|
@@ -1048,27 +1025,27 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1048
1025
|
/**
|
|
1049
1026
|
* @generated from field: uint64 header_bytes_received = 20;
|
|
1050
1027
|
*/
|
|
1051
|
-
this.headerBytesReceived =
|
|
1028
|
+
this.headerBytesReceived = protoInt64.zero;
|
|
1052
1029
|
/**
|
|
1053
1030
|
* @generated from field: uint64 packets_discarded = 21;
|
|
1054
1031
|
*/
|
|
1055
|
-
this.packetsDiscarded =
|
|
1032
|
+
this.packetsDiscarded = protoInt64.zero;
|
|
1056
1033
|
/**
|
|
1057
1034
|
* @generated from field: uint64 fec_bytes_received = 22;
|
|
1058
1035
|
*/
|
|
1059
|
-
this.fecBytesReceived =
|
|
1036
|
+
this.fecBytesReceived = protoInt64.zero;
|
|
1060
1037
|
/**
|
|
1061
1038
|
* @generated from field: uint64 fec_packets_received = 23;
|
|
1062
1039
|
*/
|
|
1063
|
-
this.fecPacketsReceived =
|
|
1040
|
+
this.fecPacketsReceived = protoInt64.zero;
|
|
1064
1041
|
/**
|
|
1065
1042
|
* @generated from field: uint64 fec_packets_discarded = 24;
|
|
1066
1043
|
*/
|
|
1067
|
-
this.fecPacketsDiscarded =
|
|
1044
|
+
this.fecPacketsDiscarded = protoInt64.zero;
|
|
1068
1045
|
/**
|
|
1069
1046
|
* @generated from field: uint64 bytes_received = 25;
|
|
1070
1047
|
*/
|
|
1071
|
-
this.bytesReceived =
|
|
1048
|
+
this.bytesReceived = protoInt64.zero;
|
|
1072
1049
|
/**
|
|
1073
1050
|
* @generated from field: uint32 nack_count = 26;
|
|
1074
1051
|
*/
|
|
@@ -1100,7 +1077,7 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1100
1077
|
/**
|
|
1101
1078
|
* @generated from field: uint64 jitter_buffer_emitted_count = 33;
|
|
1102
1079
|
*/
|
|
1103
|
-
this.jitterBufferEmittedCount =
|
|
1080
|
+
this.jitterBufferEmittedCount = protoInt64.zero;
|
|
1104
1081
|
/**
|
|
1105
1082
|
* @generated from field: double jitter_buffer_minimum_delay = 34;
|
|
1106
1083
|
*/
|
|
@@ -1108,27 +1085,27 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1108
1085
|
/**
|
|
1109
1086
|
* @generated from field: uint64 total_samples_received = 35;
|
|
1110
1087
|
*/
|
|
1111
|
-
this.totalSamplesReceived =
|
|
1088
|
+
this.totalSamplesReceived = protoInt64.zero;
|
|
1112
1089
|
/**
|
|
1113
1090
|
* @generated from field: uint64 concealed_samples = 36;
|
|
1114
1091
|
*/
|
|
1115
|
-
this.concealedSamples =
|
|
1092
|
+
this.concealedSamples = protoInt64.zero;
|
|
1116
1093
|
/**
|
|
1117
1094
|
* @generated from field: uint64 silent_concealed_samples = 37;
|
|
1118
1095
|
*/
|
|
1119
|
-
this.silentConcealedSamples =
|
|
1096
|
+
this.silentConcealedSamples = protoInt64.zero;
|
|
1120
1097
|
/**
|
|
1121
1098
|
* @generated from field: uint64 concealment_events = 38;
|
|
1122
1099
|
*/
|
|
1123
|
-
this.concealmentEvents =
|
|
1100
|
+
this.concealmentEvents = protoInt64.zero;
|
|
1124
1101
|
/**
|
|
1125
1102
|
* @generated from field: uint64 inserted_samples_for_deceleration = 39;
|
|
1126
1103
|
*/
|
|
1127
|
-
this.insertedSamplesForDeceleration =
|
|
1104
|
+
this.insertedSamplesForDeceleration = protoInt64.zero;
|
|
1128
1105
|
/**
|
|
1129
1106
|
* @generated from field: uint64 removed_samples_for_acceleration = 40;
|
|
1130
1107
|
*/
|
|
1131
|
-
this.removedSamplesForAcceleration =
|
|
1108
|
+
this.removedSamplesForAcceleration = protoInt64.zero;
|
|
1132
1109
|
/**
|
|
1133
1110
|
* @generated from field: double audio_level = 41;
|
|
1134
1111
|
*/
|
|
@@ -1144,7 +1121,7 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1144
1121
|
/**
|
|
1145
1122
|
* @generated from field: uint64 frames_received = 44;
|
|
1146
1123
|
*/
|
|
1147
|
-
this.framesReceived =
|
|
1124
|
+
this.framesReceived = protoInt64.zero;
|
|
1148
1125
|
/**
|
|
1149
1126
|
* @generated from field: string decoder_implementation = 45;
|
|
1150
1127
|
*/
|
|
@@ -1160,7 +1137,7 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1160
1137
|
/**
|
|
1161
1138
|
* @generated from field: uint64 frames_assembled_from_multiple_packets = 48;
|
|
1162
1139
|
*/
|
|
1163
|
-
this.framesAssembledFromMultiplePackets =
|
|
1140
|
+
this.framesAssembledFromMultiplePackets = protoInt64.zero;
|
|
1164
1141
|
/**
|
|
1165
1142
|
* @generated from field: double total_assembly_time = 49;
|
|
1166
1143
|
*/
|
|
@@ -1168,11 +1145,11 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1168
1145
|
/**
|
|
1169
1146
|
* @generated from field: uint64 retransmitted_packets_received = 50;
|
|
1170
1147
|
*/
|
|
1171
|
-
this.retransmittedPacketsReceived =
|
|
1148
|
+
this.retransmittedPacketsReceived = protoInt64.zero;
|
|
1172
1149
|
/**
|
|
1173
1150
|
* @generated from field: uint64 retransmitted_bytes_received = 51;
|
|
1174
1151
|
*/
|
|
1175
|
-
this.retransmittedBytesReceived =
|
|
1152
|
+
this.retransmittedBytesReceived = protoInt64.zero;
|
|
1176
1153
|
/**
|
|
1177
1154
|
* @generated from field: uint32 rtx_ssrc = 52;
|
|
1178
1155
|
*/
|
|
@@ -1181,7 +1158,7 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1181
1158
|
* @generated from field: uint32 fec_ssrc = 53;
|
|
1182
1159
|
*/
|
|
1183
1160
|
this.fecSsrc = 0;
|
|
1184
|
-
|
|
1161
|
+
proto3.util.initPartial(data, this);
|
|
1185
1162
|
}
|
|
1186
1163
|
static fromBinary(bytes, options) {
|
|
1187
1164
|
return new InboundRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -1193,13 +1170,12 @@ class InboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1193
1170
|
return new InboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1194
1171
|
}
|
|
1195
1172
|
static equals(a, b) {
|
|
1196
|
-
return
|
|
1173
|
+
return proto3.util.equals(InboundRtpStreamStats, a, b);
|
|
1197
1174
|
}
|
|
1198
1175
|
}
|
|
1199
|
-
|
|
1200
|
-
InboundRtpStreamStats.runtime = protobuf_1.proto3;
|
|
1176
|
+
InboundRtpStreamStats.runtime = proto3;
|
|
1201
1177
|
InboundRtpStreamStats.typeName = "livekit.proto.InboundRtpStreamStats";
|
|
1202
|
-
InboundRtpStreamStats.fields =
|
|
1178
|
+
InboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
1203
1179
|
{ no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1204
1180
|
{ no: 2, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1205
1181
|
{ no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1257,18 +1233,18 @@ InboundRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1257
1233
|
/**
|
|
1258
1234
|
* @generated from message livekit.proto.SentRtpStreamStats
|
|
1259
1235
|
*/
|
|
1260
|
-
class SentRtpStreamStats extends
|
|
1236
|
+
export class SentRtpStreamStats extends Message {
|
|
1261
1237
|
constructor(data) {
|
|
1262
1238
|
super();
|
|
1263
1239
|
/**
|
|
1264
1240
|
* @generated from field: uint64 packets_sent = 1;
|
|
1265
1241
|
*/
|
|
1266
|
-
this.packetsSent =
|
|
1242
|
+
this.packetsSent = protoInt64.zero;
|
|
1267
1243
|
/**
|
|
1268
1244
|
* @generated from field: uint64 bytes_sent = 2;
|
|
1269
1245
|
*/
|
|
1270
|
-
this.bytesSent =
|
|
1271
|
-
|
|
1246
|
+
this.bytesSent = protoInt64.zero;
|
|
1247
|
+
proto3.util.initPartial(data, this);
|
|
1272
1248
|
}
|
|
1273
1249
|
static fromBinary(bytes, options) {
|
|
1274
1250
|
return new SentRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -1280,20 +1256,19 @@ class SentRtpStreamStats extends protobuf_1.Message {
|
|
|
1280
1256
|
return new SentRtpStreamStats().fromJsonString(jsonString, options);
|
|
1281
1257
|
}
|
|
1282
1258
|
static equals(a, b) {
|
|
1283
|
-
return
|
|
1259
|
+
return proto3.util.equals(SentRtpStreamStats, a, b);
|
|
1284
1260
|
}
|
|
1285
1261
|
}
|
|
1286
|
-
|
|
1287
|
-
SentRtpStreamStats.runtime = protobuf_1.proto3;
|
|
1262
|
+
SentRtpStreamStats.runtime = proto3;
|
|
1288
1263
|
SentRtpStreamStats.typeName = "livekit.proto.SentRtpStreamStats";
|
|
1289
|
-
SentRtpStreamStats.fields =
|
|
1264
|
+
SentRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
1290
1265
|
{ no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1291
1266
|
{ no: 2, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1292
1267
|
]);
|
|
1293
1268
|
/**
|
|
1294
1269
|
* @generated from message livekit.proto.OutboundRtpStreamStats
|
|
1295
1270
|
*/
|
|
1296
|
-
class OutboundRtpStreamStats extends
|
|
1271
|
+
export class OutboundRtpStreamStats extends Message {
|
|
1297
1272
|
constructor(data) {
|
|
1298
1273
|
super();
|
|
1299
1274
|
/**
|
|
@@ -1315,15 +1290,15 @@ class OutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1315
1290
|
/**
|
|
1316
1291
|
* @generated from field: uint64 header_bytes_sent = 5;
|
|
1317
1292
|
*/
|
|
1318
|
-
this.headerBytesSent =
|
|
1293
|
+
this.headerBytesSent = protoInt64.zero;
|
|
1319
1294
|
/**
|
|
1320
1295
|
* @generated from field: uint64 retransmitted_packets_sent = 6;
|
|
1321
1296
|
*/
|
|
1322
|
-
this.retransmittedPacketsSent =
|
|
1297
|
+
this.retransmittedPacketsSent = protoInt64.zero;
|
|
1323
1298
|
/**
|
|
1324
1299
|
* @generated from field: uint64 retransmitted_bytes_sent = 7;
|
|
1325
1300
|
*/
|
|
1326
|
-
this.retransmittedBytesSent =
|
|
1301
|
+
this.retransmittedBytesSent = protoInt64.zero;
|
|
1327
1302
|
/**
|
|
1328
1303
|
* @generated from field: uint32 rtx_ssrc = 8;
|
|
1329
1304
|
*/
|
|
@@ -1335,7 +1310,7 @@ class OutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1335
1310
|
/**
|
|
1336
1311
|
* @generated from field: uint64 total_encoded_bytes_target = 10;
|
|
1337
1312
|
*/
|
|
1338
|
-
this.totalEncodedBytesTarget =
|
|
1313
|
+
this.totalEncodedBytesTarget = protoInt64.zero;
|
|
1339
1314
|
/**
|
|
1340
1315
|
* @generated from field: uint32 frame_width = 11;
|
|
1341
1316
|
*/
|
|
@@ -1367,7 +1342,7 @@ class OutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1367
1342
|
/**
|
|
1368
1343
|
* @generated from field: uint64 qp_sum = 18;
|
|
1369
1344
|
*/
|
|
1370
|
-
this.qpSum =
|
|
1345
|
+
this.qpSum = protoInt64.zero;
|
|
1371
1346
|
/**
|
|
1372
1347
|
* @generated from field: double total_encode_time = 19;
|
|
1373
1348
|
*/
|
|
@@ -1416,7 +1391,7 @@ class OutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1416
1391
|
* @generated from field: string scalibility_mode = 30;
|
|
1417
1392
|
*/
|
|
1418
1393
|
this.scalibilityMode = "";
|
|
1419
|
-
|
|
1394
|
+
proto3.util.initPartial(data, this);
|
|
1420
1395
|
}
|
|
1421
1396
|
static fromBinary(bytes, options) {
|
|
1422
1397
|
return new OutboundRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -1428,13 +1403,12 @@ class OutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1428
1403
|
return new OutboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1429
1404
|
}
|
|
1430
1405
|
static equals(a, b) {
|
|
1431
|
-
return
|
|
1406
|
+
return proto3.util.equals(OutboundRtpStreamStats, a, b);
|
|
1432
1407
|
}
|
|
1433
1408
|
}
|
|
1434
|
-
|
|
1435
|
-
OutboundRtpStreamStats.runtime = protobuf_1.proto3;
|
|
1409
|
+
OutboundRtpStreamStats.runtime = proto3;
|
|
1436
1410
|
OutboundRtpStreamStats.typeName = "livekit.proto.OutboundRtpStreamStats";
|
|
1437
|
-
OutboundRtpStreamStats.fields =
|
|
1411
|
+
OutboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
1438
1412
|
{ no: 1, name: "mid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1439
1413
|
{ no: 2, name: "media_source_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1440
1414
|
{ no: 3, name: "remote_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1455,7 +1429,7 @@ OutboundRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1455
1429
|
{ no: 18, name: "qp_sum", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1456
1430
|
{ no: 19, name: "total_encode_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1457
1431
|
{ no: 20, name: "total_packet_send_delay", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1458
|
-
{ no: 21, name: "quality_limitation_reason", kind: "enum", T:
|
|
1432
|
+
{ no: 21, name: "quality_limitation_reason", kind: "enum", T: proto3.getEnumType(QualityLimitationReason) },
|
|
1459
1433
|
{ no: 22, name: "quality_limitation_durations", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 1 /* ScalarType.DOUBLE */ } },
|
|
1460
1434
|
{ no: 23, name: "quality_limitation_resolution_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1461
1435
|
{ no: 24, name: "nack_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -1469,7 +1443,7 @@ OutboundRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1469
1443
|
/**
|
|
1470
1444
|
* @generated from message livekit.proto.RemoteInboundRtpStreamStats
|
|
1471
1445
|
*/
|
|
1472
|
-
class RemoteInboundRtpStreamStats extends
|
|
1446
|
+
export class RemoteInboundRtpStreamStats extends Message {
|
|
1473
1447
|
constructor(data) {
|
|
1474
1448
|
super();
|
|
1475
1449
|
/**
|
|
@@ -1491,8 +1465,8 @@ class RemoteInboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1491
1465
|
/**
|
|
1492
1466
|
* @generated from field: uint64 round_trip_time_measurements = 5;
|
|
1493
1467
|
*/
|
|
1494
|
-
this.roundTripTimeMeasurements =
|
|
1495
|
-
|
|
1468
|
+
this.roundTripTimeMeasurements = protoInt64.zero;
|
|
1469
|
+
proto3.util.initPartial(data, this);
|
|
1496
1470
|
}
|
|
1497
1471
|
static fromBinary(bytes, options) {
|
|
1498
1472
|
return new RemoteInboundRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -1504,13 +1478,12 @@ class RemoteInboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1504
1478
|
return new RemoteInboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1505
1479
|
}
|
|
1506
1480
|
static equals(a, b) {
|
|
1507
|
-
return
|
|
1481
|
+
return proto3.util.equals(RemoteInboundRtpStreamStats, a, b);
|
|
1508
1482
|
}
|
|
1509
1483
|
}
|
|
1510
|
-
|
|
1511
|
-
RemoteInboundRtpStreamStats.runtime = protobuf_1.proto3;
|
|
1484
|
+
RemoteInboundRtpStreamStats.runtime = proto3;
|
|
1512
1485
|
RemoteInboundRtpStreamStats.typeName = "livekit.proto.RemoteInboundRtpStreamStats";
|
|
1513
|
-
RemoteInboundRtpStreamStats.fields =
|
|
1486
|
+
RemoteInboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
1514
1487
|
{ no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1515
1488
|
{ no: 2, name: "round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1516
1489
|
{ no: 3, name: "total_round_trip_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
@@ -1520,7 +1493,7 @@ RemoteInboundRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1520
1493
|
/**
|
|
1521
1494
|
* @generated from message livekit.proto.RemoteOutboundRtpStreamStats
|
|
1522
1495
|
*/
|
|
1523
|
-
class RemoteOutboundRtpStreamStats extends
|
|
1496
|
+
export class RemoteOutboundRtpStreamStats extends Message {
|
|
1524
1497
|
constructor(data) {
|
|
1525
1498
|
super();
|
|
1526
1499
|
/**
|
|
@@ -1534,7 +1507,7 @@ class RemoteOutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1534
1507
|
/**
|
|
1535
1508
|
* @generated from field: uint64 reports_sent = 3;
|
|
1536
1509
|
*/
|
|
1537
|
-
this.reportsSent =
|
|
1510
|
+
this.reportsSent = protoInt64.zero;
|
|
1538
1511
|
/**
|
|
1539
1512
|
* @generated from field: double round_trip_time = 4;
|
|
1540
1513
|
*/
|
|
@@ -1546,8 +1519,8 @@ class RemoteOutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1546
1519
|
/**
|
|
1547
1520
|
* @generated from field: uint64 round_trip_time_measurements = 6;
|
|
1548
1521
|
*/
|
|
1549
|
-
this.roundTripTimeMeasurements =
|
|
1550
|
-
|
|
1522
|
+
this.roundTripTimeMeasurements = protoInt64.zero;
|
|
1523
|
+
proto3.util.initPartial(data, this);
|
|
1551
1524
|
}
|
|
1552
1525
|
static fromBinary(bytes, options) {
|
|
1553
1526
|
return new RemoteOutboundRtpStreamStats().fromBinary(bytes, options);
|
|
@@ -1559,13 +1532,12 @@ class RemoteOutboundRtpStreamStats extends protobuf_1.Message {
|
|
|
1559
1532
|
return new RemoteOutboundRtpStreamStats().fromJsonString(jsonString, options);
|
|
1560
1533
|
}
|
|
1561
1534
|
static equals(a, b) {
|
|
1562
|
-
return
|
|
1535
|
+
return proto3.util.equals(RemoteOutboundRtpStreamStats, a, b);
|
|
1563
1536
|
}
|
|
1564
1537
|
}
|
|
1565
|
-
|
|
1566
|
-
RemoteOutboundRtpStreamStats.runtime = protobuf_1.proto3;
|
|
1538
|
+
RemoteOutboundRtpStreamStats.runtime = proto3;
|
|
1567
1539
|
RemoteOutboundRtpStreamStats.typeName = "livekit.proto.RemoteOutboundRtpStreamStats";
|
|
1568
|
-
RemoteOutboundRtpStreamStats.fields =
|
|
1540
|
+
RemoteOutboundRtpStreamStats.fields = proto3.util.newFieldList(() => [
|
|
1569
1541
|
{ no: 1, name: "local_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1570
1542
|
{ no: 2, name: "remote_timestamp", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1571
1543
|
{ no: 3, name: "reports_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -1576,7 +1548,7 @@ RemoteOutboundRtpStreamStats.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
1576
1548
|
/**
|
|
1577
1549
|
* @generated from message livekit.proto.MediaSourceStats
|
|
1578
1550
|
*/
|
|
1579
|
-
class MediaSourceStats extends
|
|
1551
|
+
export class MediaSourceStats extends Message {
|
|
1580
1552
|
constructor(data) {
|
|
1581
1553
|
super();
|
|
1582
1554
|
/**
|
|
@@ -1587,7 +1559,7 @@ class MediaSourceStats extends protobuf_1.Message {
|
|
|
1587
1559
|
* @generated from field: string kind = 2;
|
|
1588
1560
|
*/
|
|
1589
1561
|
this.kind = "";
|
|
1590
|
-
|
|
1562
|
+
proto3.util.initPartial(data, this);
|
|
1591
1563
|
}
|
|
1592
1564
|
static fromBinary(bytes, options) {
|
|
1593
1565
|
return new MediaSourceStats().fromBinary(bytes, options);
|
|
@@ -1599,20 +1571,19 @@ class MediaSourceStats extends protobuf_1.Message {
|
|
|
1599
1571
|
return new MediaSourceStats().fromJsonString(jsonString, options);
|
|
1600
1572
|
}
|
|
1601
1573
|
static equals(a, b) {
|
|
1602
|
-
return
|
|
1574
|
+
return proto3.util.equals(MediaSourceStats, a, b);
|
|
1603
1575
|
}
|
|
1604
1576
|
}
|
|
1605
|
-
|
|
1606
|
-
MediaSourceStats.runtime = protobuf_1.proto3;
|
|
1577
|
+
MediaSourceStats.runtime = proto3;
|
|
1607
1578
|
MediaSourceStats.typeName = "livekit.proto.MediaSourceStats";
|
|
1608
|
-
MediaSourceStats.fields =
|
|
1579
|
+
MediaSourceStats.fields = proto3.util.newFieldList(() => [
|
|
1609
1580
|
{ no: 1, name: "track_identifier", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1610
1581
|
{ no: 2, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1611
1582
|
]);
|
|
1612
1583
|
/**
|
|
1613
1584
|
* @generated from message livekit.proto.AudioSourceStats
|
|
1614
1585
|
*/
|
|
1615
|
-
class AudioSourceStats extends
|
|
1586
|
+
export class AudioSourceStats extends Message {
|
|
1616
1587
|
constructor(data) {
|
|
1617
1588
|
super();
|
|
1618
1589
|
/**
|
|
@@ -1650,8 +1621,8 @@ class AudioSourceStats extends protobuf_1.Message {
|
|
|
1650
1621
|
/**
|
|
1651
1622
|
* @generated from field: uint64 total_samples_captured = 9;
|
|
1652
1623
|
*/
|
|
1653
|
-
this.totalSamplesCaptured =
|
|
1654
|
-
|
|
1624
|
+
this.totalSamplesCaptured = protoInt64.zero;
|
|
1625
|
+
proto3.util.initPartial(data, this);
|
|
1655
1626
|
}
|
|
1656
1627
|
static fromBinary(bytes, options) {
|
|
1657
1628
|
return new AudioSourceStats().fromBinary(bytes, options);
|
|
@@ -1663,13 +1634,12 @@ class AudioSourceStats extends protobuf_1.Message {
|
|
|
1663
1634
|
return new AudioSourceStats().fromJsonString(jsonString, options);
|
|
1664
1635
|
}
|
|
1665
1636
|
static equals(a, b) {
|
|
1666
|
-
return
|
|
1637
|
+
return proto3.util.equals(AudioSourceStats, a, b);
|
|
1667
1638
|
}
|
|
1668
1639
|
}
|
|
1669
|
-
|
|
1670
|
-
AudioSourceStats.runtime = protobuf_1.proto3;
|
|
1640
|
+
AudioSourceStats.runtime = proto3;
|
|
1671
1641
|
AudioSourceStats.typeName = "livekit.proto.AudioSourceStats";
|
|
1672
|
-
AudioSourceStats.fields =
|
|
1642
|
+
AudioSourceStats.fields = proto3.util.newFieldList(() => [
|
|
1673
1643
|
{ no: 1, name: "audio_level", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1674
1644
|
{ no: 2, name: "total_audio_energy", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1675
1645
|
{ no: 3, name: "total_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
@@ -1683,7 +1653,7 @@ AudioSourceStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1683
1653
|
/**
|
|
1684
1654
|
* @generated from message livekit.proto.VideoSourceStats
|
|
1685
1655
|
*/
|
|
1686
|
-
class VideoSourceStats extends
|
|
1656
|
+
export class VideoSourceStats extends Message {
|
|
1687
1657
|
constructor(data) {
|
|
1688
1658
|
super();
|
|
1689
1659
|
/**
|
|
@@ -1702,7 +1672,7 @@ class VideoSourceStats extends protobuf_1.Message {
|
|
|
1702
1672
|
* @generated from field: double frames_per_second = 4;
|
|
1703
1673
|
*/
|
|
1704
1674
|
this.framesPerSecond = 0;
|
|
1705
|
-
|
|
1675
|
+
proto3.util.initPartial(data, this);
|
|
1706
1676
|
}
|
|
1707
1677
|
static fromBinary(bytes, options) {
|
|
1708
1678
|
return new VideoSourceStats().fromBinary(bytes, options);
|
|
@@ -1714,13 +1684,12 @@ class VideoSourceStats extends protobuf_1.Message {
|
|
|
1714
1684
|
return new VideoSourceStats().fromJsonString(jsonString, options);
|
|
1715
1685
|
}
|
|
1716
1686
|
static equals(a, b) {
|
|
1717
|
-
return
|
|
1687
|
+
return proto3.util.equals(VideoSourceStats, a, b);
|
|
1718
1688
|
}
|
|
1719
1689
|
}
|
|
1720
|
-
|
|
1721
|
-
VideoSourceStats.runtime = protobuf_1.proto3;
|
|
1690
|
+
VideoSourceStats.runtime = proto3;
|
|
1722
1691
|
VideoSourceStats.typeName = "livekit.proto.VideoSourceStats";
|
|
1723
|
-
VideoSourceStats.fields =
|
|
1692
|
+
VideoSourceStats.fields = proto3.util.newFieldList(() => [
|
|
1724
1693
|
{ no: 1, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1725
1694
|
{ no: 2, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1726
1695
|
{ no: 3, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -1729,7 +1698,7 @@ VideoSourceStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1729
1698
|
/**
|
|
1730
1699
|
* @generated from message livekit.proto.AudioPlayoutStats
|
|
1731
1700
|
*/
|
|
1732
|
-
class AudioPlayoutStats extends
|
|
1701
|
+
export class AudioPlayoutStats extends Message {
|
|
1733
1702
|
constructor(data) {
|
|
1734
1703
|
super();
|
|
1735
1704
|
/**
|
|
@@ -1755,8 +1724,8 @@ class AudioPlayoutStats extends protobuf_1.Message {
|
|
|
1755
1724
|
/**
|
|
1756
1725
|
* @generated from field: uint64 total_samples_count = 6;
|
|
1757
1726
|
*/
|
|
1758
|
-
this.totalSamplesCount =
|
|
1759
|
-
|
|
1727
|
+
this.totalSamplesCount = protoInt64.zero;
|
|
1728
|
+
proto3.util.initPartial(data, this);
|
|
1760
1729
|
}
|
|
1761
1730
|
static fromBinary(bytes, options) {
|
|
1762
1731
|
return new AudioPlayoutStats().fromBinary(bytes, options);
|
|
@@ -1768,13 +1737,12 @@ class AudioPlayoutStats extends protobuf_1.Message {
|
|
|
1768
1737
|
return new AudioPlayoutStats().fromJsonString(jsonString, options);
|
|
1769
1738
|
}
|
|
1770
1739
|
static equals(a, b) {
|
|
1771
|
-
return
|
|
1740
|
+
return proto3.util.equals(AudioPlayoutStats, a, b);
|
|
1772
1741
|
}
|
|
1773
1742
|
}
|
|
1774
|
-
|
|
1775
|
-
AudioPlayoutStats.runtime = protobuf_1.proto3;
|
|
1743
|
+
AudioPlayoutStats.runtime = proto3;
|
|
1776
1744
|
AudioPlayoutStats.typeName = "livekit.proto.AudioPlayoutStats";
|
|
1777
|
-
AudioPlayoutStats.fields =
|
|
1745
|
+
AudioPlayoutStats.fields = proto3.util.newFieldList(() => [
|
|
1778
1746
|
{ no: 1, name: "kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1779
1747
|
{ no: 2, name: "synthesized_samples_duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1780
1748
|
{ no: 3, name: "synthesized_samples_events", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -1785,7 +1753,7 @@ AudioPlayoutStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1785
1753
|
/**
|
|
1786
1754
|
* @generated from message livekit.proto.PeerConnectionStats
|
|
1787
1755
|
*/
|
|
1788
|
-
class PeerConnectionStats extends
|
|
1756
|
+
export class PeerConnectionStats extends Message {
|
|
1789
1757
|
constructor(data) {
|
|
1790
1758
|
super();
|
|
1791
1759
|
/**
|
|
@@ -1796,7 +1764,7 @@ class PeerConnectionStats extends protobuf_1.Message {
|
|
|
1796
1764
|
* @generated from field: uint32 data_channels_closed = 2;
|
|
1797
1765
|
*/
|
|
1798
1766
|
this.dataChannelsClosed = 0;
|
|
1799
|
-
|
|
1767
|
+
proto3.util.initPartial(data, this);
|
|
1800
1768
|
}
|
|
1801
1769
|
static fromBinary(bytes, options) {
|
|
1802
1770
|
return new PeerConnectionStats().fromBinary(bytes, options);
|
|
@@ -1808,20 +1776,19 @@ class PeerConnectionStats extends protobuf_1.Message {
|
|
|
1808
1776
|
return new PeerConnectionStats().fromJsonString(jsonString, options);
|
|
1809
1777
|
}
|
|
1810
1778
|
static equals(a, b) {
|
|
1811
|
-
return
|
|
1779
|
+
return proto3.util.equals(PeerConnectionStats, a, b);
|
|
1812
1780
|
}
|
|
1813
1781
|
}
|
|
1814
|
-
|
|
1815
|
-
PeerConnectionStats.runtime = protobuf_1.proto3;
|
|
1782
|
+
PeerConnectionStats.runtime = proto3;
|
|
1816
1783
|
PeerConnectionStats.typeName = "livekit.proto.PeerConnectionStats";
|
|
1817
|
-
PeerConnectionStats.fields =
|
|
1784
|
+
PeerConnectionStats.fields = proto3.util.newFieldList(() => [
|
|
1818
1785
|
{ no: 1, name: "data_channels_opened", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1819
1786
|
{ no: 2, name: "data_channels_closed", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1820
1787
|
]);
|
|
1821
1788
|
/**
|
|
1822
1789
|
* @generated from message livekit.proto.DataChannelStats
|
|
1823
1790
|
*/
|
|
1824
|
-
class DataChannelStats extends
|
|
1791
|
+
export class DataChannelStats extends Message {
|
|
1825
1792
|
constructor(data) {
|
|
1826
1793
|
super();
|
|
1827
1794
|
/**
|
|
@@ -1843,7 +1810,7 @@ class DataChannelStats extends protobuf_1.Message {
|
|
|
1843
1810
|
/**
|
|
1844
1811
|
* @generated from field: uint64 bytes_sent = 6;
|
|
1845
1812
|
*/
|
|
1846
|
-
this.bytesSent =
|
|
1813
|
+
this.bytesSent = protoInt64.zero;
|
|
1847
1814
|
/**
|
|
1848
1815
|
* @generated from field: uint32 messages_received = 7;
|
|
1849
1816
|
*/
|
|
@@ -1851,8 +1818,8 @@ class DataChannelStats extends protobuf_1.Message {
|
|
|
1851
1818
|
/**
|
|
1852
1819
|
* @generated from field: uint64 bytes_received = 8;
|
|
1853
1820
|
*/
|
|
1854
|
-
this.bytesReceived =
|
|
1855
|
-
|
|
1821
|
+
this.bytesReceived = protoInt64.zero;
|
|
1822
|
+
proto3.util.initPartial(data, this);
|
|
1856
1823
|
}
|
|
1857
1824
|
static fromBinary(bytes, options) {
|
|
1858
1825
|
return new DataChannelStats().fromBinary(bytes, options);
|
|
@@ -1864,17 +1831,16 @@ class DataChannelStats extends protobuf_1.Message {
|
|
|
1864
1831
|
return new DataChannelStats().fromJsonString(jsonString, options);
|
|
1865
1832
|
}
|
|
1866
1833
|
static equals(a, b) {
|
|
1867
|
-
return
|
|
1834
|
+
return proto3.util.equals(DataChannelStats, a, b);
|
|
1868
1835
|
}
|
|
1869
1836
|
}
|
|
1870
|
-
|
|
1871
|
-
DataChannelStats.runtime = protobuf_1.proto3;
|
|
1837
|
+
DataChannelStats.runtime = proto3;
|
|
1872
1838
|
DataChannelStats.typeName = "livekit.proto.DataChannelStats";
|
|
1873
|
-
DataChannelStats.fields =
|
|
1839
|
+
DataChannelStats.fields = proto3.util.newFieldList(() => [
|
|
1874
1840
|
{ no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1875
1841
|
{ no: 2, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1876
1842
|
{ no: 3, name: "data_channel_identifier", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1877
|
-
{ no: 4, name: "state", kind: "enum", T:
|
|
1843
|
+
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(DataChannelState), opt: true },
|
|
1878
1844
|
{ no: 5, name: "messages_sent", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1879
1845
|
{ no: 6, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1880
1846
|
{ no: 7, name: "messages_received", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -1883,25 +1849,25 @@ DataChannelStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1883
1849
|
/**
|
|
1884
1850
|
* @generated from message livekit.proto.TransportStats
|
|
1885
1851
|
*/
|
|
1886
|
-
class TransportStats extends
|
|
1852
|
+
export class TransportStats extends Message {
|
|
1887
1853
|
constructor(data) {
|
|
1888
1854
|
super();
|
|
1889
1855
|
/**
|
|
1890
1856
|
* @generated from field: uint64 packets_sent = 1;
|
|
1891
1857
|
*/
|
|
1892
|
-
this.packetsSent =
|
|
1858
|
+
this.packetsSent = protoInt64.zero;
|
|
1893
1859
|
/**
|
|
1894
1860
|
* @generated from field: uint64 packets_received = 2;
|
|
1895
1861
|
*/
|
|
1896
|
-
this.packetsReceived =
|
|
1862
|
+
this.packetsReceived = protoInt64.zero;
|
|
1897
1863
|
/**
|
|
1898
1864
|
* @generated from field: uint64 bytes_sent = 3;
|
|
1899
1865
|
*/
|
|
1900
|
-
this.bytesSent =
|
|
1866
|
+
this.bytesSent = protoInt64.zero;
|
|
1901
1867
|
/**
|
|
1902
1868
|
* @generated from field: uint64 bytes_received = 4;
|
|
1903
1869
|
*/
|
|
1904
|
-
this.bytesReceived =
|
|
1870
|
+
this.bytesReceived = protoInt64.zero;
|
|
1905
1871
|
/**
|
|
1906
1872
|
* @generated from field: livekit.proto.IceRole ice_role = 5;
|
|
1907
1873
|
*/
|
|
@@ -1942,7 +1908,7 @@ class TransportStats extends protobuf_1.Message {
|
|
|
1942
1908
|
* @generated from field: uint32 selected_candidate_pair_changes = 16;
|
|
1943
1909
|
*/
|
|
1944
1910
|
this.selectedCandidatePairChanges = 0;
|
|
1945
|
-
|
|
1911
|
+
proto3.util.initPartial(data, this);
|
|
1946
1912
|
}
|
|
1947
1913
|
static fromBinary(bytes, options) {
|
|
1948
1914
|
return new TransportStats().fromBinary(bytes, options);
|
|
@@ -1954,34 +1920,33 @@ class TransportStats extends protobuf_1.Message {
|
|
|
1954
1920
|
return new TransportStats().fromJsonString(jsonString, options);
|
|
1955
1921
|
}
|
|
1956
1922
|
static equals(a, b) {
|
|
1957
|
-
return
|
|
1923
|
+
return proto3.util.equals(TransportStats, a, b);
|
|
1958
1924
|
}
|
|
1959
1925
|
}
|
|
1960
|
-
|
|
1961
|
-
TransportStats.runtime = protobuf_1.proto3;
|
|
1926
|
+
TransportStats.runtime = proto3;
|
|
1962
1927
|
TransportStats.typeName = "livekit.proto.TransportStats";
|
|
1963
|
-
TransportStats.fields =
|
|
1928
|
+
TransportStats.fields = proto3.util.newFieldList(() => [
|
|
1964
1929
|
{ no: 1, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1965
1930
|
{ no: 2, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1966
1931
|
{ no: 3, name: "bytes_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1967
1932
|
{ no: 4, name: "bytes_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1968
|
-
{ no: 5, name: "ice_role", kind: "enum", T:
|
|
1933
|
+
{ no: 5, name: "ice_role", kind: "enum", T: proto3.getEnumType(IceRole) },
|
|
1969
1934
|
{ no: 6, name: "ice_local_username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1970
|
-
{ no: 7, name: "dtls_state", kind: "enum", T:
|
|
1971
|
-
{ no: 8, name: "ice_state", kind: "enum", T:
|
|
1935
|
+
{ no: 7, name: "dtls_state", kind: "enum", T: proto3.getEnumType(DtlsTransportState), opt: true },
|
|
1936
|
+
{ no: 8, name: "ice_state", kind: "enum", T: proto3.getEnumType(IceTransportState), opt: true },
|
|
1972
1937
|
{ no: 9, name: "selected_candidate_pair_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1973
1938
|
{ no: 10, name: "local_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1974
1939
|
{ no: 11, name: "remote_certificate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1975
1940
|
{ no: 12, name: "tls_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1976
1941
|
{ no: 13, name: "dtls_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1977
|
-
{ no: 14, name: "dtls_role", kind: "enum", T:
|
|
1942
|
+
{ no: 14, name: "dtls_role", kind: "enum", T: proto3.getEnumType(DtlsRole) },
|
|
1978
1943
|
{ no: 15, name: "srtp_cipher", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1979
1944
|
{ no: 16, name: "selected_candidate_pair_changes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1980
1945
|
]);
|
|
1981
1946
|
/**
|
|
1982
1947
|
* @generated from message livekit.proto.CandidatePairStats
|
|
1983
1948
|
*/
|
|
1984
|
-
class CandidatePairStats extends
|
|
1949
|
+
export class CandidatePairStats extends Message {
|
|
1985
1950
|
constructor(data) {
|
|
1986
1951
|
super();
|
|
1987
1952
|
/**
|
|
@@ -2003,19 +1968,19 @@ class CandidatePairStats extends protobuf_1.Message {
|
|
|
2003
1968
|
/**
|
|
2004
1969
|
* @generated from field: uint64 packets_sent = 6;
|
|
2005
1970
|
*/
|
|
2006
|
-
this.packetsSent =
|
|
1971
|
+
this.packetsSent = protoInt64.zero;
|
|
2007
1972
|
/**
|
|
2008
1973
|
* @generated from field: uint64 packets_received = 7;
|
|
2009
1974
|
*/
|
|
2010
|
-
this.packetsReceived =
|
|
1975
|
+
this.packetsReceived = protoInt64.zero;
|
|
2011
1976
|
/**
|
|
2012
1977
|
* @generated from field: uint64 bytes_sent = 8;
|
|
2013
1978
|
*/
|
|
2014
|
-
this.bytesSent =
|
|
1979
|
+
this.bytesSent = protoInt64.zero;
|
|
2015
1980
|
/**
|
|
2016
1981
|
* @generated from field: uint64 bytes_received = 9;
|
|
2017
1982
|
*/
|
|
2018
|
-
this.bytesReceived =
|
|
1983
|
+
this.bytesReceived = protoInt64.zero;
|
|
2019
1984
|
/**
|
|
2020
1985
|
* @generated from field: double last_packet_sent_timestamp = 10;
|
|
2021
1986
|
*/
|
|
@@ -2043,23 +2008,23 @@ class CandidatePairStats extends protobuf_1.Message {
|
|
|
2043
2008
|
/**
|
|
2044
2009
|
* @generated from field: uint64 requests_received = 16;
|
|
2045
2010
|
*/
|
|
2046
|
-
this.requestsReceived =
|
|
2011
|
+
this.requestsReceived = protoInt64.zero;
|
|
2047
2012
|
/**
|
|
2048
2013
|
* @generated from field: uint64 requests_sent = 17;
|
|
2049
2014
|
*/
|
|
2050
|
-
this.requestsSent =
|
|
2015
|
+
this.requestsSent = protoInt64.zero;
|
|
2051
2016
|
/**
|
|
2052
2017
|
* @generated from field: uint64 responses_received = 18;
|
|
2053
2018
|
*/
|
|
2054
|
-
this.responsesReceived =
|
|
2019
|
+
this.responsesReceived = protoInt64.zero;
|
|
2055
2020
|
/**
|
|
2056
2021
|
* @generated from field: uint64 responses_sent = 19;
|
|
2057
2022
|
*/
|
|
2058
|
-
this.responsesSent =
|
|
2023
|
+
this.responsesSent = protoInt64.zero;
|
|
2059
2024
|
/**
|
|
2060
2025
|
* @generated from field: uint64 consent_requests_sent = 20;
|
|
2061
2026
|
*/
|
|
2062
|
-
this.consentRequestsSent =
|
|
2027
|
+
this.consentRequestsSent = protoInt64.zero;
|
|
2063
2028
|
/**
|
|
2064
2029
|
* @generated from field: uint32 packets_discarded_on_send = 21;
|
|
2065
2030
|
*/
|
|
@@ -2067,8 +2032,8 @@ class CandidatePairStats extends protobuf_1.Message {
|
|
|
2067
2032
|
/**
|
|
2068
2033
|
* @generated from field: uint64 bytes_discarded_on_send = 22;
|
|
2069
2034
|
*/
|
|
2070
|
-
this.bytesDiscardedOnSend =
|
|
2071
|
-
|
|
2035
|
+
this.bytesDiscardedOnSend = protoInt64.zero;
|
|
2036
|
+
proto3.util.initPartial(data, this);
|
|
2072
2037
|
}
|
|
2073
2038
|
static fromBinary(bytes, options) {
|
|
2074
2039
|
return new CandidatePairStats().fromBinary(bytes, options);
|
|
@@ -2080,17 +2045,16 @@ class CandidatePairStats extends protobuf_1.Message {
|
|
|
2080
2045
|
return new CandidatePairStats().fromJsonString(jsonString, options);
|
|
2081
2046
|
}
|
|
2082
2047
|
static equals(a, b) {
|
|
2083
|
-
return
|
|
2048
|
+
return proto3.util.equals(CandidatePairStats, a, b);
|
|
2084
2049
|
}
|
|
2085
2050
|
}
|
|
2086
|
-
|
|
2087
|
-
CandidatePairStats.runtime = protobuf_1.proto3;
|
|
2051
|
+
CandidatePairStats.runtime = proto3;
|
|
2088
2052
|
CandidatePairStats.typeName = "livekit.proto.CandidatePairStats";
|
|
2089
|
-
CandidatePairStats.fields =
|
|
2053
|
+
CandidatePairStats.fields = proto3.util.newFieldList(() => [
|
|
2090
2054
|
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2091
2055
|
{ no: 2, name: "local_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2092
2056
|
{ no: 3, name: "remote_candidate_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2093
|
-
{ no: 4, name: "state", kind: "enum", T:
|
|
2057
|
+
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(IceCandidatePairState), opt: true },
|
|
2094
2058
|
{ no: 5, name: "nominated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2095
2059
|
{ no: 6, name: "packets_sent", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
2096
2060
|
{ no: 7, name: "packets_received", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
@@ -2113,7 +2077,7 @@ CandidatePairStats.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
2113
2077
|
/**
|
|
2114
2078
|
* @generated from message livekit.proto.IceCandidateStats
|
|
2115
2079
|
*/
|
|
2116
|
-
class IceCandidateStats extends
|
|
2080
|
+
export class IceCandidateStats extends Message {
|
|
2117
2081
|
constructor(data) {
|
|
2118
2082
|
super();
|
|
2119
2083
|
/**
|
|
@@ -2156,7 +2120,7 @@ class IceCandidateStats extends protobuf_1.Message {
|
|
|
2156
2120
|
* @generated from field: string username_fragment = 12;
|
|
2157
2121
|
*/
|
|
2158
2122
|
this.usernameFragment = "";
|
|
2159
|
-
|
|
2123
|
+
proto3.util.initPartial(data, this);
|
|
2160
2124
|
}
|
|
2161
2125
|
static fromBinary(bytes, options) {
|
|
2162
2126
|
return new IceCandidateStats().fromBinary(bytes, options);
|
|
@@ -2168,31 +2132,30 @@ class IceCandidateStats extends protobuf_1.Message {
|
|
|
2168
2132
|
return new IceCandidateStats().fromJsonString(jsonString, options);
|
|
2169
2133
|
}
|
|
2170
2134
|
static equals(a, b) {
|
|
2171
|
-
return
|
|
2135
|
+
return proto3.util.equals(IceCandidateStats, a, b);
|
|
2172
2136
|
}
|
|
2173
2137
|
}
|
|
2174
|
-
|
|
2175
|
-
IceCandidateStats.runtime = protobuf_1.proto3;
|
|
2138
|
+
IceCandidateStats.runtime = proto3;
|
|
2176
2139
|
IceCandidateStats.typeName = "livekit.proto.IceCandidateStats";
|
|
2177
|
-
IceCandidateStats.fields =
|
|
2140
|
+
IceCandidateStats.fields = proto3.util.newFieldList(() => [
|
|
2178
2141
|
{ no: 1, name: "transport_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2179
2142
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2180
2143
|
{ no: 3, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2181
2144
|
{ no: 4, name: "protocol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2182
|
-
{ no: 5, name: "candidate_type", kind: "enum", T:
|
|
2145
|
+
{ no: 5, name: "candidate_type", kind: "enum", T: proto3.getEnumType(IceCandidateType), opt: true },
|
|
2183
2146
|
{ no: 6, name: "priority", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2184
2147
|
{ no: 7, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2185
|
-
{ no: 8, name: "relay_protocol", kind: "enum", T:
|
|
2148
|
+
{ no: 8, name: "relay_protocol", kind: "enum", T: proto3.getEnumType(IceServerTransportProtocol), opt: true },
|
|
2186
2149
|
{ no: 9, name: "foundation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2187
2150
|
{ no: 10, name: "related_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2188
2151
|
{ no: 11, name: "related_port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2189
2152
|
{ no: 12, name: "username_fragment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2190
|
-
{ no: 13, name: "tcp_type", kind: "enum", T:
|
|
2153
|
+
{ no: 13, name: "tcp_type", kind: "enum", T: proto3.getEnumType(IceTcpCandidateType), opt: true },
|
|
2191
2154
|
]);
|
|
2192
2155
|
/**
|
|
2193
2156
|
* @generated from message livekit.proto.CertificateStats
|
|
2194
2157
|
*/
|
|
2195
|
-
class CertificateStats extends
|
|
2158
|
+
export class CertificateStats extends Message {
|
|
2196
2159
|
constructor(data) {
|
|
2197
2160
|
super();
|
|
2198
2161
|
/**
|
|
@@ -2211,7 +2174,7 @@ class CertificateStats extends protobuf_1.Message {
|
|
|
2211
2174
|
* @generated from field: string issuer_certificate_id = 4;
|
|
2212
2175
|
*/
|
|
2213
2176
|
this.issuerCertificateId = "";
|
|
2214
|
-
|
|
2177
|
+
proto3.util.initPartial(data, this);
|
|
2215
2178
|
}
|
|
2216
2179
|
static fromBinary(bytes, options) {
|
|
2217
2180
|
return new CertificateStats().fromBinary(bytes, options);
|
|
@@ -2223,13 +2186,12 @@ class CertificateStats extends protobuf_1.Message {
|
|
|
2223
2186
|
return new CertificateStats().fromJsonString(jsonString, options);
|
|
2224
2187
|
}
|
|
2225
2188
|
static equals(a, b) {
|
|
2226
|
-
return
|
|
2189
|
+
return proto3.util.equals(CertificateStats, a, b);
|
|
2227
2190
|
}
|
|
2228
2191
|
}
|
|
2229
|
-
|
|
2230
|
-
CertificateStats.runtime = protobuf_1.proto3;
|
|
2192
|
+
CertificateStats.runtime = proto3;
|
|
2231
2193
|
CertificateStats.typeName = "livekit.proto.CertificateStats";
|
|
2232
|
-
CertificateStats.fields =
|
|
2194
|
+
CertificateStats.fields = proto3.util.newFieldList(() => [
|
|
2233
2195
|
{ no: 1, name: "fingerprint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2234
2196
|
{ no: 2, name: "fingerprint_algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2235
2197
|
{ no: 3, name: "base64_certificate", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|