@livekit/rtc-node 0.13.13 → 0.13.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/audio_stream.cjs +3 -2
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +10 -2
- package/dist/audio_stream.d.ts +10 -2
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +2 -1
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -2
- package/dist/data_streams/index.d.ts +2 -2
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -2
- package/dist/data_streams/stream_reader.d.ts +2 -2
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.cjs.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -2
- package/dist/data_streams/stream_writer.d.ts +2 -2
- package/dist/data_streams/stream_writer.d.ts.map +1 -1
- package/dist/data_streams/stream_writer.js.map +1 -1
- package/dist/data_streams/types.d.cts +2 -2
- package/dist/data_streams/types.d.ts +2 -2
- package/dist/ffi_client.cjs +4 -2
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +4 -1
- package/dist/ffi_client.d.ts +4 -1
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +4 -2
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.cts +11 -8
- package/dist/index.d.ts +11 -8
- package/dist/participant.cjs +13 -15
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +8 -4
- package/dist/participant.d.ts +8 -4
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +5 -7
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs +4 -2
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.d.cts +8 -0
- package/dist/proto/audio_frame_pb.d.ts +8 -0
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +4 -2
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/data_stream_pb.cjs +1549 -0
- package/dist/proto/data_stream_pb.cjs.map +1 -0
- package/dist/proto/data_stream_pb.d.cts +1358 -0
- package/dist/proto/data_stream_pb.d.ts +1358 -0
- package/dist/proto/data_stream_pb.d.ts.map +1 -0
- package/dist/proto/data_stream_pb.js +1473 -0
- package/dist/proto/data_stream_pb.js.map +1 -0
- package/dist/proto/ffi_pb.cjs +43 -3
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +251 -8
- package/dist/proto/ffi_pb.d.ts +251 -8
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +43 -3
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/participant_pb.cjs +5 -1
- package/dist/proto/participant_pb.cjs.map +1 -1
- package/dist/proto/participant_pb.d.cts +9 -1
- package/dist/proto/participant_pb.d.ts +9 -1
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +5 -1
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +99 -2
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +130 -2
- package/dist/proto/room_pb.d.ts +130 -2
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +97 -3
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/track_pb.cjs +27 -1
- package/dist/proto/track_pb.cjs.map +1 -1
- package/dist/proto/track_pb.d.cts +40 -1
- package/dist/proto/track_pb.d.ts +40 -1
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +26 -1
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/room.cjs +79 -3
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +59 -8
- package/dist/room.d.ts +59 -8
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +77 -1
- package/dist/room.js.map +1 -1
- package/dist/{stream_reader-a8_oiaOi.d.cts → stream_reader-Ch2zvjU3.d.cts} +0 -1
- package/dist/{stream_reader-DWUV4eJB.d.ts → stream_reader-DRyR29vo.d.ts} +0 -1
- package/dist/track.cjs +23 -4
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +17 -4
- package/dist/track.d.ts +17 -4
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +23 -4
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.cts +9 -1
- package/dist/track_publication.d.ts +9 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_source.d.cts +11 -2
- package/dist/video_source.d.ts +11 -2
- package/dist/video_stream.cjs +1 -2
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +8 -1
- package/dist/video_stream.d.ts +8 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +0 -1
- package/dist/video_stream.js.map +1 -1
- package/package.json +7 -7
- package/src/audio_stream.ts +5 -1
- package/src/data_streams/stream_reader.ts +0 -1
- package/src/data_streams/stream_writer.ts +0 -1
- package/src/ffi_client.ts +9 -5
- package/src/participant.ts +13 -15
- package/src/proto/audio_frame_pb.ts +12 -0
- package/src/proto/data_stream_pb.ts +2515 -0
- package/src/proto/ffi_pb.ts +283 -1
- package/src/proto/participant_pb.ts +12 -0
- package/src/proto/room_pb.ts +212 -1
- package/src/proto/track_pb.ts +58 -0
- package/src/room.ts +79 -1
- package/src/track.ts +28 -4
- package/src/version.ts +1 -1
- package/src/video_stream.ts +1 -1
|
@@ -0,0 +1,1358 @@
|
|
|
1
|
+
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { FfiOwnedHandle } from './handle_pb.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A reader for an incoming stream.
|
|
6
|
+
*
|
|
7
|
+
* @generated from message livekit.proto.OwnedTextStreamReader
|
|
8
|
+
*/
|
|
9
|
+
declare class OwnedTextStreamReader extends Message<OwnedTextStreamReader> {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
12
|
+
*/
|
|
13
|
+
handle?: FfiOwnedHandle;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: required livekit.proto.TextStreamInfo info = 2;
|
|
16
|
+
*/
|
|
17
|
+
info?: TextStreamInfo;
|
|
18
|
+
constructor(data?: PartialMessage<OwnedTextStreamReader>);
|
|
19
|
+
static readonly runtime: typeof proto2;
|
|
20
|
+
static readonly typeName = "livekit.proto.OwnedTextStreamReader";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedTextStreamReader;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedTextStreamReader;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedTextStreamReader;
|
|
25
|
+
static equals(a: OwnedTextStreamReader | PlainMessage<OwnedTextStreamReader> | undefined, b: OwnedTextStreamReader | PlainMessage<OwnedTextStreamReader> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Reads an incoming text stream incrementally.
|
|
29
|
+
*
|
|
30
|
+
* @generated from message livekit.proto.TextStreamReaderReadIncrementalRequest
|
|
31
|
+
*/
|
|
32
|
+
declare class TextStreamReaderReadIncrementalRequest extends Message<TextStreamReaderReadIncrementalRequest> {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
35
|
+
*/
|
|
36
|
+
readerHandle?: bigint;
|
|
37
|
+
constructor(data?: PartialMessage<TextStreamReaderReadIncrementalRequest>);
|
|
38
|
+
static readonly runtime: typeof proto2;
|
|
39
|
+
static readonly typeName = "livekit.proto.TextStreamReaderReadIncrementalRequest";
|
|
40
|
+
static readonly fields: FieldList;
|
|
41
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderReadIncrementalRequest;
|
|
42
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderReadIncrementalRequest;
|
|
43
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderReadIncrementalRequest;
|
|
44
|
+
static equals(a: TextStreamReaderReadIncrementalRequest | PlainMessage<TextStreamReaderReadIncrementalRequest> | undefined, b: TextStreamReaderReadIncrementalRequest | PlainMessage<TextStreamReaderReadIncrementalRequest> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message livekit.proto.TextStreamReaderReadIncrementalResponse
|
|
48
|
+
*/
|
|
49
|
+
declare class TextStreamReaderReadIncrementalResponse extends Message<TextStreamReaderReadIncrementalResponse> {
|
|
50
|
+
constructor(data?: PartialMessage<TextStreamReaderReadIncrementalResponse>);
|
|
51
|
+
static readonly runtime: typeof proto2;
|
|
52
|
+
static readonly typeName = "livekit.proto.TextStreamReaderReadIncrementalResponse";
|
|
53
|
+
static readonly fields: FieldList;
|
|
54
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderReadIncrementalResponse;
|
|
55
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderReadIncrementalResponse;
|
|
56
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderReadIncrementalResponse;
|
|
57
|
+
static equals(a: TextStreamReaderReadIncrementalResponse | PlainMessage<TextStreamReaderReadIncrementalResponse> | undefined, b: TextStreamReaderReadIncrementalResponse | PlainMessage<TextStreamReaderReadIncrementalResponse> | undefined): boolean;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Reads an incoming text stream in its entirety.
|
|
61
|
+
*
|
|
62
|
+
* @generated from message livekit.proto.TextStreamReaderReadAllRequest
|
|
63
|
+
*/
|
|
64
|
+
declare class TextStreamReaderReadAllRequest extends Message<TextStreamReaderReadAllRequest> {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
67
|
+
*/
|
|
68
|
+
readerHandle?: bigint;
|
|
69
|
+
constructor(data?: PartialMessage<TextStreamReaderReadAllRequest>);
|
|
70
|
+
static readonly runtime: typeof proto2;
|
|
71
|
+
static readonly typeName = "livekit.proto.TextStreamReaderReadAllRequest";
|
|
72
|
+
static readonly fields: FieldList;
|
|
73
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderReadAllRequest;
|
|
74
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllRequest;
|
|
75
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllRequest;
|
|
76
|
+
static equals(a: TextStreamReaderReadAllRequest | PlainMessage<TextStreamReaderReadAllRequest> | undefined, b: TextStreamReaderReadAllRequest | PlainMessage<TextStreamReaderReadAllRequest> | undefined): boolean;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message livekit.proto.TextStreamReaderReadAllResponse
|
|
80
|
+
*/
|
|
81
|
+
declare class TextStreamReaderReadAllResponse extends Message<TextStreamReaderReadAllResponse> {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: required uint64 async_id = 1;
|
|
84
|
+
*/
|
|
85
|
+
asyncId?: bigint;
|
|
86
|
+
constructor(data?: PartialMessage<TextStreamReaderReadAllResponse>);
|
|
87
|
+
static readonly runtime: typeof proto2;
|
|
88
|
+
static readonly typeName = "livekit.proto.TextStreamReaderReadAllResponse";
|
|
89
|
+
static readonly fields: FieldList;
|
|
90
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderReadAllResponse;
|
|
91
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllResponse;
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllResponse;
|
|
93
|
+
static equals(a: TextStreamReaderReadAllResponse | PlainMessage<TextStreamReaderReadAllResponse> | undefined, b: TextStreamReaderReadAllResponse | PlainMessage<TextStreamReaderReadAllResponse> | undefined): boolean;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message livekit.proto.TextStreamReaderReadAllCallback
|
|
97
|
+
*/
|
|
98
|
+
declare class TextStreamReaderReadAllCallback extends Message<TextStreamReaderReadAllCallback> {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: required uint64 async_id = 1;
|
|
101
|
+
*/
|
|
102
|
+
asyncId?: bigint;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from oneof livekit.proto.TextStreamReaderReadAllCallback.result
|
|
105
|
+
*/
|
|
106
|
+
result: {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string content = 2;
|
|
109
|
+
*/
|
|
110
|
+
value: string;
|
|
111
|
+
case: "content";
|
|
112
|
+
} | {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
115
|
+
*/
|
|
116
|
+
value: StreamError;
|
|
117
|
+
case: "error";
|
|
118
|
+
} | {
|
|
119
|
+
case: undefined;
|
|
120
|
+
value?: undefined;
|
|
121
|
+
};
|
|
122
|
+
constructor(data?: PartialMessage<TextStreamReaderReadAllCallback>);
|
|
123
|
+
static readonly runtime: typeof proto2;
|
|
124
|
+
static readonly typeName = "livekit.proto.TextStreamReaderReadAllCallback";
|
|
125
|
+
static readonly fields: FieldList;
|
|
126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderReadAllCallback;
|
|
127
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllCallback;
|
|
128
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderReadAllCallback;
|
|
129
|
+
static equals(a: TextStreamReaderReadAllCallback | PlainMessage<TextStreamReaderReadAllCallback> | undefined, b: TextStreamReaderReadAllCallback | PlainMessage<TextStreamReaderReadAllCallback> | undefined): boolean;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message livekit.proto.TextStreamReaderEvent
|
|
133
|
+
*/
|
|
134
|
+
declare class TextStreamReaderEvent extends Message<TextStreamReaderEvent> {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
137
|
+
*/
|
|
138
|
+
readerHandle?: bigint;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from oneof livekit.proto.TextStreamReaderEvent.detail
|
|
141
|
+
*/
|
|
142
|
+
detail: {
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: livekit.proto.TextStreamReaderChunkReceived chunk_received = 2;
|
|
145
|
+
*/
|
|
146
|
+
value: TextStreamReaderChunkReceived;
|
|
147
|
+
case: "chunkReceived";
|
|
148
|
+
} | {
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: livekit.proto.TextStreamReaderEOS eos = 3;
|
|
151
|
+
*/
|
|
152
|
+
value: TextStreamReaderEOS;
|
|
153
|
+
case: "eos";
|
|
154
|
+
} | {
|
|
155
|
+
case: undefined;
|
|
156
|
+
value?: undefined;
|
|
157
|
+
};
|
|
158
|
+
constructor(data?: PartialMessage<TextStreamReaderEvent>);
|
|
159
|
+
static readonly runtime: typeof proto2;
|
|
160
|
+
static readonly typeName = "livekit.proto.TextStreamReaderEvent";
|
|
161
|
+
static readonly fields: FieldList;
|
|
162
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderEvent;
|
|
163
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderEvent;
|
|
164
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderEvent;
|
|
165
|
+
static equals(a: TextStreamReaderEvent | PlainMessage<TextStreamReaderEvent> | undefined, b: TextStreamReaderEvent | PlainMessage<TextStreamReaderEvent> | undefined): boolean;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @generated from message livekit.proto.TextStreamReaderChunkReceived
|
|
169
|
+
*/
|
|
170
|
+
declare class TextStreamReaderChunkReceived extends Message<TextStreamReaderChunkReceived> {
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: required string content = 1;
|
|
173
|
+
*/
|
|
174
|
+
content?: string;
|
|
175
|
+
constructor(data?: PartialMessage<TextStreamReaderChunkReceived>);
|
|
176
|
+
static readonly runtime: typeof proto2;
|
|
177
|
+
static readonly typeName = "livekit.proto.TextStreamReaderChunkReceived";
|
|
178
|
+
static readonly fields: FieldList;
|
|
179
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderChunkReceived;
|
|
180
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderChunkReceived;
|
|
181
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderChunkReceived;
|
|
182
|
+
static equals(a: TextStreamReaderChunkReceived | PlainMessage<TextStreamReaderChunkReceived> | undefined, b: TextStreamReaderChunkReceived | PlainMessage<TextStreamReaderChunkReceived> | undefined): boolean;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* @generated from message livekit.proto.TextStreamReaderEOS
|
|
186
|
+
*/
|
|
187
|
+
declare class TextStreamReaderEOS extends Message<TextStreamReaderEOS> {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: optional livekit.proto.StreamError error = 1;
|
|
190
|
+
*/
|
|
191
|
+
error?: StreamError;
|
|
192
|
+
constructor(data?: PartialMessage<TextStreamReaderEOS>);
|
|
193
|
+
static readonly runtime: typeof proto2;
|
|
194
|
+
static readonly typeName = "livekit.proto.TextStreamReaderEOS";
|
|
195
|
+
static readonly fields: FieldList;
|
|
196
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamReaderEOS;
|
|
197
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamReaderEOS;
|
|
198
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamReaderEOS;
|
|
199
|
+
static equals(a: TextStreamReaderEOS | PlainMessage<TextStreamReaderEOS> | undefined, b: TextStreamReaderEOS | PlainMessage<TextStreamReaderEOS> | undefined): boolean;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* A reader for an incoming stream.
|
|
203
|
+
*
|
|
204
|
+
* @generated from message livekit.proto.OwnedByteStreamReader
|
|
205
|
+
*/
|
|
206
|
+
declare class OwnedByteStreamReader extends Message<OwnedByteStreamReader> {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
209
|
+
*/
|
|
210
|
+
handle?: FfiOwnedHandle;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: required livekit.proto.ByteStreamInfo info = 2;
|
|
213
|
+
*/
|
|
214
|
+
info?: ByteStreamInfo;
|
|
215
|
+
constructor(data?: PartialMessage<OwnedByteStreamReader>);
|
|
216
|
+
static readonly runtime: typeof proto2;
|
|
217
|
+
static readonly typeName = "livekit.proto.OwnedByteStreamReader";
|
|
218
|
+
static readonly fields: FieldList;
|
|
219
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedByteStreamReader;
|
|
220
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedByteStreamReader;
|
|
221
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedByteStreamReader;
|
|
222
|
+
static equals(a: OwnedByteStreamReader | PlainMessage<OwnedByteStreamReader> | undefined, b: OwnedByteStreamReader | PlainMessage<OwnedByteStreamReader> | undefined): boolean;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Reads an incoming byte stream incrementally.
|
|
226
|
+
*
|
|
227
|
+
* @generated from message livekit.proto.ByteStreamReaderReadIncrementalRequest
|
|
228
|
+
*/
|
|
229
|
+
declare class ByteStreamReaderReadIncrementalRequest extends Message<ByteStreamReaderReadIncrementalRequest> {
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
232
|
+
*/
|
|
233
|
+
readerHandle?: bigint;
|
|
234
|
+
constructor(data?: PartialMessage<ByteStreamReaderReadIncrementalRequest>);
|
|
235
|
+
static readonly runtime: typeof proto2;
|
|
236
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderReadIncrementalRequest";
|
|
237
|
+
static readonly fields: FieldList;
|
|
238
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderReadIncrementalRequest;
|
|
239
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderReadIncrementalRequest;
|
|
240
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderReadIncrementalRequest;
|
|
241
|
+
static equals(a: ByteStreamReaderReadIncrementalRequest | PlainMessage<ByteStreamReaderReadIncrementalRequest> | undefined, b: ByteStreamReaderReadIncrementalRequest | PlainMessage<ByteStreamReaderReadIncrementalRequest> | undefined): boolean;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @generated from message livekit.proto.ByteStreamReaderReadIncrementalResponse
|
|
245
|
+
*/
|
|
246
|
+
declare class ByteStreamReaderReadIncrementalResponse extends Message<ByteStreamReaderReadIncrementalResponse> {
|
|
247
|
+
constructor(data?: PartialMessage<ByteStreamReaderReadIncrementalResponse>);
|
|
248
|
+
static readonly runtime: typeof proto2;
|
|
249
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderReadIncrementalResponse";
|
|
250
|
+
static readonly fields: FieldList;
|
|
251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderReadIncrementalResponse;
|
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderReadIncrementalResponse;
|
|
253
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderReadIncrementalResponse;
|
|
254
|
+
static equals(a: ByteStreamReaderReadIncrementalResponse | PlainMessage<ByteStreamReaderReadIncrementalResponse> | undefined, b: ByteStreamReaderReadIncrementalResponse | PlainMessage<ByteStreamReaderReadIncrementalResponse> | undefined): boolean;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Reads an incoming byte stream in its entirety.
|
|
258
|
+
*
|
|
259
|
+
* @generated from message livekit.proto.ByteStreamReaderReadAllRequest
|
|
260
|
+
*/
|
|
261
|
+
declare class ByteStreamReaderReadAllRequest extends Message<ByteStreamReaderReadAllRequest> {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
264
|
+
*/
|
|
265
|
+
readerHandle?: bigint;
|
|
266
|
+
constructor(data?: PartialMessage<ByteStreamReaderReadAllRequest>);
|
|
267
|
+
static readonly runtime: typeof proto2;
|
|
268
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderReadAllRequest";
|
|
269
|
+
static readonly fields: FieldList;
|
|
270
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderReadAllRequest;
|
|
271
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllRequest;
|
|
272
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllRequest;
|
|
273
|
+
static equals(a: ByteStreamReaderReadAllRequest | PlainMessage<ByteStreamReaderReadAllRequest> | undefined, b: ByteStreamReaderReadAllRequest | PlainMessage<ByteStreamReaderReadAllRequest> | undefined): boolean;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message livekit.proto.ByteStreamReaderReadAllResponse
|
|
277
|
+
*/
|
|
278
|
+
declare class ByteStreamReaderReadAllResponse extends Message<ByteStreamReaderReadAllResponse> {
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: required uint64 async_id = 1;
|
|
281
|
+
*/
|
|
282
|
+
asyncId?: bigint;
|
|
283
|
+
constructor(data?: PartialMessage<ByteStreamReaderReadAllResponse>);
|
|
284
|
+
static readonly runtime: typeof proto2;
|
|
285
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderReadAllResponse";
|
|
286
|
+
static readonly fields: FieldList;
|
|
287
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderReadAllResponse;
|
|
288
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllResponse;
|
|
289
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllResponse;
|
|
290
|
+
static equals(a: ByteStreamReaderReadAllResponse | PlainMessage<ByteStreamReaderReadAllResponse> | undefined, b: ByteStreamReaderReadAllResponse | PlainMessage<ByteStreamReaderReadAllResponse> | undefined): boolean;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* @generated from message livekit.proto.ByteStreamReaderReadAllCallback
|
|
294
|
+
*/
|
|
295
|
+
declare class ByteStreamReaderReadAllCallback extends Message<ByteStreamReaderReadAllCallback> {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: required uint64 async_id = 1;
|
|
298
|
+
*/
|
|
299
|
+
asyncId?: bigint;
|
|
300
|
+
/**
|
|
301
|
+
* @generated from oneof livekit.proto.ByteStreamReaderReadAllCallback.result
|
|
302
|
+
*/
|
|
303
|
+
result: {
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: bytes content = 2;
|
|
306
|
+
*/
|
|
307
|
+
value: Uint8Array;
|
|
308
|
+
case: "content";
|
|
309
|
+
} | {
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
312
|
+
*/
|
|
313
|
+
value: StreamError;
|
|
314
|
+
case: "error";
|
|
315
|
+
} | {
|
|
316
|
+
case: undefined;
|
|
317
|
+
value?: undefined;
|
|
318
|
+
};
|
|
319
|
+
constructor(data?: PartialMessage<ByteStreamReaderReadAllCallback>);
|
|
320
|
+
static readonly runtime: typeof proto2;
|
|
321
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderReadAllCallback";
|
|
322
|
+
static readonly fields: FieldList;
|
|
323
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderReadAllCallback;
|
|
324
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllCallback;
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderReadAllCallback;
|
|
326
|
+
static equals(a: ByteStreamReaderReadAllCallback | PlainMessage<ByteStreamReaderReadAllCallback> | undefined, b: ByteStreamReaderReadAllCallback | PlainMessage<ByteStreamReaderReadAllCallback> | undefined): boolean;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Writes data from an incoming stream to a file as it arrives.
|
|
330
|
+
*
|
|
331
|
+
* @generated from message livekit.proto.ByteStreamReaderWriteToFileRequest
|
|
332
|
+
*/
|
|
333
|
+
declare class ByteStreamReaderWriteToFileRequest extends Message<ByteStreamReaderWriteToFileRequest> {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
336
|
+
*/
|
|
337
|
+
readerHandle?: bigint;
|
|
338
|
+
/**
|
|
339
|
+
* Directory to write the file in (must be writable by the current process).
|
|
340
|
+
* If not provided, the file will be written to the system's temp directory.
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: optional string directory = 3;
|
|
343
|
+
*/
|
|
344
|
+
directory?: string;
|
|
345
|
+
/**
|
|
346
|
+
* Name to use for the written file.
|
|
347
|
+
* If not provided, the file's name and extension will be inferred from
|
|
348
|
+
* the stream's info.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: optional string name_override = 4;
|
|
351
|
+
*/
|
|
352
|
+
nameOverride?: string;
|
|
353
|
+
constructor(data?: PartialMessage<ByteStreamReaderWriteToFileRequest>);
|
|
354
|
+
static readonly runtime: typeof proto2;
|
|
355
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderWriteToFileRequest";
|
|
356
|
+
static readonly fields: FieldList;
|
|
357
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderWriteToFileRequest;
|
|
358
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileRequest;
|
|
359
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileRequest;
|
|
360
|
+
static equals(a: ByteStreamReaderWriteToFileRequest | PlainMessage<ByteStreamReaderWriteToFileRequest> | undefined, b: ByteStreamReaderWriteToFileRequest | PlainMessage<ByteStreamReaderWriteToFileRequest> | undefined): boolean;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @generated from message livekit.proto.ByteStreamReaderWriteToFileResponse
|
|
364
|
+
*/
|
|
365
|
+
declare class ByteStreamReaderWriteToFileResponse extends Message<ByteStreamReaderWriteToFileResponse> {
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: required uint64 async_id = 1;
|
|
368
|
+
*/
|
|
369
|
+
asyncId?: bigint;
|
|
370
|
+
constructor(data?: PartialMessage<ByteStreamReaderWriteToFileResponse>);
|
|
371
|
+
static readonly runtime: typeof proto2;
|
|
372
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderWriteToFileResponse";
|
|
373
|
+
static readonly fields: FieldList;
|
|
374
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderWriteToFileResponse;
|
|
375
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileResponse;
|
|
376
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileResponse;
|
|
377
|
+
static equals(a: ByteStreamReaderWriteToFileResponse | PlainMessage<ByteStreamReaderWriteToFileResponse> | undefined, b: ByteStreamReaderWriteToFileResponse | PlainMessage<ByteStreamReaderWriteToFileResponse> | undefined): boolean;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* @generated from message livekit.proto.ByteStreamReaderWriteToFileCallback
|
|
381
|
+
*/
|
|
382
|
+
declare class ByteStreamReaderWriteToFileCallback extends Message<ByteStreamReaderWriteToFileCallback> {
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: required uint64 async_id = 1;
|
|
385
|
+
*/
|
|
386
|
+
asyncId?: bigint;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from oneof livekit.proto.ByteStreamReaderWriteToFileCallback.result
|
|
389
|
+
*/
|
|
390
|
+
result: {
|
|
391
|
+
/**
|
|
392
|
+
* Path the file was written to.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: string file_path = 2;
|
|
395
|
+
*/
|
|
396
|
+
value: string;
|
|
397
|
+
case: "filePath";
|
|
398
|
+
} | {
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
401
|
+
*/
|
|
402
|
+
value: StreamError;
|
|
403
|
+
case: "error";
|
|
404
|
+
} | {
|
|
405
|
+
case: undefined;
|
|
406
|
+
value?: undefined;
|
|
407
|
+
};
|
|
408
|
+
constructor(data?: PartialMessage<ByteStreamReaderWriteToFileCallback>);
|
|
409
|
+
static readonly runtime: typeof proto2;
|
|
410
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderWriteToFileCallback";
|
|
411
|
+
static readonly fields: FieldList;
|
|
412
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderWriteToFileCallback;
|
|
413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileCallback;
|
|
414
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderWriteToFileCallback;
|
|
415
|
+
static equals(a: ByteStreamReaderWriteToFileCallback | PlainMessage<ByteStreamReaderWriteToFileCallback> | undefined, b: ByteStreamReaderWriteToFileCallback | PlainMessage<ByteStreamReaderWriteToFileCallback> | undefined): boolean;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message livekit.proto.ByteStreamReaderEvent
|
|
419
|
+
*/
|
|
420
|
+
declare class ByteStreamReaderEvent extends Message<ByteStreamReaderEvent> {
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: required uint64 reader_handle = 1;
|
|
423
|
+
*/
|
|
424
|
+
readerHandle?: bigint;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from oneof livekit.proto.ByteStreamReaderEvent.detail
|
|
427
|
+
*/
|
|
428
|
+
detail: {
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: livekit.proto.ByteStreamReaderChunkReceived chunk_received = 2;
|
|
431
|
+
*/
|
|
432
|
+
value: ByteStreamReaderChunkReceived;
|
|
433
|
+
case: "chunkReceived";
|
|
434
|
+
} | {
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: livekit.proto.ByteStreamReaderEOS eos = 3;
|
|
437
|
+
*/
|
|
438
|
+
value: ByteStreamReaderEOS;
|
|
439
|
+
case: "eos";
|
|
440
|
+
} | {
|
|
441
|
+
case: undefined;
|
|
442
|
+
value?: undefined;
|
|
443
|
+
};
|
|
444
|
+
constructor(data?: PartialMessage<ByteStreamReaderEvent>);
|
|
445
|
+
static readonly runtime: typeof proto2;
|
|
446
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderEvent";
|
|
447
|
+
static readonly fields: FieldList;
|
|
448
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderEvent;
|
|
449
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderEvent;
|
|
450
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderEvent;
|
|
451
|
+
static equals(a: ByteStreamReaderEvent | PlainMessage<ByteStreamReaderEvent> | undefined, b: ByteStreamReaderEvent | PlainMessage<ByteStreamReaderEvent> | undefined): boolean;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @generated from message livekit.proto.ByteStreamReaderChunkReceived
|
|
455
|
+
*/
|
|
456
|
+
declare class ByteStreamReaderChunkReceived extends Message<ByteStreamReaderChunkReceived> {
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: required bytes content = 1;
|
|
459
|
+
*/
|
|
460
|
+
content?: Uint8Array;
|
|
461
|
+
constructor(data?: PartialMessage<ByteStreamReaderChunkReceived>);
|
|
462
|
+
static readonly runtime: typeof proto2;
|
|
463
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderChunkReceived";
|
|
464
|
+
static readonly fields: FieldList;
|
|
465
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderChunkReceived;
|
|
466
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderChunkReceived;
|
|
467
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderChunkReceived;
|
|
468
|
+
static equals(a: ByteStreamReaderChunkReceived | PlainMessage<ByteStreamReaderChunkReceived> | undefined, b: ByteStreamReaderChunkReceived | PlainMessage<ByteStreamReaderChunkReceived> | undefined): boolean;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* @generated from message livekit.proto.ByteStreamReaderEOS
|
|
472
|
+
*/
|
|
473
|
+
declare class ByteStreamReaderEOS extends Message<ByteStreamReaderEOS> {
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: optional livekit.proto.StreamError error = 1;
|
|
476
|
+
*/
|
|
477
|
+
error?: StreamError;
|
|
478
|
+
constructor(data?: PartialMessage<ByteStreamReaderEOS>);
|
|
479
|
+
static readonly runtime: typeof proto2;
|
|
480
|
+
static readonly typeName = "livekit.proto.ByteStreamReaderEOS";
|
|
481
|
+
static readonly fields: FieldList;
|
|
482
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamReaderEOS;
|
|
483
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamReaderEOS;
|
|
484
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamReaderEOS;
|
|
485
|
+
static equals(a: ByteStreamReaderEOS | PlainMessage<ByteStreamReaderEOS> | undefined, b: ByteStreamReaderEOS | PlainMessage<ByteStreamReaderEOS> | undefined): boolean;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Sends the contents of a file over a data stream.
|
|
489
|
+
*
|
|
490
|
+
* @generated from message livekit.proto.StreamSendFileRequest
|
|
491
|
+
*/
|
|
492
|
+
declare class StreamSendFileRequest extends Message<StreamSendFileRequest> {
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
495
|
+
*/
|
|
496
|
+
localParticipantHandle?: bigint;
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: required livekit.proto.StreamByteOptions options = 2;
|
|
499
|
+
*/
|
|
500
|
+
options?: StreamByteOptions;
|
|
501
|
+
/**
|
|
502
|
+
* Path of the file to send (must be readable by the current process).
|
|
503
|
+
*
|
|
504
|
+
* @generated from field: required string file_path = 3;
|
|
505
|
+
*/
|
|
506
|
+
filePath?: string;
|
|
507
|
+
constructor(data?: PartialMessage<StreamSendFileRequest>);
|
|
508
|
+
static readonly runtime: typeof proto2;
|
|
509
|
+
static readonly typeName = "livekit.proto.StreamSendFileRequest";
|
|
510
|
+
static readonly fields: FieldList;
|
|
511
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendFileRequest;
|
|
512
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendFileRequest;
|
|
513
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendFileRequest;
|
|
514
|
+
static equals(a: StreamSendFileRequest | PlainMessage<StreamSendFileRequest> | undefined, b: StreamSendFileRequest | PlainMessage<StreamSendFileRequest> | undefined): boolean;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message livekit.proto.StreamSendFileResponse
|
|
518
|
+
*/
|
|
519
|
+
declare class StreamSendFileResponse extends Message<StreamSendFileResponse> {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: required uint64 async_id = 1;
|
|
522
|
+
*/
|
|
523
|
+
asyncId?: bigint;
|
|
524
|
+
constructor(data?: PartialMessage<StreamSendFileResponse>);
|
|
525
|
+
static readonly runtime: typeof proto2;
|
|
526
|
+
static readonly typeName = "livekit.proto.StreamSendFileResponse";
|
|
527
|
+
static readonly fields: FieldList;
|
|
528
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendFileResponse;
|
|
529
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendFileResponse;
|
|
530
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendFileResponse;
|
|
531
|
+
static equals(a: StreamSendFileResponse | PlainMessage<StreamSendFileResponse> | undefined, b: StreamSendFileResponse | PlainMessage<StreamSendFileResponse> | undefined): boolean;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* @generated from message livekit.proto.StreamSendFileCallback
|
|
535
|
+
*/
|
|
536
|
+
declare class StreamSendFileCallback extends Message<StreamSendFileCallback> {
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: required uint64 async_id = 1;
|
|
539
|
+
*/
|
|
540
|
+
asyncId?: bigint;
|
|
541
|
+
/**
|
|
542
|
+
* @generated from oneof livekit.proto.StreamSendFileCallback.result
|
|
543
|
+
*/
|
|
544
|
+
result: {
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: livekit.proto.ByteStreamInfo info = 2;
|
|
547
|
+
*/
|
|
548
|
+
value: ByteStreamInfo;
|
|
549
|
+
case: "info";
|
|
550
|
+
} | {
|
|
551
|
+
/**
|
|
552
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
553
|
+
*/
|
|
554
|
+
value: StreamError;
|
|
555
|
+
case: "error";
|
|
556
|
+
} | {
|
|
557
|
+
case: undefined;
|
|
558
|
+
value?: undefined;
|
|
559
|
+
};
|
|
560
|
+
constructor(data?: PartialMessage<StreamSendFileCallback>);
|
|
561
|
+
static readonly runtime: typeof proto2;
|
|
562
|
+
static readonly typeName = "livekit.proto.StreamSendFileCallback";
|
|
563
|
+
static readonly fields: FieldList;
|
|
564
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendFileCallback;
|
|
565
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendFileCallback;
|
|
566
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendFileCallback;
|
|
567
|
+
static equals(a: StreamSendFileCallback | PlainMessage<StreamSendFileCallback> | undefined, b: StreamSendFileCallback | PlainMessage<StreamSendFileCallback> | undefined): boolean;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Sends text over a data stream.
|
|
571
|
+
*
|
|
572
|
+
* @generated from message livekit.proto.StreamSendTextRequest
|
|
573
|
+
*/
|
|
574
|
+
declare class StreamSendTextRequest extends Message<StreamSendTextRequest> {
|
|
575
|
+
/**
|
|
576
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
577
|
+
*/
|
|
578
|
+
localParticipantHandle?: bigint;
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: required livekit.proto.StreamTextOptions options = 2;
|
|
581
|
+
*/
|
|
582
|
+
options?: StreamTextOptions;
|
|
583
|
+
/**
|
|
584
|
+
* Text to send.
|
|
585
|
+
*
|
|
586
|
+
* @generated from field: required string text = 3;
|
|
587
|
+
*/
|
|
588
|
+
text?: string;
|
|
589
|
+
constructor(data?: PartialMessage<StreamSendTextRequest>);
|
|
590
|
+
static readonly runtime: typeof proto2;
|
|
591
|
+
static readonly typeName = "livekit.proto.StreamSendTextRequest";
|
|
592
|
+
static readonly fields: FieldList;
|
|
593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendTextRequest;
|
|
594
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendTextRequest;
|
|
595
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendTextRequest;
|
|
596
|
+
static equals(a: StreamSendTextRequest | PlainMessage<StreamSendTextRequest> | undefined, b: StreamSendTextRequest | PlainMessage<StreamSendTextRequest> | undefined): boolean;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* @generated from message livekit.proto.StreamSendTextResponse
|
|
600
|
+
*/
|
|
601
|
+
declare class StreamSendTextResponse extends Message<StreamSendTextResponse> {
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: required uint64 async_id = 1;
|
|
604
|
+
*/
|
|
605
|
+
asyncId?: bigint;
|
|
606
|
+
constructor(data?: PartialMessage<StreamSendTextResponse>);
|
|
607
|
+
static readonly runtime: typeof proto2;
|
|
608
|
+
static readonly typeName = "livekit.proto.StreamSendTextResponse";
|
|
609
|
+
static readonly fields: FieldList;
|
|
610
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendTextResponse;
|
|
611
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendTextResponse;
|
|
612
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendTextResponse;
|
|
613
|
+
static equals(a: StreamSendTextResponse | PlainMessage<StreamSendTextResponse> | undefined, b: StreamSendTextResponse | PlainMessage<StreamSendTextResponse> | undefined): boolean;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* @generated from message livekit.proto.StreamSendTextCallback
|
|
617
|
+
*/
|
|
618
|
+
declare class StreamSendTextCallback extends Message<StreamSendTextCallback> {
|
|
619
|
+
/**
|
|
620
|
+
* @generated from field: required uint64 async_id = 1;
|
|
621
|
+
*/
|
|
622
|
+
asyncId?: bigint;
|
|
623
|
+
/**
|
|
624
|
+
* @generated from oneof livekit.proto.StreamSendTextCallback.result
|
|
625
|
+
*/
|
|
626
|
+
result: {
|
|
627
|
+
/**
|
|
628
|
+
* @generated from field: livekit.proto.TextStreamInfo info = 2;
|
|
629
|
+
*/
|
|
630
|
+
value: TextStreamInfo;
|
|
631
|
+
case: "info";
|
|
632
|
+
} | {
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
635
|
+
*/
|
|
636
|
+
value: StreamError;
|
|
637
|
+
case: "error";
|
|
638
|
+
} | {
|
|
639
|
+
case: undefined;
|
|
640
|
+
value?: undefined;
|
|
641
|
+
};
|
|
642
|
+
constructor(data?: PartialMessage<StreamSendTextCallback>);
|
|
643
|
+
static readonly runtime: typeof proto2;
|
|
644
|
+
static readonly typeName = "livekit.proto.StreamSendTextCallback";
|
|
645
|
+
static readonly fields: FieldList;
|
|
646
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSendTextCallback;
|
|
647
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSendTextCallback;
|
|
648
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSendTextCallback;
|
|
649
|
+
static equals(a: StreamSendTextCallback | PlainMessage<StreamSendTextCallback> | undefined, b: StreamSendTextCallback | PlainMessage<StreamSendTextCallback> | undefined): boolean;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* @generated from message livekit.proto.OwnedByteStreamWriter
|
|
653
|
+
*/
|
|
654
|
+
declare class OwnedByteStreamWriter extends Message<OwnedByteStreamWriter> {
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
657
|
+
*/
|
|
658
|
+
handle?: FfiOwnedHandle;
|
|
659
|
+
/**
|
|
660
|
+
* @generated from field: required livekit.proto.ByteStreamInfo info = 2;
|
|
661
|
+
*/
|
|
662
|
+
info?: ByteStreamInfo;
|
|
663
|
+
constructor(data?: PartialMessage<OwnedByteStreamWriter>);
|
|
664
|
+
static readonly runtime: typeof proto2;
|
|
665
|
+
static readonly typeName = "livekit.proto.OwnedByteStreamWriter";
|
|
666
|
+
static readonly fields: FieldList;
|
|
667
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedByteStreamWriter;
|
|
668
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedByteStreamWriter;
|
|
669
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedByteStreamWriter;
|
|
670
|
+
static equals(a: OwnedByteStreamWriter | PlainMessage<OwnedByteStreamWriter> | undefined, b: OwnedByteStreamWriter | PlainMessage<OwnedByteStreamWriter> | undefined): boolean;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* Opens an outgoing stream.
|
|
674
|
+
* Call must be balanced with a StreamCloseRequest.
|
|
675
|
+
*
|
|
676
|
+
* @generated from message livekit.proto.ByteStreamOpenRequest
|
|
677
|
+
*/
|
|
678
|
+
declare class ByteStreamOpenRequest extends Message<ByteStreamOpenRequest> {
|
|
679
|
+
/**
|
|
680
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
681
|
+
*/
|
|
682
|
+
localParticipantHandle?: bigint;
|
|
683
|
+
/**
|
|
684
|
+
* Options to use for opening the stream.
|
|
685
|
+
*
|
|
686
|
+
* @generated from field: required livekit.proto.StreamByteOptions options = 2;
|
|
687
|
+
*/
|
|
688
|
+
options?: StreamByteOptions;
|
|
689
|
+
constructor(data?: PartialMessage<ByteStreamOpenRequest>);
|
|
690
|
+
static readonly runtime: typeof proto2;
|
|
691
|
+
static readonly typeName = "livekit.proto.ByteStreamOpenRequest";
|
|
692
|
+
static readonly fields: FieldList;
|
|
693
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamOpenRequest;
|
|
694
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamOpenRequest;
|
|
695
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamOpenRequest;
|
|
696
|
+
static equals(a: ByteStreamOpenRequest | PlainMessage<ByteStreamOpenRequest> | undefined, b: ByteStreamOpenRequest | PlainMessage<ByteStreamOpenRequest> | undefined): boolean;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @generated from message livekit.proto.ByteStreamOpenResponse
|
|
700
|
+
*/
|
|
701
|
+
declare class ByteStreamOpenResponse extends Message<ByteStreamOpenResponse> {
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: required uint64 async_id = 1;
|
|
704
|
+
*/
|
|
705
|
+
asyncId?: bigint;
|
|
706
|
+
constructor(data?: PartialMessage<ByteStreamOpenResponse>);
|
|
707
|
+
static readonly runtime: typeof proto2;
|
|
708
|
+
static readonly typeName = "livekit.proto.ByteStreamOpenResponse";
|
|
709
|
+
static readonly fields: FieldList;
|
|
710
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamOpenResponse;
|
|
711
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamOpenResponse;
|
|
712
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamOpenResponse;
|
|
713
|
+
static equals(a: ByteStreamOpenResponse | PlainMessage<ByteStreamOpenResponse> | undefined, b: ByteStreamOpenResponse | PlainMessage<ByteStreamOpenResponse> | undefined): boolean;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* @generated from message livekit.proto.ByteStreamOpenCallback
|
|
717
|
+
*/
|
|
718
|
+
declare class ByteStreamOpenCallback extends Message<ByteStreamOpenCallback> {
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: required uint64 async_id = 1;
|
|
721
|
+
*/
|
|
722
|
+
asyncId?: bigint;
|
|
723
|
+
/**
|
|
724
|
+
* @generated from oneof livekit.proto.ByteStreamOpenCallback.result
|
|
725
|
+
*/
|
|
726
|
+
result: {
|
|
727
|
+
/**
|
|
728
|
+
* @generated from field: livekit.proto.OwnedByteStreamWriter writer = 2;
|
|
729
|
+
*/
|
|
730
|
+
value: OwnedByteStreamWriter;
|
|
731
|
+
case: "writer";
|
|
732
|
+
} | {
|
|
733
|
+
/**
|
|
734
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
735
|
+
*/
|
|
736
|
+
value: StreamError;
|
|
737
|
+
case: "error";
|
|
738
|
+
} | {
|
|
739
|
+
case: undefined;
|
|
740
|
+
value?: undefined;
|
|
741
|
+
};
|
|
742
|
+
constructor(data?: PartialMessage<ByteStreamOpenCallback>);
|
|
743
|
+
static readonly runtime: typeof proto2;
|
|
744
|
+
static readonly typeName = "livekit.proto.ByteStreamOpenCallback";
|
|
745
|
+
static readonly fields: FieldList;
|
|
746
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamOpenCallback;
|
|
747
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamOpenCallback;
|
|
748
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamOpenCallback;
|
|
749
|
+
static equals(a: ByteStreamOpenCallback | PlainMessage<ByteStreamOpenCallback> | undefined, b: ByteStreamOpenCallback | PlainMessage<ByteStreamOpenCallback> | undefined): boolean;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* Writes data to a stream writer.
|
|
753
|
+
*
|
|
754
|
+
* @generated from message livekit.proto.ByteStreamWriterWriteRequest
|
|
755
|
+
*/
|
|
756
|
+
declare class ByteStreamWriterWriteRequest extends Message<ByteStreamWriterWriteRequest> {
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: required uint64 writer_handle = 1;
|
|
759
|
+
*/
|
|
760
|
+
writerHandle?: bigint;
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: required bytes bytes = 2;
|
|
763
|
+
*/
|
|
764
|
+
bytes?: Uint8Array;
|
|
765
|
+
constructor(data?: PartialMessage<ByteStreamWriterWriteRequest>);
|
|
766
|
+
static readonly runtime: typeof proto2;
|
|
767
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterWriteRequest";
|
|
768
|
+
static readonly fields: FieldList;
|
|
769
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterWriteRequest;
|
|
770
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteRequest;
|
|
771
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteRequest;
|
|
772
|
+
static equals(a: ByteStreamWriterWriteRequest | PlainMessage<ByteStreamWriterWriteRequest> | undefined, b: ByteStreamWriterWriteRequest | PlainMessage<ByteStreamWriterWriteRequest> | undefined): boolean;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @generated from message livekit.proto.ByteStreamWriterWriteResponse
|
|
776
|
+
*/
|
|
777
|
+
declare class ByteStreamWriterWriteResponse extends Message<ByteStreamWriterWriteResponse> {
|
|
778
|
+
/**
|
|
779
|
+
* @generated from field: required uint64 async_id = 1;
|
|
780
|
+
*/
|
|
781
|
+
asyncId?: bigint;
|
|
782
|
+
constructor(data?: PartialMessage<ByteStreamWriterWriteResponse>);
|
|
783
|
+
static readonly runtime: typeof proto2;
|
|
784
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterWriteResponse";
|
|
785
|
+
static readonly fields: FieldList;
|
|
786
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterWriteResponse;
|
|
787
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteResponse;
|
|
788
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteResponse;
|
|
789
|
+
static equals(a: ByteStreamWriterWriteResponse | PlainMessage<ByteStreamWriterWriteResponse> | undefined, b: ByteStreamWriterWriteResponse | PlainMessage<ByteStreamWriterWriteResponse> | undefined): boolean;
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* @generated from message livekit.proto.ByteStreamWriterWriteCallback
|
|
793
|
+
*/
|
|
794
|
+
declare class ByteStreamWriterWriteCallback extends Message<ByteStreamWriterWriteCallback> {
|
|
795
|
+
/**
|
|
796
|
+
* @generated from field: required uint64 async_id = 1;
|
|
797
|
+
*/
|
|
798
|
+
asyncId?: bigint;
|
|
799
|
+
/**
|
|
800
|
+
* @generated from field: optional livekit.proto.StreamError error = 2;
|
|
801
|
+
*/
|
|
802
|
+
error?: StreamError;
|
|
803
|
+
constructor(data?: PartialMessage<ByteStreamWriterWriteCallback>);
|
|
804
|
+
static readonly runtime: typeof proto2;
|
|
805
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterWriteCallback";
|
|
806
|
+
static readonly fields: FieldList;
|
|
807
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterWriteCallback;
|
|
808
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteCallback;
|
|
809
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterWriteCallback;
|
|
810
|
+
static equals(a: ByteStreamWriterWriteCallback | PlainMessage<ByteStreamWriterWriteCallback> | undefined, b: ByteStreamWriterWriteCallback | PlainMessage<ByteStreamWriterWriteCallback> | undefined): boolean;
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* Closes a stream writer.
|
|
814
|
+
*
|
|
815
|
+
* @generated from message livekit.proto.ByteStreamWriterCloseRequest
|
|
816
|
+
*/
|
|
817
|
+
declare class ByteStreamWriterCloseRequest extends Message<ByteStreamWriterCloseRequest> {
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: required uint64 writer_handle = 1;
|
|
820
|
+
*/
|
|
821
|
+
writerHandle?: bigint;
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: optional string reason = 2;
|
|
824
|
+
*/
|
|
825
|
+
reason?: string;
|
|
826
|
+
constructor(data?: PartialMessage<ByteStreamWriterCloseRequest>);
|
|
827
|
+
static readonly runtime: typeof proto2;
|
|
828
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterCloseRequest";
|
|
829
|
+
static readonly fields: FieldList;
|
|
830
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterCloseRequest;
|
|
831
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseRequest;
|
|
832
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseRequest;
|
|
833
|
+
static equals(a: ByteStreamWriterCloseRequest | PlainMessage<ByteStreamWriterCloseRequest> | undefined, b: ByteStreamWriterCloseRequest | PlainMessage<ByteStreamWriterCloseRequest> | undefined): boolean;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* @generated from message livekit.proto.ByteStreamWriterCloseResponse
|
|
837
|
+
*/
|
|
838
|
+
declare class ByteStreamWriterCloseResponse extends Message<ByteStreamWriterCloseResponse> {
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: required uint64 async_id = 1;
|
|
841
|
+
*/
|
|
842
|
+
asyncId?: bigint;
|
|
843
|
+
constructor(data?: PartialMessage<ByteStreamWriterCloseResponse>);
|
|
844
|
+
static readonly runtime: typeof proto2;
|
|
845
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterCloseResponse";
|
|
846
|
+
static readonly fields: FieldList;
|
|
847
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterCloseResponse;
|
|
848
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseResponse;
|
|
849
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseResponse;
|
|
850
|
+
static equals(a: ByteStreamWriterCloseResponse | PlainMessage<ByteStreamWriterCloseResponse> | undefined, b: ByteStreamWriterCloseResponse | PlainMessage<ByteStreamWriterCloseResponse> | undefined): boolean;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* @generated from message livekit.proto.ByteStreamWriterCloseCallback
|
|
854
|
+
*/
|
|
855
|
+
declare class ByteStreamWriterCloseCallback extends Message<ByteStreamWriterCloseCallback> {
|
|
856
|
+
/**
|
|
857
|
+
* @generated from field: required uint64 async_id = 1;
|
|
858
|
+
*/
|
|
859
|
+
asyncId?: bigint;
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: optional livekit.proto.StreamError error = 2;
|
|
862
|
+
*/
|
|
863
|
+
error?: StreamError;
|
|
864
|
+
constructor(data?: PartialMessage<ByteStreamWriterCloseCallback>);
|
|
865
|
+
static readonly runtime: typeof proto2;
|
|
866
|
+
static readonly typeName = "livekit.proto.ByteStreamWriterCloseCallback";
|
|
867
|
+
static readonly fields: FieldList;
|
|
868
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamWriterCloseCallback;
|
|
869
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseCallback;
|
|
870
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamWriterCloseCallback;
|
|
871
|
+
static equals(a: ByteStreamWriterCloseCallback | PlainMessage<ByteStreamWriterCloseCallback> | undefined, b: ByteStreamWriterCloseCallback | PlainMessage<ByteStreamWriterCloseCallback> | undefined): boolean;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* @generated from message livekit.proto.OwnedTextStreamWriter
|
|
875
|
+
*/
|
|
876
|
+
declare class OwnedTextStreamWriter extends Message<OwnedTextStreamWriter> {
|
|
877
|
+
/**
|
|
878
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
879
|
+
*/
|
|
880
|
+
handle?: FfiOwnedHandle;
|
|
881
|
+
/**
|
|
882
|
+
* @generated from field: required livekit.proto.TextStreamInfo info = 2;
|
|
883
|
+
*/
|
|
884
|
+
info?: TextStreamInfo;
|
|
885
|
+
constructor(data?: PartialMessage<OwnedTextStreamWriter>);
|
|
886
|
+
static readonly runtime: typeof proto2;
|
|
887
|
+
static readonly typeName = "livekit.proto.OwnedTextStreamWriter";
|
|
888
|
+
static readonly fields: FieldList;
|
|
889
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedTextStreamWriter;
|
|
890
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedTextStreamWriter;
|
|
891
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedTextStreamWriter;
|
|
892
|
+
static equals(a: OwnedTextStreamWriter | PlainMessage<OwnedTextStreamWriter> | undefined, b: OwnedTextStreamWriter | PlainMessage<OwnedTextStreamWriter> | undefined): boolean;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Opens an outgoing text stream.
|
|
896
|
+
* Call must be balanced with a TextStreamCloseRequest.
|
|
897
|
+
*
|
|
898
|
+
* @generated from message livekit.proto.TextStreamOpenRequest
|
|
899
|
+
*/
|
|
900
|
+
declare class TextStreamOpenRequest extends Message<TextStreamOpenRequest> {
|
|
901
|
+
/**
|
|
902
|
+
* @generated from field: required uint64 local_participant_handle = 1;
|
|
903
|
+
*/
|
|
904
|
+
localParticipantHandle?: bigint;
|
|
905
|
+
/**
|
|
906
|
+
* Options to use for opening the stream.
|
|
907
|
+
*
|
|
908
|
+
* @generated from field: required livekit.proto.StreamTextOptions options = 2;
|
|
909
|
+
*/
|
|
910
|
+
options?: StreamTextOptions;
|
|
911
|
+
constructor(data?: PartialMessage<TextStreamOpenRequest>);
|
|
912
|
+
static readonly runtime: typeof proto2;
|
|
913
|
+
static readonly typeName = "livekit.proto.TextStreamOpenRequest";
|
|
914
|
+
static readonly fields: FieldList;
|
|
915
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamOpenRequest;
|
|
916
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamOpenRequest;
|
|
917
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamOpenRequest;
|
|
918
|
+
static equals(a: TextStreamOpenRequest | PlainMessage<TextStreamOpenRequest> | undefined, b: TextStreamOpenRequest | PlainMessage<TextStreamOpenRequest> | undefined): boolean;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* @generated from message livekit.proto.TextStreamOpenResponse
|
|
922
|
+
*/
|
|
923
|
+
declare class TextStreamOpenResponse extends Message<TextStreamOpenResponse> {
|
|
924
|
+
/**
|
|
925
|
+
* @generated from field: required uint64 async_id = 1;
|
|
926
|
+
*/
|
|
927
|
+
asyncId?: bigint;
|
|
928
|
+
constructor(data?: PartialMessage<TextStreamOpenResponse>);
|
|
929
|
+
static readonly runtime: typeof proto2;
|
|
930
|
+
static readonly typeName = "livekit.proto.TextStreamOpenResponse";
|
|
931
|
+
static readonly fields: FieldList;
|
|
932
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamOpenResponse;
|
|
933
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamOpenResponse;
|
|
934
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamOpenResponse;
|
|
935
|
+
static equals(a: TextStreamOpenResponse | PlainMessage<TextStreamOpenResponse> | undefined, b: TextStreamOpenResponse | PlainMessage<TextStreamOpenResponse> | undefined): boolean;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @generated from message livekit.proto.TextStreamOpenCallback
|
|
939
|
+
*/
|
|
940
|
+
declare class TextStreamOpenCallback extends Message<TextStreamOpenCallback> {
|
|
941
|
+
/**
|
|
942
|
+
* @generated from field: required uint64 async_id = 1;
|
|
943
|
+
*/
|
|
944
|
+
asyncId?: bigint;
|
|
945
|
+
/**
|
|
946
|
+
* @generated from oneof livekit.proto.TextStreamOpenCallback.result
|
|
947
|
+
*/
|
|
948
|
+
result: {
|
|
949
|
+
/**
|
|
950
|
+
* @generated from field: livekit.proto.OwnedTextStreamWriter writer = 2;
|
|
951
|
+
*/
|
|
952
|
+
value: OwnedTextStreamWriter;
|
|
953
|
+
case: "writer";
|
|
954
|
+
} | {
|
|
955
|
+
/**
|
|
956
|
+
* @generated from field: livekit.proto.StreamError error = 3;
|
|
957
|
+
*/
|
|
958
|
+
value: StreamError;
|
|
959
|
+
case: "error";
|
|
960
|
+
} | {
|
|
961
|
+
case: undefined;
|
|
962
|
+
value?: undefined;
|
|
963
|
+
};
|
|
964
|
+
constructor(data?: PartialMessage<TextStreamOpenCallback>);
|
|
965
|
+
static readonly runtime: typeof proto2;
|
|
966
|
+
static readonly typeName = "livekit.proto.TextStreamOpenCallback";
|
|
967
|
+
static readonly fields: FieldList;
|
|
968
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamOpenCallback;
|
|
969
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamOpenCallback;
|
|
970
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamOpenCallback;
|
|
971
|
+
static equals(a: TextStreamOpenCallback | PlainMessage<TextStreamOpenCallback> | undefined, b: TextStreamOpenCallback | PlainMessage<TextStreamOpenCallback> | undefined): boolean;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Writes text to a text stream writer.
|
|
975
|
+
*
|
|
976
|
+
* @generated from message livekit.proto.TextStreamWriterWriteRequest
|
|
977
|
+
*/
|
|
978
|
+
declare class TextStreamWriterWriteRequest extends Message<TextStreamWriterWriteRequest> {
|
|
979
|
+
/**
|
|
980
|
+
* @generated from field: required uint64 writer_handle = 1;
|
|
981
|
+
*/
|
|
982
|
+
writerHandle?: bigint;
|
|
983
|
+
/**
|
|
984
|
+
* @generated from field: required string text = 2;
|
|
985
|
+
*/
|
|
986
|
+
text?: string;
|
|
987
|
+
constructor(data?: PartialMessage<TextStreamWriterWriteRequest>);
|
|
988
|
+
static readonly runtime: typeof proto2;
|
|
989
|
+
static readonly typeName = "livekit.proto.TextStreamWriterWriteRequest";
|
|
990
|
+
static readonly fields: FieldList;
|
|
991
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterWriteRequest;
|
|
992
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterWriteRequest;
|
|
993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterWriteRequest;
|
|
994
|
+
static equals(a: TextStreamWriterWriteRequest | PlainMessage<TextStreamWriterWriteRequest> | undefined, b: TextStreamWriterWriteRequest | PlainMessage<TextStreamWriterWriteRequest> | undefined): boolean;
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* @generated from message livekit.proto.TextStreamWriterWriteResponse
|
|
998
|
+
*/
|
|
999
|
+
declare class TextStreamWriterWriteResponse extends Message<TextStreamWriterWriteResponse> {
|
|
1000
|
+
/**
|
|
1001
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1002
|
+
*/
|
|
1003
|
+
asyncId?: bigint;
|
|
1004
|
+
constructor(data?: PartialMessage<TextStreamWriterWriteResponse>);
|
|
1005
|
+
static readonly runtime: typeof proto2;
|
|
1006
|
+
static readonly typeName = "livekit.proto.TextStreamWriterWriteResponse";
|
|
1007
|
+
static readonly fields: FieldList;
|
|
1008
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterWriteResponse;
|
|
1009
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterWriteResponse;
|
|
1010
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterWriteResponse;
|
|
1011
|
+
static equals(a: TextStreamWriterWriteResponse | PlainMessage<TextStreamWriterWriteResponse> | undefined, b: TextStreamWriterWriteResponse | PlainMessage<TextStreamWriterWriteResponse> | undefined): boolean;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* @generated from message livekit.proto.TextStreamWriterWriteCallback
|
|
1015
|
+
*/
|
|
1016
|
+
declare class TextStreamWriterWriteCallback extends Message<TextStreamWriterWriteCallback> {
|
|
1017
|
+
/**
|
|
1018
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1019
|
+
*/
|
|
1020
|
+
asyncId?: bigint;
|
|
1021
|
+
/**
|
|
1022
|
+
* @generated from field: optional livekit.proto.StreamError error = 2;
|
|
1023
|
+
*/
|
|
1024
|
+
error?: StreamError;
|
|
1025
|
+
constructor(data?: PartialMessage<TextStreamWriterWriteCallback>);
|
|
1026
|
+
static readonly runtime: typeof proto2;
|
|
1027
|
+
static readonly typeName = "livekit.proto.TextStreamWriterWriteCallback";
|
|
1028
|
+
static readonly fields: FieldList;
|
|
1029
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterWriteCallback;
|
|
1030
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterWriteCallback;
|
|
1031
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterWriteCallback;
|
|
1032
|
+
static equals(a: TextStreamWriterWriteCallback | PlainMessage<TextStreamWriterWriteCallback> | undefined, b: TextStreamWriterWriteCallback | PlainMessage<TextStreamWriterWriteCallback> | undefined): boolean;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* Closes a text stream writer.
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from message livekit.proto.TextStreamWriterCloseRequest
|
|
1038
|
+
*/
|
|
1039
|
+
declare class TextStreamWriterCloseRequest extends Message<TextStreamWriterCloseRequest> {
|
|
1040
|
+
/**
|
|
1041
|
+
* @generated from field: required uint64 writer_handle = 1;
|
|
1042
|
+
*/
|
|
1043
|
+
writerHandle?: bigint;
|
|
1044
|
+
/**
|
|
1045
|
+
* @generated from field: optional string reason = 2;
|
|
1046
|
+
*/
|
|
1047
|
+
reason?: string;
|
|
1048
|
+
constructor(data?: PartialMessage<TextStreamWriterCloseRequest>);
|
|
1049
|
+
static readonly runtime: typeof proto2;
|
|
1050
|
+
static readonly typeName = "livekit.proto.TextStreamWriterCloseRequest";
|
|
1051
|
+
static readonly fields: FieldList;
|
|
1052
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterCloseRequest;
|
|
1053
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterCloseRequest;
|
|
1054
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterCloseRequest;
|
|
1055
|
+
static equals(a: TextStreamWriterCloseRequest | PlainMessage<TextStreamWriterCloseRequest> | undefined, b: TextStreamWriterCloseRequest | PlainMessage<TextStreamWriterCloseRequest> | undefined): boolean;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* @generated from message livekit.proto.TextStreamWriterCloseResponse
|
|
1059
|
+
*/
|
|
1060
|
+
declare class TextStreamWriterCloseResponse extends Message<TextStreamWriterCloseResponse> {
|
|
1061
|
+
/**
|
|
1062
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1063
|
+
*/
|
|
1064
|
+
asyncId?: bigint;
|
|
1065
|
+
constructor(data?: PartialMessage<TextStreamWriterCloseResponse>);
|
|
1066
|
+
static readonly runtime: typeof proto2;
|
|
1067
|
+
static readonly typeName = "livekit.proto.TextStreamWriterCloseResponse";
|
|
1068
|
+
static readonly fields: FieldList;
|
|
1069
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterCloseResponse;
|
|
1070
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterCloseResponse;
|
|
1071
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterCloseResponse;
|
|
1072
|
+
static equals(a: TextStreamWriterCloseResponse | PlainMessage<TextStreamWriterCloseResponse> | undefined, b: TextStreamWriterCloseResponse | PlainMessage<TextStreamWriterCloseResponse> | undefined): boolean;
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from message livekit.proto.TextStreamWriterCloseCallback
|
|
1076
|
+
*/
|
|
1077
|
+
declare class TextStreamWriterCloseCallback extends Message<TextStreamWriterCloseCallback> {
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from field: required uint64 async_id = 1;
|
|
1080
|
+
*/
|
|
1081
|
+
asyncId?: bigint;
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from field: optional livekit.proto.StreamError error = 2;
|
|
1084
|
+
*/
|
|
1085
|
+
error?: StreamError;
|
|
1086
|
+
constructor(data?: PartialMessage<TextStreamWriterCloseCallback>);
|
|
1087
|
+
static readonly runtime: typeof proto2;
|
|
1088
|
+
static readonly typeName = "livekit.proto.TextStreamWriterCloseCallback";
|
|
1089
|
+
static readonly fields: FieldList;
|
|
1090
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamWriterCloseCallback;
|
|
1091
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamWriterCloseCallback;
|
|
1092
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamWriterCloseCallback;
|
|
1093
|
+
static equals(a: TextStreamWriterCloseCallback | PlainMessage<TextStreamWriterCloseCallback> | undefined, b: TextStreamWriterCloseCallback | PlainMessage<TextStreamWriterCloseCallback> | undefined): boolean;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* @generated from message livekit.proto.TextStreamInfo
|
|
1097
|
+
*/
|
|
1098
|
+
declare class TextStreamInfo extends Message<TextStreamInfo> {
|
|
1099
|
+
/**
|
|
1100
|
+
* unique identifier for this data stream
|
|
1101
|
+
*
|
|
1102
|
+
* @generated from field: required string stream_id = 1;
|
|
1103
|
+
*/
|
|
1104
|
+
streamId?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* using int64 for Unix timestamp
|
|
1107
|
+
*
|
|
1108
|
+
* @generated from field: required int64 timestamp = 2;
|
|
1109
|
+
*/
|
|
1110
|
+
timestamp?: bigint;
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated from field: required string mime_type = 3;
|
|
1113
|
+
*/
|
|
1114
|
+
mimeType?: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* @generated from field: required string topic = 4;
|
|
1117
|
+
*/
|
|
1118
|
+
topic?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
1121
|
+
*
|
|
1122
|
+
* @generated from field: optional uint64 total_length = 5;
|
|
1123
|
+
*/
|
|
1124
|
+
totalLength?: bigint;
|
|
1125
|
+
/**
|
|
1126
|
+
* user defined attributes map that can carry additional info
|
|
1127
|
+
*
|
|
1128
|
+
* @generated from field: map<string, string> attributes = 6;
|
|
1129
|
+
*/
|
|
1130
|
+
attributes: {
|
|
1131
|
+
[key: string]: string;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* @generated from field: required livekit.proto.TextStreamInfo.OperationType operation_type = 7;
|
|
1135
|
+
*/
|
|
1136
|
+
operationType?: TextStreamInfo_OperationType;
|
|
1137
|
+
/**
|
|
1138
|
+
* Optional: Version for updates/edits
|
|
1139
|
+
*
|
|
1140
|
+
* @generated from field: optional int32 version = 8;
|
|
1141
|
+
*/
|
|
1142
|
+
version?: number;
|
|
1143
|
+
/**
|
|
1144
|
+
* Optional: Reply to specific message
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from field: optional string reply_to_stream_id = 9;
|
|
1147
|
+
*/
|
|
1148
|
+
replyToStreamId?: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* file attachments for text streams
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: repeated string attached_stream_ids = 10;
|
|
1153
|
+
*/
|
|
1154
|
+
attachedStreamIds: string[];
|
|
1155
|
+
/**
|
|
1156
|
+
* true if the text has been generated by an agent from a participant's audio transcription
|
|
1157
|
+
*
|
|
1158
|
+
* @generated from field: optional bool generated = 11;
|
|
1159
|
+
*/
|
|
1160
|
+
generated?: boolean;
|
|
1161
|
+
constructor(data?: PartialMessage<TextStreamInfo>);
|
|
1162
|
+
static readonly runtime: typeof proto2;
|
|
1163
|
+
static readonly typeName = "livekit.proto.TextStreamInfo";
|
|
1164
|
+
static readonly fields: FieldList;
|
|
1165
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextStreamInfo;
|
|
1166
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextStreamInfo;
|
|
1167
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextStreamInfo;
|
|
1168
|
+
static equals(a: TextStreamInfo | PlainMessage<TextStreamInfo> | undefined, b: TextStreamInfo | PlainMessage<TextStreamInfo> | undefined): boolean;
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from enum livekit.proto.TextStreamInfo.OperationType
|
|
1172
|
+
*/
|
|
1173
|
+
declare enum TextStreamInfo_OperationType {
|
|
1174
|
+
/**
|
|
1175
|
+
* @generated from enum value: CREATE = 0;
|
|
1176
|
+
*/
|
|
1177
|
+
CREATE = 0,
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from enum value: UPDATE = 1;
|
|
1180
|
+
*/
|
|
1181
|
+
UPDATE = 1,
|
|
1182
|
+
/**
|
|
1183
|
+
* @generated from enum value: DELETE = 2;
|
|
1184
|
+
*/
|
|
1185
|
+
DELETE = 2,
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from enum value: REACTION = 3;
|
|
1188
|
+
*/
|
|
1189
|
+
REACTION = 3
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* @generated from message livekit.proto.ByteStreamInfo
|
|
1193
|
+
*/
|
|
1194
|
+
declare class ByteStreamInfo extends Message<ByteStreamInfo> {
|
|
1195
|
+
/**
|
|
1196
|
+
* unique identifier for this data stream
|
|
1197
|
+
*
|
|
1198
|
+
* @generated from field: required string stream_id = 1;
|
|
1199
|
+
*/
|
|
1200
|
+
streamId?: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* using int64 for Unix timestamp
|
|
1203
|
+
*
|
|
1204
|
+
* @generated from field: required int64 timestamp = 2;
|
|
1205
|
+
*/
|
|
1206
|
+
timestamp?: bigint;
|
|
1207
|
+
/**
|
|
1208
|
+
* @generated from field: required string mime_type = 3;
|
|
1209
|
+
*/
|
|
1210
|
+
mimeType?: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* @generated from field: required string topic = 4;
|
|
1213
|
+
*/
|
|
1214
|
+
topic?: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from field: optional uint64 total_length = 5;
|
|
1219
|
+
*/
|
|
1220
|
+
totalLength?: bigint;
|
|
1221
|
+
/**
|
|
1222
|
+
* user defined attributes map that can carry additional info
|
|
1223
|
+
*
|
|
1224
|
+
* @generated from field: map<string, string> attributes = 6;
|
|
1225
|
+
*/
|
|
1226
|
+
attributes: {
|
|
1227
|
+
[key: string]: string;
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* @generated from field: required string name = 7;
|
|
1231
|
+
*/
|
|
1232
|
+
name?: string;
|
|
1233
|
+
constructor(data?: PartialMessage<ByteStreamInfo>);
|
|
1234
|
+
static readonly runtime: typeof proto2;
|
|
1235
|
+
static readonly typeName = "livekit.proto.ByteStreamInfo";
|
|
1236
|
+
static readonly fields: FieldList;
|
|
1237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ByteStreamInfo;
|
|
1238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ByteStreamInfo;
|
|
1239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ByteStreamInfo;
|
|
1240
|
+
static equals(a: ByteStreamInfo | PlainMessage<ByteStreamInfo> | undefined, b: ByteStreamInfo | PlainMessage<ByteStreamInfo> | undefined): boolean;
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* @generated from message livekit.proto.StreamTextOptions
|
|
1244
|
+
*/
|
|
1245
|
+
declare class StreamTextOptions extends Message<StreamTextOptions> {
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from field: required string topic = 1;
|
|
1248
|
+
*/
|
|
1249
|
+
topic?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
1252
|
+
*/
|
|
1253
|
+
attributes: {
|
|
1254
|
+
[key: string]: string;
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from field: repeated string destination_identities = 3;
|
|
1258
|
+
*/
|
|
1259
|
+
destinationIdentities: string[];
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from field: optional string id = 4;
|
|
1262
|
+
*/
|
|
1263
|
+
id?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* @generated from field: optional livekit.proto.TextStreamInfo.OperationType operation_type = 5;
|
|
1266
|
+
*/
|
|
1267
|
+
operationType?: TextStreamInfo_OperationType;
|
|
1268
|
+
/**
|
|
1269
|
+
* @generated from field: optional int32 version = 6;
|
|
1270
|
+
*/
|
|
1271
|
+
version?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* @generated from field: optional string reply_to_stream_id = 7;
|
|
1274
|
+
*/
|
|
1275
|
+
replyToStreamId?: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* @generated from field: repeated string attached_stream_ids = 8;
|
|
1278
|
+
*/
|
|
1279
|
+
attachedStreamIds: string[];
|
|
1280
|
+
/**
|
|
1281
|
+
* @generated from field: optional bool generated = 9;
|
|
1282
|
+
*/
|
|
1283
|
+
generated?: boolean;
|
|
1284
|
+
constructor(data?: PartialMessage<StreamTextOptions>);
|
|
1285
|
+
static readonly runtime: typeof proto2;
|
|
1286
|
+
static readonly typeName = "livekit.proto.StreamTextOptions";
|
|
1287
|
+
static readonly fields: FieldList;
|
|
1288
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTextOptions;
|
|
1289
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTextOptions;
|
|
1290
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTextOptions;
|
|
1291
|
+
static equals(a: StreamTextOptions | PlainMessage<StreamTextOptions> | undefined, b: StreamTextOptions | PlainMessage<StreamTextOptions> | undefined): boolean;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from message livekit.proto.StreamByteOptions
|
|
1295
|
+
*/
|
|
1296
|
+
declare class StreamByteOptions extends Message<StreamByteOptions> {
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from field: required string topic = 1;
|
|
1299
|
+
*/
|
|
1300
|
+
topic?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
1303
|
+
*/
|
|
1304
|
+
attributes: {
|
|
1305
|
+
[key: string]: string;
|
|
1306
|
+
};
|
|
1307
|
+
/**
|
|
1308
|
+
* @generated from field: repeated string destination_identities = 3;
|
|
1309
|
+
*/
|
|
1310
|
+
destinationIdentities: string[];
|
|
1311
|
+
/**
|
|
1312
|
+
* @generated from field: optional string id = 4;
|
|
1313
|
+
*/
|
|
1314
|
+
id?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from field: optional string name = 5;
|
|
1317
|
+
*/
|
|
1318
|
+
name?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* @generated from field: optional string mime_type = 6;
|
|
1321
|
+
*/
|
|
1322
|
+
mimeType?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* @generated from field: optional uint64 total_length = 7;
|
|
1325
|
+
*/
|
|
1326
|
+
totalLength?: bigint;
|
|
1327
|
+
constructor(data?: PartialMessage<StreamByteOptions>);
|
|
1328
|
+
static readonly runtime: typeof proto2;
|
|
1329
|
+
static readonly typeName = "livekit.proto.StreamByteOptions";
|
|
1330
|
+
static readonly fields: FieldList;
|
|
1331
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamByteOptions;
|
|
1332
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamByteOptions;
|
|
1333
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamByteOptions;
|
|
1334
|
+
static equals(a: StreamByteOptions | PlainMessage<StreamByteOptions> | undefined, b: StreamByteOptions | PlainMessage<StreamByteOptions> | undefined): boolean;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Error pertaining to a stream.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from message livekit.proto.StreamError
|
|
1340
|
+
*/
|
|
1341
|
+
declare class StreamError extends Message<StreamError> {
|
|
1342
|
+
/**
|
|
1343
|
+
* TODO(ladvoc): make this an enum.
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from field: required string description = 1;
|
|
1346
|
+
*/
|
|
1347
|
+
description?: string;
|
|
1348
|
+
constructor(data?: PartialMessage<StreamError>);
|
|
1349
|
+
static readonly runtime: typeof proto2;
|
|
1350
|
+
static readonly typeName = "livekit.proto.StreamError";
|
|
1351
|
+
static readonly fields: FieldList;
|
|
1352
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamError;
|
|
1353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamError;
|
|
1354
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamError;
|
|
1355
|
+
static equals(a: StreamError | PlainMessage<StreamError> | undefined, b: StreamError | PlainMessage<StreamError> | undefined): boolean;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
export { ByteStreamInfo, ByteStreamOpenCallback, ByteStreamOpenRequest, ByteStreamOpenResponse, ByteStreamReaderChunkReceived, ByteStreamReaderEOS, ByteStreamReaderEvent, ByteStreamReaderReadAllCallback, ByteStreamReaderReadAllRequest, ByteStreamReaderReadAllResponse, ByteStreamReaderReadIncrementalRequest, ByteStreamReaderReadIncrementalResponse, ByteStreamReaderWriteToFileCallback, ByteStreamReaderWriteToFileRequest, ByteStreamReaderWriteToFileResponse, ByteStreamWriterCloseCallback, ByteStreamWriterCloseRequest, ByteStreamWriterCloseResponse, ByteStreamWriterWriteCallback, ByteStreamWriterWriteRequest, ByteStreamWriterWriteResponse, OwnedByteStreamReader, OwnedByteStreamWriter, OwnedTextStreamReader, OwnedTextStreamWriter, StreamByteOptions, StreamError, StreamSendFileCallback, StreamSendFileRequest, StreamSendFileResponse, StreamSendTextCallback, StreamSendTextRequest, StreamSendTextResponse, StreamTextOptions, TextStreamInfo, TextStreamInfo_OperationType, TextStreamOpenCallback, TextStreamOpenRequest, TextStreamOpenResponse, TextStreamReaderChunkReceived, TextStreamReaderEOS, TextStreamReaderEvent, TextStreamReaderReadAllCallback, TextStreamReaderReadAllRequest, TextStreamReaderReadAllResponse, TextStreamReaderReadIncrementalRequest, TextStreamReaderReadIncrementalResponse, TextStreamWriterCloseCallback, TextStreamWriterCloseRequest, TextStreamWriterCloseResponse, TextStreamWriterWriteCallback, TextStreamWriterWriteRequest, TextStreamWriterWriteResponse };
|