@livekit/protocol 1.19.1 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/gen/livekit_agent_dispatch_pb.d.ts +248 -0
- package/src/gen/livekit_agent_dispatch_pb.js +102 -0
- package/src/gen/livekit_agent_pb.d.ts +25 -223
- package/src/gen/livekit_agent_pb.js +5 -75
- package/src/gen/livekit_analytics_pb.d.ts +798 -0
- package/src/gen/livekit_analytics_pb.js +245 -0
- package/src/gen/livekit_egress_pb.d.ts +10 -0
- package/src/gen/livekit_egress_pb.js +2 -0
- package/src/gen/livekit_internal_pb.d.ts +616 -0
- package/src/gen/livekit_internal_pb.js +189 -0
- package/src/gen/livekit_models_pb.d.ts +25 -0
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/livekit_room_pb.d.ts +13 -4
- package/src/gen/livekit_room_pb.js +3 -2
- package/src/gen/livekit_rtc_pb.d.ts +39 -2
- package/src/gen/livekit_rtc_pb.js +13 -1
- package/src/gen/version.js +1 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// Copyright 2023 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file livekit_internal.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
|
|
22
|
+
import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
|
|
23
|
+
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum livekit.NodeType
|
|
27
|
+
*/
|
|
28
|
+
export const NodeType = /*@__PURE__*/ proto3.makeEnum(
|
|
29
|
+
"livekit.NodeType",
|
|
30
|
+
[
|
|
31
|
+
{no: 0, name: "SERVER"},
|
|
32
|
+
{no: 1, name: "CONTROLLER"},
|
|
33
|
+
{no: 2, name: "MEDIA"},
|
|
34
|
+
{no: 4, name: "TURN"},
|
|
35
|
+
{no: 5, name: "SWEEPER"},
|
|
36
|
+
{no: 6, name: "DIRECTOR"},
|
|
37
|
+
],
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum livekit.NodeState
|
|
42
|
+
*/
|
|
43
|
+
export const NodeState = /*@__PURE__*/ proto3.makeEnum(
|
|
44
|
+
"livekit.NodeState",
|
|
45
|
+
[
|
|
46
|
+
{no: 0, name: "STARTING_UP"},
|
|
47
|
+
{no: 1, name: "SERVING"},
|
|
48
|
+
{no: 2, name: "SHUTTING_DOWN"},
|
|
49
|
+
],
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from enum livekit.ICECandidateType
|
|
54
|
+
*/
|
|
55
|
+
export const ICECandidateType = /*@__PURE__*/ proto3.makeEnum(
|
|
56
|
+
"livekit.ICECandidateType",
|
|
57
|
+
[
|
|
58
|
+
{no: 0, name: "ICT_NONE"},
|
|
59
|
+
{no: 1, name: "ICT_TCP"},
|
|
60
|
+
{no: 2, name: "ICT_TLS"},
|
|
61
|
+
],
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from message livekit.Node
|
|
66
|
+
*/
|
|
67
|
+
export const Node = /*@__PURE__*/ proto3.makeMessageType(
|
|
68
|
+
"livekit.Node",
|
|
69
|
+
() => [
|
|
70
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
71
|
+
{ no: 2, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 3, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
73
|
+
{ no: 4, name: "stats", kind: "message", T: NodeStats },
|
|
74
|
+
{ no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) },
|
|
75
|
+
{ no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) },
|
|
76
|
+
{ no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
],
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from message livekit.NodeStats
|
|
82
|
+
*/
|
|
83
|
+
export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
84
|
+
"livekit.NodeStats",
|
|
85
|
+
() => [
|
|
86
|
+
{ no: 1, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
87
|
+
{ no: 2, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
88
|
+
{ no: 3, name: "num_rooms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
89
|
+
{ no: 4, name: "num_clients", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
90
|
+
{ no: 5, name: "num_tracks_in", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
91
|
+
{ no: 6, name: "num_tracks_out", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
92
|
+
{ no: 36, name: "num_track_publish_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
93
|
+
{ no: 37, name: "track_publish_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
94
|
+
{ no: 38, name: "num_track_publish_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
95
|
+
{ no: 39, name: "track_publish_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
96
|
+
{ no: 40, name: "num_track_subscribe_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
97
|
+
{ no: 41, name: "track_subscribe_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
98
|
+
{ no: 42, name: "num_track_subscribe_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
99
|
+
{ no: 43, name: "track_subscribe_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
100
|
+
{ no: 7, name: "bytes_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
101
|
+
{ no: 8, name: "bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
102
|
+
{ no: 9, name: "packets_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
103
|
+
{ no: 10, name: "packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
104
|
+
{ no: 11, name: "nack_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
105
|
+
{ no: 12, name: "bytes_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
106
|
+
{ no: 13, name: "bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
107
|
+
{ no: 14, name: "packets_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
108
|
+
{ no: 15, name: "packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
109
|
+
{ no: 16, name: "nack_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
110
|
+
{ no: 17, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
111
|
+
{ no: 18, name: "load_avg_last1min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
112
|
+
{ no: 19, name: "load_avg_last5min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
113
|
+
{ no: 20, name: "load_avg_last15min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
114
|
+
{ no: 21, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
115
|
+
{ no: 33, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
116
|
+
{ no: 34, name: "memory_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
117
|
+
{ no: 35, name: "memory_used", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
118
|
+
{ no: 28, name: "sys_packets_out", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
119
|
+
{ no: 29, name: "sys_packets_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
120
|
+
{ no: 30, name: "sys_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
121
|
+
{ no: 31, name: "sys_packets_dropped_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
122
|
+
{ no: 32, name: "sys_packets_dropped_pct_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
123
|
+
{ no: 22, name: "retransmit_bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
124
|
+
{ no: 23, name: "retransmit_packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
125
|
+
{ no: 24, name: "retransmit_bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
126
|
+
{ no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
127
|
+
{ no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
128
|
+
{ no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
129
|
+
{ no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
130
|
+
{ no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
131
|
+
{ no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
132
|
+
{ no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
133
|
+
{ no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
134
|
+
{ no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
135
|
+
],
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message livekit.StartSession
|
|
140
|
+
*/
|
|
141
|
+
export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
|
|
142
|
+
"livekit.StartSession",
|
|
143
|
+
() => [
|
|
144
|
+
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
+
{ no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
147
|
+
{ no: 4, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
148
|
+
{ no: 9, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
149
|
+
{ no: 10, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
150
|
+
{ no: 11, name: "client", kind: "message", T: ClientInfo },
|
|
151
|
+
{ no: 12, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
152
|
+
{ no: 13, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
153
|
+
{ no: 14, name: "grants_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
154
|
+
{ no: 15, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
155
|
+
{ no: 16, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
+
{ no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
157
|
+
{ no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
158
|
+
{ no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
159
|
+
],
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* room info that should not be returned to clients
|
|
164
|
+
*
|
|
165
|
+
* @generated from message livekit.RoomInternal
|
|
166
|
+
*/
|
|
167
|
+
export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType(
|
|
168
|
+
"livekit.RoomInternal",
|
|
169
|
+
() => [
|
|
170
|
+
{ no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress },
|
|
171
|
+
{ no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress },
|
|
172
|
+
{ no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay },
|
|
173
|
+
{ no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
174
|
+
{ no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
175
|
+
{ no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
176
|
+
],
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from message livekit.ICEConfig
|
|
181
|
+
*/
|
|
182
|
+
export const ICEConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
183
|
+
"livekit.ICEConfig",
|
|
184
|
+
() => [
|
|
185
|
+
{ no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) },
|
|
186
|
+
{ no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) },
|
|
187
|
+
],
|
|
188
|
+
);
|
|
189
|
+
|
|
@@ -215,49 +215,74 @@ export declare enum DisconnectReason {
|
|
|
215
215
|
UNKNOWN_REASON = 0,
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
+
* the client initiated the disconnect
|
|
219
|
+
*
|
|
218
220
|
* @generated from enum value: CLIENT_INITIATED = 1;
|
|
219
221
|
*/
|
|
220
222
|
CLIENT_INITIATED = 1,
|
|
221
223
|
|
|
222
224
|
/**
|
|
225
|
+
* another participant with the same identity has joined the room
|
|
226
|
+
*
|
|
223
227
|
* @generated from enum value: DUPLICATE_IDENTITY = 2;
|
|
224
228
|
*/
|
|
225
229
|
DUPLICATE_IDENTITY = 2,
|
|
226
230
|
|
|
227
231
|
/**
|
|
232
|
+
* the server instance is shutting down
|
|
233
|
+
*
|
|
228
234
|
* @generated from enum value: SERVER_SHUTDOWN = 3;
|
|
229
235
|
*/
|
|
230
236
|
SERVER_SHUTDOWN = 3,
|
|
231
237
|
|
|
232
238
|
/**
|
|
239
|
+
* RoomService.RemoveParticipant was called
|
|
240
|
+
*
|
|
233
241
|
* @generated from enum value: PARTICIPANT_REMOVED = 4;
|
|
234
242
|
*/
|
|
235
243
|
PARTICIPANT_REMOVED = 4,
|
|
236
244
|
|
|
237
245
|
/**
|
|
246
|
+
* RoomService.DeleteRoom was called
|
|
247
|
+
*
|
|
238
248
|
* @generated from enum value: ROOM_DELETED = 5;
|
|
239
249
|
*/
|
|
240
250
|
ROOM_DELETED = 5,
|
|
241
251
|
|
|
242
252
|
/**
|
|
253
|
+
* the client is attempting to resume a session, but server is not aware of it
|
|
254
|
+
*
|
|
243
255
|
* @generated from enum value: STATE_MISMATCH = 6;
|
|
244
256
|
*/
|
|
245
257
|
STATE_MISMATCH = 6,
|
|
246
258
|
|
|
247
259
|
/**
|
|
260
|
+
* client was unable to connect fully
|
|
261
|
+
*
|
|
248
262
|
* @generated from enum value: JOIN_FAILURE = 7;
|
|
249
263
|
*/
|
|
250
264
|
JOIN_FAILURE = 7,
|
|
251
265
|
|
|
252
266
|
/**
|
|
267
|
+
* Cloud-only, the server requested Participant to migrate the connection elsewhere
|
|
268
|
+
*
|
|
253
269
|
* @generated from enum value: MIGRATION = 8;
|
|
254
270
|
*/
|
|
255
271
|
MIGRATION = 8,
|
|
256
272
|
|
|
257
273
|
/**
|
|
274
|
+
* the signal websocket was closed unexpectedly
|
|
275
|
+
*
|
|
258
276
|
* @generated from enum value: SIGNAL_CLOSE = 9;
|
|
259
277
|
*/
|
|
260
278
|
SIGNAL_CLOSE = 9,
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* the room was closed, due to all Standard and Ingress participants having left
|
|
282
|
+
*
|
|
283
|
+
* @generated from enum value: ROOM_CLOSED = 10;
|
|
284
|
+
*/
|
|
285
|
+
ROOM_CLOSED = 10,
|
|
261
286
|
}
|
|
262
287
|
|
|
263
288
|
/**
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
import type { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
|
|
23
|
-
import type {
|
|
23
|
+
import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
24
24
|
import type { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -35,7 +35,7 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
|
35
35
|
name: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* configuration to use for this room parameters. Setting parameters below override the config defaults.
|
|
38
|
+
* configuration to use for this room parameters. Setting parameters below override the config defaults.
|
|
39
39
|
*
|
|
40
40
|
* @generated from field: string config_name = 12;
|
|
41
41
|
*/
|
|
@@ -110,6 +110,15 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
|
110
110
|
*/
|
|
111
111
|
syncStreams: boolean;
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* replay
|
|
115
|
+
*
|
|
116
|
+
* NEXT-ID: 14
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: bool replay_enabled = 13;
|
|
119
|
+
*/
|
|
120
|
+
replayEnabled: boolean;
|
|
121
|
+
|
|
113
122
|
constructor(data?: PartialMessage<CreateRoomRequest>);
|
|
114
123
|
|
|
115
124
|
static readonly runtime: typeof proto3;
|
|
@@ -164,9 +173,9 @@ export declare class RoomEgress extends Message<RoomEgress> {
|
|
|
164
173
|
*/
|
|
165
174
|
export declare class RoomAgent extends Message<RoomAgent> {
|
|
166
175
|
/**
|
|
167
|
-
* @generated from field: repeated livekit.
|
|
176
|
+
* @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1;
|
|
168
177
|
*/
|
|
169
|
-
|
|
178
|
+
dispatches: RoomAgentDispatch[];
|
|
170
179
|
|
|
171
180
|
constructor(data?: PartialMessage<RoomAgent>);
|
|
172
181
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
21
|
import { AutoParticipantEgress, AutoTrackEgress, RoomCompositeEgressRequest } from "./livekit_egress_pb.js";
|
|
22
|
-
import {
|
|
22
|
+
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
23
23
|
import { DataPacket_Kind, ParticipantInfo, ParticipantPermission, ParticipantTracks, Room, TrackInfo } from "./livekit_models_pb.js";
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -40,6 +40,7 @@ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
40
40
|
{ no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
41
41
|
{ no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
42
42
|
{ no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
43
|
+
{ no: 13, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
43
44
|
],
|
|
44
45
|
);
|
|
45
46
|
|
|
@@ -61,7 +62,7 @@ export const RoomEgress = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
61
62
|
export const RoomAgent = /*@__PURE__*/ proto3.makeMessageType(
|
|
62
63
|
"livekit.RoomAgent",
|
|
63
64
|
() => [
|
|
64
|
-
{ no: 1, name: "
|
|
65
|
+
{ no: 1, name: "dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
65
66
|
],
|
|
66
67
|
);
|
|
67
68
|
|
|
@@ -407,6 +407,14 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
407
407
|
*/
|
|
408
408
|
value: ErrorResponse;
|
|
409
409
|
case: "errorResponse";
|
|
410
|
+
} | {
|
|
411
|
+
/**
|
|
412
|
+
* notify to the publisher when a published track has been subscribed for the first time
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: livekit.TrackSubscribed track_subscribed = 23;
|
|
415
|
+
*/
|
|
416
|
+
value: TrackSubscribed;
|
|
417
|
+
case: "trackSubscribed";
|
|
410
418
|
} | { case: undefined; value?: undefined };
|
|
411
419
|
|
|
412
420
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -576,6 +584,11 @@ export declare class TrickleRequest extends Message<TrickleRequest> {
|
|
|
576
584
|
*/
|
|
577
585
|
target: SignalTarget;
|
|
578
586
|
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: bool final = 3;
|
|
589
|
+
*/
|
|
590
|
+
final: boolean;
|
|
591
|
+
|
|
579
592
|
constructor(data?: PartialMessage<TrickleRequest>);
|
|
580
593
|
|
|
581
594
|
static readonly runtime: typeof proto3;
|
|
@@ -1945,8 +1958,32 @@ export declare enum ErrorResponse_Reason {
|
|
|
1945
1958
|
NOT_ALLOWED = 2,
|
|
1946
1959
|
|
|
1947
1960
|
/**
|
|
1948
|
-
* @generated from enum value:
|
|
1961
|
+
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
1949
1962
|
*/
|
|
1950
|
-
|
|
1963
|
+
LIMIT_EXCEEDED = 3,
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* @generated from message livekit.TrackSubscribed
|
|
1968
|
+
*/
|
|
1969
|
+
export declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
1970
|
+
/**
|
|
1971
|
+
* @generated from field: string track_sid = 1;
|
|
1972
|
+
*/
|
|
1973
|
+
trackSid: string;
|
|
1974
|
+
|
|
1975
|
+
constructor(data?: PartialMessage<TrackSubscribed>);
|
|
1976
|
+
|
|
1977
|
+
static readonly runtime: typeof proto3;
|
|
1978
|
+
static readonly typeName = "livekit.TrackSubscribed";
|
|
1979
|
+
static readonly fields: FieldList;
|
|
1980
|
+
|
|
1981
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackSubscribed;
|
|
1982
|
+
|
|
1983
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackSubscribed;
|
|
1984
|
+
|
|
1985
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscribed;
|
|
1986
|
+
|
|
1987
|
+
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
1951
1988
|
}
|
|
1952
1989
|
|
|
@@ -107,6 +107,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
107
107
|
{ no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
|
|
108
108
|
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
109
109
|
{ no: 22, name: "error_response", kind: "message", T: ErrorResponse, oneof: "message" },
|
|
110
|
+
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
110
111
|
],
|
|
111
112
|
);
|
|
112
113
|
|
|
@@ -153,6 +154,7 @@ export const TrickleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
153
154
|
() => [
|
|
154
155
|
{ no: 1, name: "candidateInit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
155
156
|
{ no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) },
|
|
157
|
+
{ no: 3, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
156
158
|
],
|
|
157
159
|
);
|
|
158
160
|
|
|
@@ -614,7 +616,17 @@ export const ErrorResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
|
614
616
|
{no: 0, name: "UNKNOWN"},
|
|
615
617
|
{no: 1, name: "NOT_FOUND"},
|
|
616
618
|
{no: 2, name: "NOT_ALLOWED"},
|
|
617
|
-
{no: 3, name: "
|
|
619
|
+
{no: 3, name: "LIMIT_EXCEEDED"},
|
|
620
|
+
],
|
|
621
|
+
);
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from message livekit.TrackSubscribed
|
|
625
|
+
*/
|
|
626
|
+
export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType(
|
|
627
|
+
"livekit.TrackSubscribed",
|
|
628
|
+
() => [
|
|
629
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
618
630
|
],
|
|
619
631
|
);
|
|
620
632
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.19.
|
|
2
|
+
export const version = '1.19.3';
|