@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/room_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,20 +11,17 @@
|
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const video_frame_pb_js_1 = require("./video_frame_pb.js");
|
|
23
|
-
const e2ee_pb_js_1 = require("./e2ee_pb.js");
|
|
24
|
-
const handle_pb_js_1 = require("./handle_pb.js");
|
|
14
|
+
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
15
|
+
import { OwnedParticipant } from "./participant_pb.js";
|
|
16
|
+
import { OwnedTrack, OwnedTrackPublication, TrackSource } from "./track_pb.js";
|
|
17
|
+
import { RtcStats } from "./stats_pb.js";
|
|
18
|
+
import { VideoCodec } from "./video_frame_pb.js";
|
|
19
|
+
import { E2eeOptions, EncryptionState } from "./e2ee_pb.js";
|
|
20
|
+
import { FfiOwnedHandle } from "./handle_pb.js";
|
|
25
21
|
/**
|
|
26
22
|
* @generated from enum livekit.proto.IceTransportType
|
|
27
23
|
*/
|
|
28
|
-
var IceTransportType;
|
|
24
|
+
export var IceTransportType;
|
|
29
25
|
(function (IceTransportType) {
|
|
30
26
|
/**
|
|
31
27
|
* @generated from enum value: TRANSPORT_RELAY = 0;
|
|
@@ -39,9 +35,9 @@ var IceTransportType;
|
|
|
39
35
|
* @generated from enum value: TRANSPORT_ALL = 2;
|
|
40
36
|
*/
|
|
41
37
|
IceTransportType[IceTransportType["TRANSPORT_ALL"] = 2] = "TRANSPORT_ALL";
|
|
42
|
-
})(IceTransportType || (
|
|
38
|
+
})(IceTransportType || (IceTransportType = {}));
|
|
43
39
|
// Retrieve enum metadata with: proto3.getEnumType(IceTransportType)
|
|
44
|
-
|
|
40
|
+
proto3.util.setEnumType(IceTransportType, "livekit.proto.IceTransportType", [
|
|
45
41
|
{ no: 0, name: "TRANSPORT_RELAY" },
|
|
46
42
|
{ no: 1, name: "TRANSPORT_NOHOST" },
|
|
47
43
|
{ no: 2, name: "TRANSPORT_ALL" },
|
|
@@ -49,7 +45,7 @@ protobuf_1.proto3.util.setEnumType(IceTransportType, "livekit.proto.IceTransport
|
|
|
49
45
|
/**
|
|
50
46
|
* @generated from enum livekit.proto.ContinualGatheringPolicy
|
|
51
47
|
*/
|
|
52
|
-
var ContinualGatheringPolicy;
|
|
48
|
+
export var ContinualGatheringPolicy;
|
|
53
49
|
(function (ContinualGatheringPolicy) {
|
|
54
50
|
/**
|
|
55
51
|
* @generated from enum value: GATHER_ONCE = 0;
|
|
@@ -59,16 +55,16 @@ var ContinualGatheringPolicy;
|
|
|
59
55
|
* @generated from enum value: GATHER_CONTINUALLY = 1;
|
|
60
56
|
*/
|
|
61
57
|
ContinualGatheringPolicy[ContinualGatheringPolicy["GATHER_CONTINUALLY"] = 1] = "GATHER_CONTINUALLY";
|
|
62
|
-
})(ContinualGatheringPolicy || (
|
|
58
|
+
})(ContinualGatheringPolicy || (ContinualGatheringPolicy = {}));
|
|
63
59
|
// Retrieve enum metadata with: proto3.getEnumType(ContinualGatheringPolicy)
|
|
64
|
-
|
|
60
|
+
proto3.util.setEnumType(ContinualGatheringPolicy, "livekit.proto.ContinualGatheringPolicy", [
|
|
65
61
|
{ no: 0, name: "GATHER_ONCE" },
|
|
66
62
|
{ no: 1, name: "GATHER_CONTINUALLY" },
|
|
67
63
|
]);
|
|
68
64
|
/**
|
|
69
65
|
* @generated from enum livekit.proto.ConnectionQuality
|
|
70
66
|
*/
|
|
71
|
-
var ConnectionQuality;
|
|
67
|
+
export var ConnectionQuality;
|
|
72
68
|
(function (ConnectionQuality) {
|
|
73
69
|
/**
|
|
74
70
|
* @generated from enum value: QUALITY_POOR = 0;
|
|
@@ -82,17 +78,22 @@ var ConnectionQuality;
|
|
|
82
78
|
* @generated from enum value: QUALITY_EXCELLENT = 2;
|
|
83
79
|
*/
|
|
84
80
|
ConnectionQuality[ConnectionQuality["QUALITY_EXCELLENT"] = 2] = "QUALITY_EXCELLENT";
|
|
85
|
-
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: QUALITY_LOST = 3;
|
|
83
|
+
*/
|
|
84
|
+
ConnectionQuality[ConnectionQuality["QUALITY_LOST"] = 3] = "QUALITY_LOST";
|
|
85
|
+
})(ConnectionQuality || (ConnectionQuality = {}));
|
|
86
86
|
// Retrieve enum metadata with: proto3.getEnumType(ConnectionQuality)
|
|
87
|
-
|
|
87
|
+
proto3.util.setEnumType(ConnectionQuality, "livekit.proto.ConnectionQuality", [
|
|
88
88
|
{ no: 0, name: "QUALITY_POOR" },
|
|
89
89
|
{ no: 1, name: "QUALITY_GOOD" },
|
|
90
90
|
{ no: 2, name: "QUALITY_EXCELLENT" },
|
|
91
|
+
{ no: 3, name: "QUALITY_LOST" },
|
|
91
92
|
]);
|
|
92
93
|
/**
|
|
93
94
|
* @generated from enum livekit.proto.ConnectionState
|
|
94
95
|
*/
|
|
95
|
-
var ConnectionState;
|
|
96
|
+
export var ConnectionState;
|
|
96
97
|
(function (ConnectionState) {
|
|
97
98
|
/**
|
|
98
99
|
* @generated from enum value: CONN_DISCONNECTED = 0;
|
|
@@ -106,9 +107,9 @@ var ConnectionState;
|
|
|
106
107
|
* @generated from enum value: CONN_RECONNECTING = 2;
|
|
107
108
|
*/
|
|
108
109
|
ConnectionState[ConnectionState["CONN_RECONNECTING"] = 2] = "CONN_RECONNECTING";
|
|
109
|
-
})(ConnectionState || (
|
|
110
|
+
})(ConnectionState || (ConnectionState = {}));
|
|
110
111
|
// Retrieve enum metadata with: proto3.getEnumType(ConnectionState)
|
|
111
|
-
|
|
112
|
+
proto3.util.setEnumType(ConnectionState, "livekit.proto.ConnectionState", [
|
|
112
113
|
{ no: 0, name: "CONN_DISCONNECTED" },
|
|
113
114
|
{ no: 1, name: "CONN_CONNECTED" },
|
|
114
115
|
{ no: 2, name: "CONN_RECONNECTING" },
|
|
@@ -116,7 +117,7 @@ protobuf_1.proto3.util.setEnumType(ConnectionState, "livekit.proto.ConnectionSta
|
|
|
116
117
|
/**
|
|
117
118
|
* @generated from enum livekit.proto.DataPacketKind
|
|
118
119
|
*/
|
|
119
|
-
var DataPacketKind;
|
|
120
|
+
export var DataPacketKind;
|
|
120
121
|
(function (DataPacketKind) {
|
|
121
122
|
/**
|
|
122
123
|
* @generated from enum value: KIND_LOSSY = 0;
|
|
@@ -126,9 +127,9 @@ var DataPacketKind;
|
|
|
126
127
|
* @generated from enum value: KIND_RELIABLE = 1;
|
|
127
128
|
*/
|
|
128
129
|
DataPacketKind[DataPacketKind["KIND_RELIABLE"] = 1] = "KIND_RELIABLE";
|
|
129
|
-
})(DataPacketKind || (
|
|
130
|
+
})(DataPacketKind || (DataPacketKind = {}));
|
|
130
131
|
// Retrieve enum metadata with: proto3.getEnumType(DataPacketKind)
|
|
131
|
-
|
|
132
|
+
proto3.util.setEnumType(DataPacketKind, "livekit.proto.DataPacketKind", [
|
|
132
133
|
{ no: 0, name: "KIND_LOSSY" },
|
|
133
134
|
{ no: 1, name: "KIND_RELIABLE" },
|
|
134
135
|
]);
|
|
@@ -137,7 +138,7 @@ protobuf_1.proto3.util.setEnumType(DataPacketKind, "livekit.proto.DataPacketKind
|
|
|
137
138
|
*
|
|
138
139
|
* @generated from message livekit.proto.ConnectRequest
|
|
139
140
|
*/
|
|
140
|
-
class ConnectRequest extends
|
|
141
|
+
export class ConnectRequest extends Message {
|
|
141
142
|
constructor(data) {
|
|
142
143
|
super();
|
|
143
144
|
/**
|
|
@@ -148,7 +149,7 @@ class ConnectRequest extends protobuf_1.Message {
|
|
|
148
149
|
* @generated from field: string token = 2;
|
|
149
150
|
*/
|
|
150
151
|
this.token = "";
|
|
151
|
-
|
|
152
|
+
proto3.util.initPartial(data, this);
|
|
152
153
|
}
|
|
153
154
|
static fromBinary(bytes, options) {
|
|
154
155
|
return new ConnectRequest().fromBinary(bytes, options);
|
|
@@ -160,13 +161,12 @@ class ConnectRequest extends protobuf_1.Message {
|
|
|
160
161
|
return new ConnectRequest().fromJsonString(jsonString, options);
|
|
161
162
|
}
|
|
162
163
|
static equals(a, b) {
|
|
163
|
-
return
|
|
164
|
+
return proto3.util.equals(ConnectRequest, a, b);
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
|
-
|
|
167
|
-
ConnectRequest.runtime = protobuf_1.proto3;
|
|
167
|
+
ConnectRequest.runtime = proto3;
|
|
168
168
|
ConnectRequest.typeName = "livekit.proto.ConnectRequest";
|
|
169
|
-
ConnectRequest.fields =
|
|
169
|
+
ConnectRequest.fields = proto3.util.newFieldList(() => [
|
|
170
170
|
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
171
|
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
172
|
{ no: 3, name: "options", kind: "message", T: RoomOptions },
|
|
@@ -174,14 +174,14 @@ ConnectRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
174
174
|
/**
|
|
175
175
|
* @generated from message livekit.proto.ConnectResponse
|
|
176
176
|
*/
|
|
177
|
-
class ConnectResponse extends
|
|
177
|
+
export class ConnectResponse extends Message {
|
|
178
178
|
constructor(data) {
|
|
179
179
|
super();
|
|
180
180
|
/**
|
|
181
181
|
* @generated from field: uint64 async_id = 1;
|
|
182
182
|
*/
|
|
183
|
-
this.asyncId =
|
|
184
|
-
|
|
183
|
+
this.asyncId = protoInt64.zero;
|
|
184
|
+
proto3.util.initPartial(data, this);
|
|
185
185
|
}
|
|
186
186
|
static fromBinary(bytes, options) {
|
|
187
187
|
return new ConnectResponse().fromBinary(bytes, options);
|
|
@@ -193,30 +193,29 @@ class ConnectResponse extends protobuf_1.Message {
|
|
|
193
193
|
return new ConnectResponse().fromJsonString(jsonString, options);
|
|
194
194
|
}
|
|
195
195
|
static equals(a, b) {
|
|
196
|
-
return
|
|
196
|
+
return proto3.util.equals(ConnectResponse, a, b);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
ConnectResponse.runtime = protobuf_1.proto3;
|
|
199
|
+
ConnectResponse.runtime = proto3;
|
|
201
200
|
ConnectResponse.typeName = "livekit.proto.ConnectResponse";
|
|
202
|
-
ConnectResponse.fields =
|
|
201
|
+
ConnectResponse.fields = proto3.util.newFieldList(() => [
|
|
203
202
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
204
203
|
]);
|
|
205
204
|
/**
|
|
206
205
|
* @generated from message livekit.proto.ConnectCallback
|
|
207
206
|
*/
|
|
208
|
-
class ConnectCallback extends
|
|
207
|
+
export class ConnectCallback extends Message {
|
|
209
208
|
constructor(data) {
|
|
210
209
|
super();
|
|
211
210
|
/**
|
|
212
211
|
* @generated from field: uint64 async_id = 1;
|
|
213
212
|
*/
|
|
214
|
-
this.asyncId =
|
|
213
|
+
this.asyncId = protoInt64.zero;
|
|
215
214
|
/**
|
|
216
215
|
* @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants = 5;
|
|
217
216
|
*/
|
|
218
217
|
this.participants = [];
|
|
219
|
-
|
|
218
|
+
proto3.util.initPartial(data, this);
|
|
220
219
|
}
|
|
221
220
|
static fromBinary(bytes, options) {
|
|
222
221
|
return new ConnectCallback().fromBinary(bytes, options);
|
|
@@ -228,23 +227,22 @@ class ConnectCallback extends protobuf_1.Message {
|
|
|
228
227
|
return new ConnectCallback().fromJsonString(jsonString, options);
|
|
229
228
|
}
|
|
230
229
|
static equals(a, b) {
|
|
231
|
-
return
|
|
230
|
+
return proto3.util.equals(ConnectCallback, a, b);
|
|
232
231
|
}
|
|
233
232
|
}
|
|
234
|
-
|
|
235
|
-
ConnectCallback.runtime = protobuf_1.proto3;
|
|
233
|
+
ConnectCallback.runtime = proto3;
|
|
236
234
|
ConnectCallback.typeName = "livekit.proto.ConnectCallback";
|
|
237
|
-
ConnectCallback.fields =
|
|
235
|
+
ConnectCallback.fields = proto3.util.newFieldList(() => [
|
|
238
236
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
239
237
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
240
238
|
{ no: 3, name: "room", kind: "message", T: OwnedRoom },
|
|
241
|
-
{ no: 4, name: "local_participant", kind: "message", T:
|
|
239
|
+
{ no: 4, name: "local_participant", kind: "message", T: OwnedParticipant },
|
|
242
240
|
{ no: 5, name: "participants", kind: "message", T: ConnectCallback_ParticipantWithTracks, repeated: true },
|
|
243
241
|
]);
|
|
244
242
|
/**
|
|
245
243
|
* @generated from message livekit.proto.ConnectCallback.ParticipantWithTracks
|
|
246
244
|
*/
|
|
247
|
-
class ConnectCallback_ParticipantWithTracks extends
|
|
245
|
+
export class ConnectCallback_ParticipantWithTracks extends Message {
|
|
248
246
|
constructor(data) {
|
|
249
247
|
super();
|
|
250
248
|
/**
|
|
@@ -254,7 +252,7 @@ class ConnectCallback_ParticipantWithTracks extends protobuf_1.Message {
|
|
|
254
252
|
* @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2;
|
|
255
253
|
*/
|
|
256
254
|
this.publications = [];
|
|
257
|
-
|
|
255
|
+
proto3.util.initPartial(data, this);
|
|
258
256
|
}
|
|
259
257
|
static fromBinary(bytes, options) {
|
|
260
258
|
return new ConnectCallback_ParticipantWithTracks().fromBinary(bytes, options);
|
|
@@ -266,29 +264,28 @@ class ConnectCallback_ParticipantWithTracks extends protobuf_1.Message {
|
|
|
266
264
|
return new ConnectCallback_ParticipantWithTracks().fromJsonString(jsonString, options);
|
|
267
265
|
}
|
|
268
266
|
static equals(a, b) {
|
|
269
|
-
return
|
|
267
|
+
return proto3.util.equals(ConnectCallback_ParticipantWithTracks, a, b);
|
|
270
268
|
}
|
|
271
269
|
}
|
|
272
|
-
|
|
273
|
-
ConnectCallback_ParticipantWithTracks.runtime = protobuf_1.proto3;
|
|
270
|
+
ConnectCallback_ParticipantWithTracks.runtime = proto3;
|
|
274
271
|
ConnectCallback_ParticipantWithTracks.typeName = "livekit.proto.ConnectCallback.ParticipantWithTracks";
|
|
275
|
-
ConnectCallback_ParticipantWithTracks.fields =
|
|
276
|
-
{ no: 1, name: "participant", kind: "message", T:
|
|
277
|
-
{ no: 2, name: "publications", kind: "message", T:
|
|
272
|
+
ConnectCallback_ParticipantWithTracks.fields = proto3.util.newFieldList(() => [
|
|
273
|
+
{ no: 1, name: "participant", kind: "message", T: OwnedParticipant },
|
|
274
|
+
{ no: 2, name: "publications", kind: "message", T: OwnedTrackPublication, repeated: true },
|
|
278
275
|
]);
|
|
279
276
|
/**
|
|
280
277
|
* Disconnect from the a room
|
|
281
278
|
*
|
|
282
279
|
* @generated from message livekit.proto.DisconnectRequest
|
|
283
280
|
*/
|
|
284
|
-
class DisconnectRequest extends
|
|
281
|
+
export class DisconnectRequest extends Message {
|
|
285
282
|
constructor(data) {
|
|
286
283
|
super();
|
|
287
284
|
/**
|
|
288
285
|
* @generated from field: uint64 room_handle = 1;
|
|
289
286
|
*/
|
|
290
|
-
this.roomHandle =
|
|
291
|
-
|
|
287
|
+
this.roomHandle = protoInt64.zero;
|
|
288
|
+
proto3.util.initPartial(data, this);
|
|
292
289
|
}
|
|
293
290
|
static fromBinary(bytes, options) {
|
|
294
291
|
return new DisconnectRequest().fromBinary(bytes, options);
|
|
@@ -300,26 +297,25 @@ class DisconnectRequest extends protobuf_1.Message {
|
|
|
300
297
|
return new DisconnectRequest().fromJsonString(jsonString, options);
|
|
301
298
|
}
|
|
302
299
|
static equals(a, b) {
|
|
303
|
-
return
|
|
300
|
+
return proto3.util.equals(DisconnectRequest, a, b);
|
|
304
301
|
}
|
|
305
302
|
}
|
|
306
|
-
|
|
307
|
-
DisconnectRequest.runtime = protobuf_1.proto3;
|
|
303
|
+
DisconnectRequest.runtime = proto3;
|
|
308
304
|
DisconnectRequest.typeName = "livekit.proto.DisconnectRequest";
|
|
309
|
-
DisconnectRequest.fields =
|
|
305
|
+
DisconnectRequest.fields = proto3.util.newFieldList(() => [
|
|
310
306
|
{ no: 1, name: "room_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
311
307
|
]);
|
|
312
308
|
/**
|
|
313
309
|
* @generated from message livekit.proto.DisconnectResponse
|
|
314
310
|
*/
|
|
315
|
-
class DisconnectResponse extends
|
|
311
|
+
export class DisconnectResponse extends Message {
|
|
316
312
|
constructor(data) {
|
|
317
313
|
super();
|
|
318
314
|
/**
|
|
319
315
|
* @generated from field: uint64 async_id = 1;
|
|
320
316
|
*/
|
|
321
|
-
this.asyncId =
|
|
322
|
-
|
|
317
|
+
this.asyncId = protoInt64.zero;
|
|
318
|
+
proto3.util.initPartial(data, this);
|
|
323
319
|
}
|
|
324
320
|
static fromBinary(bytes, options) {
|
|
325
321
|
return new DisconnectResponse().fromBinary(bytes, options);
|
|
@@ -331,26 +327,25 @@ class DisconnectResponse extends protobuf_1.Message {
|
|
|
331
327
|
return new DisconnectResponse().fromJsonString(jsonString, options);
|
|
332
328
|
}
|
|
333
329
|
static equals(a, b) {
|
|
334
|
-
return
|
|
330
|
+
return proto3.util.equals(DisconnectResponse, a, b);
|
|
335
331
|
}
|
|
336
332
|
}
|
|
337
|
-
|
|
338
|
-
DisconnectResponse.runtime = protobuf_1.proto3;
|
|
333
|
+
DisconnectResponse.runtime = proto3;
|
|
339
334
|
DisconnectResponse.typeName = "livekit.proto.DisconnectResponse";
|
|
340
|
-
DisconnectResponse.fields =
|
|
335
|
+
DisconnectResponse.fields = proto3.util.newFieldList(() => [
|
|
341
336
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
342
337
|
]);
|
|
343
338
|
/**
|
|
344
339
|
* @generated from message livekit.proto.DisconnectCallback
|
|
345
340
|
*/
|
|
346
|
-
class DisconnectCallback extends
|
|
341
|
+
export class DisconnectCallback extends Message {
|
|
347
342
|
constructor(data) {
|
|
348
343
|
super();
|
|
349
344
|
/**
|
|
350
345
|
* @generated from field: uint64 async_id = 1;
|
|
351
346
|
*/
|
|
352
|
-
this.asyncId =
|
|
353
|
-
|
|
347
|
+
this.asyncId = protoInt64.zero;
|
|
348
|
+
proto3.util.initPartial(data, this);
|
|
354
349
|
}
|
|
355
350
|
static fromBinary(bytes, options) {
|
|
356
351
|
return new DisconnectCallback().fromBinary(bytes, options);
|
|
@@ -362,13 +357,12 @@ class DisconnectCallback extends protobuf_1.Message {
|
|
|
362
357
|
return new DisconnectCallback().fromJsonString(jsonString, options);
|
|
363
358
|
}
|
|
364
359
|
static equals(a, b) {
|
|
365
|
-
return
|
|
360
|
+
return proto3.util.equals(DisconnectCallback, a, b);
|
|
366
361
|
}
|
|
367
362
|
}
|
|
368
|
-
|
|
369
|
-
DisconnectCallback.runtime = protobuf_1.proto3;
|
|
363
|
+
DisconnectCallback.runtime = proto3;
|
|
370
364
|
DisconnectCallback.typeName = "livekit.proto.DisconnectCallback";
|
|
371
|
-
DisconnectCallback.fields =
|
|
365
|
+
DisconnectCallback.fields = proto3.util.newFieldList(() => [
|
|
372
366
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
373
367
|
]);
|
|
374
368
|
/**
|
|
@@ -376,18 +370,18 @@ DisconnectCallback.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
376
370
|
*
|
|
377
371
|
* @generated from message livekit.proto.PublishTrackRequest
|
|
378
372
|
*/
|
|
379
|
-
class PublishTrackRequest extends
|
|
373
|
+
export class PublishTrackRequest extends Message {
|
|
380
374
|
constructor(data) {
|
|
381
375
|
super();
|
|
382
376
|
/**
|
|
383
377
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
384
378
|
*/
|
|
385
|
-
this.localParticipantHandle =
|
|
379
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
386
380
|
/**
|
|
387
381
|
* @generated from field: uint64 track_handle = 2;
|
|
388
382
|
*/
|
|
389
|
-
this.trackHandle =
|
|
390
|
-
|
|
383
|
+
this.trackHandle = protoInt64.zero;
|
|
384
|
+
proto3.util.initPartial(data, this);
|
|
391
385
|
}
|
|
392
386
|
static fromBinary(bytes, options) {
|
|
393
387
|
return new PublishTrackRequest().fromBinary(bytes, options);
|
|
@@ -399,13 +393,12 @@ class PublishTrackRequest extends protobuf_1.Message {
|
|
|
399
393
|
return new PublishTrackRequest().fromJsonString(jsonString, options);
|
|
400
394
|
}
|
|
401
395
|
static equals(a, b) {
|
|
402
|
-
return
|
|
396
|
+
return proto3.util.equals(PublishTrackRequest, a, b);
|
|
403
397
|
}
|
|
404
398
|
}
|
|
405
|
-
|
|
406
|
-
PublishTrackRequest.runtime = protobuf_1.proto3;
|
|
399
|
+
PublishTrackRequest.runtime = proto3;
|
|
407
400
|
PublishTrackRequest.typeName = "livekit.proto.PublishTrackRequest";
|
|
408
|
-
PublishTrackRequest.fields =
|
|
401
|
+
PublishTrackRequest.fields = proto3.util.newFieldList(() => [
|
|
409
402
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
410
403
|
{ no: 2, name: "track_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
411
404
|
{ no: 3, name: "options", kind: "message", T: TrackPublishOptions },
|
|
@@ -413,14 +406,14 @@ PublishTrackRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
413
406
|
/**
|
|
414
407
|
* @generated from message livekit.proto.PublishTrackResponse
|
|
415
408
|
*/
|
|
416
|
-
class PublishTrackResponse extends
|
|
409
|
+
export class PublishTrackResponse extends Message {
|
|
417
410
|
constructor(data) {
|
|
418
411
|
super();
|
|
419
412
|
/**
|
|
420
413
|
* @generated from field: uint64 async_id = 1;
|
|
421
414
|
*/
|
|
422
|
-
this.asyncId =
|
|
423
|
-
|
|
415
|
+
this.asyncId = protoInt64.zero;
|
|
416
|
+
proto3.util.initPartial(data, this);
|
|
424
417
|
}
|
|
425
418
|
static fromBinary(bytes, options) {
|
|
426
419
|
return new PublishTrackResponse().fromBinary(bytes, options);
|
|
@@ -432,26 +425,25 @@ class PublishTrackResponse extends protobuf_1.Message {
|
|
|
432
425
|
return new PublishTrackResponse().fromJsonString(jsonString, options);
|
|
433
426
|
}
|
|
434
427
|
static equals(a, b) {
|
|
435
|
-
return
|
|
428
|
+
return proto3.util.equals(PublishTrackResponse, a, b);
|
|
436
429
|
}
|
|
437
430
|
}
|
|
438
|
-
|
|
439
|
-
PublishTrackResponse.runtime = protobuf_1.proto3;
|
|
431
|
+
PublishTrackResponse.runtime = proto3;
|
|
440
432
|
PublishTrackResponse.typeName = "livekit.proto.PublishTrackResponse";
|
|
441
|
-
PublishTrackResponse.fields =
|
|
433
|
+
PublishTrackResponse.fields = proto3.util.newFieldList(() => [
|
|
442
434
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
443
435
|
]);
|
|
444
436
|
/**
|
|
445
437
|
* @generated from message livekit.proto.PublishTrackCallback
|
|
446
438
|
*/
|
|
447
|
-
class PublishTrackCallback extends
|
|
439
|
+
export class PublishTrackCallback extends Message {
|
|
448
440
|
constructor(data) {
|
|
449
441
|
super();
|
|
450
442
|
/**
|
|
451
443
|
* @generated from field: uint64 async_id = 1;
|
|
452
444
|
*/
|
|
453
|
-
this.asyncId =
|
|
454
|
-
|
|
445
|
+
this.asyncId = protoInt64.zero;
|
|
446
|
+
proto3.util.initPartial(data, this);
|
|
455
447
|
}
|
|
456
448
|
static fromBinary(bytes, options) {
|
|
457
449
|
return new PublishTrackCallback().fromBinary(bytes, options);
|
|
@@ -463,29 +455,28 @@ class PublishTrackCallback extends protobuf_1.Message {
|
|
|
463
455
|
return new PublishTrackCallback().fromJsonString(jsonString, options);
|
|
464
456
|
}
|
|
465
457
|
static equals(a, b) {
|
|
466
|
-
return
|
|
458
|
+
return proto3.util.equals(PublishTrackCallback, a, b);
|
|
467
459
|
}
|
|
468
460
|
}
|
|
469
|
-
|
|
470
|
-
PublishTrackCallback.runtime = protobuf_1.proto3;
|
|
461
|
+
PublishTrackCallback.runtime = proto3;
|
|
471
462
|
PublishTrackCallback.typeName = "livekit.proto.PublishTrackCallback";
|
|
472
|
-
PublishTrackCallback.fields =
|
|
463
|
+
PublishTrackCallback.fields = proto3.util.newFieldList(() => [
|
|
473
464
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
474
465
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
475
|
-
{ no: 3, name: "publication", kind: "message", T:
|
|
466
|
+
{ no: 3, name: "publication", kind: "message", T: OwnedTrackPublication },
|
|
476
467
|
]);
|
|
477
468
|
/**
|
|
478
469
|
* Unpublish a track from the room
|
|
479
470
|
*
|
|
480
471
|
* @generated from message livekit.proto.UnpublishTrackRequest
|
|
481
472
|
*/
|
|
482
|
-
class UnpublishTrackRequest extends
|
|
473
|
+
export class UnpublishTrackRequest extends Message {
|
|
483
474
|
constructor(data) {
|
|
484
475
|
super();
|
|
485
476
|
/**
|
|
486
477
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
487
478
|
*/
|
|
488
|
-
this.localParticipantHandle =
|
|
479
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
489
480
|
/**
|
|
490
481
|
* @generated from field: string track_sid = 2;
|
|
491
482
|
*/
|
|
@@ -494,7 +485,7 @@ class UnpublishTrackRequest extends protobuf_1.Message {
|
|
|
494
485
|
* @generated from field: bool stop_on_unpublish = 3;
|
|
495
486
|
*/
|
|
496
487
|
this.stopOnUnpublish = false;
|
|
497
|
-
|
|
488
|
+
proto3.util.initPartial(data, this);
|
|
498
489
|
}
|
|
499
490
|
static fromBinary(bytes, options) {
|
|
500
491
|
return new UnpublishTrackRequest().fromBinary(bytes, options);
|
|
@@ -506,13 +497,12 @@ class UnpublishTrackRequest extends protobuf_1.Message {
|
|
|
506
497
|
return new UnpublishTrackRequest().fromJsonString(jsonString, options);
|
|
507
498
|
}
|
|
508
499
|
static equals(a, b) {
|
|
509
|
-
return
|
|
500
|
+
return proto3.util.equals(UnpublishTrackRequest, a, b);
|
|
510
501
|
}
|
|
511
502
|
}
|
|
512
|
-
|
|
513
|
-
UnpublishTrackRequest.runtime = protobuf_1.proto3;
|
|
503
|
+
UnpublishTrackRequest.runtime = proto3;
|
|
514
504
|
UnpublishTrackRequest.typeName = "livekit.proto.UnpublishTrackRequest";
|
|
515
|
-
UnpublishTrackRequest.fields =
|
|
505
|
+
UnpublishTrackRequest.fields = proto3.util.newFieldList(() => [
|
|
516
506
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
517
507
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
518
508
|
{ no: 3, name: "stop_on_unpublish", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
@@ -520,14 +510,14 @@ UnpublishTrackRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
520
510
|
/**
|
|
521
511
|
* @generated from message livekit.proto.UnpublishTrackResponse
|
|
522
512
|
*/
|
|
523
|
-
class UnpublishTrackResponse extends
|
|
513
|
+
export class UnpublishTrackResponse extends Message {
|
|
524
514
|
constructor(data) {
|
|
525
515
|
super();
|
|
526
516
|
/**
|
|
527
517
|
* @generated from field: uint64 async_id = 1;
|
|
528
518
|
*/
|
|
529
|
-
this.asyncId =
|
|
530
|
-
|
|
519
|
+
this.asyncId = protoInt64.zero;
|
|
520
|
+
proto3.util.initPartial(data, this);
|
|
531
521
|
}
|
|
532
522
|
static fromBinary(bytes, options) {
|
|
533
523
|
return new UnpublishTrackResponse().fromBinary(bytes, options);
|
|
@@ -539,26 +529,25 @@ class UnpublishTrackResponse extends protobuf_1.Message {
|
|
|
539
529
|
return new UnpublishTrackResponse().fromJsonString(jsonString, options);
|
|
540
530
|
}
|
|
541
531
|
static equals(a, b) {
|
|
542
|
-
return
|
|
532
|
+
return proto3.util.equals(UnpublishTrackResponse, a, b);
|
|
543
533
|
}
|
|
544
534
|
}
|
|
545
|
-
|
|
546
|
-
UnpublishTrackResponse.runtime = protobuf_1.proto3;
|
|
535
|
+
UnpublishTrackResponse.runtime = proto3;
|
|
547
536
|
UnpublishTrackResponse.typeName = "livekit.proto.UnpublishTrackResponse";
|
|
548
|
-
UnpublishTrackResponse.fields =
|
|
537
|
+
UnpublishTrackResponse.fields = proto3.util.newFieldList(() => [
|
|
549
538
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
550
539
|
]);
|
|
551
540
|
/**
|
|
552
541
|
* @generated from message livekit.proto.UnpublishTrackCallback
|
|
553
542
|
*/
|
|
554
|
-
class UnpublishTrackCallback extends
|
|
543
|
+
export class UnpublishTrackCallback extends Message {
|
|
555
544
|
constructor(data) {
|
|
556
545
|
super();
|
|
557
546
|
/**
|
|
558
547
|
* @generated from field: uint64 async_id = 1;
|
|
559
548
|
*/
|
|
560
|
-
this.asyncId =
|
|
561
|
-
|
|
549
|
+
this.asyncId = protoInt64.zero;
|
|
550
|
+
proto3.util.initPartial(data, this);
|
|
562
551
|
}
|
|
563
552
|
static fromBinary(bytes, options) {
|
|
564
553
|
return new UnpublishTrackCallback().fromBinary(bytes, options);
|
|
@@ -570,13 +559,12 @@ class UnpublishTrackCallback extends protobuf_1.Message {
|
|
|
570
559
|
return new UnpublishTrackCallback().fromJsonString(jsonString, options);
|
|
571
560
|
}
|
|
572
561
|
static equals(a, b) {
|
|
573
|
-
return
|
|
562
|
+
return proto3.util.equals(UnpublishTrackCallback, a, b);
|
|
574
563
|
}
|
|
575
564
|
}
|
|
576
|
-
|
|
577
|
-
UnpublishTrackCallback.runtime = protobuf_1.proto3;
|
|
565
|
+
UnpublishTrackCallback.runtime = proto3;
|
|
578
566
|
UnpublishTrackCallback.typeName = "livekit.proto.UnpublishTrackCallback";
|
|
579
|
-
UnpublishTrackCallback.fields =
|
|
567
|
+
UnpublishTrackCallback.fields = proto3.util.newFieldList(() => [
|
|
580
568
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
581
569
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
582
570
|
]);
|
|
@@ -585,21 +573,21 @@ UnpublishTrackCallback.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
585
573
|
*
|
|
586
574
|
* @generated from message livekit.proto.PublishDataRequest
|
|
587
575
|
*/
|
|
588
|
-
class PublishDataRequest extends
|
|
576
|
+
export class PublishDataRequest extends Message {
|
|
589
577
|
constructor(data) {
|
|
590
578
|
super();
|
|
591
579
|
/**
|
|
592
580
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
593
581
|
*/
|
|
594
|
-
this.localParticipantHandle =
|
|
582
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
595
583
|
/**
|
|
596
584
|
* @generated from field: uint64 data_ptr = 2;
|
|
597
585
|
*/
|
|
598
|
-
this.dataPtr =
|
|
586
|
+
this.dataPtr = protoInt64.zero;
|
|
599
587
|
/**
|
|
600
588
|
* @generated from field: uint64 data_len = 3;
|
|
601
589
|
*/
|
|
602
|
-
this.dataLen =
|
|
590
|
+
this.dataLen = protoInt64.zero;
|
|
603
591
|
/**
|
|
604
592
|
* @generated from field: livekit.proto.DataPacketKind kind = 4;
|
|
605
593
|
*/
|
|
@@ -610,7 +598,7 @@ class PublishDataRequest extends protobuf_1.Message {
|
|
|
610
598
|
* @generated from field: repeated string destination_sids = 5;
|
|
611
599
|
*/
|
|
612
600
|
this.destinationSids = [];
|
|
613
|
-
|
|
601
|
+
proto3.util.initPartial(data, this);
|
|
614
602
|
}
|
|
615
603
|
static fromBinary(bytes, options) {
|
|
616
604
|
return new PublishDataRequest().fromBinary(bytes, options);
|
|
@@ -622,31 +610,30 @@ class PublishDataRequest extends protobuf_1.Message {
|
|
|
622
610
|
return new PublishDataRequest().fromJsonString(jsonString, options);
|
|
623
611
|
}
|
|
624
612
|
static equals(a, b) {
|
|
625
|
-
return
|
|
613
|
+
return proto3.util.equals(PublishDataRequest, a, b);
|
|
626
614
|
}
|
|
627
615
|
}
|
|
628
|
-
|
|
629
|
-
PublishDataRequest.runtime = protobuf_1.proto3;
|
|
616
|
+
PublishDataRequest.runtime = proto3;
|
|
630
617
|
PublishDataRequest.typeName = "livekit.proto.PublishDataRequest";
|
|
631
|
-
PublishDataRequest.fields =
|
|
618
|
+
PublishDataRequest.fields = proto3.util.newFieldList(() => [
|
|
632
619
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
633
620
|
{ no: 2, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
634
621
|
{ no: 3, name: "data_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
635
|
-
{ no: 4, name: "kind", kind: "enum", T:
|
|
622
|
+
{ no: 4, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacketKind) },
|
|
636
623
|
{ no: 5, name: "destination_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
637
624
|
{ no: 6, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
638
625
|
]);
|
|
639
626
|
/**
|
|
640
627
|
* @generated from message livekit.proto.PublishDataResponse
|
|
641
628
|
*/
|
|
642
|
-
class PublishDataResponse extends
|
|
629
|
+
export class PublishDataResponse extends Message {
|
|
643
630
|
constructor(data) {
|
|
644
631
|
super();
|
|
645
632
|
/**
|
|
646
633
|
* @generated from field: uint64 async_id = 1;
|
|
647
634
|
*/
|
|
648
|
-
this.asyncId =
|
|
649
|
-
|
|
635
|
+
this.asyncId = protoInt64.zero;
|
|
636
|
+
proto3.util.initPartial(data, this);
|
|
650
637
|
}
|
|
651
638
|
static fromBinary(bytes, options) {
|
|
652
639
|
return new PublishDataResponse().fromBinary(bytes, options);
|
|
@@ -658,26 +645,25 @@ class PublishDataResponse extends protobuf_1.Message {
|
|
|
658
645
|
return new PublishDataResponse().fromJsonString(jsonString, options);
|
|
659
646
|
}
|
|
660
647
|
static equals(a, b) {
|
|
661
|
-
return
|
|
648
|
+
return proto3.util.equals(PublishDataResponse, a, b);
|
|
662
649
|
}
|
|
663
650
|
}
|
|
664
|
-
|
|
665
|
-
PublishDataResponse.runtime = protobuf_1.proto3;
|
|
651
|
+
PublishDataResponse.runtime = proto3;
|
|
666
652
|
PublishDataResponse.typeName = "livekit.proto.PublishDataResponse";
|
|
667
|
-
PublishDataResponse.fields =
|
|
653
|
+
PublishDataResponse.fields = proto3.util.newFieldList(() => [
|
|
668
654
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
669
655
|
]);
|
|
670
656
|
/**
|
|
671
657
|
* @generated from message livekit.proto.PublishDataCallback
|
|
672
658
|
*/
|
|
673
|
-
class PublishDataCallback extends
|
|
659
|
+
export class PublishDataCallback extends Message {
|
|
674
660
|
constructor(data) {
|
|
675
661
|
super();
|
|
676
662
|
/**
|
|
677
663
|
* @generated from field: uint64 async_id = 1;
|
|
678
664
|
*/
|
|
679
|
-
this.asyncId =
|
|
680
|
-
|
|
665
|
+
this.asyncId = protoInt64.zero;
|
|
666
|
+
proto3.util.initPartial(data, this);
|
|
681
667
|
}
|
|
682
668
|
static fromBinary(bytes, options) {
|
|
683
669
|
return new PublishDataCallback().fromBinary(bytes, options);
|
|
@@ -689,13 +675,12 @@ class PublishDataCallback extends protobuf_1.Message {
|
|
|
689
675
|
return new PublishDataCallback().fromJsonString(jsonString, options);
|
|
690
676
|
}
|
|
691
677
|
static equals(a, b) {
|
|
692
|
-
return
|
|
678
|
+
return proto3.util.equals(PublishDataCallback, a, b);
|
|
693
679
|
}
|
|
694
680
|
}
|
|
695
|
-
|
|
696
|
-
PublishDataCallback.runtime = protobuf_1.proto3;
|
|
681
|
+
PublishDataCallback.runtime = proto3;
|
|
697
682
|
PublishDataCallback.typeName = "livekit.proto.PublishDataCallback";
|
|
698
|
-
PublishDataCallback.fields =
|
|
683
|
+
PublishDataCallback.fields = proto3.util.newFieldList(() => [
|
|
699
684
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
700
685
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
701
686
|
]);
|
|
@@ -704,18 +689,18 @@ PublishDataCallback.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
704
689
|
*
|
|
705
690
|
* @generated from message livekit.proto.UpdateLocalMetadataRequest
|
|
706
691
|
*/
|
|
707
|
-
class UpdateLocalMetadataRequest extends
|
|
692
|
+
export class UpdateLocalMetadataRequest extends Message {
|
|
708
693
|
constructor(data) {
|
|
709
694
|
super();
|
|
710
695
|
/**
|
|
711
696
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
712
697
|
*/
|
|
713
|
-
this.localParticipantHandle =
|
|
698
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
714
699
|
/**
|
|
715
700
|
* @generated from field: string metadata = 2;
|
|
716
701
|
*/
|
|
717
702
|
this.metadata = "";
|
|
718
|
-
|
|
703
|
+
proto3.util.initPartial(data, this);
|
|
719
704
|
}
|
|
720
705
|
static fromBinary(bytes, options) {
|
|
721
706
|
return new UpdateLocalMetadataRequest().fromBinary(bytes, options);
|
|
@@ -727,27 +712,26 @@ class UpdateLocalMetadataRequest extends protobuf_1.Message {
|
|
|
727
712
|
return new UpdateLocalMetadataRequest().fromJsonString(jsonString, options);
|
|
728
713
|
}
|
|
729
714
|
static equals(a, b) {
|
|
730
|
-
return
|
|
715
|
+
return proto3.util.equals(UpdateLocalMetadataRequest, a, b);
|
|
731
716
|
}
|
|
732
717
|
}
|
|
733
|
-
|
|
734
|
-
UpdateLocalMetadataRequest.runtime = protobuf_1.proto3;
|
|
718
|
+
UpdateLocalMetadataRequest.runtime = proto3;
|
|
735
719
|
UpdateLocalMetadataRequest.typeName = "livekit.proto.UpdateLocalMetadataRequest";
|
|
736
|
-
UpdateLocalMetadataRequest.fields =
|
|
720
|
+
UpdateLocalMetadataRequest.fields = proto3.util.newFieldList(() => [
|
|
737
721
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
738
722
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
723
|
]);
|
|
740
724
|
/**
|
|
741
725
|
* @generated from message livekit.proto.UpdateLocalMetadataResponse
|
|
742
726
|
*/
|
|
743
|
-
class UpdateLocalMetadataResponse extends
|
|
727
|
+
export class UpdateLocalMetadataResponse extends Message {
|
|
744
728
|
constructor(data) {
|
|
745
729
|
super();
|
|
746
730
|
/**
|
|
747
731
|
* @generated from field: uint64 async_id = 1;
|
|
748
732
|
*/
|
|
749
|
-
this.asyncId =
|
|
750
|
-
|
|
733
|
+
this.asyncId = protoInt64.zero;
|
|
734
|
+
proto3.util.initPartial(data, this);
|
|
751
735
|
}
|
|
752
736
|
static fromBinary(bytes, options) {
|
|
753
737
|
return new UpdateLocalMetadataResponse().fromBinary(bytes, options);
|
|
@@ -759,26 +743,25 @@ class UpdateLocalMetadataResponse extends protobuf_1.Message {
|
|
|
759
743
|
return new UpdateLocalMetadataResponse().fromJsonString(jsonString, options);
|
|
760
744
|
}
|
|
761
745
|
static equals(a, b) {
|
|
762
|
-
return
|
|
746
|
+
return proto3.util.equals(UpdateLocalMetadataResponse, a, b);
|
|
763
747
|
}
|
|
764
748
|
}
|
|
765
|
-
|
|
766
|
-
UpdateLocalMetadataResponse.runtime = protobuf_1.proto3;
|
|
749
|
+
UpdateLocalMetadataResponse.runtime = proto3;
|
|
767
750
|
UpdateLocalMetadataResponse.typeName = "livekit.proto.UpdateLocalMetadataResponse";
|
|
768
|
-
UpdateLocalMetadataResponse.fields =
|
|
751
|
+
UpdateLocalMetadataResponse.fields = proto3.util.newFieldList(() => [
|
|
769
752
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
770
753
|
]);
|
|
771
754
|
/**
|
|
772
755
|
* @generated from message livekit.proto.UpdateLocalMetadataCallback
|
|
773
756
|
*/
|
|
774
|
-
class UpdateLocalMetadataCallback extends
|
|
757
|
+
export class UpdateLocalMetadataCallback extends Message {
|
|
775
758
|
constructor(data) {
|
|
776
759
|
super();
|
|
777
760
|
/**
|
|
778
761
|
* @generated from field: uint64 async_id = 1;
|
|
779
762
|
*/
|
|
780
|
-
this.asyncId =
|
|
781
|
-
|
|
763
|
+
this.asyncId = protoInt64.zero;
|
|
764
|
+
proto3.util.initPartial(data, this);
|
|
782
765
|
}
|
|
783
766
|
static fromBinary(bytes, options) {
|
|
784
767
|
return new UpdateLocalMetadataCallback().fromBinary(bytes, options);
|
|
@@ -790,13 +773,12 @@ class UpdateLocalMetadataCallback extends protobuf_1.Message {
|
|
|
790
773
|
return new UpdateLocalMetadataCallback().fromJsonString(jsonString, options);
|
|
791
774
|
}
|
|
792
775
|
static equals(a, b) {
|
|
793
|
-
return
|
|
776
|
+
return proto3.util.equals(UpdateLocalMetadataCallback, a, b);
|
|
794
777
|
}
|
|
795
778
|
}
|
|
796
|
-
|
|
797
|
-
UpdateLocalMetadataCallback.runtime = protobuf_1.proto3;
|
|
779
|
+
UpdateLocalMetadataCallback.runtime = proto3;
|
|
798
780
|
UpdateLocalMetadataCallback.typeName = "livekit.proto.UpdateLocalMetadataCallback";
|
|
799
|
-
UpdateLocalMetadataCallback.fields =
|
|
781
|
+
UpdateLocalMetadataCallback.fields = proto3.util.newFieldList(() => [
|
|
800
782
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
801
783
|
]);
|
|
802
784
|
/**
|
|
@@ -804,18 +786,18 @@ UpdateLocalMetadataCallback.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
804
786
|
*
|
|
805
787
|
* @generated from message livekit.proto.UpdateLocalNameRequest
|
|
806
788
|
*/
|
|
807
|
-
class UpdateLocalNameRequest extends
|
|
789
|
+
export class UpdateLocalNameRequest extends Message {
|
|
808
790
|
constructor(data) {
|
|
809
791
|
super();
|
|
810
792
|
/**
|
|
811
793
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
812
794
|
*/
|
|
813
|
-
this.localParticipantHandle =
|
|
795
|
+
this.localParticipantHandle = protoInt64.zero;
|
|
814
796
|
/**
|
|
815
797
|
* @generated from field: string name = 2;
|
|
816
798
|
*/
|
|
817
799
|
this.name = "";
|
|
818
|
-
|
|
800
|
+
proto3.util.initPartial(data, this);
|
|
819
801
|
}
|
|
820
802
|
static fromBinary(bytes, options) {
|
|
821
803
|
return new UpdateLocalNameRequest().fromBinary(bytes, options);
|
|
@@ -827,27 +809,26 @@ class UpdateLocalNameRequest extends protobuf_1.Message {
|
|
|
827
809
|
return new UpdateLocalNameRequest().fromJsonString(jsonString, options);
|
|
828
810
|
}
|
|
829
811
|
static equals(a, b) {
|
|
830
|
-
return
|
|
812
|
+
return proto3.util.equals(UpdateLocalNameRequest, a, b);
|
|
831
813
|
}
|
|
832
814
|
}
|
|
833
|
-
|
|
834
|
-
UpdateLocalNameRequest.runtime = protobuf_1.proto3;
|
|
815
|
+
UpdateLocalNameRequest.runtime = proto3;
|
|
835
816
|
UpdateLocalNameRequest.typeName = "livekit.proto.UpdateLocalNameRequest";
|
|
836
|
-
UpdateLocalNameRequest.fields =
|
|
817
|
+
UpdateLocalNameRequest.fields = proto3.util.newFieldList(() => [
|
|
837
818
|
{ no: 1, name: "local_participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
838
819
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
839
820
|
]);
|
|
840
821
|
/**
|
|
841
822
|
* @generated from message livekit.proto.UpdateLocalNameResponse
|
|
842
823
|
*/
|
|
843
|
-
class UpdateLocalNameResponse extends
|
|
824
|
+
export class UpdateLocalNameResponse extends Message {
|
|
844
825
|
constructor(data) {
|
|
845
826
|
super();
|
|
846
827
|
/**
|
|
847
828
|
* @generated from field: uint64 async_id = 1;
|
|
848
829
|
*/
|
|
849
|
-
this.asyncId =
|
|
850
|
-
|
|
830
|
+
this.asyncId = protoInt64.zero;
|
|
831
|
+
proto3.util.initPartial(data, this);
|
|
851
832
|
}
|
|
852
833
|
static fromBinary(bytes, options) {
|
|
853
834
|
return new UpdateLocalNameResponse().fromBinary(bytes, options);
|
|
@@ -859,26 +840,25 @@ class UpdateLocalNameResponse extends protobuf_1.Message {
|
|
|
859
840
|
return new UpdateLocalNameResponse().fromJsonString(jsonString, options);
|
|
860
841
|
}
|
|
861
842
|
static equals(a, b) {
|
|
862
|
-
return
|
|
843
|
+
return proto3.util.equals(UpdateLocalNameResponse, a, b);
|
|
863
844
|
}
|
|
864
845
|
}
|
|
865
|
-
|
|
866
|
-
UpdateLocalNameResponse.runtime = protobuf_1.proto3;
|
|
846
|
+
UpdateLocalNameResponse.runtime = proto3;
|
|
867
847
|
UpdateLocalNameResponse.typeName = "livekit.proto.UpdateLocalNameResponse";
|
|
868
|
-
UpdateLocalNameResponse.fields =
|
|
848
|
+
UpdateLocalNameResponse.fields = proto3.util.newFieldList(() => [
|
|
869
849
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
870
850
|
]);
|
|
871
851
|
/**
|
|
872
852
|
* @generated from message livekit.proto.UpdateLocalNameCallback
|
|
873
853
|
*/
|
|
874
|
-
class UpdateLocalNameCallback extends
|
|
854
|
+
export class UpdateLocalNameCallback extends Message {
|
|
875
855
|
constructor(data) {
|
|
876
856
|
super();
|
|
877
857
|
/**
|
|
878
858
|
* @generated from field: uint64 async_id = 1;
|
|
879
859
|
*/
|
|
880
|
-
this.asyncId =
|
|
881
|
-
|
|
860
|
+
this.asyncId = protoInt64.zero;
|
|
861
|
+
proto3.util.initPartial(data, this);
|
|
882
862
|
}
|
|
883
863
|
static fromBinary(bytes, options) {
|
|
884
864
|
return new UpdateLocalNameCallback().fromBinary(bytes, options);
|
|
@@ -890,13 +870,12 @@ class UpdateLocalNameCallback extends protobuf_1.Message {
|
|
|
890
870
|
return new UpdateLocalNameCallback().fromJsonString(jsonString, options);
|
|
891
871
|
}
|
|
892
872
|
static equals(a, b) {
|
|
893
|
-
return
|
|
873
|
+
return proto3.util.equals(UpdateLocalNameCallback, a, b);
|
|
894
874
|
}
|
|
895
875
|
}
|
|
896
|
-
|
|
897
|
-
UpdateLocalNameCallback.runtime = protobuf_1.proto3;
|
|
876
|
+
UpdateLocalNameCallback.runtime = proto3;
|
|
898
877
|
UpdateLocalNameCallback.typeName = "livekit.proto.UpdateLocalNameCallback";
|
|
899
|
-
UpdateLocalNameCallback.fields =
|
|
878
|
+
UpdateLocalNameCallback.fields = proto3.util.newFieldList(() => [
|
|
900
879
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
901
880
|
]);
|
|
902
881
|
/**
|
|
@@ -904,7 +883,7 @@ UpdateLocalNameCallback.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
904
883
|
*
|
|
905
884
|
* @generated from message livekit.proto.SetSubscribedRequest
|
|
906
885
|
*/
|
|
907
|
-
class SetSubscribedRequest extends
|
|
886
|
+
export class SetSubscribedRequest extends Message {
|
|
908
887
|
constructor(data) {
|
|
909
888
|
super();
|
|
910
889
|
/**
|
|
@@ -914,8 +893,8 @@ class SetSubscribedRequest extends protobuf_1.Message {
|
|
|
914
893
|
/**
|
|
915
894
|
* @generated from field: uint64 publication_handle = 2;
|
|
916
895
|
*/
|
|
917
|
-
this.publicationHandle =
|
|
918
|
-
|
|
896
|
+
this.publicationHandle = protoInt64.zero;
|
|
897
|
+
proto3.util.initPartial(data, this);
|
|
919
898
|
}
|
|
920
899
|
static fromBinary(bytes, options) {
|
|
921
900
|
return new SetSubscribedRequest().fromBinary(bytes, options);
|
|
@@ -927,23 +906,22 @@ class SetSubscribedRequest extends protobuf_1.Message {
|
|
|
927
906
|
return new SetSubscribedRequest().fromJsonString(jsonString, options);
|
|
928
907
|
}
|
|
929
908
|
static equals(a, b) {
|
|
930
|
-
return
|
|
909
|
+
return proto3.util.equals(SetSubscribedRequest, a, b);
|
|
931
910
|
}
|
|
932
911
|
}
|
|
933
|
-
|
|
934
|
-
SetSubscribedRequest.runtime = protobuf_1.proto3;
|
|
912
|
+
SetSubscribedRequest.runtime = proto3;
|
|
935
913
|
SetSubscribedRequest.typeName = "livekit.proto.SetSubscribedRequest";
|
|
936
|
-
SetSubscribedRequest.fields =
|
|
914
|
+
SetSubscribedRequest.fields = proto3.util.newFieldList(() => [
|
|
937
915
|
{ no: 1, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
938
916
|
{ no: 2, name: "publication_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
939
917
|
]);
|
|
940
918
|
/**
|
|
941
919
|
* @generated from message livekit.proto.SetSubscribedResponse
|
|
942
920
|
*/
|
|
943
|
-
class SetSubscribedResponse extends
|
|
921
|
+
export class SetSubscribedResponse extends Message {
|
|
944
922
|
constructor(data) {
|
|
945
923
|
super();
|
|
946
|
-
|
|
924
|
+
proto3.util.initPartial(data, this);
|
|
947
925
|
}
|
|
948
926
|
static fromBinary(bytes, options) {
|
|
949
927
|
return new SetSubscribedResponse().fromBinary(bytes, options);
|
|
@@ -955,24 +933,23 @@ class SetSubscribedResponse extends protobuf_1.Message {
|
|
|
955
933
|
return new SetSubscribedResponse().fromJsonString(jsonString, options);
|
|
956
934
|
}
|
|
957
935
|
static equals(a, b) {
|
|
958
|
-
return
|
|
936
|
+
return proto3.util.equals(SetSubscribedResponse, a, b);
|
|
959
937
|
}
|
|
960
938
|
}
|
|
961
|
-
|
|
962
|
-
SetSubscribedResponse.runtime = protobuf_1.proto3;
|
|
939
|
+
SetSubscribedResponse.runtime = proto3;
|
|
963
940
|
SetSubscribedResponse.typeName = "livekit.proto.SetSubscribedResponse";
|
|
964
|
-
SetSubscribedResponse.fields =
|
|
941
|
+
SetSubscribedResponse.fields = proto3.util.newFieldList(() => []);
|
|
965
942
|
/**
|
|
966
943
|
* @generated from message livekit.proto.GetSessionStatsRequest
|
|
967
944
|
*/
|
|
968
|
-
class GetSessionStatsRequest extends
|
|
945
|
+
export class GetSessionStatsRequest extends Message {
|
|
969
946
|
constructor(data) {
|
|
970
947
|
super();
|
|
971
948
|
/**
|
|
972
949
|
* @generated from field: uint64 room_handle = 1;
|
|
973
950
|
*/
|
|
974
|
-
this.roomHandle =
|
|
975
|
-
|
|
951
|
+
this.roomHandle = protoInt64.zero;
|
|
952
|
+
proto3.util.initPartial(data, this);
|
|
976
953
|
}
|
|
977
954
|
static fromBinary(bytes, options) {
|
|
978
955
|
return new GetSessionStatsRequest().fromBinary(bytes, options);
|
|
@@ -984,26 +961,25 @@ class GetSessionStatsRequest extends protobuf_1.Message {
|
|
|
984
961
|
return new GetSessionStatsRequest().fromJsonString(jsonString, options);
|
|
985
962
|
}
|
|
986
963
|
static equals(a, b) {
|
|
987
|
-
return
|
|
964
|
+
return proto3.util.equals(GetSessionStatsRequest, a, b);
|
|
988
965
|
}
|
|
989
966
|
}
|
|
990
|
-
|
|
991
|
-
GetSessionStatsRequest.runtime = protobuf_1.proto3;
|
|
967
|
+
GetSessionStatsRequest.runtime = proto3;
|
|
992
968
|
GetSessionStatsRequest.typeName = "livekit.proto.GetSessionStatsRequest";
|
|
993
|
-
GetSessionStatsRequest.fields =
|
|
969
|
+
GetSessionStatsRequest.fields = proto3.util.newFieldList(() => [
|
|
994
970
|
{ no: 1, name: "room_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
995
971
|
]);
|
|
996
972
|
/**
|
|
997
973
|
* @generated from message livekit.proto.GetSessionStatsResponse
|
|
998
974
|
*/
|
|
999
|
-
class GetSessionStatsResponse extends
|
|
975
|
+
export class GetSessionStatsResponse extends Message {
|
|
1000
976
|
constructor(data) {
|
|
1001
977
|
super();
|
|
1002
978
|
/**
|
|
1003
979
|
* @generated from field: uint64 async_id = 1;
|
|
1004
980
|
*/
|
|
1005
|
-
this.asyncId =
|
|
1006
|
-
|
|
981
|
+
this.asyncId = protoInt64.zero;
|
|
982
|
+
proto3.util.initPartial(data, this);
|
|
1007
983
|
}
|
|
1008
984
|
static fromBinary(bytes, options) {
|
|
1009
985
|
return new GetSessionStatsResponse().fromBinary(bytes, options);
|
|
@@ -1015,25 +991,24 @@ class GetSessionStatsResponse extends protobuf_1.Message {
|
|
|
1015
991
|
return new GetSessionStatsResponse().fromJsonString(jsonString, options);
|
|
1016
992
|
}
|
|
1017
993
|
static equals(a, b) {
|
|
1018
|
-
return
|
|
994
|
+
return proto3.util.equals(GetSessionStatsResponse, a, b);
|
|
1019
995
|
}
|
|
1020
996
|
}
|
|
1021
|
-
|
|
1022
|
-
GetSessionStatsResponse.runtime = protobuf_1.proto3;
|
|
997
|
+
GetSessionStatsResponse.runtime = proto3;
|
|
1023
998
|
GetSessionStatsResponse.typeName = "livekit.proto.GetSessionStatsResponse";
|
|
1024
|
-
GetSessionStatsResponse.fields =
|
|
999
|
+
GetSessionStatsResponse.fields = proto3.util.newFieldList(() => [
|
|
1025
1000
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1026
1001
|
]);
|
|
1027
1002
|
/**
|
|
1028
1003
|
* @generated from message livekit.proto.GetSessionStatsCallback
|
|
1029
1004
|
*/
|
|
1030
|
-
class GetSessionStatsCallback extends
|
|
1005
|
+
export class GetSessionStatsCallback extends Message {
|
|
1031
1006
|
constructor(data) {
|
|
1032
1007
|
super();
|
|
1033
1008
|
/**
|
|
1034
1009
|
* @generated from field: uint64 async_id = 1;
|
|
1035
1010
|
*/
|
|
1036
|
-
this.asyncId =
|
|
1011
|
+
this.asyncId = protoInt64.zero;
|
|
1037
1012
|
/**
|
|
1038
1013
|
* @generated from field: repeated livekit.proto.RtcStats publisher_stats = 3;
|
|
1039
1014
|
*/
|
|
@@ -1042,7 +1017,7 @@ class GetSessionStatsCallback extends protobuf_1.Message {
|
|
|
1042
1017
|
* @generated from field: repeated livekit.proto.RtcStats subscriber_stats = 4;
|
|
1043
1018
|
*/
|
|
1044
1019
|
this.subscriberStats = [];
|
|
1045
|
-
|
|
1020
|
+
proto3.util.initPartial(data, this);
|
|
1046
1021
|
}
|
|
1047
1022
|
static fromBinary(bytes, options) {
|
|
1048
1023
|
return new GetSessionStatsCallback().fromBinary(bytes, options);
|
|
@@ -1054,33 +1029,32 @@ class GetSessionStatsCallback extends protobuf_1.Message {
|
|
|
1054
1029
|
return new GetSessionStatsCallback().fromJsonString(jsonString, options);
|
|
1055
1030
|
}
|
|
1056
1031
|
static equals(a, b) {
|
|
1057
|
-
return
|
|
1032
|
+
return proto3.util.equals(GetSessionStatsCallback, a, b);
|
|
1058
1033
|
}
|
|
1059
1034
|
}
|
|
1060
|
-
|
|
1061
|
-
GetSessionStatsCallback.runtime = protobuf_1.proto3;
|
|
1035
|
+
GetSessionStatsCallback.runtime = proto3;
|
|
1062
1036
|
GetSessionStatsCallback.typeName = "livekit.proto.GetSessionStatsCallback";
|
|
1063
|
-
GetSessionStatsCallback.fields =
|
|
1037
|
+
GetSessionStatsCallback.fields = proto3.util.newFieldList(() => [
|
|
1064
1038
|
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1065
1039
|
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1066
|
-
{ no: 3, name: "publisher_stats", kind: "message", T:
|
|
1067
|
-
{ no: 4, name: "subscriber_stats", kind: "message", T:
|
|
1040
|
+
{ no: 3, name: "publisher_stats", kind: "message", T: RtcStats, repeated: true },
|
|
1041
|
+
{ no: 4, name: "subscriber_stats", kind: "message", T: RtcStats, repeated: true },
|
|
1068
1042
|
]);
|
|
1069
1043
|
/**
|
|
1070
1044
|
* @generated from message livekit.proto.VideoEncoding
|
|
1071
1045
|
*/
|
|
1072
|
-
class VideoEncoding extends
|
|
1046
|
+
export class VideoEncoding extends Message {
|
|
1073
1047
|
constructor(data) {
|
|
1074
1048
|
super();
|
|
1075
1049
|
/**
|
|
1076
1050
|
* @generated from field: uint64 max_bitrate = 1;
|
|
1077
1051
|
*/
|
|
1078
|
-
this.maxBitrate =
|
|
1052
|
+
this.maxBitrate = protoInt64.zero;
|
|
1079
1053
|
/**
|
|
1080
1054
|
* @generated from field: double max_framerate = 2;
|
|
1081
1055
|
*/
|
|
1082
1056
|
this.maxFramerate = 0;
|
|
1083
|
-
|
|
1057
|
+
proto3.util.initPartial(data, this);
|
|
1084
1058
|
}
|
|
1085
1059
|
static fromBinary(bytes, options) {
|
|
1086
1060
|
return new VideoEncoding().fromBinary(bytes, options);
|
|
@@ -1092,27 +1066,26 @@ class VideoEncoding extends protobuf_1.Message {
|
|
|
1092
1066
|
return new VideoEncoding().fromJsonString(jsonString, options);
|
|
1093
1067
|
}
|
|
1094
1068
|
static equals(a, b) {
|
|
1095
|
-
return
|
|
1069
|
+
return proto3.util.equals(VideoEncoding, a, b);
|
|
1096
1070
|
}
|
|
1097
1071
|
}
|
|
1098
|
-
|
|
1099
|
-
VideoEncoding.runtime = protobuf_1.proto3;
|
|
1072
|
+
VideoEncoding.runtime = proto3;
|
|
1100
1073
|
VideoEncoding.typeName = "livekit.proto.VideoEncoding";
|
|
1101
|
-
VideoEncoding.fields =
|
|
1074
|
+
VideoEncoding.fields = proto3.util.newFieldList(() => [
|
|
1102
1075
|
{ no: 1, name: "max_bitrate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1103
1076
|
{ no: 2, name: "max_framerate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1104
1077
|
]);
|
|
1105
1078
|
/**
|
|
1106
1079
|
* @generated from message livekit.proto.AudioEncoding
|
|
1107
1080
|
*/
|
|
1108
|
-
class AudioEncoding extends
|
|
1081
|
+
export class AudioEncoding extends Message {
|
|
1109
1082
|
constructor(data) {
|
|
1110
1083
|
super();
|
|
1111
1084
|
/**
|
|
1112
1085
|
* @generated from field: uint64 max_bitrate = 1;
|
|
1113
1086
|
*/
|
|
1114
|
-
this.maxBitrate =
|
|
1115
|
-
|
|
1087
|
+
this.maxBitrate = protoInt64.zero;
|
|
1088
|
+
proto3.util.initPartial(data, this);
|
|
1116
1089
|
}
|
|
1117
1090
|
static fromBinary(bytes, options) {
|
|
1118
1091
|
return new AudioEncoding().fromBinary(bytes, options);
|
|
@@ -1124,25 +1097,24 @@ class AudioEncoding extends protobuf_1.Message {
|
|
|
1124
1097
|
return new AudioEncoding().fromJsonString(jsonString, options);
|
|
1125
1098
|
}
|
|
1126
1099
|
static equals(a, b) {
|
|
1127
|
-
return
|
|
1100
|
+
return proto3.util.equals(AudioEncoding, a, b);
|
|
1128
1101
|
}
|
|
1129
1102
|
}
|
|
1130
|
-
|
|
1131
|
-
AudioEncoding.runtime = protobuf_1.proto3;
|
|
1103
|
+
AudioEncoding.runtime = proto3;
|
|
1132
1104
|
AudioEncoding.typeName = "livekit.proto.AudioEncoding";
|
|
1133
|
-
AudioEncoding.fields =
|
|
1105
|
+
AudioEncoding.fields = proto3.util.newFieldList(() => [
|
|
1134
1106
|
{ no: 1, name: "max_bitrate", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1135
1107
|
]);
|
|
1136
1108
|
/**
|
|
1137
1109
|
* @generated from message livekit.proto.TrackPublishOptions
|
|
1138
1110
|
*/
|
|
1139
|
-
class TrackPublishOptions extends
|
|
1111
|
+
export class TrackPublishOptions extends Message {
|
|
1140
1112
|
constructor(data) {
|
|
1141
1113
|
super();
|
|
1142
1114
|
/**
|
|
1143
1115
|
* @generated from field: livekit.proto.VideoCodec video_codec = 3;
|
|
1144
1116
|
*/
|
|
1145
|
-
this.videoCodec =
|
|
1117
|
+
this.videoCodec = VideoCodec.VP8;
|
|
1146
1118
|
/**
|
|
1147
1119
|
* @generated from field: bool dtx = 4;
|
|
1148
1120
|
*/
|
|
@@ -1158,8 +1130,8 @@ class TrackPublishOptions extends protobuf_1.Message {
|
|
|
1158
1130
|
/**
|
|
1159
1131
|
* @generated from field: livekit.proto.TrackSource source = 7;
|
|
1160
1132
|
*/
|
|
1161
|
-
this.source =
|
|
1162
|
-
|
|
1133
|
+
this.source = TrackSource.SOURCE_UNKNOWN;
|
|
1134
|
+
proto3.util.initPartial(data, this);
|
|
1163
1135
|
}
|
|
1164
1136
|
static fromBinary(bytes, options) {
|
|
1165
1137
|
return new TrackPublishOptions().fromBinary(bytes, options);
|
|
@@ -1171,25 +1143,24 @@ class TrackPublishOptions extends protobuf_1.Message {
|
|
|
1171
1143
|
return new TrackPublishOptions().fromJsonString(jsonString, options);
|
|
1172
1144
|
}
|
|
1173
1145
|
static equals(a, b) {
|
|
1174
|
-
return
|
|
1146
|
+
return proto3.util.equals(TrackPublishOptions, a, b);
|
|
1175
1147
|
}
|
|
1176
1148
|
}
|
|
1177
|
-
|
|
1178
|
-
TrackPublishOptions.runtime = protobuf_1.proto3;
|
|
1149
|
+
TrackPublishOptions.runtime = proto3;
|
|
1179
1150
|
TrackPublishOptions.typeName = "livekit.proto.TrackPublishOptions";
|
|
1180
|
-
TrackPublishOptions.fields =
|
|
1151
|
+
TrackPublishOptions.fields = proto3.util.newFieldList(() => [
|
|
1181
1152
|
{ no: 1, name: "video_encoding", kind: "message", T: VideoEncoding },
|
|
1182
1153
|
{ no: 2, name: "audio_encoding", kind: "message", T: AudioEncoding },
|
|
1183
|
-
{ no: 3, name: "video_codec", kind: "enum", T:
|
|
1154
|
+
{ no: 3, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) },
|
|
1184
1155
|
{ no: 4, name: "dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1185
1156
|
{ no: 5, name: "red", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1186
1157
|
{ no: 6, name: "simulcast", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1187
|
-
{ no: 7, name: "source", kind: "enum", T:
|
|
1158
|
+
{ no: 7, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) },
|
|
1188
1159
|
]);
|
|
1189
1160
|
/**
|
|
1190
1161
|
* @generated from message livekit.proto.IceServer
|
|
1191
1162
|
*/
|
|
1192
|
-
class IceServer extends
|
|
1163
|
+
export class IceServer extends Message {
|
|
1193
1164
|
constructor(data) {
|
|
1194
1165
|
super();
|
|
1195
1166
|
/**
|
|
@@ -1204,7 +1175,7 @@ class IceServer extends protobuf_1.Message {
|
|
|
1204
1175
|
* @generated from field: string password = 3;
|
|
1205
1176
|
*/
|
|
1206
1177
|
this.password = "";
|
|
1207
|
-
|
|
1178
|
+
proto3.util.initPartial(data, this);
|
|
1208
1179
|
}
|
|
1209
1180
|
static fromBinary(bytes, options) {
|
|
1210
1181
|
return new IceServer().fromBinary(bytes, options);
|
|
@@ -1216,13 +1187,12 @@ class IceServer extends protobuf_1.Message {
|
|
|
1216
1187
|
return new IceServer().fromJsonString(jsonString, options);
|
|
1217
1188
|
}
|
|
1218
1189
|
static equals(a, b) {
|
|
1219
|
-
return
|
|
1190
|
+
return proto3.util.equals(IceServer, a, b);
|
|
1220
1191
|
}
|
|
1221
1192
|
}
|
|
1222
|
-
|
|
1223
|
-
IceServer.runtime = protobuf_1.proto3;
|
|
1193
|
+
IceServer.runtime = proto3;
|
|
1224
1194
|
IceServer.typeName = "livekit.proto.IceServer";
|
|
1225
|
-
IceServer.fields =
|
|
1195
|
+
IceServer.fields = proto3.util.newFieldList(() => [
|
|
1226
1196
|
{ no: 1, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1227
1197
|
{ no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1228
1198
|
{ no: 3, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1230,7 +1200,7 @@ IceServer.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1230
1200
|
/**
|
|
1231
1201
|
* @generated from message livekit.proto.RtcConfig
|
|
1232
1202
|
*/
|
|
1233
|
-
class RtcConfig extends
|
|
1203
|
+
export class RtcConfig extends Message {
|
|
1234
1204
|
constructor(data) {
|
|
1235
1205
|
super();
|
|
1236
1206
|
/**
|
|
@@ -1239,7 +1209,7 @@ class RtcConfig extends protobuf_1.Message {
|
|
|
1239
1209
|
* @generated from field: repeated livekit.proto.IceServer ice_servers = 3;
|
|
1240
1210
|
*/
|
|
1241
1211
|
this.iceServers = [];
|
|
1242
|
-
|
|
1212
|
+
proto3.util.initPartial(data, this);
|
|
1243
1213
|
}
|
|
1244
1214
|
static fromBinary(bytes, options) {
|
|
1245
1215
|
return new RtcConfig().fromBinary(bytes, options);
|
|
@@ -1251,21 +1221,20 @@ class RtcConfig extends protobuf_1.Message {
|
|
|
1251
1221
|
return new RtcConfig().fromJsonString(jsonString, options);
|
|
1252
1222
|
}
|
|
1253
1223
|
static equals(a, b) {
|
|
1254
|
-
return
|
|
1224
|
+
return proto3.util.equals(RtcConfig, a, b);
|
|
1255
1225
|
}
|
|
1256
1226
|
}
|
|
1257
|
-
|
|
1258
|
-
RtcConfig.runtime = protobuf_1.proto3;
|
|
1227
|
+
RtcConfig.runtime = proto3;
|
|
1259
1228
|
RtcConfig.typeName = "livekit.proto.RtcConfig";
|
|
1260
|
-
RtcConfig.fields =
|
|
1261
|
-
{ no: 1, name: "ice_transport_type", kind: "enum", T:
|
|
1262
|
-
{ no: 2, name: "continual_gathering_policy", kind: "enum", T:
|
|
1229
|
+
RtcConfig.fields = proto3.util.newFieldList(() => [
|
|
1230
|
+
{ no: 1, name: "ice_transport_type", kind: "enum", T: proto3.getEnumType(IceTransportType), opt: true },
|
|
1231
|
+
{ no: 2, name: "continual_gathering_policy", kind: "enum", T: proto3.getEnumType(ContinualGatheringPolicy), opt: true },
|
|
1263
1232
|
{ no: 3, name: "ice_servers", kind: "message", T: IceServer, repeated: true },
|
|
1264
1233
|
]);
|
|
1265
1234
|
/**
|
|
1266
1235
|
* @generated from message livekit.proto.RoomOptions
|
|
1267
1236
|
*/
|
|
1268
|
-
class RoomOptions extends
|
|
1237
|
+
export class RoomOptions extends Message {
|
|
1269
1238
|
constructor(data) {
|
|
1270
1239
|
super();
|
|
1271
1240
|
/**
|
|
@@ -1284,7 +1253,7 @@ class RoomOptions extends protobuf_1.Message {
|
|
|
1284
1253
|
* @generated from field: uint32 join_retries = 6;
|
|
1285
1254
|
*/
|
|
1286
1255
|
this.joinRetries = 0;
|
|
1287
|
-
|
|
1256
|
+
proto3.util.initPartial(data, this);
|
|
1288
1257
|
}
|
|
1289
1258
|
static fromBinary(bytes, options) {
|
|
1290
1259
|
return new RoomOptions().fromBinary(bytes, options);
|
|
@@ -1296,35 +1265,34 @@ class RoomOptions extends protobuf_1.Message {
|
|
|
1296
1265
|
return new RoomOptions().fromJsonString(jsonString, options);
|
|
1297
1266
|
}
|
|
1298
1267
|
static equals(a, b) {
|
|
1299
|
-
return
|
|
1268
|
+
return proto3.util.equals(RoomOptions, a, b);
|
|
1300
1269
|
}
|
|
1301
1270
|
}
|
|
1302
|
-
|
|
1303
|
-
RoomOptions.runtime = protobuf_1.proto3;
|
|
1271
|
+
RoomOptions.runtime = proto3;
|
|
1304
1272
|
RoomOptions.typeName = "livekit.proto.RoomOptions";
|
|
1305
|
-
RoomOptions.fields =
|
|
1273
|
+
RoomOptions.fields = proto3.util.newFieldList(() => [
|
|
1306
1274
|
{ no: 1, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1307
1275
|
{ no: 2, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1308
1276
|
{ no: 3, name: "dynacast", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1309
|
-
{ no: 4, name: "e2ee", kind: "message", T:
|
|
1277
|
+
{ no: 4, name: "e2ee", kind: "message", T: E2eeOptions, opt: true },
|
|
1310
1278
|
{ no: 5, name: "rtc_config", kind: "message", T: RtcConfig, opt: true },
|
|
1311
1279
|
{ no: 6, name: "join_retries", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1312
1280
|
]);
|
|
1313
1281
|
/**
|
|
1314
1282
|
* @generated from message livekit.proto.BufferInfo
|
|
1315
1283
|
*/
|
|
1316
|
-
class BufferInfo extends
|
|
1284
|
+
export class BufferInfo extends Message {
|
|
1317
1285
|
constructor(data) {
|
|
1318
1286
|
super();
|
|
1319
1287
|
/**
|
|
1320
1288
|
* @generated from field: uint64 data_ptr = 1;
|
|
1321
1289
|
*/
|
|
1322
|
-
this.dataPtr =
|
|
1290
|
+
this.dataPtr = protoInt64.zero;
|
|
1323
1291
|
/**
|
|
1324
1292
|
* @generated from field: uint64 data_len = 2;
|
|
1325
1293
|
*/
|
|
1326
|
-
this.dataLen =
|
|
1327
|
-
|
|
1294
|
+
this.dataLen = protoInt64.zero;
|
|
1295
|
+
proto3.util.initPartial(data, this);
|
|
1328
1296
|
}
|
|
1329
1297
|
static fromBinary(bytes, options) {
|
|
1330
1298
|
return new BufferInfo().fromBinary(bytes, options);
|
|
@@ -1336,23 +1304,22 @@ class BufferInfo extends protobuf_1.Message {
|
|
|
1336
1304
|
return new BufferInfo().fromJsonString(jsonString, options);
|
|
1337
1305
|
}
|
|
1338
1306
|
static equals(a, b) {
|
|
1339
|
-
return
|
|
1307
|
+
return proto3.util.equals(BufferInfo, a, b);
|
|
1340
1308
|
}
|
|
1341
1309
|
}
|
|
1342
|
-
|
|
1343
|
-
BufferInfo.runtime = protobuf_1.proto3;
|
|
1310
|
+
BufferInfo.runtime = proto3;
|
|
1344
1311
|
BufferInfo.typeName = "livekit.proto.BufferInfo";
|
|
1345
|
-
BufferInfo.fields =
|
|
1312
|
+
BufferInfo.fields = proto3.util.newFieldList(() => [
|
|
1346
1313
|
{ no: 1, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1347
1314
|
{ no: 2, name: "data_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1348
1315
|
]);
|
|
1349
1316
|
/**
|
|
1350
1317
|
* @generated from message livekit.proto.OwnedBuffer
|
|
1351
1318
|
*/
|
|
1352
|
-
class OwnedBuffer extends
|
|
1319
|
+
export class OwnedBuffer extends Message {
|
|
1353
1320
|
constructor(data) {
|
|
1354
1321
|
super();
|
|
1355
|
-
|
|
1322
|
+
proto3.util.initPartial(data, this);
|
|
1356
1323
|
}
|
|
1357
1324
|
static fromBinary(bytes, options) {
|
|
1358
1325
|
return new OwnedBuffer().fromBinary(bytes, options);
|
|
@@ -1364,31 +1331,30 @@ class OwnedBuffer extends protobuf_1.Message {
|
|
|
1364
1331
|
return new OwnedBuffer().fromJsonString(jsonString, options);
|
|
1365
1332
|
}
|
|
1366
1333
|
static equals(a, b) {
|
|
1367
|
-
return
|
|
1334
|
+
return proto3.util.equals(OwnedBuffer, a, b);
|
|
1368
1335
|
}
|
|
1369
1336
|
}
|
|
1370
|
-
|
|
1371
|
-
OwnedBuffer.runtime = protobuf_1.proto3;
|
|
1337
|
+
OwnedBuffer.runtime = proto3;
|
|
1372
1338
|
OwnedBuffer.typeName = "livekit.proto.OwnedBuffer";
|
|
1373
|
-
OwnedBuffer.fields =
|
|
1374
|
-
{ no: 1, name: "handle", kind: "message", T:
|
|
1339
|
+
OwnedBuffer.fields = proto3.util.newFieldList(() => [
|
|
1340
|
+
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1375
1341
|
{ no: 2, name: "data", kind: "message", T: BufferInfo },
|
|
1376
1342
|
]);
|
|
1377
1343
|
/**
|
|
1378
1344
|
* @generated from message livekit.proto.RoomEvent
|
|
1379
1345
|
*/
|
|
1380
|
-
class RoomEvent extends
|
|
1346
|
+
export class RoomEvent extends Message {
|
|
1381
1347
|
constructor(data) {
|
|
1382
1348
|
super();
|
|
1383
1349
|
/**
|
|
1384
1350
|
* @generated from field: uint64 room_handle = 1;
|
|
1385
1351
|
*/
|
|
1386
|
-
this.roomHandle =
|
|
1352
|
+
this.roomHandle = protoInt64.zero;
|
|
1387
1353
|
/**
|
|
1388
1354
|
* @generated from oneof livekit.proto.RoomEvent.message
|
|
1389
1355
|
*/
|
|
1390
1356
|
this.message = { case: undefined };
|
|
1391
|
-
|
|
1357
|
+
proto3.util.initPartial(data, this);
|
|
1392
1358
|
}
|
|
1393
1359
|
static fromBinary(bytes, options) {
|
|
1394
1360
|
return new RoomEvent().fromBinary(bytes, options);
|
|
@@ -1400,13 +1366,12 @@ class RoomEvent extends protobuf_1.Message {
|
|
|
1400
1366
|
return new RoomEvent().fromJsonString(jsonString, options);
|
|
1401
1367
|
}
|
|
1402
1368
|
static equals(a, b) {
|
|
1403
|
-
return
|
|
1369
|
+
return proto3.util.equals(RoomEvent, a, b);
|
|
1404
1370
|
}
|
|
1405
1371
|
}
|
|
1406
|
-
|
|
1407
|
-
RoomEvent.runtime = protobuf_1.proto3;
|
|
1372
|
+
RoomEvent.runtime = proto3;
|
|
1408
1373
|
RoomEvent.typeName = "livekit.proto.RoomEvent";
|
|
1409
|
-
RoomEvent.fields =
|
|
1374
|
+
RoomEvent.fields = proto3.util.newFieldList(() => [
|
|
1410
1375
|
{ no: 1, name: "room_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1411
1376
|
{ no: 2, name: "participant_connected", kind: "message", T: ParticipantConnected, oneof: "message" },
|
|
1412
1377
|
{ no: 3, name: "participant_disconnected", kind: "message", T: ParticipantDisconnected, oneof: "message" },
|
|
@@ -1435,7 +1400,7 @@ RoomEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1435
1400
|
/**
|
|
1436
1401
|
* @generated from message livekit.proto.RoomInfo
|
|
1437
1402
|
*/
|
|
1438
|
-
class RoomInfo extends
|
|
1403
|
+
export class RoomInfo extends Message {
|
|
1439
1404
|
constructor(data) {
|
|
1440
1405
|
super();
|
|
1441
1406
|
/**
|
|
@@ -1450,7 +1415,7 @@ class RoomInfo extends protobuf_1.Message {
|
|
|
1450
1415
|
* @generated from field: string metadata = 3;
|
|
1451
1416
|
*/
|
|
1452
1417
|
this.metadata = "";
|
|
1453
|
-
|
|
1418
|
+
proto3.util.initPartial(data, this);
|
|
1454
1419
|
}
|
|
1455
1420
|
static fromBinary(bytes, options) {
|
|
1456
1421
|
return new RoomInfo().fromBinary(bytes, options);
|
|
@@ -1462,13 +1427,12 @@ class RoomInfo extends protobuf_1.Message {
|
|
|
1462
1427
|
return new RoomInfo().fromJsonString(jsonString, options);
|
|
1463
1428
|
}
|
|
1464
1429
|
static equals(a, b) {
|
|
1465
|
-
return
|
|
1430
|
+
return proto3.util.equals(RoomInfo, a, b);
|
|
1466
1431
|
}
|
|
1467
1432
|
}
|
|
1468
|
-
|
|
1469
|
-
RoomInfo.runtime = protobuf_1.proto3;
|
|
1433
|
+
RoomInfo.runtime = proto3;
|
|
1470
1434
|
RoomInfo.typeName = "livekit.proto.RoomInfo";
|
|
1471
|
-
RoomInfo.fields =
|
|
1435
|
+
RoomInfo.fields = proto3.util.newFieldList(() => [
|
|
1472
1436
|
{ no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1473
1437
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1474
1438
|
{ no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1476,10 +1440,10 @@ RoomInfo.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1476
1440
|
/**
|
|
1477
1441
|
* @generated from message livekit.proto.OwnedRoom
|
|
1478
1442
|
*/
|
|
1479
|
-
class OwnedRoom extends
|
|
1443
|
+
export class OwnedRoom extends Message {
|
|
1480
1444
|
constructor(data) {
|
|
1481
1445
|
super();
|
|
1482
|
-
|
|
1446
|
+
proto3.util.initPartial(data, this);
|
|
1483
1447
|
}
|
|
1484
1448
|
static fromBinary(bytes, options) {
|
|
1485
1449
|
return new OwnedRoom().fromBinary(bytes, options);
|
|
@@ -1491,23 +1455,22 @@ class OwnedRoom extends protobuf_1.Message {
|
|
|
1491
1455
|
return new OwnedRoom().fromJsonString(jsonString, options);
|
|
1492
1456
|
}
|
|
1493
1457
|
static equals(a, b) {
|
|
1494
|
-
return
|
|
1458
|
+
return proto3.util.equals(OwnedRoom, a, b);
|
|
1495
1459
|
}
|
|
1496
1460
|
}
|
|
1497
|
-
|
|
1498
|
-
OwnedRoom.runtime = protobuf_1.proto3;
|
|
1461
|
+
OwnedRoom.runtime = proto3;
|
|
1499
1462
|
OwnedRoom.typeName = "livekit.proto.OwnedRoom";
|
|
1500
|
-
OwnedRoom.fields =
|
|
1501
|
-
{ no: 1, name: "handle", kind: "message", T:
|
|
1463
|
+
OwnedRoom.fields = proto3.util.newFieldList(() => [
|
|
1464
|
+
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1502
1465
|
{ no: 2, name: "info", kind: "message", T: RoomInfo },
|
|
1503
1466
|
]);
|
|
1504
1467
|
/**
|
|
1505
1468
|
* @generated from message livekit.proto.ParticipantConnected
|
|
1506
1469
|
*/
|
|
1507
|
-
class ParticipantConnected extends
|
|
1470
|
+
export class ParticipantConnected extends Message {
|
|
1508
1471
|
constructor(data) {
|
|
1509
1472
|
super();
|
|
1510
|
-
|
|
1473
|
+
proto3.util.initPartial(data, this);
|
|
1511
1474
|
}
|
|
1512
1475
|
static fromBinary(bytes, options) {
|
|
1513
1476
|
return new ParticipantConnected().fromBinary(bytes, options);
|
|
@@ -1519,26 +1482,25 @@ class ParticipantConnected extends protobuf_1.Message {
|
|
|
1519
1482
|
return new ParticipantConnected().fromJsonString(jsonString, options);
|
|
1520
1483
|
}
|
|
1521
1484
|
static equals(a, b) {
|
|
1522
|
-
return
|
|
1485
|
+
return proto3.util.equals(ParticipantConnected, a, b);
|
|
1523
1486
|
}
|
|
1524
1487
|
}
|
|
1525
|
-
|
|
1526
|
-
ParticipantConnected.runtime = protobuf_1.proto3;
|
|
1488
|
+
ParticipantConnected.runtime = proto3;
|
|
1527
1489
|
ParticipantConnected.typeName = "livekit.proto.ParticipantConnected";
|
|
1528
|
-
ParticipantConnected.fields =
|
|
1529
|
-
{ no: 1, name: "info", kind: "message", T:
|
|
1490
|
+
ParticipantConnected.fields = proto3.util.newFieldList(() => [
|
|
1491
|
+
{ no: 1, name: "info", kind: "message", T: OwnedParticipant },
|
|
1530
1492
|
]);
|
|
1531
1493
|
/**
|
|
1532
1494
|
* @generated from message livekit.proto.ParticipantDisconnected
|
|
1533
1495
|
*/
|
|
1534
|
-
class ParticipantDisconnected extends
|
|
1496
|
+
export class ParticipantDisconnected extends Message {
|
|
1535
1497
|
constructor(data) {
|
|
1536
1498
|
super();
|
|
1537
1499
|
/**
|
|
1538
1500
|
* @generated from field: string participant_sid = 1;
|
|
1539
1501
|
*/
|
|
1540
1502
|
this.participantSid = "";
|
|
1541
|
-
|
|
1503
|
+
proto3.util.initPartial(data, this);
|
|
1542
1504
|
}
|
|
1543
1505
|
static fromBinary(bytes, options) {
|
|
1544
1506
|
return new ParticipantDisconnected().fromBinary(bytes, options);
|
|
@@ -1550,19 +1512,18 @@ class ParticipantDisconnected extends protobuf_1.Message {
|
|
|
1550
1512
|
return new ParticipantDisconnected().fromJsonString(jsonString, options);
|
|
1551
1513
|
}
|
|
1552
1514
|
static equals(a, b) {
|
|
1553
|
-
return
|
|
1515
|
+
return proto3.util.equals(ParticipantDisconnected, a, b);
|
|
1554
1516
|
}
|
|
1555
1517
|
}
|
|
1556
|
-
|
|
1557
|
-
ParticipantDisconnected.runtime = protobuf_1.proto3;
|
|
1518
|
+
ParticipantDisconnected.runtime = proto3;
|
|
1558
1519
|
ParticipantDisconnected.typeName = "livekit.proto.ParticipantDisconnected";
|
|
1559
|
-
ParticipantDisconnected.fields =
|
|
1520
|
+
ParticipantDisconnected.fields = proto3.util.newFieldList(() => [
|
|
1560
1521
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1561
1522
|
]);
|
|
1562
1523
|
/**
|
|
1563
1524
|
* @generated from message livekit.proto.LocalTrackPublished
|
|
1564
1525
|
*/
|
|
1565
|
-
class LocalTrackPublished extends
|
|
1526
|
+
export class LocalTrackPublished extends Message {
|
|
1566
1527
|
constructor(data) {
|
|
1567
1528
|
super();
|
|
1568
1529
|
/**
|
|
@@ -1572,7 +1533,7 @@ class LocalTrackPublished extends protobuf_1.Message {
|
|
|
1572
1533
|
* @generated from field: string track_sid = 1;
|
|
1573
1534
|
*/
|
|
1574
1535
|
this.trackSid = "";
|
|
1575
|
-
|
|
1536
|
+
proto3.util.initPartial(data, this);
|
|
1576
1537
|
}
|
|
1577
1538
|
static fromBinary(bytes, options) {
|
|
1578
1539
|
return new LocalTrackPublished().fromBinary(bytes, options);
|
|
@@ -1584,26 +1545,25 @@ class LocalTrackPublished extends protobuf_1.Message {
|
|
|
1584
1545
|
return new LocalTrackPublished().fromJsonString(jsonString, options);
|
|
1585
1546
|
}
|
|
1586
1547
|
static equals(a, b) {
|
|
1587
|
-
return
|
|
1548
|
+
return proto3.util.equals(LocalTrackPublished, a, b);
|
|
1588
1549
|
}
|
|
1589
1550
|
}
|
|
1590
|
-
|
|
1591
|
-
LocalTrackPublished.runtime = protobuf_1.proto3;
|
|
1551
|
+
LocalTrackPublished.runtime = proto3;
|
|
1592
1552
|
LocalTrackPublished.typeName = "livekit.proto.LocalTrackPublished";
|
|
1593
|
-
LocalTrackPublished.fields =
|
|
1553
|
+
LocalTrackPublished.fields = proto3.util.newFieldList(() => [
|
|
1594
1554
|
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1595
1555
|
]);
|
|
1596
1556
|
/**
|
|
1597
1557
|
* @generated from message livekit.proto.LocalTrackUnpublished
|
|
1598
1558
|
*/
|
|
1599
|
-
class LocalTrackUnpublished extends
|
|
1559
|
+
export class LocalTrackUnpublished extends Message {
|
|
1600
1560
|
constructor(data) {
|
|
1601
1561
|
super();
|
|
1602
1562
|
/**
|
|
1603
1563
|
* @generated from field: string publication_sid = 1;
|
|
1604
1564
|
*/
|
|
1605
1565
|
this.publicationSid = "";
|
|
1606
|
-
|
|
1566
|
+
proto3.util.initPartial(data, this);
|
|
1607
1567
|
}
|
|
1608
1568
|
static fromBinary(bytes, options) {
|
|
1609
1569
|
return new LocalTrackUnpublished().fromBinary(bytes, options);
|
|
@@ -1615,26 +1575,25 @@ class LocalTrackUnpublished extends protobuf_1.Message {
|
|
|
1615
1575
|
return new LocalTrackUnpublished().fromJsonString(jsonString, options);
|
|
1616
1576
|
}
|
|
1617
1577
|
static equals(a, b) {
|
|
1618
|
-
return
|
|
1578
|
+
return proto3.util.equals(LocalTrackUnpublished, a, b);
|
|
1619
1579
|
}
|
|
1620
1580
|
}
|
|
1621
|
-
|
|
1622
|
-
LocalTrackUnpublished.runtime = protobuf_1.proto3;
|
|
1581
|
+
LocalTrackUnpublished.runtime = proto3;
|
|
1623
1582
|
LocalTrackUnpublished.typeName = "livekit.proto.LocalTrackUnpublished";
|
|
1624
|
-
LocalTrackUnpublished.fields =
|
|
1583
|
+
LocalTrackUnpublished.fields = proto3.util.newFieldList(() => [
|
|
1625
1584
|
{ no: 1, name: "publication_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1626
1585
|
]);
|
|
1627
1586
|
/**
|
|
1628
1587
|
* @generated from message livekit.proto.TrackPublished
|
|
1629
1588
|
*/
|
|
1630
|
-
class TrackPublished extends
|
|
1589
|
+
export class TrackPublished extends Message {
|
|
1631
1590
|
constructor(data) {
|
|
1632
1591
|
super();
|
|
1633
1592
|
/**
|
|
1634
1593
|
* @generated from field: string participant_sid = 1;
|
|
1635
1594
|
*/
|
|
1636
1595
|
this.participantSid = "";
|
|
1637
|
-
|
|
1596
|
+
proto3.util.initPartial(data, this);
|
|
1638
1597
|
}
|
|
1639
1598
|
static fromBinary(bytes, options) {
|
|
1640
1599
|
return new TrackPublished().fromBinary(bytes, options);
|
|
@@ -1646,20 +1605,19 @@ class TrackPublished extends protobuf_1.Message {
|
|
|
1646
1605
|
return new TrackPublished().fromJsonString(jsonString, options);
|
|
1647
1606
|
}
|
|
1648
1607
|
static equals(a, b) {
|
|
1649
|
-
return
|
|
1608
|
+
return proto3.util.equals(TrackPublished, a, b);
|
|
1650
1609
|
}
|
|
1651
1610
|
}
|
|
1652
|
-
|
|
1653
|
-
TrackPublished.runtime = protobuf_1.proto3;
|
|
1611
|
+
TrackPublished.runtime = proto3;
|
|
1654
1612
|
TrackPublished.typeName = "livekit.proto.TrackPublished";
|
|
1655
|
-
TrackPublished.fields =
|
|
1613
|
+
TrackPublished.fields = proto3.util.newFieldList(() => [
|
|
1656
1614
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1657
|
-
{ no: 2, name: "publication", kind: "message", T:
|
|
1615
|
+
{ no: 2, name: "publication", kind: "message", T: OwnedTrackPublication },
|
|
1658
1616
|
]);
|
|
1659
1617
|
/**
|
|
1660
1618
|
* @generated from message livekit.proto.TrackUnpublished
|
|
1661
1619
|
*/
|
|
1662
|
-
class TrackUnpublished extends
|
|
1620
|
+
export class TrackUnpublished extends Message {
|
|
1663
1621
|
constructor(data) {
|
|
1664
1622
|
super();
|
|
1665
1623
|
/**
|
|
@@ -1670,7 +1628,7 @@ class TrackUnpublished extends protobuf_1.Message {
|
|
|
1670
1628
|
* @generated from field: string publication_sid = 2;
|
|
1671
1629
|
*/
|
|
1672
1630
|
this.publicationSid = "";
|
|
1673
|
-
|
|
1631
|
+
proto3.util.initPartial(data, this);
|
|
1674
1632
|
}
|
|
1675
1633
|
static fromBinary(bytes, options) {
|
|
1676
1634
|
return new TrackUnpublished().fromBinary(bytes, options);
|
|
@@ -1682,13 +1640,12 @@ class TrackUnpublished extends protobuf_1.Message {
|
|
|
1682
1640
|
return new TrackUnpublished().fromJsonString(jsonString, options);
|
|
1683
1641
|
}
|
|
1684
1642
|
static equals(a, b) {
|
|
1685
|
-
return
|
|
1643
|
+
return proto3.util.equals(TrackUnpublished, a, b);
|
|
1686
1644
|
}
|
|
1687
1645
|
}
|
|
1688
|
-
|
|
1689
|
-
TrackUnpublished.runtime = protobuf_1.proto3;
|
|
1646
|
+
TrackUnpublished.runtime = proto3;
|
|
1690
1647
|
TrackUnpublished.typeName = "livekit.proto.TrackUnpublished";
|
|
1691
|
-
TrackUnpublished.fields =
|
|
1648
|
+
TrackUnpublished.fields = proto3.util.newFieldList(() => [
|
|
1692
1649
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1693
1650
|
{ no: 2, name: "publication_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1694
1651
|
]);
|
|
@@ -1698,14 +1655,14 @@ TrackUnpublished.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1698
1655
|
*
|
|
1699
1656
|
* @generated from message livekit.proto.TrackSubscribed
|
|
1700
1657
|
*/
|
|
1701
|
-
class TrackSubscribed extends
|
|
1658
|
+
export class TrackSubscribed extends Message {
|
|
1702
1659
|
constructor(data) {
|
|
1703
1660
|
super();
|
|
1704
1661
|
/**
|
|
1705
1662
|
* @generated from field: string participant_sid = 1;
|
|
1706
1663
|
*/
|
|
1707
1664
|
this.participantSid = "";
|
|
1708
|
-
|
|
1665
|
+
proto3.util.initPartial(data, this);
|
|
1709
1666
|
}
|
|
1710
1667
|
static fromBinary(bytes, options) {
|
|
1711
1668
|
return new TrackSubscribed().fromBinary(bytes, options);
|
|
@@ -1717,20 +1674,19 @@ class TrackSubscribed extends protobuf_1.Message {
|
|
|
1717
1674
|
return new TrackSubscribed().fromJsonString(jsonString, options);
|
|
1718
1675
|
}
|
|
1719
1676
|
static equals(a, b) {
|
|
1720
|
-
return
|
|
1677
|
+
return proto3.util.equals(TrackSubscribed, a, b);
|
|
1721
1678
|
}
|
|
1722
1679
|
}
|
|
1723
|
-
|
|
1724
|
-
TrackSubscribed.runtime = protobuf_1.proto3;
|
|
1680
|
+
TrackSubscribed.runtime = proto3;
|
|
1725
1681
|
TrackSubscribed.typeName = "livekit.proto.TrackSubscribed";
|
|
1726
|
-
TrackSubscribed.fields =
|
|
1682
|
+
TrackSubscribed.fields = proto3.util.newFieldList(() => [
|
|
1727
1683
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1728
|
-
{ no: 2, name: "track", kind: "message", T:
|
|
1684
|
+
{ no: 2, name: "track", kind: "message", T: OwnedTrack },
|
|
1729
1685
|
]);
|
|
1730
1686
|
/**
|
|
1731
1687
|
* @generated from message livekit.proto.TrackUnsubscribed
|
|
1732
1688
|
*/
|
|
1733
|
-
class TrackUnsubscribed extends
|
|
1689
|
+
export class TrackUnsubscribed extends Message {
|
|
1734
1690
|
constructor(data) {
|
|
1735
1691
|
super();
|
|
1736
1692
|
/**
|
|
@@ -1743,7 +1699,7 @@ class TrackUnsubscribed extends protobuf_1.Message {
|
|
|
1743
1699
|
* @generated from field: string track_sid = 2;
|
|
1744
1700
|
*/
|
|
1745
1701
|
this.trackSid = "";
|
|
1746
|
-
|
|
1702
|
+
proto3.util.initPartial(data, this);
|
|
1747
1703
|
}
|
|
1748
1704
|
static fromBinary(bytes, options) {
|
|
1749
1705
|
return new TrackUnsubscribed().fromBinary(bytes, options);
|
|
@@ -1755,20 +1711,19 @@ class TrackUnsubscribed extends protobuf_1.Message {
|
|
|
1755
1711
|
return new TrackUnsubscribed().fromJsonString(jsonString, options);
|
|
1756
1712
|
}
|
|
1757
1713
|
static equals(a, b) {
|
|
1758
|
-
return
|
|
1714
|
+
return proto3.util.equals(TrackUnsubscribed, a, b);
|
|
1759
1715
|
}
|
|
1760
1716
|
}
|
|
1761
|
-
|
|
1762
|
-
TrackUnsubscribed.runtime = protobuf_1.proto3;
|
|
1717
|
+
TrackUnsubscribed.runtime = proto3;
|
|
1763
1718
|
TrackUnsubscribed.typeName = "livekit.proto.TrackUnsubscribed";
|
|
1764
|
-
TrackUnsubscribed.fields =
|
|
1719
|
+
TrackUnsubscribed.fields = proto3.util.newFieldList(() => [
|
|
1765
1720
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1766
1721
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1767
1722
|
]);
|
|
1768
1723
|
/**
|
|
1769
1724
|
* @generated from message livekit.proto.TrackSubscriptionFailed
|
|
1770
1725
|
*/
|
|
1771
|
-
class TrackSubscriptionFailed extends
|
|
1726
|
+
export class TrackSubscriptionFailed extends Message {
|
|
1772
1727
|
constructor(data) {
|
|
1773
1728
|
super();
|
|
1774
1729
|
/**
|
|
@@ -1783,7 +1738,7 @@ class TrackSubscriptionFailed extends protobuf_1.Message {
|
|
|
1783
1738
|
* @generated from field: string error = 3;
|
|
1784
1739
|
*/
|
|
1785
1740
|
this.error = "";
|
|
1786
|
-
|
|
1741
|
+
proto3.util.initPartial(data, this);
|
|
1787
1742
|
}
|
|
1788
1743
|
static fromBinary(bytes, options) {
|
|
1789
1744
|
return new TrackSubscriptionFailed().fromBinary(bytes, options);
|
|
@@ -1795,13 +1750,12 @@ class TrackSubscriptionFailed extends protobuf_1.Message {
|
|
|
1795
1750
|
return new TrackSubscriptionFailed().fromJsonString(jsonString, options);
|
|
1796
1751
|
}
|
|
1797
1752
|
static equals(a, b) {
|
|
1798
|
-
return
|
|
1753
|
+
return proto3.util.equals(TrackSubscriptionFailed, a, b);
|
|
1799
1754
|
}
|
|
1800
1755
|
}
|
|
1801
|
-
|
|
1802
|
-
TrackSubscriptionFailed.runtime = protobuf_1.proto3;
|
|
1756
|
+
TrackSubscriptionFailed.runtime = proto3;
|
|
1803
1757
|
TrackSubscriptionFailed.typeName = "livekit.proto.TrackSubscriptionFailed";
|
|
1804
|
-
TrackSubscriptionFailed.fields =
|
|
1758
|
+
TrackSubscriptionFailed.fields = proto3.util.newFieldList(() => [
|
|
1805
1759
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1806
1760
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1807
1761
|
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1809,7 +1763,7 @@ TrackSubscriptionFailed.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1809
1763
|
/**
|
|
1810
1764
|
* @generated from message livekit.proto.TrackMuted
|
|
1811
1765
|
*/
|
|
1812
|
-
class TrackMuted extends
|
|
1766
|
+
export class TrackMuted extends Message {
|
|
1813
1767
|
constructor(data) {
|
|
1814
1768
|
super();
|
|
1815
1769
|
/**
|
|
@@ -1820,7 +1774,7 @@ class TrackMuted extends protobuf_1.Message {
|
|
|
1820
1774
|
* @generated from field: string track_sid = 2;
|
|
1821
1775
|
*/
|
|
1822
1776
|
this.trackSid = "";
|
|
1823
|
-
|
|
1777
|
+
proto3.util.initPartial(data, this);
|
|
1824
1778
|
}
|
|
1825
1779
|
static fromBinary(bytes, options) {
|
|
1826
1780
|
return new TrackMuted().fromBinary(bytes, options);
|
|
@@ -1832,20 +1786,19 @@ class TrackMuted extends protobuf_1.Message {
|
|
|
1832
1786
|
return new TrackMuted().fromJsonString(jsonString, options);
|
|
1833
1787
|
}
|
|
1834
1788
|
static equals(a, b) {
|
|
1835
|
-
return
|
|
1789
|
+
return proto3.util.equals(TrackMuted, a, b);
|
|
1836
1790
|
}
|
|
1837
1791
|
}
|
|
1838
|
-
|
|
1839
|
-
TrackMuted.runtime = protobuf_1.proto3;
|
|
1792
|
+
TrackMuted.runtime = proto3;
|
|
1840
1793
|
TrackMuted.typeName = "livekit.proto.TrackMuted";
|
|
1841
|
-
TrackMuted.fields =
|
|
1794
|
+
TrackMuted.fields = proto3.util.newFieldList(() => [
|
|
1842
1795
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1843
1796
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1844
1797
|
]);
|
|
1845
1798
|
/**
|
|
1846
1799
|
* @generated from message livekit.proto.TrackUnmuted
|
|
1847
1800
|
*/
|
|
1848
|
-
class TrackUnmuted extends
|
|
1801
|
+
export class TrackUnmuted extends Message {
|
|
1849
1802
|
constructor(data) {
|
|
1850
1803
|
super();
|
|
1851
1804
|
/**
|
|
@@ -1856,7 +1809,7 @@ class TrackUnmuted extends protobuf_1.Message {
|
|
|
1856
1809
|
* @generated from field: string track_sid = 2;
|
|
1857
1810
|
*/
|
|
1858
1811
|
this.trackSid = "";
|
|
1859
|
-
|
|
1812
|
+
proto3.util.initPartial(data, this);
|
|
1860
1813
|
}
|
|
1861
1814
|
static fromBinary(bytes, options) {
|
|
1862
1815
|
return new TrackUnmuted().fromBinary(bytes, options);
|
|
@@ -1868,20 +1821,19 @@ class TrackUnmuted extends protobuf_1.Message {
|
|
|
1868
1821
|
return new TrackUnmuted().fromJsonString(jsonString, options);
|
|
1869
1822
|
}
|
|
1870
1823
|
static equals(a, b) {
|
|
1871
|
-
return
|
|
1824
|
+
return proto3.util.equals(TrackUnmuted, a, b);
|
|
1872
1825
|
}
|
|
1873
1826
|
}
|
|
1874
|
-
|
|
1875
|
-
TrackUnmuted.runtime = protobuf_1.proto3;
|
|
1827
|
+
TrackUnmuted.runtime = proto3;
|
|
1876
1828
|
TrackUnmuted.typeName = "livekit.proto.TrackUnmuted";
|
|
1877
|
-
TrackUnmuted.fields =
|
|
1829
|
+
TrackUnmuted.fields = proto3.util.newFieldList(() => [
|
|
1878
1830
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1879
1831
|
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1880
1832
|
]);
|
|
1881
1833
|
/**
|
|
1882
1834
|
* @generated from message livekit.proto.E2eeStateChanged
|
|
1883
1835
|
*/
|
|
1884
|
-
class E2eeStateChanged extends
|
|
1836
|
+
export class E2eeStateChanged extends Message {
|
|
1885
1837
|
constructor(data) {
|
|
1886
1838
|
super();
|
|
1887
1839
|
/**
|
|
@@ -1893,8 +1845,8 @@ class E2eeStateChanged extends protobuf_1.Message {
|
|
|
1893
1845
|
/**
|
|
1894
1846
|
* @generated from field: livekit.proto.EncryptionState state = 2;
|
|
1895
1847
|
*/
|
|
1896
|
-
this.state =
|
|
1897
|
-
|
|
1848
|
+
this.state = EncryptionState.NEW;
|
|
1849
|
+
proto3.util.initPartial(data, this);
|
|
1898
1850
|
}
|
|
1899
1851
|
static fromBinary(bytes, options) {
|
|
1900
1852
|
return new E2eeStateChanged().fromBinary(bytes, options);
|
|
@@ -1906,27 +1858,26 @@ class E2eeStateChanged extends protobuf_1.Message {
|
|
|
1906
1858
|
return new E2eeStateChanged().fromJsonString(jsonString, options);
|
|
1907
1859
|
}
|
|
1908
1860
|
static equals(a, b) {
|
|
1909
|
-
return
|
|
1861
|
+
return proto3.util.equals(E2eeStateChanged, a, b);
|
|
1910
1862
|
}
|
|
1911
1863
|
}
|
|
1912
|
-
|
|
1913
|
-
E2eeStateChanged.runtime = protobuf_1.proto3;
|
|
1864
|
+
E2eeStateChanged.runtime = proto3;
|
|
1914
1865
|
E2eeStateChanged.typeName = "livekit.proto.E2eeStateChanged";
|
|
1915
|
-
E2eeStateChanged.fields =
|
|
1866
|
+
E2eeStateChanged.fields = proto3.util.newFieldList(() => [
|
|
1916
1867
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1917
|
-
{ no: 2, name: "state", kind: "enum", T:
|
|
1868
|
+
{ no: 2, name: "state", kind: "enum", T: proto3.getEnumType(EncryptionState) },
|
|
1918
1869
|
]);
|
|
1919
1870
|
/**
|
|
1920
1871
|
* @generated from message livekit.proto.ActiveSpeakersChanged
|
|
1921
1872
|
*/
|
|
1922
|
-
class ActiveSpeakersChanged extends
|
|
1873
|
+
export class ActiveSpeakersChanged extends Message {
|
|
1923
1874
|
constructor(data) {
|
|
1924
1875
|
super();
|
|
1925
1876
|
/**
|
|
1926
1877
|
* @generated from field: repeated string participant_sids = 1;
|
|
1927
1878
|
*/
|
|
1928
1879
|
this.participantSids = [];
|
|
1929
|
-
|
|
1880
|
+
proto3.util.initPartial(data, this);
|
|
1930
1881
|
}
|
|
1931
1882
|
static fromBinary(bytes, options) {
|
|
1932
1883
|
return new ActiveSpeakersChanged().fromBinary(bytes, options);
|
|
@@ -1938,26 +1889,25 @@ class ActiveSpeakersChanged extends protobuf_1.Message {
|
|
|
1938
1889
|
return new ActiveSpeakersChanged().fromJsonString(jsonString, options);
|
|
1939
1890
|
}
|
|
1940
1891
|
static equals(a, b) {
|
|
1941
|
-
return
|
|
1892
|
+
return proto3.util.equals(ActiveSpeakersChanged, a, b);
|
|
1942
1893
|
}
|
|
1943
1894
|
}
|
|
1944
|
-
|
|
1945
|
-
ActiveSpeakersChanged.runtime = protobuf_1.proto3;
|
|
1895
|
+
ActiveSpeakersChanged.runtime = proto3;
|
|
1946
1896
|
ActiveSpeakersChanged.typeName = "livekit.proto.ActiveSpeakersChanged";
|
|
1947
|
-
ActiveSpeakersChanged.fields =
|
|
1897
|
+
ActiveSpeakersChanged.fields = proto3.util.newFieldList(() => [
|
|
1948
1898
|
{ no: 1, name: "participant_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1949
1899
|
]);
|
|
1950
1900
|
/**
|
|
1951
1901
|
* @generated from message livekit.proto.RoomMetadataChanged
|
|
1952
1902
|
*/
|
|
1953
|
-
class RoomMetadataChanged extends
|
|
1903
|
+
export class RoomMetadataChanged extends Message {
|
|
1954
1904
|
constructor(data) {
|
|
1955
1905
|
super();
|
|
1956
1906
|
/**
|
|
1957
1907
|
* @generated from field: string metadata = 1;
|
|
1958
1908
|
*/
|
|
1959
1909
|
this.metadata = "";
|
|
1960
|
-
|
|
1910
|
+
proto3.util.initPartial(data, this);
|
|
1961
1911
|
}
|
|
1962
1912
|
static fromBinary(bytes, options) {
|
|
1963
1913
|
return new RoomMetadataChanged().fromBinary(bytes, options);
|
|
@@ -1969,19 +1919,18 @@ class RoomMetadataChanged extends protobuf_1.Message {
|
|
|
1969
1919
|
return new RoomMetadataChanged().fromJsonString(jsonString, options);
|
|
1970
1920
|
}
|
|
1971
1921
|
static equals(a, b) {
|
|
1972
|
-
return
|
|
1922
|
+
return proto3.util.equals(RoomMetadataChanged, a, b);
|
|
1973
1923
|
}
|
|
1974
1924
|
}
|
|
1975
|
-
|
|
1976
|
-
RoomMetadataChanged.runtime = protobuf_1.proto3;
|
|
1925
|
+
RoomMetadataChanged.runtime = proto3;
|
|
1977
1926
|
RoomMetadataChanged.typeName = "livekit.proto.RoomMetadataChanged";
|
|
1978
|
-
RoomMetadataChanged.fields =
|
|
1927
|
+
RoomMetadataChanged.fields = proto3.util.newFieldList(() => [
|
|
1979
1928
|
{ no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1980
1929
|
]);
|
|
1981
1930
|
/**
|
|
1982
1931
|
* @generated from message livekit.proto.ParticipantMetadataChanged
|
|
1983
1932
|
*/
|
|
1984
|
-
class ParticipantMetadataChanged extends
|
|
1933
|
+
export class ParticipantMetadataChanged extends Message {
|
|
1985
1934
|
constructor(data) {
|
|
1986
1935
|
super();
|
|
1987
1936
|
/**
|
|
@@ -1992,7 +1941,7 @@ class ParticipantMetadataChanged extends protobuf_1.Message {
|
|
|
1992
1941
|
* @generated from field: string metadata = 2;
|
|
1993
1942
|
*/
|
|
1994
1943
|
this.metadata = "";
|
|
1995
|
-
|
|
1944
|
+
proto3.util.initPartial(data, this);
|
|
1996
1945
|
}
|
|
1997
1946
|
static fromBinary(bytes, options) {
|
|
1998
1947
|
return new ParticipantMetadataChanged().fromBinary(bytes, options);
|
|
@@ -2004,20 +1953,19 @@ class ParticipantMetadataChanged extends protobuf_1.Message {
|
|
|
2004
1953
|
return new ParticipantMetadataChanged().fromJsonString(jsonString, options);
|
|
2005
1954
|
}
|
|
2006
1955
|
static equals(a, b) {
|
|
2007
|
-
return
|
|
1956
|
+
return proto3.util.equals(ParticipantMetadataChanged, a, b);
|
|
2008
1957
|
}
|
|
2009
1958
|
}
|
|
2010
|
-
|
|
2011
|
-
ParticipantMetadataChanged.runtime = protobuf_1.proto3;
|
|
1959
|
+
ParticipantMetadataChanged.runtime = proto3;
|
|
2012
1960
|
ParticipantMetadataChanged.typeName = "livekit.proto.ParticipantMetadataChanged";
|
|
2013
|
-
ParticipantMetadataChanged.fields =
|
|
1961
|
+
ParticipantMetadataChanged.fields = proto3.util.newFieldList(() => [
|
|
2014
1962
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2015
1963
|
{ no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2016
1964
|
]);
|
|
2017
1965
|
/**
|
|
2018
1966
|
* @generated from message livekit.proto.ParticipantNameChanged
|
|
2019
1967
|
*/
|
|
2020
|
-
class ParticipantNameChanged extends
|
|
1968
|
+
export class ParticipantNameChanged extends Message {
|
|
2021
1969
|
constructor(data) {
|
|
2022
1970
|
super();
|
|
2023
1971
|
/**
|
|
@@ -2028,7 +1976,7 @@ class ParticipantNameChanged extends protobuf_1.Message {
|
|
|
2028
1976
|
* @generated from field: string name = 2;
|
|
2029
1977
|
*/
|
|
2030
1978
|
this.name = "";
|
|
2031
|
-
|
|
1979
|
+
proto3.util.initPartial(data, this);
|
|
2032
1980
|
}
|
|
2033
1981
|
static fromBinary(bytes, options) {
|
|
2034
1982
|
return new ParticipantNameChanged().fromBinary(bytes, options);
|
|
@@ -2040,20 +1988,19 @@ class ParticipantNameChanged extends protobuf_1.Message {
|
|
|
2040
1988
|
return new ParticipantNameChanged().fromJsonString(jsonString, options);
|
|
2041
1989
|
}
|
|
2042
1990
|
static equals(a, b) {
|
|
2043
|
-
return
|
|
1991
|
+
return proto3.util.equals(ParticipantNameChanged, a, b);
|
|
2044
1992
|
}
|
|
2045
1993
|
}
|
|
2046
|
-
|
|
2047
|
-
ParticipantNameChanged.runtime = protobuf_1.proto3;
|
|
1994
|
+
ParticipantNameChanged.runtime = proto3;
|
|
2048
1995
|
ParticipantNameChanged.typeName = "livekit.proto.ParticipantNameChanged";
|
|
2049
|
-
ParticipantNameChanged.fields =
|
|
1996
|
+
ParticipantNameChanged.fields = proto3.util.newFieldList(() => [
|
|
2050
1997
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2051
1998
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2052
1999
|
]);
|
|
2053
2000
|
/**
|
|
2054
2001
|
* @generated from message livekit.proto.ConnectionQualityChanged
|
|
2055
2002
|
*/
|
|
2056
|
-
class ConnectionQualityChanged extends
|
|
2003
|
+
export class ConnectionQualityChanged extends Message {
|
|
2057
2004
|
constructor(data) {
|
|
2058
2005
|
super();
|
|
2059
2006
|
/**
|
|
@@ -2064,7 +2011,7 @@ class ConnectionQualityChanged extends protobuf_1.Message {
|
|
|
2064
2011
|
* @generated from field: livekit.proto.ConnectionQuality quality = 2;
|
|
2065
2012
|
*/
|
|
2066
2013
|
this.quality = ConnectionQuality.QUALITY_POOR;
|
|
2067
|
-
|
|
2014
|
+
proto3.util.initPartial(data, this);
|
|
2068
2015
|
}
|
|
2069
2016
|
static fromBinary(bytes, options) {
|
|
2070
2017
|
return new ConnectionQualityChanged().fromBinary(bytes, options);
|
|
@@ -2076,27 +2023,26 @@ class ConnectionQualityChanged extends protobuf_1.Message {
|
|
|
2076
2023
|
return new ConnectionQualityChanged().fromJsonString(jsonString, options);
|
|
2077
2024
|
}
|
|
2078
2025
|
static equals(a, b) {
|
|
2079
|
-
return
|
|
2026
|
+
return proto3.util.equals(ConnectionQualityChanged, a, b);
|
|
2080
2027
|
}
|
|
2081
2028
|
}
|
|
2082
|
-
|
|
2083
|
-
ConnectionQualityChanged.runtime = protobuf_1.proto3;
|
|
2029
|
+
ConnectionQualityChanged.runtime = proto3;
|
|
2084
2030
|
ConnectionQualityChanged.typeName = "livekit.proto.ConnectionQualityChanged";
|
|
2085
|
-
ConnectionQualityChanged.fields =
|
|
2031
|
+
ConnectionQualityChanged.fields = proto3.util.newFieldList(() => [
|
|
2086
2032
|
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2087
|
-
{ no: 2, name: "quality", kind: "enum", T:
|
|
2033
|
+
{ no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) },
|
|
2088
2034
|
]);
|
|
2089
2035
|
/**
|
|
2090
2036
|
* @generated from message livekit.proto.DataReceived
|
|
2091
2037
|
*/
|
|
2092
|
-
class DataReceived extends
|
|
2038
|
+
export class DataReceived extends Message {
|
|
2093
2039
|
constructor(data) {
|
|
2094
2040
|
super();
|
|
2095
2041
|
/**
|
|
2096
2042
|
* @generated from field: livekit.proto.DataPacketKind kind = 3;
|
|
2097
2043
|
*/
|
|
2098
2044
|
this.kind = DataPacketKind.KIND_LOSSY;
|
|
2099
|
-
|
|
2045
|
+
proto3.util.initPartial(data, this);
|
|
2100
2046
|
}
|
|
2101
2047
|
static fromBinary(bytes, options) {
|
|
2102
2048
|
return new DataReceived().fromBinary(bytes, options);
|
|
@@ -2108,29 +2054,28 @@ class DataReceived extends protobuf_1.Message {
|
|
|
2108
2054
|
return new DataReceived().fromJsonString(jsonString, options);
|
|
2109
2055
|
}
|
|
2110
2056
|
static equals(a, b) {
|
|
2111
|
-
return
|
|
2057
|
+
return proto3.util.equals(DataReceived, a, b);
|
|
2112
2058
|
}
|
|
2113
2059
|
}
|
|
2114
|
-
|
|
2115
|
-
DataReceived.runtime = protobuf_1.proto3;
|
|
2060
|
+
DataReceived.runtime = proto3;
|
|
2116
2061
|
DataReceived.typeName = "livekit.proto.DataReceived";
|
|
2117
|
-
DataReceived.fields =
|
|
2062
|
+
DataReceived.fields = proto3.util.newFieldList(() => [
|
|
2118
2063
|
{ no: 1, name: "data", kind: "message", T: OwnedBuffer },
|
|
2119
2064
|
{ no: 2, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2120
|
-
{ no: 3, name: "kind", kind: "enum", T:
|
|
2065
|
+
{ no: 3, name: "kind", kind: "enum", T: proto3.getEnumType(DataPacketKind) },
|
|
2121
2066
|
{ no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2122
2067
|
]);
|
|
2123
2068
|
/**
|
|
2124
2069
|
* @generated from message livekit.proto.ConnectionStateChanged
|
|
2125
2070
|
*/
|
|
2126
|
-
class ConnectionStateChanged extends
|
|
2071
|
+
export class ConnectionStateChanged extends Message {
|
|
2127
2072
|
constructor(data) {
|
|
2128
2073
|
super();
|
|
2129
2074
|
/**
|
|
2130
2075
|
* @generated from field: livekit.proto.ConnectionState state = 1;
|
|
2131
2076
|
*/
|
|
2132
2077
|
this.state = ConnectionState.CONN_DISCONNECTED;
|
|
2133
|
-
|
|
2078
|
+
proto3.util.initPartial(data, this);
|
|
2134
2079
|
}
|
|
2135
2080
|
static fromBinary(bytes, options) {
|
|
2136
2081
|
return new ConnectionStateChanged().fromBinary(bytes, options);
|
|
@@ -2142,22 +2087,21 @@ class ConnectionStateChanged extends protobuf_1.Message {
|
|
|
2142
2087
|
return new ConnectionStateChanged().fromJsonString(jsonString, options);
|
|
2143
2088
|
}
|
|
2144
2089
|
static equals(a, b) {
|
|
2145
|
-
return
|
|
2090
|
+
return proto3.util.equals(ConnectionStateChanged, a, b);
|
|
2146
2091
|
}
|
|
2147
2092
|
}
|
|
2148
|
-
|
|
2149
|
-
ConnectionStateChanged.runtime = protobuf_1.proto3;
|
|
2093
|
+
ConnectionStateChanged.runtime = proto3;
|
|
2150
2094
|
ConnectionStateChanged.typeName = "livekit.proto.ConnectionStateChanged";
|
|
2151
|
-
ConnectionStateChanged.fields =
|
|
2152
|
-
{ no: 1, name: "state", kind: "enum", T:
|
|
2095
|
+
ConnectionStateChanged.fields = proto3.util.newFieldList(() => [
|
|
2096
|
+
{ no: 1, name: "state", kind: "enum", T: proto3.getEnumType(ConnectionState) },
|
|
2153
2097
|
]);
|
|
2154
2098
|
/**
|
|
2155
2099
|
* @generated from message livekit.proto.Connected
|
|
2156
2100
|
*/
|
|
2157
|
-
class Connected extends
|
|
2101
|
+
export class Connected extends Message {
|
|
2158
2102
|
constructor(data) {
|
|
2159
2103
|
super();
|
|
2160
|
-
|
|
2104
|
+
proto3.util.initPartial(data, this);
|
|
2161
2105
|
}
|
|
2162
2106
|
static fromBinary(bytes, options) {
|
|
2163
2107
|
return new Connected().fromBinary(bytes, options);
|
|
@@ -2169,20 +2113,19 @@ class Connected extends protobuf_1.Message {
|
|
|
2169
2113
|
return new Connected().fromJsonString(jsonString, options);
|
|
2170
2114
|
}
|
|
2171
2115
|
static equals(a, b) {
|
|
2172
|
-
return
|
|
2116
|
+
return proto3.util.equals(Connected, a, b);
|
|
2173
2117
|
}
|
|
2174
2118
|
}
|
|
2175
|
-
|
|
2176
|
-
Connected.runtime = protobuf_1.proto3;
|
|
2119
|
+
Connected.runtime = proto3;
|
|
2177
2120
|
Connected.typeName = "livekit.proto.Connected";
|
|
2178
|
-
Connected.fields =
|
|
2121
|
+
Connected.fields = proto3.util.newFieldList(() => []);
|
|
2179
2122
|
/**
|
|
2180
2123
|
* @generated from message livekit.proto.Disconnected
|
|
2181
2124
|
*/
|
|
2182
|
-
class Disconnected extends
|
|
2125
|
+
export class Disconnected extends Message {
|
|
2183
2126
|
constructor(data) {
|
|
2184
2127
|
super();
|
|
2185
|
-
|
|
2128
|
+
proto3.util.initPartial(data, this);
|
|
2186
2129
|
}
|
|
2187
2130
|
static fromBinary(bytes, options) {
|
|
2188
2131
|
return new Disconnected().fromBinary(bytes, options);
|
|
@@ -2194,20 +2137,19 @@ class Disconnected extends protobuf_1.Message {
|
|
|
2194
2137
|
return new Disconnected().fromJsonString(jsonString, options);
|
|
2195
2138
|
}
|
|
2196
2139
|
static equals(a, b) {
|
|
2197
|
-
return
|
|
2140
|
+
return proto3.util.equals(Disconnected, a, b);
|
|
2198
2141
|
}
|
|
2199
2142
|
}
|
|
2200
|
-
|
|
2201
|
-
Disconnected.runtime = protobuf_1.proto3;
|
|
2143
|
+
Disconnected.runtime = proto3;
|
|
2202
2144
|
Disconnected.typeName = "livekit.proto.Disconnected";
|
|
2203
|
-
Disconnected.fields =
|
|
2145
|
+
Disconnected.fields = proto3.util.newFieldList(() => []);
|
|
2204
2146
|
/**
|
|
2205
2147
|
* @generated from message livekit.proto.Reconnecting
|
|
2206
2148
|
*/
|
|
2207
|
-
class Reconnecting extends
|
|
2149
|
+
export class Reconnecting extends Message {
|
|
2208
2150
|
constructor(data) {
|
|
2209
2151
|
super();
|
|
2210
|
-
|
|
2152
|
+
proto3.util.initPartial(data, this);
|
|
2211
2153
|
}
|
|
2212
2154
|
static fromBinary(bytes, options) {
|
|
2213
2155
|
return new Reconnecting().fromBinary(bytes, options);
|
|
@@ -2219,20 +2161,19 @@ class Reconnecting extends protobuf_1.Message {
|
|
|
2219
2161
|
return new Reconnecting().fromJsonString(jsonString, options);
|
|
2220
2162
|
}
|
|
2221
2163
|
static equals(a, b) {
|
|
2222
|
-
return
|
|
2164
|
+
return proto3.util.equals(Reconnecting, a, b);
|
|
2223
2165
|
}
|
|
2224
2166
|
}
|
|
2225
|
-
|
|
2226
|
-
Reconnecting.runtime = protobuf_1.proto3;
|
|
2167
|
+
Reconnecting.runtime = proto3;
|
|
2227
2168
|
Reconnecting.typeName = "livekit.proto.Reconnecting";
|
|
2228
|
-
Reconnecting.fields =
|
|
2169
|
+
Reconnecting.fields = proto3.util.newFieldList(() => []);
|
|
2229
2170
|
/**
|
|
2230
2171
|
* @generated from message livekit.proto.Reconnected
|
|
2231
2172
|
*/
|
|
2232
|
-
class Reconnected extends
|
|
2173
|
+
export class Reconnected extends Message {
|
|
2233
2174
|
constructor(data) {
|
|
2234
2175
|
super();
|
|
2235
|
-
|
|
2176
|
+
proto3.util.initPartial(data, this);
|
|
2236
2177
|
}
|
|
2237
2178
|
static fromBinary(bytes, options) {
|
|
2238
2179
|
return new Reconnected().fromBinary(bytes, options);
|
|
@@ -2244,20 +2185,19 @@ class Reconnected extends protobuf_1.Message {
|
|
|
2244
2185
|
return new Reconnected().fromJsonString(jsonString, options);
|
|
2245
2186
|
}
|
|
2246
2187
|
static equals(a, b) {
|
|
2247
|
-
return
|
|
2188
|
+
return proto3.util.equals(Reconnected, a, b);
|
|
2248
2189
|
}
|
|
2249
2190
|
}
|
|
2250
|
-
|
|
2251
|
-
Reconnected.runtime = protobuf_1.proto3;
|
|
2191
|
+
Reconnected.runtime = proto3;
|
|
2252
2192
|
Reconnected.typeName = "livekit.proto.Reconnected";
|
|
2253
|
-
Reconnected.fields =
|
|
2193
|
+
Reconnected.fields = proto3.util.newFieldList(() => []);
|
|
2254
2194
|
/**
|
|
2255
2195
|
* @generated from message livekit.proto.RoomEOS
|
|
2256
2196
|
*/
|
|
2257
|
-
class RoomEOS extends
|
|
2197
|
+
export class RoomEOS extends Message {
|
|
2258
2198
|
constructor(data) {
|
|
2259
2199
|
super();
|
|
2260
|
-
|
|
2200
|
+
proto3.util.initPartial(data, this);
|
|
2261
2201
|
}
|
|
2262
2202
|
static fromBinary(bytes, options) {
|
|
2263
2203
|
return new RoomEOS().fromBinary(bytes, options);
|
|
@@ -2269,11 +2209,10 @@ class RoomEOS extends protobuf_1.Message {
|
|
|
2269
2209
|
return new RoomEOS().fromJsonString(jsonString, options);
|
|
2270
2210
|
}
|
|
2271
2211
|
static equals(a, b) {
|
|
2272
|
-
return
|
|
2212
|
+
return proto3.util.equals(RoomEOS, a, b);
|
|
2273
2213
|
}
|
|
2274
2214
|
}
|
|
2275
|
-
|
|
2276
|
-
RoomEOS.runtime = protobuf_1.proto3;
|
|
2215
|
+
RoomEOS.runtime = proto3;
|
|
2277
2216
|
RoomEOS.typeName = "livekit.proto.RoomEOS";
|
|
2278
|
-
RoomEOS.fields =
|
|
2217
|
+
RoomEOS.fields = proto3.util.newFieldList(() => []);
|
|
2279
2218
|
//# sourceMappingURL=room_pb.js.map
|