@livekit/rtc-node 0.10.4 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +48 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +143 -24
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +207 -47
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
package/dist/proto/room_pb.d.ts
CHANGED
|
@@ -1,469 +1,320 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { VideoCodec } from "./video_frame_pb.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { E2eeOptions, EncryptionState } from "./e2ee_pb.js";
|
|
3
|
+
import type { FfiOwnedHandle } from "./handle_pb.js";
|
|
4
|
+
import type { OwnedParticipant } from "./participant_pb.js";
|
|
5
|
+
import type { OwnedTrack, OwnedTrackPublication, TrackSource } from "./track_pb.js";
|
|
6
|
+
import type { VideoCodec } from "./video_frame_pb.js";
|
|
7
|
+
import type { RtcStats } from "./stats_pb.js";
|
|
8
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Describes the file room.proto.
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
12
|
+
export declare const file_room: GenFile;
|
|
13
|
+
/**
|
|
14
|
+
* Connect to a new LiveKit room
|
|
15
|
+
*
|
|
16
|
+
* @generated from message livekit.proto.ConnectRequest
|
|
17
|
+
*/
|
|
18
|
+
export type ConnectRequest = Message<"livekit.proto.ConnectRequest"> & {
|
|
13
19
|
/**
|
|
14
|
-
* @generated from
|
|
20
|
+
* @generated from field: required string url = 1;
|
|
15
21
|
*/
|
|
16
|
-
|
|
22
|
+
url: string;
|
|
17
23
|
/**
|
|
18
|
-
* @generated from
|
|
24
|
+
* @generated from field: required string token = 2;
|
|
19
25
|
*/
|
|
20
|
-
|
|
26
|
+
token: string;
|
|
21
27
|
/**
|
|
22
|
-
* @generated from
|
|
28
|
+
* @generated from field: required livekit.proto.RoomOptions options = 3;
|
|
23
29
|
*/
|
|
24
|
-
|
|
25
|
-
}
|
|
30
|
+
options?: RoomOptions;
|
|
31
|
+
};
|
|
26
32
|
/**
|
|
27
|
-
*
|
|
33
|
+
* Describes the message livekit.proto.ConnectRequest.
|
|
34
|
+
* Use `create(ConnectRequestSchema)` to create a new message.
|
|
28
35
|
*/
|
|
29
|
-
export declare
|
|
30
|
-
/**
|
|
31
|
-
* @generated from enum value: GATHER_ONCE = 0;
|
|
32
|
-
*/
|
|
33
|
-
GATHER_ONCE = 0,
|
|
34
|
-
/**
|
|
35
|
-
* @generated from enum value: GATHER_CONTINUALLY = 1;
|
|
36
|
-
*/
|
|
37
|
-
GATHER_CONTINUALLY = 1
|
|
38
|
-
}
|
|
36
|
+
export declare const ConnectRequestSchema: GenMessage<ConnectRequest>;
|
|
39
37
|
/**
|
|
40
|
-
* @generated from
|
|
38
|
+
* @generated from message livekit.proto.ConnectResponse
|
|
41
39
|
*/
|
|
42
|
-
export
|
|
40
|
+
export type ConnectResponse = Message<"livekit.proto.ConnectResponse"> & {
|
|
43
41
|
/**
|
|
44
|
-
* @generated from
|
|
42
|
+
* @generated from field: required uint64 async_id = 1;
|
|
45
43
|
*/
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
* @generated from enum value: QUALITY_GOOD = 1;
|
|
49
|
-
*/
|
|
50
|
-
QUALITY_GOOD = 1,
|
|
51
|
-
/**
|
|
52
|
-
* @generated from enum value: QUALITY_EXCELLENT = 2;
|
|
53
|
-
*/
|
|
54
|
-
QUALITY_EXCELLENT = 2,
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum value: QUALITY_LOST = 3;
|
|
57
|
-
*/
|
|
58
|
-
QUALITY_LOST = 3
|
|
59
|
-
}
|
|
44
|
+
asyncId: bigint;
|
|
45
|
+
};
|
|
60
46
|
/**
|
|
61
|
-
*
|
|
47
|
+
* Describes the message livekit.proto.ConnectResponse.
|
|
48
|
+
* Use `create(ConnectResponseSchema)` to create a new message.
|
|
62
49
|
*/
|
|
63
|
-
export declare
|
|
64
|
-
/**
|
|
65
|
-
* @generated from enum value: CONN_DISCONNECTED = 0;
|
|
66
|
-
*/
|
|
67
|
-
CONN_DISCONNECTED = 0,
|
|
68
|
-
/**
|
|
69
|
-
* @generated from enum value: CONN_CONNECTED = 1;
|
|
70
|
-
*/
|
|
71
|
-
CONN_CONNECTED = 1,
|
|
72
|
-
/**
|
|
73
|
-
* @generated from enum value: CONN_RECONNECTING = 2;
|
|
74
|
-
*/
|
|
75
|
-
CONN_RECONNECTING = 2
|
|
76
|
-
}
|
|
50
|
+
export declare const ConnectResponseSchema: GenMessage<ConnectResponse>;
|
|
77
51
|
/**
|
|
78
|
-
* @generated from
|
|
52
|
+
* @generated from message livekit.proto.ConnectCallback
|
|
79
53
|
*/
|
|
80
|
-
export
|
|
54
|
+
export type ConnectCallback = Message<"livekit.proto.ConnectCallback"> & {
|
|
81
55
|
/**
|
|
82
|
-
* @generated from
|
|
56
|
+
* @generated from field: required uint64 async_id = 1;
|
|
83
57
|
*/
|
|
84
|
-
|
|
58
|
+
asyncId: bigint;
|
|
85
59
|
/**
|
|
86
|
-
* @generated from
|
|
60
|
+
* @generated from oneof livekit.proto.ConnectCallback.message
|
|
87
61
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
62
|
+
message: {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string error = 2;
|
|
65
|
+
*/
|
|
66
|
+
value: string;
|
|
67
|
+
case: "error";
|
|
68
|
+
} | {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: livekit.proto.ConnectCallback.Result result = 3;
|
|
71
|
+
*/
|
|
72
|
+
value: ConnectCallback_Result;
|
|
73
|
+
case: "result";
|
|
74
|
+
} | {
|
|
75
|
+
case: undefined;
|
|
76
|
+
value?: undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
90
79
|
/**
|
|
91
|
-
*
|
|
80
|
+
* Describes the message livekit.proto.ConnectCallback.
|
|
81
|
+
* Use `create(ConnectCallbackSchema)` to create a new message.
|
|
92
82
|
*/
|
|
93
|
-
export declare
|
|
94
|
-
/**
|
|
95
|
-
* @generated from enum value: UNKNOWN_REASON = 0;
|
|
96
|
-
*/
|
|
97
|
-
UNKNOWN_REASON = 0,
|
|
98
|
-
/**
|
|
99
|
-
* the client initiated the disconnect
|
|
100
|
-
*
|
|
101
|
-
* @generated from enum value: CLIENT_INITIATED = 1;
|
|
102
|
-
*/
|
|
103
|
-
CLIENT_INITIATED = 1,
|
|
104
|
-
/**
|
|
105
|
-
* another participant with the same identity has joined the room
|
|
106
|
-
*
|
|
107
|
-
* @generated from enum value: DUPLICATE_IDENTITY = 2;
|
|
108
|
-
*/
|
|
109
|
-
DUPLICATE_IDENTITY = 2,
|
|
110
|
-
/**
|
|
111
|
-
* the server instance is shutting down
|
|
112
|
-
*
|
|
113
|
-
* @generated from enum value: SERVER_SHUTDOWN = 3;
|
|
114
|
-
*/
|
|
115
|
-
SERVER_SHUTDOWN = 3,
|
|
116
|
-
/**
|
|
117
|
-
* RoomService.RemoveParticipant was called
|
|
118
|
-
*
|
|
119
|
-
* @generated from enum value: PARTICIPANT_REMOVED = 4;
|
|
120
|
-
*/
|
|
121
|
-
PARTICIPANT_REMOVED = 4,
|
|
122
|
-
/**
|
|
123
|
-
* RoomService.DeleteRoom was called
|
|
124
|
-
*
|
|
125
|
-
* @generated from enum value: ROOM_DELETED = 5;
|
|
126
|
-
*/
|
|
127
|
-
ROOM_DELETED = 5,
|
|
128
|
-
/**
|
|
129
|
-
* the client is attempting to resume a session, but server is not aware of it
|
|
130
|
-
*
|
|
131
|
-
* @generated from enum value: STATE_MISMATCH = 6;
|
|
132
|
-
*/
|
|
133
|
-
STATE_MISMATCH = 6,
|
|
134
|
-
/**
|
|
135
|
-
* client was unable to connect fully
|
|
136
|
-
*
|
|
137
|
-
* @generated from enum value: JOIN_FAILURE = 7;
|
|
138
|
-
*/
|
|
139
|
-
JOIN_FAILURE = 7,
|
|
140
|
-
/**
|
|
141
|
-
* Cloud-only, the server requested Participant to migrate the connection elsewhere
|
|
142
|
-
*
|
|
143
|
-
* @generated from enum value: MIGRATION = 8;
|
|
144
|
-
*/
|
|
145
|
-
MIGRATION = 8,
|
|
146
|
-
/**
|
|
147
|
-
* the signal websocket was closed unexpectedly
|
|
148
|
-
*
|
|
149
|
-
* @generated from enum value: SIGNAL_CLOSE = 9;
|
|
150
|
-
*/
|
|
151
|
-
SIGNAL_CLOSE = 9,
|
|
152
|
-
/**
|
|
153
|
-
* the room was closed, due to all Standard and Ingress participants having left
|
|
154
|
-
*
|
|
155
|
-
* @generated from enum value: ROOM_CLOSED = 10;
|
|
156
|
-
*/
|
|
157
|
-
ROOM_CLOSED = 10
|
|
158
|
-
}
|
|
83
|
+
export declare const ConnectCallbackSchema: GenMessage<ConnectCallback>;
|
|
159
84
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* @generated from message livekit.proto.ConnectRequest
|
|
85
|
+
* @generated from message livekit.proto.ConnectCallback.ParticipantWithTracks
|
|
163
86
|
*/
|
|
164
|
-
export
|
|
87
|
+
export type ConnectCallback_ParticipantWithTracks = Message<"livekit.proto.ConnectCallback.ParticipantWithTracks"> & {
|
|
165
88
|
/**
|
|
166
|
-
* @generated from field:
|
|
89
|
+
* @generated from field: required livekit.proto.OwnedParticipant participant = 1;
|
|
167
90
|
*/
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @generated from field: string token = 2;
|
|
171
|
-
*/
|
|
172
|
-
token: string;
|
|
91
|
+
participant?: OwnedParticipant;
|
|
173
92
|
/**
|
|
174
|
-
*
|
|
93
|
+
* TrackInfo are not needed here, if we're subscribed to a track, the FfiServer will send
|
|
94
|
+
* a TrackSubscribed event
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2;
|
|
175
97
|
*/
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
static readonly runtime: typeof proto3;
|
|
179
|
-
static readonly typeName = "livekit.proto.ConnectRequest";
|
|
180
|
-
static readonly fields: FieldList;
|
|
181
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectRequest;
|
|
182
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectRequest;
|
|
183
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectRequest;
|
|
184
|
-
static equals(a: ConnectRequest | PlainMessage<ConnectRequest> | undefined, b: ConnectRequest | PlainMessage<ConnectRequest> | undefined): boolean;
|
|
185
|
-
}
|
|
98
|
+
publications: OwnedTrackPublication[];
|
|
99
|
+
};
|
|
186
100
|
/**
|
|
187
|
-
*
|
|
101
|
+
* Describes the message livekit.proto.ConnectCallback.ParticipantWithTracks.
|
|
102
|
+
* Use `create(ConnectCallback_ParticipantWithTracksSchema)` to create a new message.
|
|
188
103
|
*/
|
|
189
|
-
export declare
|
|
190
|
-
/**
|
|
191
|
-
* @generated from field: uint64 async_id = 1;
|
|
192
|
-
*/
|
|
193
|
-
asyncId: bigint;
|
|
194
|
-
constructor(data?: PartialMessage<ConnectResponse>);
|
|
195
|
-
static readonly runtime: typeof proto3;
|
|
196
|
-
static readonly typeName = "livekit.proto.ConnectResponse";
|
|
197
|
-
static readonly fields: FieldList;
|
|
198
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectResponse;
|
|
199
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectResponse;
|
|
200
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectResponse;
|
|
201
|
-
static equals(a: ConnectResponse | PlainMessage<ConnectResponse> | undefined, b: ConnectResponse | PlainMessage<ConnectResponse> | undefined): boolean;
|
|
202
|
-
}
|
|
104
|
+
export declare const ConnectCallback_ParticipantWithTracksSchema: GenMessage<ConnectCallback_ParticipantWithTracks>;
|
|
203
105
|
/**
|
|
204
|
-
* @generated from message livekit.proto.ConnectCallback
|
|
106
|
+
* @generated from message livekit.proto.ConnectCallback.Result
|
|
205
107
|
*/
|
|
206
|
-
export
|
|
207
|
-
/**
|
|
208
|
-
* @generated from field: uint64 async_id = 1;
|
|
209
|
-
*/
|
|
210
|
-
asyncId: bigint;
|
|
108
|
+
export type ConnectCallback_Result = Message<"livekit.proto.ConnectCallback.Result"> & {
|
|
211
109
|
/**
|
|
212
|
-
* @generated from field:
|
|
213
|
-
*/
|
|
214
|
-
error?: string;
|
|
215
|
-
/**
|
|
216
|
-
* @generated from field: livekit.proto.OwnedRoom room = 3;
|
|
110
|
+
* @generated from field: required livekit.proto.OwnedRoom room = 1;
|
|
217
111
|
*/
|
|
218
112
|
room?: OwnedRoom;
|
|
219
113
|
/**
|
|
220
|
-
* @generated from field: livekit.proto.OwnedParticipant local_participant =
|
|
114
|
+
* @generated from field: required livekit.proto.OwnedParticipant local_participant = 2;
|
|
221
115
|
*/
|
|
222
116
|
localParticipant?: OwnedParticipant;
|
|
223
117
|
/**
|
|
224
|
-
* @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants =
|
|
118
|
+
* @generated from field: repeated livekit.proto.ConnectCallback.ParticipantWithTracks participants = 3;
|
|
225
119
|
*/
|
|
226
120
|
participants: ConnectCallback_ParticipantWithTracks[];
|
|
227
|
-
|
|
228
|
-
static readonly runtime: typeof proto3;
|
|
229
|
-
static readonly typeName = "livekit.proto.ConnectCallback";
|
|
230
|
-
static readonly fields: FieldList;
|
|
231
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectCallback;
|
|
232
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectCallback;
|
|
233
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectCallback;
|
|
234
|
-
static equals(a: ConnectCallback | PlainMessage<ConnectCallback> | undefined, b: ConnectCallback | PlainMessage<ConnectCallback> | undefined): boolean;
|
|
235
|
-
}
|
|
121
|
+
};
|
|
236
122
|
/**
|
|
237
|
-
*
|
|
123
|
+
* Describes the message livekit.proto.ConnectCallback.Result.
|
|
124
|
+
* Use `create(ConnectCallback_ResultSchema)` to create a new message.
|
|
238
125
|
*/
|
|
239
|
-
export declare
|
|
240
|
-
/**
|
|
241
|
-
* @generated from field: livekit.proto.OwnedParticipant participant = 1;
|
|
242
|
-
*/
|
|
243
|
-
participant?: OwnedParticipant;
|
|
244
|
-
/**
|
|
245
|
-
* TrackInfo are not needed here, if we're subscribed to a track, the FfiServer will send
|
|
246
|
-
* a TrackSubscribed event
|
|
247
|
-
*
|
|
248
|
-
* @generated from field: repeated livekit.proto.OwnedTrackPublication publications = 2;
|
|
249
|
-
*/
|
|
250
|
-
publications: OwnedTrackPublication[];
|
|
251
|
-
constructor(data?: PartialMessage<ConnectCallback_ParticipantWithTracks>);
|
|
252
|
-
static readonly runtime: typeof proto3;
|
|
253
|
-
static readonly typeName = "livekit.proto.ConnectCallback.ParticipantWithTracks";
|
|
254
|
-
static readonly fields: FieldList;
|
|
255
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
256
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
257
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectCallback_ParticipantWithTracks;
|
|
258
|
-
static equals(a: ConnectCallback_ParticipantWithTracks | PlainMessage<ConnectCallback_ParticipantWithTracks> | undefined, b: ConnectCallback_ParticipantWithTracks | PlainMessage<ConnectCallback_ParticipantWithTracks> | undefined): boolean;
|
|
259
|
-
}
|
|
126
|
+
export declare const ConnectCallback_ResultSchema: GenMessage<ConnectCallback_Result>;
|
|
260
127
|
/**
|
|
261
128
|
* Disconnect from the a room
|
|
262
129
|
*
|
|
263
130
|
* @generated from message livekit.proto.DisconnectRequest
|
|
264
131
|
*/
|
|
265
|
-
export
|
|
132
|
+
export type DisconnectRequest = Message<"livekit.proto.DisconnectRequest"> & {
|
|
266
133
|
/**
|
|
267
|
-
* @generated from field: uint64 room_handle = 1;
|
|
134
|
+
* @generated from field: required uint64 room_handle = 1;
|
|
268
135
|
*/
|
|
269
136
|
roomHandle: bigint;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectRequest;
|
|
277
|
-
static equals(a: DisconnectRequest | PlainMessage<DisconnectRequest> | undefined, b: DisconnectRequest | PlainMessage<DisconnectRequest> | undefined): boolean;
|
|
278
|
-
}
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message livekit.proto.DisconnectRequest.
|
|
140
|
+
* Use `create(DisconnectRequestSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export declare const DisconnectRequestSchema: GenMessage<DisconnectRequest>;
|
|
279
143
|
/**
|
|
280
144
|
* @generated from message livekit.proto.DisconnectResponse
|
|
281
145
|
*/
|
|
282
|
-
export
|
|
146
|
+
export type DisconnectResponse = Message<"livekit.proto.DisconnectResponse"> & {
|
|
283
147
|
/**
|
|
284
|
-
* @generated from field: uint64 async_id = 1;
|
|
148
|
+
* @generated from field: required uint64 async_id = 1;
|
|
285
149
|
*/
|
|
286
150
|
asyncId: bigint;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectResponse;
|
|
294
|
-
static equals(a: DisconnectResponse | PlainMessage<DisconnectResponse> | undefined, b: DisconnectResponse | PlainMessage<DisconnectResponse> | undefined): boolean;
|
|
295
|
-
}
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message livekit.proto.DisconnectResponse.
|
|
154
|
+
* Use `create(DisconnectResponseSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const DisconnectResponseSchema: GenMessage<DisconnectResponse>;
|
|
296
157
|
/**
|
|
297
158
|
* @generated from message livekit.proto.DisconnectCallback
|
|
298
159
|
*/
|
|
299
|
-
export
|
|
160
|
+
export type DisconnectCallback = Message<"livekit.proto.DisconnectCallback"> & {
|
|
300
161
|
/**
|
|
301
|
-
* @generated from field: uint64 async_id = 1;
|
|
162
|
+
* @generated from field: required uint64 async_id = 1;
|
|
302
163
|
*/
|
|
303
164
|
asyncId: bigint;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisconnectCallback;
|
|
311
|
-
static equals(a: DisconnectCallback | PlainMessage<DisconnectCallback> | undefined, b: DisconnectCallback | PlainMessage<DisconnectCallback> | undefined): boolean;
|
|
312
|
-
}
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message livekit.proto.DisconnectCallback.
|
|
168
|
+
* Use `create(DisconnectCallbackSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export declare const DisconnectCallbackSchema: GenMessage<DisconnectCallback>;
|
|
313
171
|
/**
|
|
314
172
|
* Publish a track to the room
|
|
315
173
|
*
|
|
316
174
|
* @generated from message livekit.proto.PublishTrackRequest
|
|
317
175
|
*/
|
|
318
|
-
export
|
|
176
|
+
export type PublishTrackRequest = Message<"livekit.proto.PublishTrackRequest"> & {
|
|
319
177
|
/**
|
|
320
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
178
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
321
179
|
*/
|
|
322
180
|
localParticipantHandle: bigint;
|
|
323
181
|
/**
|
|
324
|
-
* @generated from field: uint64 track_handle = 2;
|
|
182
|
+
* @generated from field: required uint64 track_handle = 2;
|
|
325
183
|
*/
|
|
326
184
|
trackHandle: bigint;
|
|
327
185
|
/**
|
|
328
|
-
* @generated from field: livekit.proto.TrackPublishOptions options = 3;
|
|
186
|
+
* @generated from field: required livekit.proto.TrackPublishOptions options = 3;
|
|
329
187
|
*/
|
|
330
188
|
options?: TrackPublishOptions;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTrackRequest;
|
|
338
|
-
static equals(a: PublishTrackRequest | PlainMessage<PublishTrackRequest> | undefined, b: PublishTrackRequest | PlainMessage<PublishTrackRequest> | undefined): boolean;
|
|
339
|
-
}
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message livekit.proto.PublishTrackRequest.
|
|
192
|
+
* Use `create(PublishTrackRequestSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const PublishTrackRequestSchema: GenMessage<PublishTrackRequest>;
|
|
340
195
|
/**
|
|
341
196
|
* @generated from message livekit.proto.PublishTrackResponse
|
|
342
197
|
*/
|
|
343
|
-
export
|
|
198
|
+
export type PublishTrackResponse = Message<"livekit.proto.PublishTrackResponse"> & {
|
|
344
199
|
/**
|
|
345
|
-
* @generated from field: uint64 async_id = 1;
|
|
200
|
+
* @generated from field: required uint64 async_id = 1;
|
|
346
201
|
*/
|
|
347
202
|
asyncId: bigint;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTrackResponse;
|
|
355
|
-
static equals(a: PublishTrackResponse | PlainMessage<PublishTrackResponse> | undefined, b: PublishTrackResponse | PlainMessage<PublishTrackResponse> | undefined): boolean;
|
|
356
|
-
}
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message livekit.proto.PublishTrackResponse.
|
|
206
|
+
* Use `create(PublishTrackResponseSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export declare const PublishTrackResponseSchema: GenMessage<PublishTrackResponse>;
|
|
357
209
|
/**
|
|
358
210
|
* @generated from message livekit.proto.PublishTrackCallback
|
|
359
211
|
*/
|
|
360
|
-
export
|
|
212
|
+
export type PublishTrackCallback = Message<"livekit.proto.PublishTrackCallback"> & {
|
|
361
213
|
/**
|
|
362
|
-
* @generated from field: uint64 async_id = 1;
|
|
214
|
+
* @generated from field: required uint64 async_id = 1;
|
|
363
215
|
*/
|
|
364
216
|
asyncId: bigint;
|
|
365
217
|
/**
|
|
366
|
-
* @generated from
|
|
218
|
+
* @generated from oneof livekit.proto.PublishTrackCallback.message
|
|
367
219
|
*/
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
220
|
+
message: {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: string error = 2;
|
|
223
|
+
*/
|
|
224
|
+
value: string;
|
|
225
|
+
case: "error";
|
|
226
|
+
} | {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: livekit.proto.OwnedTrackPublication publication = 3;
|
|
229
|
+
*/
|
|
230
|
+
value: OwnedTrackPublication;
|
|
231
|
+
case: "publication";
|
|
232
|
+
} | {
|
|
233
|
+
case: undefined;
|
|
234
|
+
value?: undefined;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Describes the message livekit.proto.PublishTrackCallback.
|
|
239
|
+
* Use `create(PublishTrackCallbackSchema)` to create a new message.
|
|
240
|
+
*/
|
|
241
|
+
export declare const PublishTrackCallbackSchema: GenMessage<PublishTrackCallback>;
|
|
382
242
|
/**
|
|
383
243
|
* Unpublish a track from the room
|
|
384
244
|
*
|
|
385
245
|
* @generated from message livekit.proto.UnpublishTrackRequest
|
|
386
246
|
*/
|
|
387
|
-
export
|
|
247
|
+
export type UnpublishTrackRequest = Message<"livekit.proto.UnpublishTrackRequest"> & {
|
|
388
248
|
/**
|
|
389
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
249
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
390
250
|
*/
|
|
391
251
|
localParticipantHandle: bigint;
|
|
392
252
|
/**
|
|
393
|
-
* @generated from field: string track_sid = 2;
|
|
253
|
+
* @generated from field: required string track_sid = 2;
|
|
394
254
|
*/
|
|
395
255
|
trackSid: string;
|
|
396
256
|
/**
|
|
397
|
-
* @generated from field: bool stop_on_unpublish = 3;
|
|
257
|
+
* @generated from field: required bool stop_on_unpublish = 3;
|
|
398
258
|
*/
|
|
399
259
|
stopOnUnpublish: boolean;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackRequest;
|
|
407
|
-
static equals(a: UnpublishTrackRequest | PlainMessage<UnpublishTrackRequest> | undefined, b: UnpublishTrackRequest | PlainMessage<UnpublishTrackRequest> | undefined): boolean;
|
|
408
|
-
}
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Describes the message livekit.proto.UnpublishTrackRequest.
|
|
263
|
+
* Use `create(UnpublishTrackRequestSchema)` to create a new message.
|
|
264
|
+
*/
|
|
265
|
+
export declare const UnpublishTrackRequestSchema: GenMessage<UnpublishTrackRequest>;
|
|
409
266
|
/**
|
|
410
267
|
* @generated from message livekit.proto.UnpublishTrackResponse
|
|
411
268
|
*/
|
|
412
|
-
export
|
|
269
|
+
export type UnpublishTrackResponse = Message<"livekit.proto.UnpublishTrackResponse"> & {
|
|
413
270
|
/**
|
|
414
|
-
* @generated from field: uint64 async_id = 1;
|
|
271
|
+
* @generated from field: required uint64 async_id = 1;
|
|
415
272
|
*/
|
|
416
273
|
asyncId: bigint;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackResponse;
|
|
424
|
-
static equals(a: UnpublishTrackResponse | PlainMessage<UnpublishTrackResponse> | undefined, b: UnpublishTrackResponse | PlainMessage<UnpublishTrackResponse> | undefined): boolean;
|
|
425
|
-
}
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message livekit.proto.UnpublishTrackResponse.
|
|
277
|
+
* Use `create(UnpublishTrackResponseSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export declare const UnpublishTrackResponseSchema: GenMessage<UnpublishTrackResponse>;
|
|
426
280
|
/**
|
|
427
281
|
* @generated from message livekit.proto.UnpublishTrackCallback
|
|
428
282
|
*/
|
|
429
|
-
export
|
|
283
|
+
export type UnpublishTrackCallback = Message<"livekit.proto.UnpublishTrackCallback"> & {
|
|
430
284
|
/**
|
|
431
|
-
* @generated from field: uint64 async_id = 1;
|
|
285
|
+
* @generated from field: required uint64 async_id = 1;
|
|
432
286
|
*/
|
|
433
287
|
asyncId: bigint;
|
|
434
288
|
/**
|
|
435
289
|
* @generated from field: optional string error = 2;
|
|
436
290
|
*/
|
|
437
|
-
error
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishTrackCallback;
|
|
445
|
-
static equals(a: UnpublishTrackCallback | PlainMessage<UnpublishTrackCallback> | undefined, b: UnpublishTrackCallback | PlainMessage<UnpublishTrackCallback> | undefined): boolean;
|
|
446
|
-
}
|
|
291
|
+
error: string;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Describes the message livekit.proto.UnpublishTrackCallback.
|
|
295
|
+
* Use `create(UnpublishTrackCallbackSchema)` to create a new message.
|
|
296
|
+
*/
|
|
297
|
+
export declare const UnpublishTrackCallbackSchema: GenMessage<UnpublishTrackCallback>;
|
|
447
298
|
/**
|
|
448
299
|
* Publish data to other participants
|
|
449
300
|
*
|
|
450
301
|
* @generated from message livekit.proto.PublishDataRequest
|
|
451
302
|
*/
|
|
452
|
-
export
|
|
303
|
+
export type PublishDataRequest = Message<"livekit.proto.PublishDataRequest"> & {
|
|
453
304
|
/**
|
|
454
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
305
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
455
306
|
*/
|
|
456
307
|
localParticipantHandle: bigint;
|
|
457
308
|
/**
|
|
458
|
-
* @generated from field: uint64 data_ptr = 2;
|
|
309
|
+
* @generated from field: required uint64 data_ptr = 2;
|
|
459
310
|
*/
|
|
460
311
|
dataPtr: bigint;
|
|
461
312
|
/**
|
|
462
|
-
* @generated from field: uint64 data_len = 3;
|
|
313
|
+
* @generated from field: required uint64 data_len = 3;
|
|
463
314
|
*/
|
|
464
315
|
dataLen: bigint;
|
|
465
316
|
/**
|
|
466
|
-
* @generated from field: bool reliable = 4;
|
|
317
|
+
* @generated from field: required bool reliable = 4;
|
|
467
318
|
*/
|
|
468
319
|
reliable: boolean;
|
|
469
320
|
/**
|
|
@@ -474,267 +325,231 @@ export declare class PublishDataRequest extends Message<PublishDataRequest> {
|
|
|
474
325
|
/**
|
|
475
326
|
* @generated from field: optional string topic = 6;
|
|
476
327
|
*/
|
|
477
|
-
topic
|
|
328
|
+
topic: string;
|
|
478
329
|
/**
|
|
479
330
|
* @generated from field: repeated string destination_identities = 7;
|
|
480
331
|
*/
|
|
481
332
|
destinationIdentities: string[];
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataRequest;
|
|
489
|
-
static equals(a: PublishDataRequest | PlainMessage<PublishDataRequest> | undefined, b: PublishDataRequest | PlainMessage<PublishDataRequest> | undefined): boolean;
|
|
490
|
-
}
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Describes the message livekit.proto.PublishDataRequest.
|
|
336
|
+
* Use `create(PublishDataRequestSchema)` to create a new message.
|
|
337
|
+
*/
|
|
338
|
+
export declare const PublishDataRequestSchema: GenMessage<PublishDataRequest>;
|
|
491
339
|
/**
|
|
492
340
|
* @generated from message livekit.proto.PublishDataResponse
|
|
493
341
|
*/
|
|
494
|
-
export
|
|
342
|
+
export type PublishDataResponse = Message<"livekit.proto.PublishDataResponse"> & {
|
|
495
343
|
/**
|
|
496
|
-
* @generated from field: uint64 async_id = 1;
|
|
344
|
+
* @generated from field: required uint64 async_id = 1;
|
|
497
345
|
*/
|
|
498
346
|
asyncId: bigint;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataResponse;
|
|
506
|
-
static equals(a: PublishDataResponse | PlainMessage<PublishDataResponse> | undefined, b: PublishDataResponse | PlainMessage<PublishDataResponse> | undefined): boolean;
|
|
507
|
-
}
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message livekit.proto.PublishDataResponse.
|
|
350
|
+
* Use `create(PublishDataResponseSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const PublishDataResponseSchema: GenMessage<PublishDataResponse>;
|
|
508
353
|
/**
|
|
509
354
|
* @generated from message livekit.proto.PublishDataCallback
|
|
510
355
|
*/
|
|
511
|
-
export
|
|
356
|
+
export type PublishDataCallback = Message<"livekit.proto.PublishDataCallback"> & {
|
|
512
357
|
/**
|
|
513
|
-
* @generated from field: uint64 async_id = 1;
|
|
358
|
+
* @generated from field: required uint64 async_id = 1;
|
|
514
359
|
*/
|
|
515
360
|
asyncId: bigint;
|
|
516
361
|
/**
|
|
517
362
|
* @generated from field: optional string error = 2;
|
|
518
363
|
*/
|
|
519
|
-
error
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataCallback;
|
|
527
|
-
static equals(a: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined, b: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined): boolean;
|
|
528
|
-
}
|
|
364
|
+
error: string;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message livekit.proto.PublishDataCallback.
|
|
368
|
+
* Use `create(PublishDataCallbackSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export declare const PublishDataCallbackSchema: GenMessage<PublishDataCallback>;
|
|
529
371
|
/**
|
|
530
372
|
* Publish transcription messages to room
|
|
531
373
|
*
|
|
532
374
|
* @generated from message livekit.proto.PublishTranscriptionRequest
|
|
533
375
|
*/
|
|
534
|
-
export
|
|
376
|
+
export type PublishTranscriptionRequest = Message<"livekit.proto.PublishTranscriptionRequest"> & {
|
|
535
377
|
/**
|
|
536
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
378
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
537
379
|
*/
|
|
538
380
|
localParticipantHandle: bigint;
|
|
539
381
|
/**
|
|
540
|
-
* @generated from field: string participant_identity = 2;
|
|
382
|
+
* @generated from field: required string participant_identity = 2;
|
|
541
383
|
*/
|
|
542
384
|
participantIdentity: string;
|
|
543
385
|
/**
|
|
544
|
-
* @generated from field: string track_id = 3;
|
|
386
|
+
* @generated from field: required string track_id = 3;
|
|
545
387
|
*/
|
|
546
388
|
trackId: string;
|
|
547
389
|
/**
|
|
548
390
|
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4;
|
|
549
391
|
*/
|
|
550
392
|
segments: TranscriptionSegment[];
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionRequest;
|
|
558
|
-
static equals(a: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined, b: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined): boolean;
|
|
559
|
-
}
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Describes the message livekit.proto.PublishTranscriptionRequest.
|
|
396
|
+
* Use `create(PublishTranscriptionRequestSchema)` to create a new message.
|
|
397
|
+
*/
|
|
398
|
+
export declare const PublishTranscriptionRequestSchema: GenMessage<PublishTranscriptionRequest>;
|
|
560
399
|
/**
|
|
561
400
|
* @generated from message livekit.proto.PublishTranscriptionResponse
|
|
562
401
|
*/
|
|
563
|
-
export
|
|
402
|
+
export type PublishTranscriptionResponse = Message<"livekit.proto.PublishTranscriptionResponse"> & {
|
|
564
403
|
/**
|
|
565
|
-
* @generated from field: uint64 async_id = 1;
|
|
404
|
+
* @generated from field: required uint64 async_id = 1;
|
|
566
405
|
*/
|
|
567
406
|
asyncId: bigint;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionResponse;
|
|
575
|
-
static equals(a: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined, b: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined): boolean;
|
|
576
|
-
}
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Describes the message livekit.proto.PublishTranscriptionResponse.
|
|
410
|
+
* Use `create(PublishTranscriptionResponseSchema)` to create a new message.
|
|
411
|
+
*/
|
|
412
|
+
export declare const PublishTranscriptionResponseSchema: GenMessage<PublishTranscriptionResponse>;
|
|
577
413
|
/**
|
|
578
414
|
* @generated from message livekit.proto.PublishTranscriptionCallback
|
|
579
415
|
*/
|
|
580
|
-
export
|
|
416
|
+
export type PublishTranscriptionCallback = Message<"livekit.proto.PublishTranscriptionCallback"> & {
|
|
581
417
|
/**
|
|
582
|
-
* @generated from field: uint64 async_id = 1;
|
|
418
|
+
* @generated from field: required uint64 async_id = 1;
|
|
583
419
|
*/
|
|
584
420
|
asyncId: bigint;
|
|
585
421
|
/**
|
|
586
422
|
* @generated from field: optional string error = 2;
|
|
587
423
|
*/
|
|
588
|
-
error
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionCallback;
|
|
596
|
-
static equals(a: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined, b: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined): boolean;
|
|
597
|
-
}
|
|
424
|
+
error: string;
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* Describes the message livekit.proto.PublishTranscriptionCallback.
|
|
428
|
+
* Use `create(PublishTranscriptionCallbackSchema)` to create a new message.
|
|
429
|
+
*/
|
|
430
|
+
export declare const PublishTranscriptionCallbackSchema: GenMessage<PublishTranscriptionCallback>;
|
|
598
431
|
/**
|
|
599
432
|
* Publish Sip DTMF messages to other participants
|
|
600
433
|
*
|
|
601
434
|
* @generated from message livekit.proto.PublishSipDtmfRequest
|
|
602
435
|
*/
|
|
603
|
-
export
|
|
436
|
+
export type PublishSipDtmfRequest = Message<"livekit.proto.PublishSipDtmfRequest"> & {
|
|
604
437
|
/**
|
|
605
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
438
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
606
439
|
*/
|
|
607
440
|
localParticipantHandle: bigint;
|
|
608
441
|
/**
|
|
609
|
-
* @generated from field: uint32 code = 2;
|
|
442
|
+
* @generated from field: required uint32 code = 2;
|
|
610
443
|
*/
|
|
611
444
|
code: number;
|
|
612
445
|
/**
|
|
613
|
-
* @generated from field: string digit = 3;
|
|
446
|
+
* @generated from field: required string digit = 3;
|
|
614
447
|
*/
|
|
615
448
|
digit: string;
|
|
616
449
|
/**
|
|
617
450
|
* @generated from field: repeated string destination_identities = 4;
|
|
618
451
|
*/
|
|
619
452
|
destinationIdentities: string[];
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfRequest;
|
|
627
|
-
static equals(a: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined, b: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined): boolean;
|
|
628
|
-
}
|
|
453
|
+
};
|
|
454
|
+
/**
|
|
455
|
+
* Describes the message livekit.proto.PublishSipDtmfRequest.
|
|
456
|
+
* Use `create(PublishSipDtmfRequestSchema)` to create a new message.
|
|
457
|
+
*/
|
|
458
|
+
export declare const PublishSipDtmfRequestSchema: GenMessage<PublishSipDtmfRequest>;
|
|
629
459
|
/**
|
|
630
460
|
* @generated from message livekit.proto.PublishSipDtmfResponse
|
|
631
461
|
*/
|
|
632
|
-
export
|
|
462
|
+
export type PublishSipDtmfResponse = Message<"livekit.proto.PublishSipDtmfResponse"> & {
|
|
633
463
|
/**
|
|
634
|
-
* @generated from field: uint64 async_id = 1;
|
|
464
|
+
* @generated from field: required uint64 async_id = 1;
|
|
635
465
|
*/
|
|
636
466
|
asyncId: bigint;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfResponse;
|
|
644
|
-
static equals(a: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined, b: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined): boolean;
|
|
645
|
-
}
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message livekit.proto.PublishSipDtmfResponse.
|
|
470
|
+
* Use `create(PublishSipDtmfResponseSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export declare const PublishSipDtmfResponseSchema: GenMessage<PublishSipDtmfResponse>;
|
|
646
473
|
/**
|
|
647
474
|
* @generated from message livekit.proto.PublishSipDtmfCallback
|
|
648
475
|
*/
|
|
649
|
-
export
|
|
476
|
+
export type PublishSipDtmfCallback = Message<"livekit.proto.PublishSipDtmfCallback"> & {
|
|
650
477
|
/**
|
|
651
|
-
* @generated from field: uint64 async_id = 1;
|
|
478
|
+
* @generated from field: required uint64 async_id = 1;
|
|
652
479
|
*/
|
|
653
480
|
asyncId: bigint;
|
|
654
481
|
/**
|
|
655
482
|
* @generated from field: optional string error = 2;
|
|
656
483
|
*/
|
|
657
|
-
error
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfCallback;
|
|
665
|
-
static equals(a: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined, b: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined): boolean;
|
|
666
|
-
}
|
|
484
|
+
error: string;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* Describes the message livekit.proto.PublishSipDtmfCallback.
|
|
488
|
+
* Use `create(PublishSipDtmfCallbackSchema)` to create a new message.
|
|
489
|
+
*/
|
|
490
|
+
export declare const PublishSipDtmfCallbackSchema: GenMessage<PublishSipDtmfCallback>;
|
|
667
491
|
/**
|
|
668
492
|
* Change the local participant's metadata
|
|
669
493
|
*
|
|
670
494
|
* @generated from message livekit.proto.SetLocalMetadataRequest
|
|
671
495
|
*/
|
|
672
|
-
export
|
|
496
|
+
export type SetLocalMetadataRequest = Message<"livekit.proto.SetLocalMetadataRequest"> & {
|
|
673
497
|
/**
|
|
674
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
498
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
675
499
|
*/
|
|
676
500
|
localParticipantHandle: bigint;
|
|
677
501
|
/**
|
|
678
|
-
* @generated from field: string metadata = 2;
|
|
502
|
+
* @generated from field: required string metadata = 2;
|
|
679
503
|
*/
|
|
680
504
|
metadata: string;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataRequest;
|
|
688
|
-
static equals(a: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined, b: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined): boolean;
|
|
689
|
-
}
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* Describes the message livekit.proto.SetLocalMetadataRequest.
|
|
508
|
+
* Use `create(SetLocalMetadataRequestSchema)` to create a new message.
|
|
509
|
+
*/
|
|
510
|
+
export declare const SetLocalMetadataRequestSchema: GenMessage<SetLocalMetadataRequest>;
|
|
690
511
|
/**
|
|
691
512
|
* @generated from message livekit.proto.SetLocalMetadataResponse
|
|
692
513
|
*/
|
|
693
|
-
export
|
|
514
|
+
export type SetLocalMetadataResponse = Message<"livekit.proto.SetLocalMetadataResponse"> & {
|
|
694
515
|
/**
|
|
695
|
-
* @generated from field: uint64 async_id = 1;
|
|
516
|
+
* @generated from field: required uint64 async_id = 1;
|
|
696
517
|
*/
|
|
697
518
|
asyncId: bigint;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataResponse;
|
|
705
|
-
static equals(a: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined, b: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined): boolean;
|
|
706
|
-
}
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* Describes the message livekit.proto.SetLocalMetadataResponse.
|
|
522
|
+
* Use `create(SetLocalMetadataResponseSchema)` to create a new message.
|
|
523
|
+
*/
|
|
524
|
+
export declare const SetLocalMetadataResponseSchema: GenMessage<SetLocalMetadataResponse>;
|
|
707
525
|
/**
|
|
708
526
|
* @generated from message livekit.proto.SetLocalMetadataCallback
|
|
709
527
|
*/
|
|
710
|
-
export
|
|
528
|
+
export type SetLocalMetadataCallback = Message<"livekit.proto.SetLocalMetadataCallback"> & {
|
|
711
529
|
/**
|
|
712
|
-
* @generated from field: uint64 async_id = 1;
|
|
530
|
+
* @generated from field: required uint64 async_id = 1;
|
|
713
531
|
*/
|
|
714
532
|
asyncId: bigint;
|
|
715
533
|
/**
|
|
716
534
|
* @generated from field: optional string error = 2;
|
|
717
535
|
*/
|
|
718
|
-
error
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataCallback;
|
|
726
|
-
static equals(a: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined, b: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined): boolean;
|
|
727
|
-
}
|
|
536
|
+
error: string;
|
|
537
|
+
};
|
|
538
|
+
/**
|
|
539
|
+
* Describes the message livekit.proto.SetLocalMetadataCallback.
|
|
540
|
+
* Use `create(SetLocalMetadataCallbackSchema)` to create a new message.
|
|
541
|
+
*/
|
|
542
|
+
export declare const SetLocalMetadataCallbackSchema: GenMessage<SetLocalMetadataCallback>;
|
|
728
543
|
/**
|
|
729
544
|
* @generated from message livekit.proto.SendChatMessageRequest
|
|
730
545
|
*/
|
|
731
|
-
export
|
|
546
|
+
export type SendChatMessageRequest = Message<"livekit.proto.SendChatMessageRequest"> & {
|
|
732
547
|
/**
|
|
733
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
548
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
734
549
|
*/
|
|
735
550
|
localParticipantHandle: bigint;
|
|
736
551
|
/**
|
|
737
|
-
* @generated from field: string message = 2;
|
|
552
|
+
* @generated from field: required string message = 2;
|
|
738
553
|
*/
|
|
739
554
|
message: string;
|
|
740
555
|
/**
|
|
@@ -744,30 +559,27 @@ export declare class SendChatMessageRequest extends Message<SendChatMessageReque
|
|
|
744
559
|
/**
|
|
745
560
|
* @generated from field: optional string sender_identity = 4;
|
|
746
561
|
*/
|
|
747
|
-
senderIdentity
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendChatMessageRequest;
|
|
755
|
-
static equals(a: SendChatMessageRequest | PlainMessage<SendChatMessageRequest> | undefined, b: SendChatMessageRequest | PlainMessage<SendChatMessageRequest> | undefined): boolean;
|
|
756
|
-
}
|
|
562
|
+
senderIdentity: string;
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Describes the message livekit.proto.SendChatMessageRequest.
|
|
566
|
+
* Use `create(SendChatMessageRequestSchema)` to create a new message.
|
|
567
|
+
*/
|
|
568
|
+
export declare const SendChatMessageRequestSchema: GenMessage<SendChatMessageRequest>;
|
|
757
569
|
/**
|
|
758
570
|
* @generated from message livekit.proto.EditChatMessageRequest
|
|
759
571
|
*/
|
|
760
|
-
export
|
|
572
|
+
export type EditChatMessageRequest = Message<"livekit.proto.EditChatMessageRequest"> & {
|
|
761
573
|
/**
|
|
762
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
574
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
763
575
|
*/
|
|
764
576
|
localParticipantHandle: bigint;
|
|
765
577
|
/**
|
|
766
|
-
* @generated from field: string edit_text = 2;
|
|
578
|
+
* @generated from field: required string edit_text = 2;
|
|
767
579
|
*/
|
|
768
580
|
editText: string;
|
|
769
581
|
/**
|
|
770
|
-
* @generated from field: livekit.proto.ChatMessage original_message = 3;
|
|
582
|
+
* @generated from field: required livekit.proto.ChatMessage original_message = 3;
|
|
771
583
|
*/
|
|
772
584
|
originalMessage?: ChatMessage;
|
|
773
585
|
/**
|
|
@@ -777,432 +589,426 @@ export declare class EditChatMessageRequest extends Message<EditChatMessageReque
|
|
|
777
589
|
/**
|
|
778
590
|
* @generated from field: optional string sender_identity = 5;
|
|
779
591
|
*/
|
|
780
|
-
senderIdentity
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EditChatMessageRequest;
|
|
788
|
-
static equals(a: EditChatMessageRequest | PlainMessage<EditChatMessageRequest> | undefined, b: EditChatMessageRequest | PlainMessage<EditChatMessageRequest> | undefined): boolean;
|
|
789
|
-
}
|
|
592
|
+
senderIdentity: string;
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* Describes the message livekit.proto.EditChatMessageRequest.
|
|
596
|
+
* Use `create(EditChatMessageRequestSchema)` to create a new message.
|
|
597
|
+
*/
|
|
598
|
+
export declare const EditChatMessageRequestSchema: GenMessage<EditChatMessageRequest>;
|
|
790
599
|
/**
|
|
791
600
|
* @generated from message livekit.proto.SendChatMessageResponse
|
|
792
601
|
*/
|
|
793
|
-
export
|
|
602
|
+
export type SendChatMessageResponse = Message<"livekit.proto.SendChatMessageResponse"> & {
|
|
794
603
|
/**
|
|
795
|
-
* @generated from field: uint64 async_id = 1;
|
|
604
|
+
* @generated from field: required uint64 async_id = 1;
|
|
796
605
|
*/
|
|
797
606
|
asyncId: bigint;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendChatMessageResponse;
|
|
805
|
-
static equals(a: SendChatMessageResponse | PlainMessage<SendChatMessageResponse> | undefined, b: SendChatMessageResponse | PlainMessage<SendChatMessageResponse> | undefined): boolean;
|
|
806
|
-
}
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Describes the message livekit.proto.SendChatMessageResponse.
|
|
610
|
+
* Use `create(SendChatMessageResponseSchema)` to create a new message.
|
|
611
|
+
*/
|
|
612
|
+
export declare const SendChatMessageResponseSchema: GenMessage<SendChatMessageResponse>;
|
|
807
613
|
/**
|
|
808
614
|
* @generated from message livekit.proto.SendChatMessageCallback
|
|
809
615
|
*/
|
|
810
|
-
export
|
|
616
|
+
export type SendChatMessageCallback = Message<"livekit.proto.SendChatMessageCallback"> & {
|
|
811
617
|
/**
|
|
812
|
-
* @generated from field: uint64 async_id = 1;
|
|
618
|
+
* @generated from field: required uint64 async_id = 1;
|
|
813
619
|
*/
|
|
814
620
|
asyncId: bigint;
|
|
815
621
|
/**
|
|
816
|
-
* @generated from
|
|
622
|
+
* @generated from oneof livekit.proto.SendChatMessageCallback.message
|
|
817
623
|
*/
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
624
|
+
message: {
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: string error = 2;
|
|
627
|
+
*/
|
|
628
|
+
value: string;
|
|
629
|
+
case: "error";
|
|
630
|
+
} | {
|
|
631
|
+
/**
|
|
632
|
+
* @generated from field: livekit.proto.ChatMessage chat_message = 3;
|
|
633
|
+
*/
|
|
634
|
+
value: ChatMessage;
|
|
635
|
+
case: "chatMessage";
|
|
636
|
+
} | {
|
|
637
|
+
case: undefined;
|
|
638
|
+
value?: undefined;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Describes the message livekit.proto.SendChatMessageCallback.
|
|
643
|
+
* Use `create(SendChatMessageCallbackSchema)` to create a new message.
|
|
644
|
+
*/
|
|
645
|
+
export declare const SendChatMessageCallbackSchema: GenMessage<SendChatMessageCallback>;
|
|
832
646
|
/**
|
|
833
647
|
* Change the local participant's attributes
|
|
834
648
|
*
|
|
835
649
|
* @generated from message livekit.proto.SetLocalAttributesRequest
|
|
836
650
|
*/
|
|
837
|
-
export
|
|
651
|
+
export type SetLocalAttributesRequest = Message<"livekit.proto.SetLocalAttributesRequest"> & {
|
|
838
652
|
/**
|
|
839
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
653
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
840
654
|
*/
|
|
841
655
|
localParticipantHandle: bigint;
|
|
842
656
|
/**
|
|
843
|
-
* @generated from field:
|
|
657
|
+
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
844
658
|
*/
|
|
845
|
-
attributes:
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
659
|
+
attributes: AttributesEntry[];
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Describes the message livekit.proto.SetLocalAttributesRequest.
|
|
663
|
+
* Use `create(SetLocalAttributesRequestSchema)` to create a new message.
|
|
664
|
+
*/
|
|
665
|
+
export declare const SetLocalAttributesRequestSchema: GenMessage<SetLocalAttributesRequest>;
|
|
666
|
+
/**
|
|
667
|
+
* @generated from message livekit.proto.AttributesEntry
|
|
668
|
+
*/
|
|
669
|
+
export type AttributesEntry = Message<"livekit.proto.AttributesEntry"> & {
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: required string key = 1;
|
|
672
|
+
*/
|
|
673
|
+
key: string;
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: required string value = 2;
|
|
676
|
+
*/
|
|
677
|
+
value: string;
|
|
678
|
+
};
|
|
679
|
+
/**
|
|
680
|
+
* Describes the message livekit.proto.AttributesEntry.
|
|
681
|
+
* Use `create(AttributesEntrySchema)` to create a new message.
|
|
682
|
+
*/
|
|
683
|
+
export declare const AttributesEntrySchema: GenMessage<AttributesEntry>;
|
|
857
684
|
/**
|
|
858
685
|
* @generated from message livekit.proto.SetLocalAttributesResponse
|
|
859
686
|
*/
|
|
860
|
-
export
|
|
687
|
+
export type SetLocalAttributesResponse = Message<"livekit.proto.SetLocalAttributesResponse"> & {
|
|
861
688
|
/**
|
|
862
|
-
* @generated from field: uint64 async_id = 1;
|
|
689
|
+
* @generated from field: required uint64 async_id = 1;
|
|
863
690
|
*/
|
|
864
691
|
asyncId: bigint;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesResponse;
|
|
872
|
-
static equals(a: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined, b: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined): boolean;
|
|
873
|
-
}
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Describes the message livekit.proto.SetLocalAttributesResponse.
|
|
695
|
+
* Use `create(SetLocalAttributesResponseSchema)` to create a new message.
|
|
696
|
+
*/
|
|
697
|
+
export declare const SetLocalAttributesResponseSchema: GenMessage<SetLocalAttributesResponse>;
|
|
874
698
|
/**
|
|
875
699
|
* @generated from message livekit.proto.SetLocalAttributesCallback
|
|
876
700
|
*/
|
|
877
|
-
export
|
|
701
|
+
export type SetLocalAttributesCallback = Message<"livekit.proto.SetLocalAttributesCallback"> & {
|
|
878
702
|
/**
|
|
879
|
-
* @generated from field: uint64 async_id = 1;
|
|
703
|
+
* @generated from field: required uint64 async_id = 1;
|
|
880
704
|
*/
|
|
881
705
|
asyncId: bigint;
|
|
882
706
|
/**
|
|
883
707
|
* @generated from field: optional string error = 2;
|
|
884
708
|
*/
|
|
885
|
-
error
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesCallback;
|
|
893
|
-
static equals(a: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined, b: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined): boolean;
|
|
894
|
-
}
|
|
709
|
+
error: string;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message livekit.proto.SetLocalAttributesCallback.
|
|
713
|
+
* Use `create(SetLocalAttributesCallbackSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export declare const SetLocalAttributesCallbackSchema: GenMessage<SetLocalAttributesCallback>;
|
|
895
716
|
/**
|
|
896
717
|
* Change the local participant's name
|
|
897
718
|
*
|
|
898
719
|
* @generated from message livekit.proto.SetLocalNameRequest
|
|
899
720
|
*/
|
|
900
|
-
export
|
|
721
|
+
export type SetLocalNameRequest = Message<"livekit.proto.SetLocalNameRequest"> & {
|
|
901
722
|
/**
|
|
902
|
-
* @generated from field: uint64 local_participant_handle = 1;
|
|
723
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
903
724
|
*/
|
|
904
725
|
localParticipantHandle: bigint;
|
|
905
726
|
/**
|
|
906
|
-
* @generated from field: string name = 2;
|
|
727
|
+
* @generated from field: required string name = 2;
|
|
907
728
|
*/
|
|
908
729
|
name: string;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameRequest;
|
|
916
|
-
static equals(a: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined, b: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined): boolean;
|
|
917
|
-
}
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* Describes the message livekit.proto.SetLocalNameRequest.
|
|
733
|
+
* Use `create(SetLocalNameRequestSchema)` to create a new message.
|
|
734
|
+
*/
|
|
735
|
+
export declare const SetLocalNameRequestSchema: GenMessage<SetLocalNameRequest>;
|
|
918
736
|
/**
|
|
919
737
|
* @generated from message livekit.proto.SetLocalNameResponse
|
|
920
738
|
*/
|
|
921
|
-
export
|
|
739
|
+
export type SetLocalNameResponse = Message<"livekit.proto.SetLocalNameResponse"> & {
|
|
922
740
|
/**
|
|
923
|
-
* @generated from field: uint64 async_id = 1;
|
|
741
|
+
* @generated from field: required uint64 async_id = 1;
|
|
924
742
|
*/
|
|
925
743
|
asyncId: bigint;
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameResponse;
|
|
933
|
-
static equals(a: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined, b: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined): boolean;
|
|
934
|
-
}
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* Describes the message livekit.proto.SetLocalNameResponse.
|
|
747
|
+
* Use `create(SetLocalNameResponseSchema)` to create a new message.
|
|
748
|
+
*/
|
|
749
|
+
export declare const SetLocalNameResponseSchema: GenMessage<SetLocalNameResponse>;
|
|
935
750
|
/**
|
|
936
751
|
* @generated from message livekit.proto.SetLocalNameCallback
|
|
937
752
|
*/
|
|
938
|
-
export
|
|
753
|
+
export type SetLocalNameCallback = Message<"livekit.proto.SetLocalNameCallback"> & {
|
|
939
754
|
/**
|
|
940
|
-
* @generated from field: uint64 async_id = 1;
|
|
755
|
+
* @generated from field: required uint64 async_id = 1;
|
|
941
756
|
*/
|
|
942
757
|
asyncId: bigint;
|
|
943
758
|
/**
|
|
944
759
|
* @generated from field: optional string error = 2;
|
|
945
760
|
*/
|
|
946
|
-
error
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameCallback;
|
|
954
|
-
static equals(a: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined, b: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined): boolean;
|
|
955
|
-
}
|
|
761
|
+
error: string;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Describes the message livekit.proto.SetLocalNameCallback.
|
|
765
|
+
* Use `create(SetLocalNameCallbackSchema)` to create a new message.
|
|
766
|
+
*/
|
|
767
|
+
export declare const SetLocalNameCallbackSchema: GenMessage<SetLocalNameCallback>;
|
|
956
768
|
/**
|
|
957
769
|
* Change the "desire" to subs2ribe to a track
|
|
958
770
|
*
|
|
959
771
|
* @generated from message livekit.proto.SetSubscribedRequest
|
|
960
772
|
*/
|
|
961
|
-
export
|
|
773
|
+
export type SetSubscribedRequest = Message<"livekit.proto.SetSubscribedRequest"> & {
|
|
962
774
|
/**
|
|
963
|
-
* @generated from field: bool subscribe = 1;
|
|
775
|
+
* @generated from field: required bool subscribe = 1;
|
|
964
776
|
*/
|
|
965
777
|
subscribe: boolean;
|
|
966
778
|
/**
|
|
967
|
-
* @generated from field: uint64 publication_handle = 2;
|
|
779
|
+
* @generated from field: required uint64 publication_handle = 2;
|
|
968
780
|
*/
|
|
969
781
|
publicationHandle: bigint;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSubscribedRequest;
|
|
977
|
-
static equals(a: SetSubscribedRequest | PlainMessage<SetSubscribedRequest> | undefined, b: SetSubscribedRequest | PlainMessage<SetSubscribedRequest> | undefined): boolean;
|
|
978
|
-
}
|
|
782
|
+
};
|
|
783
|
+
/**
|
|
784
|
+
* Describes the message livekit.proto.SetSubscribedRequest.
|
|
785
|
+
* Use `create(SetSubscribedRequestSchema)` to create a new message.
|
|
786
|
+
*/
|
|
787
|
+
export declare const SetSubscribedRequestSchema: GenMessage<SetSubscribedRequest>;
|
|
979
788
|
/**
|
|
980
789
|
* @generated from message livekit.proto.SetSubscribedResponse
|
|
981
790
|
*/
|
|
982
|
-
export
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSubscribedResponse;
|
|
989
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSubscribedResponse;
|
|
990
|
-
static equals(a: SetSubscribedResponse | PlainMessage<SetSubscribedResponse> | undefined, b: SetSubscribedResponse | PlainMessage<SetSubscribedResponse> | undefined): boolean;
|
|
991
|
-
}
|
|
791
|
+
export type SetSubscribedResponse = Message<"livekit.proto.SetSubscribedResponse"> & {};
|
|
792
|
+
/**
|
|
793
|
+
* Describes the message livekit.proto.SetSubscribedResponse.
|
|
794
|
+
* Use `create(SetSubscribedResponseSchema)` to create a new message.
|
|
795
|
+
*/
|
|
796
|
+
export declare const SetSubscribedResponseSchema: GenMessage<SetSubscribedResponse>;
|
|
992
797
|
/**
|
|
993
798
|
* @generated from message livekit.proto.GetSessionStatsRequest
|
|
994
799
|
*/
|
|
995
|
-
export
|
|
800
|
+
export type GetSessionStatsRequest = Message<"livekit.proto.GetSessionStatsRequest"> & {
|
|
996
801
|
/**
|
|
997
|
-
* @generated from field: uint64 room_handle = 1;
|
|
802
|
+
* @generated from field: required uint64 room_handle = 1;
|
|
998
803
|
*/
|
|
999
804
|
roomHandle: bigint;
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsRequest;
|
|
1007
|
-
static equals(a: GetSessionStatsRequest | PlainMessage<GetSessionStatsRequest> | undefined, b: GetSessionStatsRequest | PlainMessage<GetSessionStatsRequest> | undefined): boolean;
|
|
1008
|
-
}
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* Describes the message livekit.proto.GetSessionStatsRequest.
|
|
808
|
+
* Use `create(GetSessionStatsRequestSchema)` to create a new message.
|
|
809
|
+
*/
|
|
810
|
+
export declare const GetSessionStatsRequestSchema: GenMessage<GetSessionStatsRequest>;
|
|
1009
811
|
/**
|
|
1010
812
|
* @generated from message livekit.proto.GetSessionStatsResponse
|
|
1011
813
|
*/
|
|
1012
|
-
export
|
|
814
|
+
export type GetSessionStatsResponse = Message<"livekit.proto.GetSessionStatsResponse"> & {
|
|
1013
815
|
/**
|
|
1014
|
-
* @generated from field: uint64 async_id = 1;
|
|
816
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1015
817
|
*/
|
|
1016
818
|
asyncId: bigint;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsResponse;
|
|
1024
|
-
static equals(a: GetSessionStatsResponse | PlainMessage<GetSessionStatsResponse> | undefined, b: GetSessionStatsResponse | PlainMessage<GetSessionStatsResponse> | undefined): boolean;
|
|
1025
|
-
}
|
|
819
|
+
};
|
|
820
|
+
/**
|
|
821
|
+
* Describes the message livekit.proto.GetSessionStatsResponse.
|
|
822
|
+
* Use `create(GetSessionStatsResponseSchema)` to create a new message.
|
|
823
|
+
*/
|
|
824
|
+
export declare const GetSessionStatsResponseSchema: GenMessage<GetSessionStatsResponse>;
|
|
1026
825
|
/**
|
|
1027
826
|
* @generated from message livekit.proto.GetSessionStatsCallback
|
|
1028
827
|
*/
|
|
1029
|
-
export
|
|
828
|
+
export type GetSessionStatsCallback = Message<"livekit.proto.GetSessionStatsCallback"> & {
|
|
1030
829
|
/**
|
|
1031
|
-
* @generated from field: uint64 async_id = 1;
|
|
830
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1032
831
|
*/
|
|
1033
832
|
asyncId: bigint;
|
|
1034
833
|
/**
|
|
1035
|
-
* @generated from
|
|
834
|
+
* @generated from oneof livekit.proto.GetSessionStatsCallback.message
|
|
1036
835
|
*/
|
|
1037
|
-
|
|
836
|
+
message: {
|
|
837
|
+
/**
|
|
838
|
+
* @generated from field: string error = 2;
|
|
839
|
+
*/
|
|
840
|
+
value: string;
|
|
841
|
+
case: "error";
|
|
842
|
+
} | {
|
|
843
|
+
/**
|
|
844
|
+
* @generated from field: livekit.proto.GetSessionStatsCallback.Result result = 3;
|
|
845
|
+
*/
|
|
846
|
+
value: GetSessionStatsCallback_Result;
|
|
847
|
+
case: "result";
|
|
848
|
+
} | {
|
|
849
|
+
case: undefined;
|
|
850
|
+
value?: undefined;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* Describes the message livekit.proto.GetSessionStatsCallback.
|
|
855
|
+
* Use `create(GetSessionStatsCallbackSchema)` to create a new message.
|
|
856
|
+
*/
|
|
857
|
+
export declare const GetSessionStatsCallbackSchema: GenMessage<GetSessionStatsCallback>;
|
|
858
|
+
/**
|
|
859
|
+
* @generated from message livekit.proto.GetSessionStatsCallback.Result
|
|
860
|
+
*/
|
|
861
|
+
export type GetSessionStatsCallback_Result = Message<"livekit.proto.GetSessionStatsCallback.Result"> & {
|
|
1038
862
|
/**
|
|
1039
|
-
* @generated from field: repeated livekit.proto.RtcStats publisher_stats =
|
|
863
|
+
* @generated from field: repeated livekit.proto.RtcStats publisher_stats = 1;
|
|
1040
864
|
*/
|
|
1041
865
|
publisherStats: RtcStats[];
|
|
1042
866
|
/**
|
|
1043
|
-
* @generated from field: repeated livekit.proto.RtcStats subscriber_stats =
|
|
867
|
+
* @generated from field: repeated livekit.proto.RtcStats subscriber_stats = 2;
|
|
1044
868
|
*/
|
|
1045
869
|
subscriberStats: RtcStats[];
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSessionStatsCallback;
|
|
1053
|
-
static equals(a: GetSessionStatsCallback | PlainMessage<GetSessionStatsCallback> | undefined, b: GetSessionStatsCallback | PlainMessage<GetSessionStatsCallback> | undefined): boolean;
|
|
1054
|
-
}
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* Describes the message livekit.proto.GetSessionStatsCallback.Result.
|
|
873
|
+
* Use `create(GetSessionStatsCallback_ResultSchema)` to create a new message.
|
|
874
|
+
*/
|
|
875
|
+
export declare const GetSessionStatsCallback_ResultSchema: GenMessage<GetSessionStatsCallback_Result>;
|
|
1055
876
|
/**
|
|
1056
877
|
* @generated from message livekit.proto.VideoEncoding
|
|
1057
878
|
*/
|
|
1058
|
-
export
|
|
879
|
+
export type VideoEncoding = Message<"livekit.proto.VideoEncoding"> & {
|
|
1059
880
|
/**
|
|
1060
|
-
* @generated from field: uint64 max_bitrate = 1;
|
|
881
|
+
* @generated from field: required uint64 max_bitrate = 1;
|
|
1061
882
|
*/
|
|
1062
883
|
maxBitrate: bigint;
|
|
1063
884
|
/**
|
|
1064
|
-
* @generated from field: double max_framerate = 2;
|
|
885
|
+
* @generated from field: required double max_framerate = 2;
|
|
1065
886
|
*/
|
|
1066
887
|
maxFramerate: number;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoEncoding;
|
|
1074
|
-
static equals(a: VideoEncoding | PlainMessage<VideoEncoding> | undefined, b: VideoEncoding | PlainMessage<VideoEncoding> | undefined): boolean;
|
|
1075
|
-
}
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* Describes the message livekit.proto.VideoEncoding.
|
|
891
|
+
* Use `create(VideoEncodingSchema)` to create a new message.
|
|
892
|
+
*/
|
|
893
|
+
export declare const VideoEncodingSchema: GenMessage<VideoEncoding>;
|
|
1076
894
|
/**
|
|
1077
895
|
* @generated from message livekit.proto.AudioEncoding
|
|
1078
896
|
*/
|
|
1079
|
-
export
|
|
897
|
+
export type AudioEncoding = Message<"livekit.proto.AudioEncoding"> & {
|
|
1080
898
|
/**
|
|
1081
|
-
* @generated from field: uint64 max_bitrate = 1;
|
|
899
|
+
* @generated from field: required uint64 max_bitrate = 1;
|
|
1082
900
|
*/
|
|
1083
901
|
maxBitrate: bigint;
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncoding;
|
|
1091
|
-
static equals(a: AudioEncoding | PlainMessage<AudioEncoding> | undefined, b: AudioEncoding | PlainMessage<AudioEncoding> | undefined): boolean;
|
|
1092
|
-
}
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* Describes the message livekit.proto.AudioEncoding.
|
|
905
|
+
* Use `create(AudioEncodingSchema)` to create a new message.
|
|
906
|
+
*/
|
|
907
|
+
export declare const AudioEncodingSchema: GenMessage<AudioEncoding>;
|
|
1093
908
|
/**
|
|
1094
909
|
* @generated from message livekit.proto.TrackPublishOptions
|
|
1095
910
|
*/
|
|
1096
|
-
export
|
|
911
|
+
export type TrackPublishOptions = Message<"livekit.proto.TrackPublishOptions"> & {
|
|
1097
912
|
/**
|
|
1098
913
|
* encodings are optional
|
|
1099
914
|
*
|
|
1100
|
-
* @generated from field: livekit.proto.VideoEncoding video_encoding = 1;
|
|
915
|
+
* @generated from field: optional livekit.proto.VideoEncoding video_encoding = 1;
|
|
1101
916
|
*/
|
|
1102
917
|
videoEncoding?: VideoEncoding;
|
|
1103
918
|
/**
|
|
1104
|
-
* @generated from field: livekit.proto.AudioEncoding audio_encoding = 2;
|
|
919
|
+
* @generated from field: optional livekit.proto.AudioEncoding audio_encoding = 2;
|
|
1105
920
|
*/
|
|
1106
921
|
audioEncoding?: AudioEncoding;
|
|
1107
922
|
/**
|
|
1108
|
-
* @generated from field: livekit.proto.VideoCodec video_codec = 3;
|
|
923
|
+
* @generated from field: optional livekit.proto.VideoCodec video_codec = 3;
|
|
1109
924
|
*/
|
|
1110
925
|
videoCodec: VideoCodec;
|
|
1111
926
|
/**
|
|
1112
|
-
* @generated from field: bool dtx = 4;
|
|
927
|
+
* @generated from field: optional bool dtx = 4;
|
|
1113
928
|
*/
|
|
1114
929
|
dtx: boolean;
|
|
1115
930
|
/**
|
|
1116
|
-
* @generated from field: bool red = 5;
|
|
931
|
+
* @generated from field: optional bool red = 5;
|
|
1117
932
|
*/
|
|
1118
933
|
red: boolean;
|
|
1119
934
|
/**
|
|
1120
|
-
* @generated from field: bool simulcast = 6;
|
|
935
|
+
* @generated from field: optional bool simulcast = 6;
|
|
1121
936
|
*/
|
|
1122
937
|
simulcast: boolean;
|
|
1123
938
|
/**
|
|
1124
|
-
* @generated from field: livekit.proto.TrackSource source = 7;
|
|
939
|
+
* @generated from field: optional livekit.proto.TrackSource source = 7;
|
|
1125
940
|
*/
|
|
1126
941
|
source: TrackSource;
|
|
1127
942
|
/**
|
|
1128
|
-
* @generated from field: string stream = 8;
|
|
943
|
+
* @generated from field: optional string stream = 8;
|
|
1129
944
|
*/
|
|
1130
945
|
stream: string;
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackPublishOptions;
|
|
1138
|
-
static equals(a: TrackPublishOptions | PlainMessage<TrackPublishOptions> | undefined, b: TrackPublishOptions | PlainMessage<TrackPublishOptions> | undefined): boolean;
|
|
1139
|
-
}
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* Describes the message livekit.proto.TrackPublishOptions.
|
|
949
|
+
* Use `create(TrackPublishOptionsSchema)` to create a new message.
|
|
950
|
+
*/
|
|
951
|
+
export declare const TrackPublishOptionsSchema: GenMessage<TrackPublishOptions>;
|
|
1140
952
|
/**
|
|
1141
953
|
* @generated from message livekit.proto.IceServer
|
|
1142
954
|
*/
|
|
1143
|
-
export
|
|
955
|
+
export type IceServer = Message<"livekit.proto.IceServer"> & {
|
|
1144
956
|
/**
|
|
1145
957
|
* @generated from field: repeated string urls = 1;
|
|
1146
958
|
*/
|
|
1147
959
|
urls: string[];
|
|
1148
960
|
/**
|
|
1149
|
-
* @generated from field: string username = 2;
|
|
961
|
+
* @generated from field: optional string username = 2;
|
|
1150
962
|
*/
|
|
1151
963
|
username: string;
|
|
1152
964
|
/**
|
|
1153
|
-
* @generated from field: string password = 3;
|
|
965
|
+
* @generated from field: optional string password = 3;
|
|
1154
966
|
*/
|
|
1155
967
|
password: string;
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceServer;
|
|
1163
|
-
static equals(a: IceServer | PlainMessage<IceServer> | undefined, b: IceServer | PlainMessage<IceServer> | undefined): boolean;
|
|
1164
|
-
}
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* Describes the message livekit.proto.IceServer.
|
|
971
|
+
* Use `create(IceServerSchema)` to create a new message.
|
|
972
|
+
*/
|
|
973
|
+
export declare const IceServerSchema: GenMessage<IceServer>;
|
|
1165
974
|
/**
|
|
1166
975
|
* @generated from message livekit.proto.RtcConfig
|
|
1167
976
|
*/
|
|
1168
|
-
export
|
|
977
|
+
export type RtcConfig = Message<"livekit.proto.RtcConfig"> & {
|
|
1169
978
|
/**
|
|
1170
979
|
* @generated from field: optional livekit.proto.IceTransportType ice_transport_type = 1;
|
|
1171
980
|
*/
|
|
1172
|
-
iceTransportType
|
|
981
|
+
iceTransportType: IceTransportType;
|
|
1173
982
|
/**
|
|
1174
983
|
* @generated from field: optional livekit.proto.ContinualGatheringPolicy continual_gathering_policy = 2;
|
|
1175
984
|
*/
|
|
1176
|
-
continualGatheringPolicy
|
|
985
|
+
continualGatheringPolicy: ContinualGatheringPolicy;
|
|
1177
986
|
/**
|
|
1178
987
|
* empty fallback to default
|
|
1179
988
|
*
|
|
1180
989
|
* @generated from field: repeated livekit.proto.IceServer ice_servers = 3;
|
|
1181
990
|
*/
|
|
1182
991
|
iceServers: IceServer[];
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RtcConfig;
|
|
1190
|
-
static equals(a: RtcConfig | PlainMessage<RtcConfig> | undefined, b: RtcConfig | PlainMessage<RtcConfig> | undefined): boolean;
|
|
1191
|
-
}
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* Describes the message livekit.proto.RtcConfig.
|
|
995
|
+
* Use `create(RtcConfigSchema)` to create a new message.
|
|
996
|
+
*/
|
|
997
|
+
export declare const RtcConfigSchema: GenMessage<RtcConfig>;
|
|
1192
998
|
/**
|
|
1193
999
|
* @generated from message livekit.proto.RoomOptions
|
|
1194
1000
|
*/
|
|
1195
|
-
export
|
|
1001
|
+
export type RoomOptions = Message<"livekit.proto.RoomOptions"> & {
|
|
1196
1002
|
/**
|
|
1197
|
-
* @generated from field: bool auto_subscribe = 1;
|
|
1003
|
+
* @generated from field: optional bool auto_subscribe = 1;
|
|
1198
1004
|
*/
|
|
1199
1005
|
autoSubscribe: boolean;
|
|
1200
1006
|
/**
|
|
1201
|
-
* @generated from field: bool adaptive_stream = 2;
|
|
1007
|
+
* @generated from field: optional bool adaptive_stream = 2;
|
|
1202
1008
|
*/
|
|
1203
1009
|
adaptiveStream: boolean;
|
|
1204
1010
|
/**
|
|
1205
|
-
* @generated from field: bool dynacast = 3;
|
|
1011
|
+
* @generated from field: optional bool dynacast = 3;
|
|
1206
1012
|
*/
|
|
1207
1013
|
dynacast: boolean;
|
|
1208
1014
|
/**
|
|
@@ -1216,103 +1022,91 @@ export declare class RoomOptions extends Message<RoomOptions> {
|
|
|
1216
1022
|
*/
|
|
1217
1023
|
rtcConfig?: RtcConfig;
|
|
1218
1024
|
/**
|
|
1219
|
-
* @generated from field: uint32 join_retries = 6;
|
|
1025
|
+
* @generated from field: optional uint32 join_retries = 6;
|
|
1220
1026
|
*/
|
|
1221
1027
|
joinRetries: number;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomOptions;
|
|
1229
|
-
static equals(a: RoomOptions | PlainMessage<RoomOptions> | undefined, b: RoomOptions | PlainMessage<RoomOptions> | undefined): boolean;
|
|
1230
|
-
}
|
|
1028
|
+
};
|
|
1029
|
+
/**
|
|
1030
|
+
* Describes the message livekit.proto.RoomOptions.
|
|
1031
|
+
* Use `create(RoomOptionsSchema)` to create a new message.
|
|
1032
|
+
*/
|
|
1033
|
+
export declare const RoomOptionsSchema: GenMessage<RoomOptions>;
|
|
1231
1034
|
/**
|
|
1232
1035
|
* @generated from message livekit.proto.TranscriptionSegment
|
|
1233
1036
|
*/
|
|
1234
|
-
export
|
|
1037
|
+
export type TranscriptionSegment = Message<"livekit.proto.TranscriptionSegment"> & {
|
|
1235
1038
|
/**
|
|
1236
|
-
* @generated from field: string id = 1;
|
|
1039
|
+
* @generated from field: required string id = 1;
|
|
1237
1040
|
*/
|
|
1238
1041
|
id: string;
|
|
1239
1042
|
/**
|
|
1240
|
-
* @generated from field: string text = 2;
|
|
1043
|
+
* @generated from field: required string text = 2;
|
|
1241
1044
|
*/
|
|
1242
1045
|
text: string;
|
|
1243
1046
|
/**
|
|
1244
|
-
* @generated from field: uint64 start_time = 3;
|
|
1047
|
+
* @generated from field: required uint64 start_time = 3;
|
|
1245
1048
|
*/
|
|
1246
1049
|
startTime: bigint;
|
|
1247
1050
|
/**
|
|
1248
|
-
* @generated from field: uint64 end_time = 4;
|
|
1051
|
+
* @generated from field: required uint64 end_time = 4;
|
|
1249
1052
|
*/
|
|
1250
1053
|
endTime: bigint;
|
|
1251
1054
|
/**
|
|
1252
|
-
* @generated from field: bool final = 5;
|
|
1055
|
+
* @generated from field: required bool final = 5;
|
|
1253
1056
|
*/
|
|
1254
1057
|
final: boolean;
|
|
1255
1058
|
/**
|
|
1256
|
-
* @generated from field: string language = 6;
|
|
1059
|
+
* @generated from field: required string language = 6;
|
|
1257
1060
|
*/
|
|
1258
1061
|
language: string;
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1266
|
-
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
|
|
1267
|
-
}
|
|
1062
|
+
};
|
|
1063
|
+
/**
|
|
1064
|
+
* Describes the message livekit.proto.TranscriptionSegment.
|
|
1065
|
+
* Use `create(TranscriptionSegmentSchema)` to create a new message.
|
|
1066
|
+
*/
|
|
1067
|
+
export declare const TranscriptionSegmentSchema: GenMessage<TranscriptionSegment>;
|
|
1268
1068
|
/**
|
|
1269
1069
|
* @generated from message livekit.proto.BufferInfo
|
|
1270
1070
|
*/
|
|
1271
|
-
export
|
|
1071
|
+
export type BufferInfo = Message<"livekit.proto.BufferInfo"> & {
|
|
1272
1072
|
/**
|
|
1273
|
-
* @generated from field: uint64 data_ptr = 1;
|
|
1073
|
+
* @generated from field: required uint64 data_ptr = 1;
|
|
1274
1074
|
*/
|
|
1275
1075
|
dataPtr: bigint;
|
|
1276
1076
|
/**
|
|
1277
|
-
* @generated from field: uint64 data_len = 2;
|
|
1077
|
+
* @generated from field: required uint64 data_len = 2;
|
|
1278
1078
|
*/
|
|
1279
1079
|
dataLen: bigint;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferInfo;
|
|
1287
|
-
static equals(a: BufferInfo | PlainMessage<BufferInfo> | undefined, b: BufferInfo | PlainMessage<BufferInfo> | undefined): boolean;
|
|
1288
|
-
}
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* Describes the message livekit.proto.BufferInfo.
|
|
1083
|
+
* Use `create(BufferInfoSchema)` to create a new message.
|
|
1084
|
+
*/
|
|
1085
|
+
export declare const BufferInfoSchema: GenMessage<BufferInfo>;
|
|
1289
1086
|
/**
|
|
1290
1087
|
* @generated from message livekit.proto.OwnedBuffer
|
|
1291
1088
|
*/
|
|
1292
|
-
export
|
|
1089
|
+
export type OwnedBuffer = Message<"livekit.proto.OwnedBuffer"> & {
|
|
1293
1090
|
/**
|
|
1294
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
1091
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1295
1092
|
*/
|
|
1296
1093
|
handle?: FfiOwnedHandle;
|
|
1297
1094
|
/**
|
|
1298
|
-
* @generated from field: livekit.proto.BufferInfo data = 2;
|
|
1095
|
+
* @generated from field: required livekit.proto.BufferInfo data = 2;
|
|
1299
1096
|
*/
|
|
1300
1097
|
data?: BufferInfo;
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedBuffer;
|
|
1308
|
-
static equals(a: OwnedBuffer | PlainMessage<OwnedBuffer> | undefined, b: OwnedBuffer | PlainMessage<OwnedBuffer> | undefined): boolean;
|
|
1309
|
-
}
|
|
1098
|
+
};
|
|
1099
|
+
/**
|
|
1100
|
+
* Describes the message livekit.proto.OwnedBuffer.
|
|
1101
|
+
* Use `create(OwnedBufferSchema)` to create a new message.
|
|
1102
|
+
*/
|
|
1103
|
+
export declare const OwnedBufferSchema: GenMessage<OwnedBuffer>;
|
|
1310
1104
|
/**
|
|
1311
1105
|
* @generated from message livekit.proto.RoomEvent
|
|
1312
1106
|
*/
|
|
1313
|
-
export
|
|
1107
|
+
export type RoomEvent = Message<"livekit.proto.RoomEvent"> & {
|
|
1314
1108
|
/**
|
|
1315
|
-
* @generated from field: uint64 room_handle = 1;
|
|
1109
|
+
* @generated from field: required uint64 room_handle = 1;
|
|
1316
1110
|
*/
|
|
1317
1111
|
roomHandle: bigint;
|
|
1318
1112
|
/**
|
|
@@ -1494,583 +1288,498 @@ export declare class RoomEvent extends Message<RoomEvent> {
|
|
|
1494
1288
|
case: undefined;
|
|
1495
1289
|
value?: undefined;
|
|
1496
1290
|
};
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomEvent;
|
|
1504
|
-
static equals(a: RoomEvent | PlainMessage<RoomEvent> | undefined, b: RoomEvent | PlainMessage<RoomEvent> | undefined): boolean;
|
|
1505
|
-
}
|
|
1291
|
+
};
|
|
1292
|
+
/**
|
|
1293
|
+
* Describes the message livekit.proto.RoomEvent.
|
|
1294
|
+
* Use `create(RoomEventSchema)` to create a new message.
|
|
1295
|
+
*/
|
|
1296
|
+
export declare const RoomEventSchema: GenMessage<RoomEvent>;
|
|
1506
1297
|
/**
|
|
1507
1298
|
* @generated from message livekit.proto.RoomInfo
|
|
1508
1299
|
*/
|
|
1509
|
-
export
|
|
1300
|
+
export type RoomInfo = Message<"livekit.proto.RoomInfo"> & {
|
|
1510
1301
|
/**
|
|
1511
1302
|
* @generated from field: optional string sid = 1;
|
|
1512
1303
|
*/
|
|
1513
|
-
sid
|
|
1304
|
+
sid: string;
|
|
1514
1305
|
/**
|
|
1515
|
-
* @generated from field: string name = 2;
|
|
1306
|
+
* @generated from field: required string name = 2;
|
|
1516
1307
|
*/
|
|
1517
1308
|
name: string;
|
|
1518
1309
|
/**
|
|
1519
|
-
* @generated from field: string metadata = 3;
|
|
1310
|
+
* @generated from field: required string metadata = 3;
|
|
1520
1311
|
*/
|
|
1521
1312
|
metadata: string;
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomInfo;
|
|
1529
|
-
static equals(a: RoomInfo | PlainMessage<RoomInfo> | undefined, b: RoomInfo | PlainMessage<RoomInfo> | undefined): boolean;
|
|
1530
|
-
}
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* Describes the message livekit.proto.RoomInfo.
|
|
1316
|
+
* Use `create(RoomInfoSchema)` to create a new message.
|
|
1317
|
+
*/
|
|
1318
|
+
export declare const RoomInfoSchema: GenMessage<RoomInfo>;
|
|
1531
1319
|
/**
|
|
1532
1320
|
* @generated from message livekit.proto.OwnedRoom
|
|
1533
1321
|
*/
|
|
1534
|
-
export
|
|
1322
|
+
export type OwnedRoom = Message<"livekit.proto.OwnedRoom"> & {
|
|
1535
1323
|
/**
|
|
1536
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
1324
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1537
1325
|
*/
|
|
1538
1326
|
handle?: FfiOwnedHandle;
|
|
1539
1327
|
/**
|
|
1540
|
-
* @generated from field: livekit.proto.RoomInfo info = 2;
|
|
1328
|
+
* @generated from field: required livekit.proto.RoomInfo info = 2;
|
|
1541
1329
|
*/
|
|
1542
1330
|
info?: RoomInfo;
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedRoom;
|
|
1550
|
-
static equals(a: OwnedRoom | PlainMessage<OwnedRoom> | undefined, b: OwnedRoom | PlainMessage<OwnedRoom> | undefined): boolean;
|
|
1551
|
-
}
|
|
1331
|
+
};
|
|
1332
|
+
/**
|
|
1333
|
+
* Describes the message livekit.proto.OwnedRoom.
|
|
1334
|
+
* Use `create(OwnedRoomSchema)` to create a new message.
|
|
1335
|
+
*/
|
|
1336
|
+
export declare const OwnedRoomSchema: GenMessage<OwnedRoom>;
|
|
1552
1337
|
/**
|
|
1553
1338
|
* @generated from message livekit.proto.ParticipantConnected
|
|
1554
1339
|
*/
|
|
1555
|
-
export
|
|
1340
|
+
export type ParticipantConnected = Message<"livekit.proto.ParticipantConnected"> & {
|
|
1556
1341
|
/**
|
|
1557
|
-
* @generated from field: livekit.proto.OwnedParticipant info = 1;
|
|
1342
|
+
* @generated from field: required livekit.proto.OwnedParticipant info = 1;
|
|
1558
1343
|
*/
|
|
1559
1344
|
info?: OwnedParticipant;
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantConnected;
|
|
1567
|
-
static equals(a: ParticipantConnected | PlainMessage<ParticipantConnected> | undefined, b: ParticipantConnected | PlainMessage<ParticipantConnected> | undefined): boolean;
|
|
1568
|
-
}
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Describes the message livekit.proto.ParticipantConnected.
|
|
1348
|
+
* Use `create(ParticipantConnectedSchema)` to create a new message.
|
|
1349
|
+
*/
|
|
1350
|
+
export declare const ParticipantConnectedSchema: GenMessage<ParticipantConnected>;
|
|
1569
1351
|
/**
|
|
1570
1352
|
* @generated from message livekit.proto.ParticipantDisconnected
|
|
1571
1353
|
*/
|
|
1572
|
-
export
|
|
1354
|
+
export type ParticipantDisconnected = Message<"livekit.proto.ParticipantDisconnected"> & {
|
|
1573
1355
|
/**
|
|
1574
|
-
* @generated from field: string participant_identity = 1;
|
|
1356
|
+
* @generated from field: required string participant_identity = 1;
|
|
1575
1357
|
*/
|
|
1576
1358
|
participantIdentity: string;
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantDisconnected;
|
|
1584
|
-
static equals(a: ParticipantDisconnected | PlainMessage<ParticipantDisconnected> | undefined, b: ParticipantDisconnected | PlainMessage<ParticipantDisconnected> | undefined): boolean;
|
|
1585
|
-
}
|
|
1359
|
+
};
|
|
1360
|
+
/**
|
|
1361
|
+
* Describes the message livekit.proto.ParticipantDisconnected.
|
|
1362
|
+
* Use `create(ParticipantDisconnectedSchema)` to create a new message.
|
|
1363
|
+
*/
|
|
1364
|
+
export declare const ParticipantDisconnectedSchema: GenMessage<ParticipantDisconnected>;
|
|
1586
1365
|
/**
|
|
1587
1366
|
* @generated from message livekit.proto.LocalTrackPublished
|
|
1588
1367
|
*/
|
|
1589
|
-
export
|
|
1368
|
+
export type LocalTrackPublished = Message<"livekit.proto.LocalTrackPublished"> & {
|
|
1590
1369
|
/**
|
|
1591
1370
|
* The TrackPublicationInfo comes from the PublishTrack response
|
|
1592
1371
|
* and the FfiClient musts wait for it before firing this event
|
|
1593
1372
|
*
|
|
1594
|
-
* @generated from field: string track_sid = 1;
|
|
1373
|
+
* @generated from field: required string track_sid = 1;
|
|
1595
1374
|
*/
|
|
1596
1375
|
trackSid: string;
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackPublished;
|
|
1604
|
-
static equals(a: LocalTrackPublished | PlainMessage<LocalTrackPublished> | undefined, b: LocalTrackPublished | PlainMessage<LocalTrackPublished> | undefined): boolean;
|
|
1605
|
-
}
|
|
1376
|
+
};
|
|
1377
|
+
/**
|
|
1378
|
+
* Describes the message livekit.proto.LocalTrackPublished.
|
|
1379
|
+
* Use `create(LocalTrackPublishedSchema)` to create a new message.
|
|
1380
|
+
*/
|
|
1381
|
+
export declare const LocalTrackPublishedSchema: GenMessage<LocalTrackPublished>;
|
|
1606
1382
|
/**
|
|
1607
1383
|
* @generated from message livekit.proto.LocalTrackUnpublished
|
|
1608
1384
|
*/
|
|
1609
|
-
export
|
|
1385
|
+
export type LocalTrackUnpublished = Message<"livekit.proto.LocalTrackUnpublished"> & {
|
|
1610
1386
|
/**
|
|
1611
|
-
* @generated from field: string publication_sid = 1;
|
|
1387
|
+
* @generated from field: required string publication_sid = 1;
|
|
1612
1388
|
*/
|
|
1613
1389
|
publicationSid: string;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackUnpublished;
|
|
1621
|
-
static equals(a: LocalTrackUnpublished | PlainMessage<LocalTrackUnpublished> | undefined, b: LocalTrackUnpublished | PlainMessage<LocalTrackUnpublished> | undefined): boolean;
|
|
1622
|
-
}
|
|
1390
|
+
};
|
|
1391
|
+
/**
|
|
1392
|
+
* Describes the message livekit.proto.LocalTrackUnpublished.
|
|
1393
|
+
* Use `create(LocalTrackUnpublishedSchema)` to create a new message.
|
|
1394
|
+
*/
|
|
1395
|
+
export declare const LocalTrackUnpublishedSchema: GenMessage<LocalTrackUnpublished>;
|
|
1623
1396
|
/**
|
|
1624
1397
|
* @generated from message livekit.proto.LocalTrackSubscribed
|
|
1625
1398
|
*/
|
|
1626
|
-
export
|
|
1399
|
+
export type LocalTrackSubscribed = Message<"livekit.proto.LocalTrackSubscribed"> & {
|
|
1627
1400
|
/**
|
|
1628
|
-
* @generated from field: string track_sid = 2;
|
|
1401
|
+
* @generated from field: required string track_sid = 2;
|
|
1629
1402
|
*/
|
|
1630
1403
|
trackSid: string;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalTrackSubscribed;
|
|
1638
|
-
static equals(a: LocalTrackSubscribed | PlainMessage<LocalTrackSubscribed> | undefined, b: LocalTrackSubscribed | PlainMessage<LocalTrackSubscribed> | undefined): boolean;
|
|
1639
|
-
}
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* Describes the message livekit.proto.LocalTrackSubscribed.
|
|
1407
|
+
* Use `create(LocalTrackSubscribedSchema)` to create a new message.
|
|
1408
|
+
*/
|
|
1409
|
+
export declare const LocalTrackSubscribedSchema: GenMessage<LocalTrackSubscribed>;
|
|
1640
1410
|
/**
|
|
1641
1411
|
* @generated from message livekit.proto.TrackPublished
|
|
1642
1412
|
*/
|
|
1643
|
-
export
|
|
1413
|
+
export type TrackPublished = Message<"livekit.proto.TrackPublished"> & {
|
|
1644
1414
|
/**
|
|
1645
|
-
* @generated from field: string participant_identity = 1;
|
|
1415
|
+
* @generated from field: required string participant_identity = 1;
|
|
1646
1416
|
*/
|
|
1647
1417
|
participantIdentity: string;
|
|
1648
1418
|
/**
|
|
1649
|
-
* @generated from field: livekit.proto.OwnedTrackPublication publication = 2;
|
|
1419
|
+
* @generated from field: required livekit.proto.OwnedTrackPublication publication = 2;
|
|
1650
1420
|
*/
|
|
1651
1421
|
publication?: OwnedTrackPublication;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackPublished;
|
|
1659
|
-
static equals(a: TrackPublished | PlainMessage<TrackPublished> | undefined, b: TrackPublished | PlainMessage<TrackPublished> | undefined): boolean;
|
|
1660
|
-
}
|
|
1422
|
+
};
|
|
1423
|
+
/**
|
|
1424
|
+
* Describes the message livekit.proto.TrackPublished.
|
|
1425
|
+
* Use `create(TrackPublishedSchema)` to create a new message.
|
|
1426
|
+
*/
|
|
1427
|
+
export declare const TrackPublishedSchema: GenMessage<TrackPublished>;
|
|
1661
1428
|
/**
|
|
1662
1429
|
* @generated from message livekit.proto.TrackUnpublished
|
|
1663
1430
|
*/
|
|
1664
|
-
export
|
|
1431
|
+
export type TrackUnpublished = Message<"livekit.proto.TrackUnpublished"> & {
|
|
1665
1432
|
/**
|
|
1666
|
-
* @generated from field: string participant_identity = 1;
|
|
1433
|
+
* @generated from field: required string participant_identity = 1;
|
|
1667
1434
|
*/
|
|
1668
1435
|
participantIdentity: string;
|
|
1669
1436
|
/**
|
|
1670
|
-
* @generated from field: string publication_sid = 2;
|
|
1437
|
+
* @generated from field: required string publication_sid = 2;
|
|
1671
1438
|
*/
|
|
1672
1439
|
publicationSid: string;
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnpublished;
|
|
1680
|
-
static equals(a: TrackUnpublished | PlainMessage<TrackUnpublished> | undefined, b: TrackUnpublished | PlainMessage<TrackUnpublished> | undefined): boolean;
|
|
1681
|
-
}
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* Describes the message livekit.proto.TrackUnpublished.
|
|
1443
|
+
* Use `create(TrackUnpublishedSchema)` to create a new message.
|
|
1444
|
+
*/
|
|
1445
|
+
export declare const TrackUnpublishedSchema: GenMessage<TrackUnpublished>;
|
|
1682
1446
|
/**
|
|
1683
1447
|
* Publication isn't needed for subscription events on the FFI
|
|
1684
1448
|
* The FFI will retrieve the publication using the Track sid
|
|
1685
1449
|
*
|
|
1686
1450
|
* @generated from message livekit.proto.TrackSubscribed
|
|
1687
1451
|
*/
|
|
1688
|
-
export
|
|
1452
|
+
export type TrackSubscribed = Message<"livekit.proto.TrackSubscribed"> & {
|
|
1689
1453
|
/**
|
|
1690
|
-
* @generated from field: string participant_identity = 1;
|
|
1454
|
+
* @generated from field: required string participant_identity = 1;
|
|
1691
1455
|
*/
|
|
1692
1456
|
participantIdentity: string;
|
|
1693
1457
|
/**
|
|
1694
|
-
* @generated from field: livekit.proto.OwnedTrack track = 2;
|
|
1458
|
+
* @generated from field: required livekit.proto.OwnedTrack track = 2;
|
|
1695
1459
|
*/
|
|
1696
1460
|
track?: OwnedTrack;
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscribed;
|
|
1704
|
-
static equals(a: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined, b: TrackSubscribed | PlainMessage<TrackSubscribed> | undefined): boolean;
|
|
1705
|
-
}
|
|
1461
|
+
};
|
|
1462
|
+
/**
|
|
1463
|
+
* Describes the message livekit.proto.TrackSubscribed.
|
|
1464
|
+
* Use `create(TrackSubscribedSchema)` to create a new message.
|
|
1465
|
+
*/
|
|
1466
|
+
export declare const TrackSubscribedSchema: GenMessage<TrackSubscribed>;
|
|
1706
1467
|
/**
|
|
1707
1468
|
* @generated from message livekit.proto.TrackUnsubscribed
|
|
1708
1469
|
*/
|
|
1709
|
-
export
|
|
1470
|
+
export type TrackUnsubscribed = Message<"livekit.proto.TrackUnsubscribed"> & {
|
|
1710
1471
|
/**
|
|
1711
1472
|
* The FFI language can dispose/remove the VideoSink here
|
|
1712
1473
|
*
|
|
1713
|
-
* @generated from field: string participant_identity = 1;
|
|
1474
|
+
* @generated from field: required string participant_identity = 1;
|
|
1714
1475
|
*/
|
|
1715
1476
|
participantIdentity: string;
|
|
1716
1477
|
/**
|
|
1717
|
-
* @generated from field: string track_sid = 2;
|
|
1478
|
+
* @generated from field: required string track_sid = 2;
|
|
1718
1479
|
*/
|
|
1719
1480
|
trackSid: string;
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnsubscribed;
|
|
1727
|
-
static equals(a: TrackUnsubscribed | PlainMessage<TrackUnsubscribed> | undefined, b: TrackUnsubscribed | PlainMessage<TrackUnsubscribed> | undefined): boolean;
|
|
1728
|
-
}
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* Describes the message livekit.proto.TrackUnsubscribed.
|
|
1484
|
+
* Use `create(TrackUnsubscribedSchema)` to create a new message.
|
|
1485
|
+
*/
|
|
1486
|
+
export declare const TrackUnsubscribedSchema: GenMessage<TrackUnsubscribed>;
|
|
1729
1487
|
/**
|
|
1730
1488
|
* @generated from message livekit.proto.TrackSubscriptionFailed
|
|
1731
1489
|
*/
|
|
1732
|
-
export
|
|
1490
|
+
export type TrackSubscriptionFailed = Message<"livekit.proto.TrackSubscriptionFailed"> & {
|
|
1733
1491
|
/**
|
|
1734
|
-
* @generated from field: string participant_identity = 1;
|
|
1492
|
+
* @generated from field: required string participant_identity = 1;
|
|
1735
1493
|
*/
|
|
1736
1494
|
participantIdentity: string;
|
|
1737
1495
|
/**
|
|
1738
|
-
* @generated from field: string track_sid = 2;
|
|
1496
|
+
* @generated from field: required string track_sid = 2;
|
|
1739
1497
|
*/
|
|
1740
1498
|
trackSid: string;
|
|
1741
1499
|
/**
|
|
1742
|
-
* @generated from field: string error = 3;
|
|
1500
|
+
* @generated from field: required string error = 3;
|
|
1743
1501
|
*/
|
|
1744
1502
|
error: string;
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackSubscriptionFailed;
|
|
1752
|
-
static equals(a: TrackSubscriptionFailed | PlainMessage<TrackSubscriptionFailed> | undefined, b: TrackSubscriptionFailed | PlainMessage<TrackSubscriptionFailed> | undefined): boolean;
|
|
1753
|
-
}
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* Describes the message livekit.proto.TrackSubscriptionFailed.
|
|
1506
|
+
* Use `create(TrackSubscriptionFailedSchema)` to create a new message.
|
|
1507
|
+
*/
|
|
1508
|
+
export declare const TrackSubscriptionFailedSchema: GenMessage<TrackSubscriptionFailed>;
|
|
1754
1509
|
/**
|
|
1755
1510
|
* @generated from message livekit.proto.TrackMuted
|
|
1756
1511
|
*/
|
|
1757
|
-
export
|
|
1512
|
+
export type TrackMuted = Message<"livekit.proto.TrackMuted"> & {
|
|
1758
1513
|
/**
|
|
1759
|
-
* @generated from field: string participant_identity = 1;
|
|
1514
|
+
* @generated from field: required string participant_identity = 1;
|
|
1760
1515
|
*/
|
|
1761
1516
|
participantIdentity: string;
|
|
1762
1517
|
/**
|
|
1763
|
-
* @generated from field: string track_sid = 2;
|
|
1518
|
+
* @generated from field: required string track_sid = 2;
|
|
1764
1519
|
*/
|
|
1765
1520
|
trackSid: string;
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackMuted;
|
|
1773
|
-
static equals(a: TrackMuted | PlainMessage<TrackMuted> | undefined, b: TrackMuted | PlainMessage<TrackMuted> | undefined): boolean;
|
|
1774
|
-
}
|
|
1521
|
+
};
|
|
1522
|
+
/**
|
|
1523
|
+
* Describes the message livekit.proto.TrackMuted.
|
|
1524
|
+
* Use `create(TrackMutedSchema)` to create a new message.
|
|
1525
|
+
*/
|
|
1526
|
+
export declare const TrackMutedSchema: GenMessage<TrackMuted>;
|
|
1775
1527
|
/**
|
|
1776
1528
|
* @generated from message livekit.proto.TrackUnmuted
|
|
1777
1529
|
*/
|
|
1778
|
-
export
|
|
1530
|
+
export type TrackUnmuted = Message<"livekit.proto.TrackUnmuted"> & {
|
|
1779
1531
|
/**
|
|
1780
|
-
* @generated from field: string participant_identity = 1;
|
|
1532
|
+
* @generated from field: required string participant_identity = 1;
|
|
1781
1533
|
*/
|
|
1782
1534
|
participantIdentity: string;
|
|
1783
1535
|
/**
|
|
1784
|
-
* @generated from field: string track_sid = 2;
|
|
1536
|
+
* @generated from field: required string track_sid = 2;
|
|
1785
1537
|
*/
|
|
1786
1538
|
trackSid: string;
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackUnmuted;
|
|
1794
|
-
static equals(a: TrackUnmuted | PlainMessage<TrackUnmuted> | undefined, b: TrackUnmuted | PlainMessage<TrackUnmuted> | undefined): boolean;
|
|
1795
|
-
}
|
|
1539
|
+
};
|
|
1540
|
+
/**
|
|
1541
|
+
* Describes the message livekit.proto.TrackUnmuted.
|
|
1542
|
+
* Use `create(TrackUnmutedSchema)` to create a new message.
|
|
1543
|
+
*/
|
|
1544
|
+
export declare const TrackUnmutedSchema: GenMessage<TrackUnmuted>;
|
|
1796
1545
|
/**
|
|
1797
1546
|
* @generated from message livekit.proto.E2eeStateChanged
|
|
1798
1547
|
*/
|
|
1799
|
-
export
|
|
1548
|
+
export type E2eeStateChanged = Message<"livekit.proto.E2eeStateChanged"> & {
|
|
1800
1549
|
/**
|
|
1801
1550
|
* Using sid instead of identity for ffi communication
|
|
1802
1551
|
*
|
|
1803
|
-
* @generated from field: string participant_identity = 1;
|
|
1552
|
+
* @generated from field: required string participant_identity = 1;
|
|
1804
1553
|
*/
|
|
1805
1554
|
participantIdentity: string;
|
|
1806
1555
|
/**
|
|
1807
|
-
* @generated from field: livekit.proto.EncryptionState state = 2;
|
|
1556
|
+
* @generated from field: required livekit.proto.EncryptionState state = 2;
|
|
1808
1557
|
*/
|
|
1809
1558
|
state: EncryptionState;
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): E2eeStateChanged;
|
|
1817
|
-
static equals(a: E2eeStateChanged | PlainMessage<E2eeStateChanged> | undefined, b: E2eeStateChanged | PlainMessage<E2eeStateChanged> | undefined): boolean;
|
|
1818
|
-
}
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* Describes the message livekit.proto.E2eeStateChanged.
|
|
1562
|
+
* Use `create(E2eeStateChangedSchema)` to create a new message.
|
|
1563
|
+
*/
|
|
1564
|
+
export declare const E2eeStateChangedSchema: GenMessage<E2eeStateChanged>;
|
|
1819
1565
|
/**
|
|
1820
1566
|
* @generated from message livekit.proto.ActiveSpeakersChanged
|
|
1821
1567
|
*/
|
|
1822
|
-
export
|
|
1568
|
+
export type ActiveSpeakersChanged = Message<"livekit.proto.ActiveSpeakersChanged"> & {
|
|
1823
1569
|
/**
|
|
1824
1570
|
* @generated from field: repeated string participant_identities = 1;
|
|
1825
1571
|
*/
|
|
1826
1572
|
participantIdentities: string[];
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ActiveSpeakersChanged;
|
|
1834
|
-
static equals(a: ActiveSpeakersChanged | PlainMessage<ActiveSpeakersChanged> | undefined, b: ActiveSpeakersChanged | PlainMessage<ActiveSpeakersChanged> | undefined): boolean;
|
|
1835
|
-
}
|
|
1573
|
+
};
|
|
1574
|
+
/**
|
|
1575
|
+
* Describes the message livekit.proto.ActiveSpeakersChanged.
|
|
1576
|
+
* Use `create(ActiveSpeakersChangedSchema)` to create a new message.
|
|
1577
|
+
*/
|
|
1578
|
+
export declare const ActiveSpeakersChangedSchema: GenMessage<ActiveSpeakersChanged>;
|
|
1836
1579
|
/**
|
|
1837
1580
|
* @generated from message livekit.proto.RoomMetadataChanged
|
|
1838
1581
|
*/
|
|
1839
|
-
export
|
|
1582
|
+
export type RoomMetadataChanged = Message<"livekit.proto.RoomMetadataChanged"> & {
|
|
1840
1583
|
/**
|
|
1841
|
-
* @generated from field: string metadata = 1;
|
|
1584
|
+
* @generated from field: required string metadata = 1;
|
|
1842
1585
|
*/
|
|
1843
1586
|
metadata: string;
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomMetadataChanged;
|
|
1851
|
-
static equals(a: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined, b: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined): boolean;
|
|
1852
|
-
}
|
|
1587
|
+
};
|
|
1588
|
+
/**
|
|
1589
|
+
* Describes the message livekit.proto.RoomMetadataChanged.
|
|
1590
|
+
* Use `create(RoomMetadataChangedSchema)` to create a new message.
|
|
1591
|
+
*/
|
|
1592
|
+
export declare const RoomMetadataChangedSchema: GenMessage<RoomMetadataChanged>;
|
|
1853
1593
|
/**
|
|
1854
1594
|
* @generated from message livekit.proto.RoomSidChanged
|
|
1855
1595
|
*/
|
|
1856
|
-
export
|
|
1596
|
+
export type RoomSidChanged = Message<"livekit.proto.RoomSidChanged"> & {
|
|
1857
1597
|
/**
|
|
1858
|
-
* @generated from field: string sid = 1;
|
|
1598
|
+
* @generated from field: required string sid = 1;
|
|
1859
1599
|
*/
|
|
1860
1600
|
sid: string;
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomSidChanged;
|
|
1868
|
-
static equals(a: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined, b: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined): boolean;
|
|
1869
|
-
}
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* Describes the message livekit.proto.RoomSidChanged.
|
|
1604
|
+
* Use `create(RoomSidChangedSchema)` to create a new message.
|
|
1605
|
+
*/
|
|
1606
|
+
export declare const RoomSidChangedSchema: GenMessage<RoomSidChanged>;
|
|
1870
1607
|
/**
|
|
1871
1608
|
* @generated from message livekit.proto.ParticipantMetadataChanged
|
|
1872
1609
|
*/
|
|
1873
|
-
export
|
|
1610
|
+
export type ParticipantMetadataChanged = Message<"livekit.proto.ParticipantMetadataChanged"> & {
|
|
1874
1611
|
/**
|
|
1875
|
-
* @generated from field: string participant_identity = 1;
|
|
1612
|
+
* @generated from field: required string participant_identity = 1;
|
|
1876
1613
|
*/
|
|
1877
1614
|
participantIdentity: string;
|
|
1878
1615
|
/**
|
|
1879
|
-
* @generated from field: string metadata = 2;
|
|
1616
|
+
* @generated from field: required string metadata = 2;
|
|
1880
1617
|
*/
|
|
1881
1618
|
metadata: string;
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantMetadataChanged;
|
|
1889
|
-
static equals(a: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined, b: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined): boolean;
|
|
1890
|
-
}
|
|
1619
|
+
};
|
|
1620
|
+
/**
|
|
1621
|
+
* Describes the message livekit.proto.ParticipantMetadataChanged.
|
|
1622
|
+
* Use `create(ParticipantMetadataChangedSchema)` to create a new message.
|
|
1623
|
+
*/
|
|
1624
|
+
export declare const ParticipantMetadataChangedSchema: GenMessage<ParticipantMetadataChanged>;
|
|
1891
1625
|
/**
|
|
1892
1626
|
* @generated from message livekit.proto.ParticipantAttributesChanged
|
|
1893
1627
|
*/
|
|
1894
|
-
export
|
|
1628
|
+
export type ParticipantAttributesChanged = Message<"livekit.proto.ParticipantAttributesChanged"> & {
|
|
1895
1629
|
/**
|
|
1896
|
-
* @generated from field: string participant_identity = 1;
|
|
1630
|
+
* @generated from field: required string participant_identity = 1;
|
|
1897
1631
|
*/
|
|
1898
1632
|
participantIdentity: string;
|
|
1899
1633
|
/**
|
|
1900
|
-
* @generated from field:
|
|
1634
|
+
* @generated from field: repeated livekit.proto.AttributesEntry attributes = 2;
|
|
1901
1635
|
*/
|
|
1902
|
-
attributes:
|
|
1903
|
-
[key: string]: string;
|
|
1904
|
-
};
|
|
1636
|
+
attributes: AttributesEntry[];
|
|
1905
1637
|
/**
|
|
1906
|
-
* @generated from field:
|
|
1638
|
+
* @generated from field: repeated livekit.proto.AttributesEntry changed_attributes = 3;
|
|
1907
1639
|
*/
|
|
1908
|
-
changedAttributes:
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantAttributesChanged;
|
|
1916
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
1917
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
1918
|
-
static equals(a: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined, b: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined): boolean;
|
|
1919
|
-
}
|
|
1640
|
+
changedAttributes: AttributesEntry[];
|
|
1641
|
+
};
|
|
1642
|
+
/**
|
|
1643
|
+
* Describes the message livekit.proto.ParticipantAttributesChanged.
|
|
1644
|
+
* Use `create(ParticipantAttributesChangedSchema)` to create a new message.
|
|
1645
|
+
*/
|
|
1646
|
+
export declare const ParticipantAttributesChangedSchema: GenMessage<ParticipantAttributesChanged>;
|
|
1920
1647
|
/**
|
|
1921
1648
|
* @generated from message livekit.proto.ParticipantNameChanged
|
|
1922
1649
|
*/
|
|
1923
|
-
export
|
|
1650
|
+
export type ParticipantNameChanged = Message<"livekit.proto.ParticipantNameChanged"> & {
|
|
1924
1651
|
/**
|
|
1925
|
-
* @generated from field: string participant_identity = 1;
|
|
1652
|
+
* @generated from field: required string participant_identity = 1;
|
|
1926
1653
|
*/
|
|
1927
1654
|
participantIdentity: string;
|
|
1928
1655
|
/**
|
|
1929
|
-
* @generated from field: string name = 2;
|
|
1656
|
+
* @generated from field: required string name = 2;
|
|
1930
1657
|
*/
|
|
1931
1658
|
name: string;
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantNameChanged;
|
|
1939
|
-
static equals(a: ParticipantNameChanged | PlainMessage<ParticipantNameChanged> | undefined, b: ParticipantNameChanged | PlainMessage<ParticipantNameChanged> | undefined): boolean;
|
|
1940
|
-
}
|
|
1659
|
+
};
|
|
1660
|
+
/**
|
|
1661
|
+
* Describes the message livekit.proto.ParticipantNameChanged.
|
|
1662
|
+
* Use `create(ParticipantNameChangedSchema)` to create a new message.
|
|
1663
|
+
*/
|
|
1664
|
+
export declare const ParticipantNameChangedSchema: GenMessage<ParticipantNameChanged>;
|
|
1941
1665
|
/**
|
|
1942
1666
|
* @generated from message livekit.proto.ConnectionQualityChanged
|
|
1943
1667
|
*/
|
|
1944
|
-
export
|
|
1668
|
+
export type ConnectionQualityChanged = Message<"livekit.proto.ConnectionQualityChanged"> & {
|
|
1945
1669
|
/**
|
|
1946
|
-
* @generated from field: string participant_identity = 1;
|
|
1670
|
+
* @generated from field: required string participant_identity = 1;
|
|
1947
1671
|
*/
|
|
1948
1672
|
participantIdentity: string;
|
|
1949
1673
|
/**
|
|
1950
|
-
* @generated from field: livekit.proto.ConnectionQuality quality = 2;
|
|
1674
|
+
* @generated from field: required livekit.proto.ConnectionQuality quality = 2;
|
|
1951
1675
|
*/
|
|
1952
1676
|
quality: ConnectionQuality;
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionQualityChanged;
|
|
1960
|
-
static equals(a: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined, b: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined): boolean;
|
|
1961
|
-
}
|
|
1677
|
+
};
|
|
1678
|
+
/**
|
|
1679
|
+
* Describes the message livekit.proto.ConnectionQualityChanged.
|
|
1680
|
+
* Use `create(ConnectionQualityChangedSchema)` to create a new message.
|
|
1681
|
+
*/
|
|
1682
|
+
export declare const ConnectionQualityChangedSchema: GenMessage<ConnectionQualityChanged>;
|
|
1962
1683
|
/**
|
|
1963
1684
|
* @generated from message livekit.proto.UserPacket
|
|
1964
1685
|
*/
|
|
1965
|
-
export
|
|
1686
|
+
export type UserPacket = Message<"livekit.proto.UserPacket"> & {
|
|
1966
1687
|
/**
|
|
1967
|
-
* @generated from field: livekit.proto.OwnedBuffer data = 1;
|
|
1688
|
+
* @generated from field: required livekit.proto.OwnedBuffer data = 1;
|
|
1968
1689
|
*/
|
|
1969
1690
|
data?: OwnedBuffer;
|
|
1970
1691
|
/**
|
|
1971
1692
|
* @generated from field: optional string topic = 2;
|
|
1972
1693
|
*/
|
|
1973
|
-
topic
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPacket;
|
|
1981
|
-
static equals(a: UserPacket | PlainMessage<UserPacket> | undefined, b: UserPacket | PlainMessage<UserPacket> | undefined): boolean;
|
|
1982
|
-
}
|
|
1694
|
+
topic: string;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* Describes the message livekit.proto.UserPacket.
|
|
1698
|
+
* Use `create(UserPacketSchema)` to create a new message.
|
|
1699
|
+
*/
|
|
1700
|
+
export declare const UserPacketSchema: GenMessage<UserPacket>;
|
|
1983
1701
|
/**
|
|
1984
1702
|
* @generated from message livekit.proto.ChatMessage
|
|
1985
1703
|
*/
|
|
1986
|
-
export
|
|
1704
|
+
export type ChatMessage = Message<"livekit.proto.ChatMessage"> & {
|
|
1987
1705
|
/**
|
|
1988
|
-
* @generated from field: string id = 1;
|
|
1706
|
+
* @generated from field: required string id = 1;
|
|
1989
1707
|
*/
|
|
1990
1708
|
id: string;
|
|
1991
1709
|
/**
|
|
1992
|
-
* @generated from field: int64 timestamp = 2;
|
|
1710
|
+
* @generated from field: required int64 timestamp = 2;
|
|
1993
1711
|
*/
|
|
1994
1712
|
timestamp: bigint;
|
|
1995
1713
|
/**
|
|
1996
|
-
* @generated from field: string message = 3;
|
|
1714
|
+
* @generated from field: required string message = 3;
|
|
1997
1715
|
*/
|
|
1998
1716
|
message: string;
|
|
1999
1717
|
/**
|
|
2000
1718
|
* @generated from field: optional int64 edit_timestamp = 4;
|
|
2001
1719
|
*/
|
|
2002
|
-
editTimestamp
|
|
1720
|
+
editTimestamp: bigint;
|
|
2003
1721
|
/**
|
|
2004
1722
|
* @generated from field: optional bool deleted = 5;
|
|
2005
1723
|
*/
|
|
2006
|
-
deleted
|
|
1724
|
+
deleted: boolean;
|
|
2007
1725
|
/**
|
|
2008
1726
|
* @generated from field: optional bool generated = 6;
|
|
2009
1727
|
*/
|
|
2010
|
-
generated
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage;
|
|
2018
|
-
static equals(a: ChatMessage | PlainMessage<ChatMessage> | undefined, b: ChatMessage | PlainMessage<ChatMessage> | undefined): boolean;
|
|
2019
|
-
}
|
|
1728
|
+
generated: boolean;
|
|
1729
|
+
};
|
|
1730
|
+
/**
|
|
1731
|
+
* Describes the message livekit.proto.ChatMessage.
|
|
1732
|
+
* Use `create(ChatMessageSchema)` to create a new message.
|
|
1733
|
+
*/
|
|
1734
|
+
export declare const ChatMessageSchema: GenMessage<ChatMessage>;
|
|
2020
1735
|
/**
|
|
2021
1736
|
* @generated from message livekit.proto.ChatMessageReceived
|
|
2022
1737
|
*/
|
|
2023
|
-
export
|
|
1738
|
+
export type ChatMessageReceived = Message<"livekit.proto.ChatMessageReceived"> & {
|
|
2024
1739
|
/**
|
|
2025
|
-
* @generated from field: livekit.proto.ChatMessage message = 1;
|
|
1740
|
+
* @generated from field: required livekit.proto.ChatMessage message = 1;
|
|
2026
1741
|
*/
|
|
2027
1742
|
message?: ChatMessage;
|
|
2028
1743
|
/**
|
|
2029
|
-
* @generated from field: string participant_identity = 2;
|
|
1744
|
+
* @generated from field: required string participant_identity = 2;
|
|
2030
1745
|
*/
|
|
2031
1746
|
participantIdentity: string;
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessageReceived;
|
|
2039
|
-
static equals(a: ChatMessageReceived | PlainMessage<ChatMessageReceived> | undefined, b: ChatMessageReceived | PlainMessage<ChatMessageReceived> | undefined): boolean;
|
|
2040
|
-
}
|
|
1747
|
+
};
|
|
1748
|
+
/**
|
|
1749
|
+
* Describes the message livekit.proto.ChatMessageReceived.
|
|
1750
|
+
* Use `create(ChatMessageReceivedSchema)` to create a new message.
|
|
1751
|
+
*/
|
|
1752
|
+
export declare const ChatMessageReceivedSchema: GenMessage<ChatMessageReceived>;
|
|
2041
1753
|
/**
|
|
2042
1754
|
* @generated from message livekit.proto.SipDTMF
|
|
2043
1755
|
*/
|
|
2044
|
-
export
|
|
1756
|
+
export type SipDTMF = Message<"livekit.proto.SipDTMF"> & {
|
|
2045
1757
|
/**
|
|
2046
|
-
* @generated from field: uint32 code = 1;
|
|
1758
|
+
* @generated from field: required uint32 code = 1;
|
|
2047
1759
|
*/
|
|
2048
1760
|
code: number;
|
|
2049
1761
|
/**
|
|
2050
1762
|
* @generated from field: optional string digit = 2;
|
|
2051
1763
|
*/
|
|
2052
|
-
digit
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipDTMF;
|
|
2060
|
-
static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
|
|
2061
|
-
}
|
|
1764
|
+
digit: string;
|
|
1765
|
+
};
|
|
1766
|
+
/**
|
|
1767
|
+
* Describes the message livekit.proto.SipDTMF.
|
|
1768
|
+
* Use `create(SipDTMFSchema)` to create a new message.
|
|
1769
|
+
*/
|
|
1770
|
+
export declare const SipDTMFSchema: GenMessage<SipDTMF>;
|
|
2062
1771
|
/**
|
|
2063
1772
|
* @generated from message livekit.proto.DataPacketReceived
|
|
2064
1773
|
*/
|
|
2065
|
-
export
|
|
1774
|
+
export type DataPacketReceived = Message<"livekit.proto.DataPacketReceived"> & {
|
|
2066
1775
|
/**
|
|
2067
|
-
* @generated from field: livekit.proto.DataPacketKind kind = 1;
|
|
1776
|
+
* @generated from field: required livekit.proto.DataPacketKind kind = 1;
|
|
2068
1777
|
*/
|
|
2069
1778
|
kind: DataPacketKind;
|
|
2070
1779
|
/**
|
|
2071
1780
|
* Can be empty if the data is sent a server SDK
|
|
2072
1781
|
*
|
|
2073
|
-
* @generated from field: string participant_identity = 2;
|
|
1782
|
+
* @generated from field: required string participant_identity = 2;
|
|
2074
1783
|
*/
|
|
2075
1784
|
participantIdentity: string;
|
|
2076
1785
|
/**
|
|
@@ -2092,124 +1801,270 @@ export declare class DataPacketReceived extends Message<DataPacketReceived> {
|
|
|
2092
1801
|
case: undefined;
|
|
2093
1802
|
value?: undefined;
|
|
2094
1803
|
};
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPacketReceived;
|
|
2102
|
-
static equals(a: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined, b: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined): boolean;
|
|
2103
|
-
}
|
|
1804
|
+
};
|
|
1805
|
+
/**
|
|
1806
|
+
* Describes the message livekit.proto.DataPacketReceived.
|
|
1807
|
+
* Use `create(DataPacketReceivedSchema)` to create a new message.
|
|
1808
|
+
*/
|
|
1809
|
+
export declare const DataPacketReceivedSchema: GenMessage<DataPacketReceived>;
|
|
2104
1810
|
/**
|
|
2105
1811
|
* @generated from message livekit.proto.TranscriptionReceived
|
|
2106
1812
|
*/
|
|
2107
|
-
export
|
|
1813
|
+
export type TranscriptionReceived = Message<"livekit.proto.TranscriptionReceived"> & {
|
|
2108
1814
|
/**
|
|
2109
1815
|
* @generated from field: optional string participant_identity = 1;
|
|
2110
1816
|
*/
|
|
2111
|
-
participantIdentity
|
|
1817
|
+
participantIdentity: string;
|
|
2112
1818
|
/**
|
|
2113
1819
|
* @generated from field: optional string track_sid = 2;
|
|
2114
1820
|
*/
|
|
2115
|
-
trackSid
|
|
1821
|
+
trackSid: string;
|
|
2116
1822
|
/**
|
|
2117
1823
|
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3;
|
|
2118
1824
|
*/
|
|
2119
1825
|
segments: TranscriptionSegment[];
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionReceived;
|
|
2127
|
-
static equals(a: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined, b: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined): boolean;
|
|
2128
|
-
}
|
|
1826
|
+
};
|
|
1827
|
+
/**
|
|
1828
|
+
* Describes the message livekit.proto.TranscriptionReceived.
|
|
1829
|
+
* Use `create(TranscriptionReceivedSchema)` to create a new message.
|
|
1830
|
+
*/
|
|
1831
|
+
export declare const TranscriptionReceivedSchema: GenMessage<TranscriptionReceived>;
|
|
2129
1832
|
/**
|
|
2130
1833
|
* @generated from message livekit.proto.ConnectionStateChanged
|
|
2131
1834
|
*/
|
|
2132
|
-
export
|
|
1835
|
+
export type ConnectionStateChanged = Message<"livekit.proto.ConnectionStateChanged"> & {
|
|
2133
1836
|
/**
|
|
2134
|
-
* @generated from field: livekit.proto.ConnectionState state = 1;
|
|
1837
|
+
* @generated from field: required livekit.proto.ConnectionState state = 1;
|
|
2135
1838
|
*/
|
|
2136
1839
|
state: ConnectionState;
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionStateChanged;
|
|
2144
|
-
static equals(a: ConnectionStateChanged | PlainMessage<ConnectionStateChanged> | undefined, b: ConnectionStateChanged | PlainMessage<ConnectionStateChanged> | undefined): boolean;
|
|
2145
|
-
}
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
* Describes the message livekit.proto.ConnectionStateChanged.
|
|
1843
|
+
* Use `create(ConnectionStateChangedSchema)` to create a new message.
|
|
1844
|
+
*/
|
|
1845
|
+
export declare const ConnectionStateChangedSchema: GenMessage<ConnectionStateChanged>;
|
|
2146
1846
|
/**
|
|
2147
1847
|
* @generated from message livekit.proto.Connected
|
|
2148
1848
|
*/
|
|
2149
|
-
export
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connected;
|
|
2156
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connected;
|
|
2157
|
-
static equals(a: Connected | PlainMessage<Connected> | undefined, b: Connected | PlainMessage<Connected> | undefined): boolean;
|
|
2158
|
-
}
|
|
1849
|
+
export type Connected = Message<"livekit.proto.Connected"> & {};
|
|
1850
|
+
/**
|
|
1851
|
+
* Describes the message livekit.proto.Connected.
|
|
1852
|
+
* Use `create(ConnectedSchema)` to create a new message.
|
|
1853
|
+
*/
|
|
1854
|
+
export declare const ConnectedSchema: GenMessage<Connected>;
|
|
2159
1855
|
/**
|
|
2160
1856
|
* @generated from message livekit.proto.Disconnected
|
|
2161
1857
|
*/
|
|
2162
|
-
export
|
|
1858
|
+
export type Disconnected = Message<"livekit.proto.Disconnected"> & {
|
|
2163
1859
|
/**
|
|
2164
|
-
* @generated from field: livekit.proto.DisconnectReason reason = 1;
|
|
1860
|
+
* @generated from field: required livekit.proto.DisconnectReason reason = 1;
|
|
2165
1861
|
*/
|
|
2166
1862
|
reason: DisconnectReason;
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Disconnected;
|
|
2174
|
-
static equals(a: Disconnected | PlainMessage<Disconnected> | undefined, b: Disconnected | PlainMessage<Disconnected> | undefined): boolean;
|
|
2175
|
-
}
|
|
1863
|
+
};
|
|
1864
|
+
/**
|
|
1865
|
+
* Describes the message livekit.proto.Disconnected.
|
|
1866
|
+
* Use `create(DisconnectedSchema)` to create a new message.
|
|
1867
|
+
*/
|
|
1868
|
+
export declare const DisconnectedSchema: GenMessage<Disconnected>;
|
|
2176
1869
|
/**
|
|
2177
1870
|
* @generated from message livekit.proto.Reconnecting
|
|
2178
1871
|
*/
|
|
2179
|
-
export
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Reconnecting;
|
|
2186
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Reconnecting;
|
|
2187
|
-
static equals(a: Reconnecting | PlainMessage<Reconnecting> | undefined, b: Reconnecting | PlainMessage<Reconnecting> | undefined): boolean;
|
|
2188
|
-
}
|
|
1872
|
+
export type Reconnecting = Message<"livekit.proto.Reconnecting"> & {};
|
|
1873
|
+
/**
|
|
1874
|
+
* Describes the message livekit.proto.Reconnecting.
|
|
1875
|
+
* Use `create(ReconnectingSchema)` to create a new message.
|
|
1876
|
+
*/
|
|
1877
|
+
export declare const ReconnectingSchema: GenMessage<Reconnecting>;
|
|
2189
1878
|
/**
|
|
2190
1879
|
* @generated from message livekit.proto.Reconnected
|
|
2191
1880
|
*/
|
|
2192
|
-
export
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Reconnected;
|
|
2199
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Reconnected;
|
|
2200
|
-
static equals(a: Reconnected | PlainMessage<Reconnected> | undefined, b: Reconnected | PlainMessage<Reconnected> | undefined): boolean;
|
|
2201
|
-
}
|
|
1881
|
+
export type Reconnected = Message<"livekit.proto.Reconnected"> & {};
|
|
1882
|
+
/**
|
|
1883
|
+
* Describes the message livekit.proto.Reconnected.
|
|
1884
|
+
* Use `create(ReconnectedSchema)` to create a new message.
|
|
1885
|
+
*/
|
|
1886
|
+
export declare const ReconnectedSchema: GenMessage<Reconnected>;
|
|
2202
1887
|
/**
|
|
2203
1888
|
* @generated from message livekit.proto.RoomEOS
|
|
2204
1889
|
*/
|
|
2205
|
-
export
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
1890
|
+
export type RoomEOS = Message<"livekit.proto.RoomEOS"> & {};
|
|
1891
|
+
/**
|
|
1892
|
+
* Describes the message livekit.proto.RoomEOS.
|
|
1893
|
+
* Use `create(RoomEOSSchema)` to create a new message.
|
|
1894
|
+
*/
|
|
1895
|
+
export declare const RoomEOSSchema: GenMessage<RoomEOS>;
|
|
1896
|
+
/**
|
|
1897
|
+
* @generated from enum livekit.proto.IceTransportType
|
|
1898
|
+
*/
|
|
1899
|
+
export declare enum IceTransportType {
|
|
1900
|
+
/**
|
|
1901
|
+
* @generated from enum value: TRANSPORT_RELAY = 0;
|
|
1902
|
+
*/
|
|
1903
|
+
TRANSPORT_RELAY = 0,
|
|
1904
|
+
/**
|
|
1905
|
+
* @generated from enum value: TRANSPORT_NOHOST = 1;
|
|
1906
|
+
*/
|
|
1907
|
+
TRANSPORT_NOHOST = 1,
|
|
1908
|
+
/**
|
|
1909
|
+
* @generated from enum value: TRANSPORT_ALL = 2;
|
|
1910
|
+
*/
|
|
1911
|
+
TRANSPORT_ALL = 2
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* Describes the enum livekit.proto.IceTransportType.
|
|
1915
|
+
*/
|
|
1916
|
+
export declare const IceTransportTypeSchema: GenEnum<IceTransportType>;
|
|
1917
|
+
/**
|
|
1918
|
+
* @generated from enum livekit.proto.ContinualGatheringPolicy
|
|
1919
|
+
*/
|
|
1920
|
+
export declare enum ContinualGatheringPolicy {
|
|
1921
|
+
/**
|
|
1922
|
+
* @generated from enum value: GATHER_ONCE = 0;
|
|
1923
|
+
*/
|
|
1924
|
+
GATHER_ONCE = 0,
|
|
1925
|
+
/**
|
|
1926
|
+
* @generated from enum value: GATHER_CONTINUALLY = 1;
|
|
1927
|
+
*/
|
|
1928
|
+
GATHER_CONTINUALLY = 1
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* Describes the enum livekit.proto.ContinualGatheringPolicy.
|
|
1932
|
+
*/
|
|
1933
|
+
export declare const ContinualGatheringPolicySchema: GenEnum<ContinualGatheringPolicy>;
|
|
1934
|
+
/**
|
|
1935
|
+
* @generated from enum livekit.proto.ConnectionQuality
|
|
1936
|
+
*/
|
|
1937
|
+
export declare enum ConnectionQuality {
|
|
1938
|
+
/**
|
|
1939
|
+
* @generated from enum value: QUALITY_POOR = 0;
|
|
1940
|
+
*/
|
|
1941
|
+
QUALITY_POOR = 0,
|
|
1942
|
+
/**
|
|
1943
|
+
* @generated from enum value: QUALITY_GOOD = 1;
|
|
1944
|
+
*/
|
|
1945
|
+
QUALITY_GOOD = 1,
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from enum value: QUALITY_EXCELLENT = 2;
|
|
1948
|
+
*/
|
|
1949
|
+
QUALITY_EXCELLENT = 2,
|
|
1950
|
+
/**
|
|
1951
|
+
* @generated from enum value: QUALITY_LOST = 3;
|
|
1952
|
+
*/
|
|
1953
|
+
QUALITY_LOST = 3
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Describes the enum livekit.proto.ConnectionQuality.
|
|
1957
|
+
*/
|
|
1958
|
+
export declare const ConnectionQualitySchema: GenEnum<ConnectionQuality>;
|
|
1959
|
+
/**
|
|
1960
|
+
* @generated from enum livekit.proto.ConnectionState
|
|
1961
|
+
*/
|
|
1962
|
+
export declare enum ConnectionState {
|
|
1963
|
+
/**
|
|
1964
|
+
* @generated from enum value: CONN_DISCONNECTED = 0;
|
|
1965
|
+
*/
|
|
1966
|
+
CONN_DISCONNECTED = 0,
|
|
1967
|
+
/**
|
|
1968
|
+
* @generated from enum value: CONN_CONNECTED = 1;
|
|
1969
|
+
*/
|
|
1970
|
+
CONN_CONNECTED = 1,
|
|
1971
|
+
/**
|
|
1972
|
+
* @generated from enum value: CONN_RECONNECTING = 2;
|
|
1973
|
+
*/
|
|
1974
|
+
CONN_RECONNECTING = 2
|
|
1975
|
+
}
|
|
1976
|
+
/**
|
|
1977
|
+
* Describes the enum livekit.proto.ConnectionState.
|
|
1978
|
+
*/
|
|
1979
|
+
export declare const ConnectionStateSchema: GenEnum<ConnectionState>;
|
|
1980
|
+
/**
|
|
1981
|
+
* @generated from enum livekit.proto.DataPacketKind
|
|
1982
|
+
*/
|
|
1983
|
+
export declare enum DataPacketKind {
|
|
1984
|
+
/**
|
|
1985
|
+
* @generated from enum value: KIND_LOSSY = 0;
|
|
1986
|
+
*/
|
|
1987
|
+
KIND_LOSSY = 0,
|
|
1988
|
+
/**
|
|
1989
|
+
* @generated from enum value: KIND_RELIABLE = 1;
|
|
1990
|
+
*/
|
|
1991
|
+
KIND_RELIABLE = 1
|
|
1992
|
+
}
|
|
1993
|
+
/**
|
|
1994
|
+
* Describes the enum livekit.proto.DataPacketKind.
|
|
1995
|
+
*/
|
|
1996
|
+
export declare const DataPacketKindSchema: GenEnum<DataPacketKind>;
|
|
1997
|
+
/**
|
|
1998
|
+
* @generated from enum livekit.proto.DisconnectReason
|
|
1999
|
+
*/
|
|
2000
|
+
export declare enum DisconnectReason {
|
|
2001
|
+
/**
|
|
2002
|
+
* @generated from enum value: UNKNOWN_REASON = 0;
|
|
2003
|
+
*/
|
|
2004
|
+
UNKNOWN_REASON = 0,
|
|
2005
|
+
/**
|
|
2006
|
+
* the client initiated the disconnect
|
|
2007
|
+
*
|
|
2008
|
+
* @generated from enum value: CLIENT_INITIATED = 1;
|
|
2009
|
+
*/
|
|
2010
|
+
CLIENT_INITIATED = 1,
|
|
2011
|
+
/**
|
|
2012
|
+
* another participant with the same identity has joined the room
|
|
2013
|
+
*
|
|
2014
|
+
* @generated from enum value: DUPLICATE_IDENTITY = 2;
|
|
2015
|
+
*/
|
|
2016
|
+
DUPLICATE_IDENTITY = 2,
|
|
2017
|
+
/**
|
|
2018
|
+
* the server instance is shutting down
|
|
2019
|
+
*
|
|
2020
|
+
* @generated from enum value: SERVER_SHUTDOWN = 3;
|
|
2021
|
+
*/
|
|
2022
|
+
SERVER_SHUTDOWN = 3,
|
|
2023
|
+
/**
|
|
2024
|
+
* RoomService.RemoveParticipant was called
|
|
2025
|
+
*
|
|
2026
|
+
* @generated from enum value: PARTICIPANT_REMOVED = 4;
|
|
2027
|
+
*/
|
|
2028
|
+
PARTICIPANT_REMOVED = 4,
|
|
2029
|
+
/**
|
|
2030
|
+
* RoomService.DeleteRoom was called
|
|
2031
|
+
*
|
|
2032
|
+
* @generated from enum value: ROOM_DELETED = 5;
|
|
2033
|
+
*/
|
|
2034
|
+
ROOM_DELETED = 5,
|
|
2035
|
+
/**
|
|
2036
|
+
* the client is attempting to resume a session, but server is not aware of it
|
|
2037
|
+
*
|
|
2038
|
+
* @generated from enum value: STATE_MISMATCH = 6;
|
|
2039
|
+
*/
|
|
2040
|
+
STATE_MISMATCH = 6,
|
|
2041
|
+
/**
|
|
2042
|
+
* client was unable to connect fully
|
|
2043
|
+
*
|
|
2044
|
+
* @generated from enum value: JOIN_FAILURE = 7;
|
|
2045
|
+
*/
|
|
2046
|
+
JOIN_FAILURE = 7,
|
|
2047
|
+
/**
|
|
2048
|
+
* Cloud-only, the server requested Participant to migrate the connection elsewhere
|
|
2049
|
+
*
|
|
2050
|
+
* @generated from enum value: MIGRATION = 8;
|
|
2051
|
+
*/
|
|
2052
|
+
MIGRATION = 8,
|
|
2053
|
+
/**
|
|
2054
|
+
* the signal websocket was closed unexpectedly
|
|
2055
|
+
*
|
|
2056
|
+
* @generated from enum value: SIGNAL_CLOSE = 9;
|
|
2057
|
+
*/
|
|
2058
|
+
SIGNAL_CLOSE = 9,
|
|
2059
|
+
/**
|
|
2060
|
+
* the room was closed, due to all Standard and Ingress participants having left
|
|
2061
|
+
*
|
|
2062
|
+
* @generated from enum value: ROOM_CLOSED = 10;
|
|
2063
|
+
*/
|
|
2064
|
+
ROOM_CLOSED = 10
|
|
2214
2065
|
}
|
|
2066
|
+
/**
|
|
2067
|
+
* Describes the enum livekit.proto.DisconnectReason.
|
|
2068
|
+
*/
|
|
2069
|
+
export declare const DisconnectReasonSchema: GenEnum<DisconnectReason>;
|
|
2215
2070
|
//# sourceMappingURL=room_pb.d.ts.map
|