@cc-livekit/protocol 1.39.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/dist/index.cjs +7285 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13646 -0
- package/dist/index.d.mts +13646 -0
- package/dist/index.d.ts +13646 -0
- package/dist/index.mjs +7009 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +758 -0
- package/src/gen/livekit_agent_pb.js +269 -0
- package/src/gen/livekit_analytics_pb.d.ts +1379 -0
- package/src/gen/livekit_analytics_pb.js +397 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
- package/src/gen/livekit_cloud_agent_pb.js +327 -0
- package/src/gen/livekit_egress_pb.d.ts +2151 -0
- package/src/gen/livekit_egress_pb.js +625 -0
- package/src/gen/livekit_ingress_pb.d.ts +864 -0
- package/src/gen/livekit_ingress_pb.js +272 -0
- package/src/gen/livekit_internal_pb.d.ts +786 -0
- package/src/gen/livekit_internal_pb.js +227 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +3083 -0
- package/src/gen/livekit_models_pb.js +998 -0
- package/src/gen/livekit_room_pb.d.ts +899 -0
- package/src/gen/livekit_room_pb.js +300 -0
- package/src/gen/livekit_rtc_pb.d.ts +2134 -0
- package/src/gen/livekit_rtc_pb.js +668 -0
- package/src/gen/livekit_sip_pb.d.ts +2619 -0
- package/src/gen/livekit_sip_pb.js +771 -0
- package/src/gen/livekit_temptalk_pb.d.ts +473 -0
- package/src/gen/livekit_temptalk_pb.js +167 -0
- package/src/gen/livekit_webhook_pb.d.ts +106 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.d.ts +1 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +13 -0
|
@@ -0,0 +1,668 @@
|
|
|
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.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_rtc.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { TTCallRequest, TTCallResponse } from "./livekit_temptalk_pb.js";
|
|
22
|
+
import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum livekit.SignalTarget
|
|
26
|
+
*/
|
|
27
|
+
export const SignalTarget = /*@__PURE__*/ proto3.makeEnum(
|
|
28
|
+
"livekit.SignalTarget",
|
|
29
|
+
[
|
|
30
|
+
{no: 0, name: "PUBLISHER"},
|
|
31
|
+
{no: 1, name: "SUBSCRIBER"},
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum livekit.StreamState
|
|
37
|
+
*/
|
|
38
|
+
export const StreamState = /*@__PURE__*/ proto3.makeEnum(
|
|
39
|
+
"livekit.StreamState",
|
|
40
|
+
[
|
|
41
|
+
{no: 0, name: "ACTIVE"},
|
|
42
|
+
{no: 1, name: "PAUSED"},
|
|
43
|
+
],
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum livekit.CandidateProtocol
|
|
48
|
+
*/
|
|
49
|
+
export const CandidateProtocol = /*@__PURE__*/ proto3.makeEnum(
|
|
50
|
+
"livekit.CandidateProtocol",
|
|
51
|
+
[
|
|
52
|
+
{no: 0, name: "UDP"},
|
|
53
|
+
{no: 1, name: "TCP"},
|
|
54
|
+
{no: 2, name: "TLS"},
|
|
55
|
+
],
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from message livekit.SignalRequest
|
|
60
|
+
*/
|
|
61
|
+
export const SignalRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
62
|
+
"livekit.SignalRequest",
|
|
63
|
+
() => [
|
|
64
|
+
{ no: 1, name: "offer", kind: "message", T: SessionDescription, oneof: "message" },
|
|
65
|
+
{ no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" },
|
|
66
|
+
{ no: 3, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" },
|
|
67
|
+
{ no: 4, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "message" },
|
|
68
|
+
{ no: 5, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" },
|
|
69
|
+
{ no: 6, name: "subscription", kind: "message", T: UpdateSubscription, oneof: "message" },
|
|
70
|
+
{ no: 7, name: "track_setting", kind: "message", T: UpdateTrackSettings, oneof: "message" },
|
|
71
|
+
{ no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" },
|
|
72
|
+
{ no: 10, name: "update_layers", kind: "message", T: UpdateVideoLayers, oneof: "message" },
|
|
73
|
+
{ no: 11, name: "subscription_permission", kind: "message", T: SubscriptionPermission, oneof: "message" },
|
|
74
|
+
{ no: 12, name: "sync_state", kind: "message", T: SyncState, oneof: "message" },
|
|
75
|
+
{ no: 13, name: "simulate", kind: "message", T: SimulateScenario, oneof: "message" },
|
|
76
|
+
{ no: 14, name: "ping", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" },
|
|
77
|
+
{ no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
|
|
78
|
+
{ no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
|
|
79
|
+
{ no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
|
|
80
|
+
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
|
|
81
|
+
{ no: 1001, name: "tt_call_request", kind: "message", T: TTCallRequest, oneof: "message" },
|
|
82
|
+
],
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from message livekit.SignalResponse
|
|
87
|
+
*/
|
|
88
|
+
export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
89
|
+
"livekit.SignalResponse",
|
|
90
|
+
() => [
|
|
91
|
+
{ no: 1, name: "join", kind: "message", T: JoinResponse, oneof: "message" },
|
|
92
|
+
{ no: 2, name: "answer", kind: "message", T: SessionDescription, oneof: "message" },
|
|
93
|
+
{ no: 3, name: "offer", kind: "message", T: SessionDescription, oneof: "message" },
|
|
94
|
+
{ no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "message" },
|
|
95
|
+
{ no: 5, name: "update", kind: "message", T: ParticipantUpdate, oneof: "message" },
|
|
96
|
+
{ no: 6, name: "track_published", kind: "message", T: TrackPublishedResponse, oneof: "message" },
|
|
97
|
+
{ no: 8, name: "leave", kind: "message", T: LeaveRequest, oneof: "message" },
|
|
98
|
+
{ no: 9, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "message" },
|
|
99
|
+
{ no: 10, name: "speakers_changed", kind: "message", T: SpeakersChanged, oneof: "message" },
|
|
100
|
+
{ no: 11, name: "room_update", kind: "message", T: RoomUpdate, oneof: "message" },
|
|
101
|
+
{ no: 12, name: "connection_quality", kind: "message", T: ConnectionQualityUpdate, oneof: "message" },
|
|
102
|
+
{ no: 13, name: "stream_state_update", kind: "message", T: StreamStateUpdate, oneof: "message" },
|
|
103
|
+
{ no: 14, name: "subscribed_quality_update", kind: "message", T: SubscribedQualityUpdate, oneof: "message" },
|
|
104
|
+
{ no: 15, name: "subscription_permission_update", kind: "message", T: SubscriptionPermissionUpdate, oneof: "message" },
|
|
105
|
+
{ no: 16, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
|
|
106
|
+
{ no: 17, name: "track_unpublished", kind: "message", T: TrackUnpublishedResponse, oneof: "message" },
|
|
107
|
+
{ no: 18, name: "pong", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "message" },
|
|
108
|
+
{ no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" },
|
|
109
|
+
{ no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
|
|
110
|
+
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
111
|
+
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
112
|
+
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
113
|
+
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
114
|
+
],
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from message livekit.SimulcastCodec
|
|
119
|
+
*/
|
|
120
|
+
export const SimulcastCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
121
|
+
"livekit.SimulcastCodec",
|
|
122
|
+
() => [
|
|
123
|
+
{ no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
124
|
+
{ no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
125
|
+
],
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message livekit.AddTrackRequest
|
|
130
|
+
*/
|
|
131
|
+
export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
132
|
+
"livekit.AddTrackRequest",
|
|
133
|
+
() => [
|
|
134
|
+
{ no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(TrackType) },
|
|
137
|
+
{ no: 4, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
138
|
+
{ no: 5, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
139
|
+
{ no: 6, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
140
|
+
{ no: 7, name: "disable_dtx", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
141
|
+
{ no: 8, name: "source", kind: "enum", T: proto3.getEnumType(TrackSource) },
|
|
142
|
+
{ no: 9, name: "layers", kind: "message", T: VideoLayer, repeated: true },
|
|
143
|
+
{ no: 10, name: "simulcast_codecs", kind: "message", T: SimulcastCodec, repeated: true },
|
|
144
|
+
{ no: 11, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 12, name: "stereo", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
146
|
+
{ no: 13, name: "disable_red", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
147
|
+
{ no: 14, name: "encryption", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
148
|
+
{ no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
|
|
150
|
+
{ no: 17, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
151
|
+
],
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message livekit.TrickleRequest
|
|
156
|
+
*/
|
|
157
|
+
export const TrickleRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
158
|
+
"livekit.TrickleRequest",
|
|
159
|
+
() => [
|
|
160
|
+
{ no: 1, name: "candidateInit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
+
{ no: 2, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) },
|
|
162
|
+
{ no: 3, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
163
|
+
],
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message livekit.MuteTrackRequest
|
|
168
|
+
*/
|
|
169
|
+
export const MuteTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
170
|
+
"livekit.MuteTrackRequest",
|
|
171
|
+
() => [
|
|
172
|
+
{ no: 1, name: "sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
173
|
+
{ no: 2, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
174
|
+
],
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from message livekit.JoinResponse
|
|
179
|
+
*/
|
|
180
|
+
export const JoinResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
181
|
+
"livekit.JoinResponse",
|
|
182
|
+
() => [
|
|
183
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
184
|
+
{ no: 2, name: "participant", kind: "message", T: ParticipantInfo },
|
|
185
|
+
{ no: 3, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
186
|
+
{ no: 4, name: "server_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
|
+
{ no: 5, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
|
|
188
|
+
{ no: 6, name: "subscriber_primary", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
189
|
+
{ no: 7, name: "alternative_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
190
|
+
{ no: 8, name: "client_configuration", kind: "message", T: ClientConfiguration },
|
|
191
|
+
{ no: 9, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
192
|
+
{ no: 10, name: "ping_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
193
|
+
{ no: 11, name: "ping_interval", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
194
|
+
{ no: 12, name: "server_info", kind: "message", T: ServerInfo },
|
|
195
|
+
{ no: 13, name: "sif_trailer", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
196
|
+
{ no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true },
|
|
197
|
+
{ no: 15, name: "fast_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
198
|
+
{ no: 1001, name: "tt_call_response", kind: "message", T: TTCallResponse, opt: true },
|
|
199
|
+
],
|
|
200
|
+
);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message livekit.ReconnectResponse
|
|
204
|
+
*/
|
|
205
|
+
export const ReconnectResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
206
|
+
"livekit.ReconnectResponse",
|
|
207
|
+
() => [
|
|
208
|
+
{ no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
|
|
209
|
+
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration },
|
|
210
|
+
{ no: 3, name: "server_info", kind: "message", T: ServerInfo },
|
|
211
|
+
{ no: 4, name: "last_message_seq", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
212
|
+
],
|
|
213
|
+
);
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from message livekit.TrackPublishedResponse
|
|
217
|
+
*/
|
|
218
|
+
export const TrackPublishedResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
219
|
+
"livekit.TrackPublishedResponse",
|
|
220
|
+
() => [
|
|
221
|
+
{ no: 1, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
+
{ no: 2, name: "track", kind: "message", T: TrackInfo },
|
|
223
|
+
],
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from message livekit.TrackUnpublishedResponse
|
|
228
|
+
*/
|
|
229
|
+
export const TrackUnpublishedResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
230
|
+
"livekit.TrackUnpublishedResponse",
|
|
231
|
+
() => [
|
|
232
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
233
|
+
],
|
|
234
|
+
);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from message livekit.SessionDescription
|
|
238
|
+
*/
|
|
239
|
+
export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType(
|
|
240
|
+
"livekit.SessionDescription",
|
|
241
|
+
() => [
|
|
242
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
243
|
+
{ no: 2, name: "sdp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
244
|
+
{ no: 3, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
245
|
+
],
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message livekit.ParticipantUpdate
|
|
250
|
+
*/
|
|
251
|
+
export const ParticipantUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
252
|
+
"livekit.ParticipantUpdate",
|
|
253
|
+
() => [
|
|
254
|
+
{ no: 1, name: "participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
255
|
+
],
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from message livekit.UpdateSubscription
|
|
260
|
+
*/
|
|
261
|
+
export const UpdateSubscription = /*@__PURE__*/ proto3.makeMessageType(
|
|
262
|
+
"livekit.UpdateSubscription",
|
|
263
|
+
() => [
|
|
264
|
+
{ no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
265
|
+
{ no: 2, name: "subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
266
|
+
{ no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true },
|
|
267
|
+
],
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message livekit.UpdateTrackSettings
|
|
272
|
+
*/
|
|
273
|
+
export const UpdateTrackSettings = /*@__PURE__*/ proto3.makeMessageType(
|
|
274
|
+
"livekit.UpdateTrackSettings",
|
|
275
|
+
() => [
|
|
276
|
+
{ no: 1, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
277
|
+
{ no: 3, name: "disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
278
|
+
{ no: 4, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
|
|
279
|
+
{ no: 5, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
280
|
+
{ no: 6, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
281
|
+
{ no: 7, name: "fps", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
282
|
+
{ no: 8, name: "priority", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
283
|
+
],
|
|
284
|
+
);
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message livekit.UpdateLocalAudioTrack
|
|
288
|
+
*/
|
|
289
|
+
export const UpdateLocalAudioTrack = /*@__PURE__*/ proto3.makeMessageType(
|
|
290
|
+
"livekit.UpdateLocalAudioTrack",
|
|
291
|
+
() => [
|
|
292
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
293
|
+
{ no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
294
|
+
],
|
|
295
|
+
);
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message livekit.UpdateLocalVideoTrack
|
|
299
|
+
*/
|
|
300
|
+
export const UpdateLocalVideoTrack = /*@__PURE__*/ proto3.makeMessageType(
|
|
301
|
+
"livekit.UpdateLocalVideoTrack",
|
|
302
|
+
() => [
|
|
303
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
304
|
+
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
305
|
+
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
306
|
+
],
|
|
307
|
+
);
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* @generated from message livekit.LeaveRequest
|
|
311
|
+
*/
|
|
312
|
+
export const LeaveRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
313
|
+
"livekit.LeaveRequest",
|
|
314
|
+
() => [
|
|
315
|
+
{ no: 1, name: "can_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
316
|
+
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
317
|
+
{ no: 3, name: "action", kind: "enum", T: proto3.getEnumType(LeaveRequest_Action) },
|
|
318
|
+
{ no: 4, name: "regions", kind: "message", T: RegionSettings },
|
|
319
|
+
],
|
|
320
|
+
);
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* indicates action clients should take on receiving this message
|
|
324
|
+
*
|
|
325
|
+
* @generated from enum livekit.LeaveRequest.Action
|
|
326
|
+
*/
|
|
327
|
+
export const LeaveRequest_Action = /*@__PURE__*/ proto3.makeEnum(
|
|
328
|
+
"livekit.LeaveRequest.Action",
|
|
329
|
+
[
|
|
330
|
+
{no: 0, name: "DISCONNECT"},
|
|
331
|
+
{no: 1, name: "RESUME"},
|
|
332
|
+
{no: 2, name: "RECONNECT"},
|
|
333
|
+
],
|
|
334
|
+
);
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* message to indicate published video track dimensions are changing
|
|
338
|
+
*
|
|
339
|
+
* @generated from message livekit.UpdateVideoLayers
|
|
340
|
+
* @deprecated
|
|
341
|
+
*/
|
|
342
|
+
export const UpdateVideoLayers = /*@__PURE__*/ proto3.makeMessageType(
|
|
343
|
+
"livekit.UpdateVideoLayers",
|
|
344
|
+
() => [
|
|
345
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
346
|
+
{ no: 2, name: "layers", kind: "message", T: VideoLayer, repeated: true },
|
|
347
|
+
],
|
|
348
|
+
);
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @generated from message livekit.UpdateParticipantMetadata
|
|
352
|
+
*/
|
|
353
|
+
export const UpdateParticipantMetadata = /*@__PURE__*/ proto3.makeMessageType(
|
|
354
|
+
"livekit.UpdateParticipantMetadata",
|
|
355
|
+
() => [
|
|
356
|
+
{ no: 1, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
358
|
+
{ no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
359
|
+
{ no: 4, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
360
|
+
],
|
|
361
|
+
);
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @generated from message livekit.ICEServer
|
|
365
|
+
*/
|
|
366
|
+
export const ICEServer = /*@__PURE__*/ proto3.makeMessageType(
|
|
367
|
+
"livekit.ICEServer",
|
|
368
|
+
() => [
|
|
369
|
+
{ no: 1, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
370
|
+
{ no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
371
|
+
{ no: 3, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
372
|
+
],
|
|
373
|
+
);
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from message livekit.SpeakersChanged
|
|
377
|
+
*/
|
|
378
|
+
export const SpeakersChanged = /*@__PURE__*/ proto3.makeMessageType(
|
|
379
|
+
"livekit.SpeakersChanged",
|
|
380
|
+
() => [
|
|
381
|
+
{ no: 1, name: "speakers", kind: "message", T: SpeakerInfo, repeated: true },
|
|
382
|
+
],
|
|
383
|
+
);
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from message livekit.RoomUpdate
|
|
387
|
+
*/
|
|
388
|
+
export const RoomUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
389
|
+
"livekit.RoomUpdate",
|
|
390
|
+
() => [
|
|
391
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
392
|
+
],
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @generated from message livekit.ConnectionQualityInfo
|
|
397
|
+
*/
|
|
398
|
+
export const ConnectionQualityInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
399
|
+
"livekit.ConnectionQualityInfo",
|
|
400
|
+
() => [
|
|
401
|
+
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
402
|
+
{ no: 2, name: "quality", kind: "enum", T: proto3.getEnumType(ConnectionQuality) },
|
|
403
|
+
{ no: 3, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
404
|
+
],
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message livekit.ConnectionQualityUpdate
|
|
409
|
+
*/
|
|
410
|
+
export const ConnectionQualityUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
411
|
+
"livekit.ConnectionQualityUpdate",
|
|
412
|
+
() => [
|
|
413
|
+
{ no: 1, name: "updates", kind: "message", T: ConnectionQualityInfo, repeated: true },
|
|
414
|
+
],
|
|
415
|
+
);
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message livekit.StreamStateInfo
|
|
419
|
+
*/
|
|
420
|
+
export const StreamStateInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
421
|
+
"livekit.StreamStateInfo",
|
|
422
|
+
() => [
|
|
423
|
+
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
424
|
+
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
425
|
+
{ no: 3, name: "state", kind: "enum", T: proto3.getEnumType(StreamState) },
|
|
426
|
+
],
|
|
427
|
+
);
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @generated from message livekit.StreamStateUpdate
|
|
431
|
+
*/
|
|
432
|
+
export const StreamStateUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
433
|
+
"livekit.StreamStateUpdate",
|
|
434
|
+
() => [
|
|
435
|
+
{ no: 1, name: "stream_states", kind: "message", T: StreamStateInfo, repeated: true },
|
|
436
|
+
],
|
|
437
|
+
);
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* @generated from message livekit.SubscribedQuality
|
|
441
|
+
*/
|
|
442
|
+
export const SubscribedQuality = /*@__PURE__*/ proto3.makeMessageType(
|
|
443
|
+
"livekit.SubscribedQuality",
|
|
444
|
+
() => [
|
|
445
|
+
{ no: 1, name: "quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
|
|
446
|
+
{ no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
447
|
+
],
|
|
448
|
+
);
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @generated from message livekit.SubscribedCodec
|
|
452
|
+
*/
|
|
453
|
+
export const SubscribedCodec = /*@__PURE__*/ proto3.makeMessageType(
|
|
454
|
+
"livekit.SubscribedCodec",
|
|
455
|
+
() => [
|
|
456
|
+
{ no: 1, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
|
+
{ no: 2, name: "qualities", kind: "message", T: SubscribedQuality, repeated: true },
|
|
458
|
+
],
|
|
459
|
+
);
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* @generated from message livekit.SubscribedQualityUpdate
|
|
463
|
+
*/
|
|
464
|
+
export const SubscribedQualityUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
465
|
+
"livekit.SubscribedQualityUpdate",
|
|
466
|
+
() => [
|
|
467
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
468
|
+
{ no: 2, name: "subscribed_qualities", kind: "message", T: SubscribedQuality, repeated: true },
|
|
469
|
+
{ no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true },
|
|
470
|
+
],
|
|
471
|
+
);
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @generated from message livekit.TrackPermission
|
|
475
|
+
*/
|
|
476
|
+
export const TrackPermission = /*@__PURE__*/ proto3.makeMessageType(
|
|
477
|
+
"livekit.TrackPermission",
|
|
478
|
+
() => [
|
|
479
|
+
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
480
|
+
{ no: 2, name: "all_tracks", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
481
|
+
{ no: 3, name: "track_sids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
482
|
+
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
483
|
+
],
|
|
484
|
+
);
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* @generated from message livekit.SubscriptionPermission
|
|
488
|
+
*/
|
|
489
|
+
export const SubscriptionPermission = /*@__PURE__*/ proto3.makeMessageType(
|
|
490
|
+
"livekit.SubscriptionPermission",
|
|
491
|
+
() => [
|
|
492
|
+
{ no: 1, name: "all_participants", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
493
|
+
{ no: 2, name: "track_permissions", kind: "message", T: TrackPermission, repeated: true },
|
|
494
|
+
],
|
|
495
|
+
);
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @generated from message livekit.SubscriptionPermissionUpdate
|
|
499
|
+
*/
|
|
500
|
+
export const SubscriptionPermissionUpdate = /*@__PURE__*/ proto3.makeMessageType(
|
|
501
|
+
"livekit.SubscriptionPermissionUpdate",
|
|
502
|
+
() => [
|
|
503
|
+
{ no: 1, name: "participant_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
504
|
+
{ no: 2, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
505
|
+
{ no: 3, name: "allowed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
506
|
+
],
|
|
507
|
+
);
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @generated from message livekit.RoomMovedResponse
|
|
511
|
+
*/
|
|
512
|
+
export const RoomMovedResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
513
|
+
"livekit.RoomMovedResponse",
|
|
514
|
+
() => [
|
|
515
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
516
|
+
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
517
|
+
{ no: 3, name: "participant", kind: "message", T: ParticipantInfo },
|
|
518
|
+
{ no: 4, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true },
|
|
519
|
+
],
|
|
520
|
+
);
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* @generated from message livekit.SyncState
|
|
524
|
+
*/
|
|
525
|
+
export const SyncState = /*@__PURE__*/ proto3.makeMessageType(
|
|
526
|
+
"livekit.SyncState",
|
|
527
|
+
() => [
|
|
528
|
+
{ no: 1, name: "answer", kind: "message", T: SessionDescription },
|
|
529
|
+
{ no: 2, name: "subscription", kind: "message", T: UpdateSubscription },
|
|
530
|
+
{ no: 3, name: "publish_tracks", kind: "message", T: TrackPublishedResponse, repeated: true },
|
|
531
|
+
{ no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true },
|
|
532
|
+
{ no: 5, name: "offer", kind: "message", T: SessionDescription },
|
|
533
|
+
{ no: 6, name: "track_sids_disabled", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
534
|
+
{ no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
|
|
535
|
+
],
|
|
536
|
+
);
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @generated from message livekit.DataChannelReceiveState
|
|
540
|
+
*/
|
|
541
|
+
export const DataChannelReceiveState = /*@__PURE__*/ proto3.makeMessageType(
|
|
542
|
+
"livekit.DataChannelReceiveState",
|
|
543
|
+
() => [
|
|
544
|
+
{ no: 1, name: "publisher_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
545
|
+
{ no: 2, name: "last_seq", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
546
|
+
],
|
|
547
|
+
);
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* @generated from message livekit.DataChannelInfo
|
|
551
|
+
*/
|
|
552
|
+
export const DataChannelInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
553
|
+
"livekit.DataChannelInfo",
|
|
554
|
+
() => [
|
|
555
|
+
{ no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
556
|
+
{ no: 2, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
557
|
+
{ no: 3, name: "target", kind: "enum", T: proto3.getEnumType(SignalTarget) },
|
|
558
|
+
],
|
|
559
|
+
);
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @generated from message livekit.SimulateScenario
|
|
563
|
+
*/
|
|
564
|
+
export const SimulateScenario = /*@__PURE__*/ proto3.makeMessageType(
|
|
565
|
+
"livekit.SimulateScenario",
|
|
566
|
+
() => [
|
|
567
|
+
{ no: 1, name: "speaker_update", kind: "scalar", T: 5 /* ScalarType.INT32 */, oneof: "scenario" },
|
|
568
|
+
{ no: 2, name: "node_failure", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
569
|
+
{ no: 3, name: "migration", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
570
|
+
{ no: 4, name: "server_leave", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
571
|
+
{ no: 5, name: "switch_candidate_protocol", kind: "enum", T: proto3.getEnumType(CandidateProtocol), oneof: "scenario" },
|
|
572
|
+
{ no: 6, name: "subscriber_bandwidth", kind: "scalar", T: 3 /* ScalarType.INT64 */, oneof: "scenario" },
|
|
573
|
+
{ no: 7, name: "disconnect_signal_on_resume", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
574
|
+
{ no: 8, name: "disconnect_signal_on_resume_no_messages", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
575
|
+
{ no: 9, name: "leave_request_full_reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "scenario" },
|
|
576
|
+
],
|
|
577
|
+
);
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @generated from message livekit.Ping
|
|
581
|
+
*/
|
|
582
|
+
export const Ping = /*@__PURE__*/ proto3.makeMessageType(
|
|
583
|
+
"livekit.Ping",
|
|
584
|
+
() => [
|
|
585
|
+
{ no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
586
|
+
{ no: 2, name: "rtt", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
587
|
+
],
|
|
588
|
+
);
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @generated from message livekit.Pong
|
|
592
|
+
*/
|
|
593
|
+
export const Pong = /*@__PURE__*/ proto3.makeMessageType(
|
|
594
|
+
"livekit.Pong",
|
|
595
|
+
() => [
|
|
596
|
+
{ no: 1, name: "last_ping_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
597
|
+
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
598
|
+
],
|
|
599
|
+
);
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @generated from message livekit.RegionSettings
|
|
603
|
+
*/
|
|
604
|
+
export const RegionSettings = /*@__PURE__*/ proto3.makeMessageType(
|
|
605
|
+
"livekit.RegionSettings",
|
|
606
|
+
() => [
|
|
607
|
+
{ no: 1, name: "regions", kind: "message", T: RegionInfo, repeated: true },
|
|
608
|
+
],
|
|
609
|
+
);
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @generated from message livekit.RegionInfo
|
|
613
|
+
*/
|
|
614
|
+
export const RegionInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
615
|
+
"livekit.RegionInfo",
|
|
616
|
+
() => [
|
|
617
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
618
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
619
|
+
{ no: 3, name: "distance", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
620
|
+
],
|
|
621
|
+
);
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from message livekit.SubscriptionResponse
|
|
625
|
+
*/
|
|
626
|
+
export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
627
|
+
"livekit.SubscriptionResponse",
|
|
628
|
+
() => [
|
|
629
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
630
|
+
{ no: 2, name: "err", kind: "enum", T: proto3.getEnumType(SubscriptionError) },
|
|
631
|
+
],
|
|
632
|
+
);
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* @generated from message livekit.RequestResponse
|
|
636
|
+
*/
|
|
637
|
+
export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
638
|
+
"livekit.RequestResponse",
|
|
639
|
+
() => [
|
|
640
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
641
|
+
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
|
|
642
|
+
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
643
|
+
],
|
|
644
|
+
);
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* @generated from enum livekit.RequestResponse.Reason
|
|
648
|
+
*/
|
|
649
|
+
export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
650
|
+
"livekit.RequestResponse.Reason",
|
|
651
|
+
[
|
|
652
|
+
{no: 0, name: "OK"},
|
|
653
|
+
{no: 1, name: "NOT_FOUND"},
|
|
654
|
+
{no: 2, name: "NOT_ALLOWED"},
|
|
655
|
+
{no: 3, name: "LIMIT_EXCEEDED"},
|
|
656
|
+
],
|
|
657
|
+
);
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @generated from message livekit.TrackSubscribed
|
|
661
|
+
*/
|
|
662
|
+
export const TrackSubscribed = /*@__PURE__*/ proto3.makeMessageType(
|
|
663
|
+
"livekit.TrackSubscribed",
|
|
664
|
+
() => [
|
|
665
|
+
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
666
|
+
],
|
|
667
|
+
);
|
|
668
|
+
|