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