@livekit/rtc-node 0.12.0 → 0.12.2
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.d.cts +32 -0
- package/dist/audio_frame.d.ts +12 -5
- package/dist/audio_resampler.d.cts +60 -0
- package/dist/audio_resampler.d.ts +12 -3
- package/dist/audio_source.d.cts +37 -0
- package/dist/audio_source.d.ts +13 -5
- package/dist/audio_stream.d.cts +38 -0
- package/dist/audio_stream.d.ts +17 -5
- package/dist/e2ee.d.cts +48 -0
- package/dist/e2ee.d.ts +12 -8
- package/dist/ffi_client.cjs +0 -6
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +35 -0
- package/dist/ffi_client.d.ts +22 -10
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +0 -6
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.cjs +0 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +57 -0
- package/dist/index.d.ts +27 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -20
- 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.d.cts +126 -0
- package/dist/participant.d.ts +28 -14
- package/dist/proto/audio_frame_pb.d.cts +813 -0
- package/dist/proto/audio_frame_pb.d.ts +90 -86
- package/dist/proto/e2ee_pb.d.cts +585 -0
- package/dist/proto/e2ee_pb.d.ts +60 -58
- package/dist/proto/ffi_pb.d.cts +851 -0
- package/dist/proto/ffi_pb.d.ts +35 -30
- package/dist/proto/handle_pb.d.cts +33 -0
- package/dist/proto/handle_pb.d.ts +8 -6
- package/dist/proto/participant_pb.d.cts +93 -0
- package/dist/proto/participant_pb.d.ts +13 -11
- package/dist/proto/room_pb.d.cts +2072 -0
- package/dist/proto/room_pb.d.ts +198 -196
- package/dist/proto/rpc_pb.d.cts +237 -0
- package/dist/proto/rpc_pb.d.ts +28 -26
- package/dist/proto/stats_pb.d.cts +1653 -0
- package/dist/proto/stats_pb.d.ts +96 -94
- package/dist/proto/track_pb.d.cts +402 -0
- package/dist/proto/track_pb.d.ts +47 -45
- package/dist/proto/video_frame_pb.d.cts +617 -0
- package/dist/proto/video_frame_pb.d.ts +64 -60
- package/dist/room.d.cts +134 -0
- package/dist/room.d.ts +36 -22
- package/dist/rpc.d.cts +82 -0
- package/dist/rpc.d.ts +11 -7
- package/dist/track.d.cts +46 -0
- package/dist/track.d.ts +25 -14
- package/dist/track_publication.d.cts +48 -0
- package/dist/track_publication.d.ts +20 -8
- 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.d.cts +25 -0
- package/dist/video_frame.d.ts +11 -4
- package/dist/video_source.d.cts +22 -0
- package/dist/video_source.d.ts +13 -6
- package/dist/video_stream.d.cts +41 -0
- package/dist/video_stream.d.ts +18 -6
- package/package.json +14 -9
- package/src/ffi_client.ts +4 -4
- package/src/index.ts +14 -8
- package/src/napi/native.d.ts +5 -5
- package/src/version.ts +1 -1
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { GenFile, GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { FfiOwnedHandle } from './handle_pb.js';
|
|
3
|
+
import { TrackSource } from './track_pb.js';
|
|
4
|
+
import { Message } from '@bufbuild/protobuf';
|
|
5
|
+
import './e2ee_pb.js';
|
|
6
|
+
import './stats_pb.js';
|
|
7
|
+
|
|
5
8
|
/**
|
|
6
9
|
* Describes the file audio_frame.proto.
|
|
7
10
|
*/
|
|
8
|
-
|
|
11
|
+
declare const file_audio_frame: GenFile;
|
|
9
12
|
/**
|
|
10
13
|
* Create a new AudioStream
|
|
11
14
|
* AudioStream is used to receive audio frames from a track
|
|
12
15
|
*
|
|
13
16
|
* @generated from message livekit.proto.NewAudioStreamRequest
|
|
14
17
|
*/
|
|
15
|
-
|
|
18
|
+
type NewAudioStreamRequest = Message<"livekit.proto.NewAudioStreamRequest"> & {
|
|
16
19
|
/**
|
|
17
20
|
* @generated from field: required uint64 track_handle = 1;
|
|
18
21
|
*/
|
|
@@ -34,11 +37,11 @@ export type NewAudioStreamRequest = Message<"livekit.proto.NewAudioStreamRequest
|
|
|
34
37
|
* Describes the message livekit.proto.NewAudioStreamRequest.
|
|
35
38
|
* Use `create(NewAudioStreamRequestSchema)` to create a new message.
|
|
36
39
|
*/
|
|
37
|
-
|
|
40
|
+
declare const NewAudioStreamRequestSchema: GenMessage<NewAudioStreamRequest>;
|
|
38
41
|
/**
|
|
39
42
|
* @generated from message livekit.proto.NewAudioStreamResponse
|
|
40
43
|
*/
|
|
41
|
-
|
|
44
|
+
type NewAudioStreamResponse = Message<"livekit.proto.NewAudioStreamResponse"> & {
|
|
42
45
|
/**
|
|
43
46
|
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
44
47
|
*/
|
|
@@ -48,11 +51,11 @@ export type NewAudioStreamResponse = Message<"livekit.proto.NewAudioStreamRespon
|
|
|
48
51
|
* Describes the message livekit.proto.NewAudioStreamResponse.
|
|
49
52
|
* Use `create(NewAudioStreamResponseSchema)` to create a new message.
|
|
50
53
|
*/
|
|
51
|
-
|
|
54
|
+
declare const NewAudioStreamResponseSchema: GenMessage<NewAudioStreamResponse>;
|
|
52
55
|
/**
|
|
53
56
|
* @generated from message livekit.proto.AudioStreamFromParticipantRequest
|
|
54
57
|
*/
|
|
55
|
-
|
|
58
|
+
type AudioStreamFromParticipantRequest = Message<"livekit.proto.AudioStreamFromParticipantRequest"> & {
|
|
56
59
|
/**
|
|
57
60
|
* @generated from field: required uint64 participant_handle = 1;
|
|
58
61
|
*/
|
|
@@ -78,11 +81,11 @@ export type AudioStreamFromParticipantRequest = Message<"livekit.proto.AudioStre
|
|
|
78
81
|
* Describes the message livekit.proto.AudioStreamFromParticipantRequest.
|
|
79
82
|
* Use `create(AudioStreamFromParticipantRequestSchema)` to create a new message.
|
|
80
83
|
*/
|
|
81
|
-
|
|
84
|
+
declare const AudioStreamFromParticipantRequestSchema: GenMessage<AudioStreamFromParticipantRequest>;
|
|
82
85
|
/**
|
|
83
86
|
* @generated from message livekit.proto.AudioStreamFromParticipantResponse
|
|
84
87
|
*/
|
|
85
|
-
|
|
88
|
+
type AudioStreamFromParticipantResponse = Message<"livekit.proto.AudioStreamFromParticipantResponse"> & {
|
|
86
89
|
/**
|
|
87
90
|
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
88
91
|
*/
|
|
@@ -92,13 +95,13 @@ export type AudioStreamFromParticipantResponse = Message<"livekit.proto.AudioStr
|
|
|
92
95
|
* Describes the message livekit.proto.AudioStreamFromParticipantResponse.
|
|
93
96
|
* Use `create(AudioStreamFromParticipantResponseSchema)` to create a new message.
|
|
94
97
|
*/
|
|
95
|
-
|
|
98
|
+
declare const AudioStreamFromParticipantResponseSchema: GenMessage<AudioStreamFromParticipantResponse>;
|
|
96
99
|
/**
|
|
97
100
|
* Create a new AudioSource
|
|
98
101
|
*
|
|
99
102
|
* @generated from message livekit.proto.NewAudioSourceRequest
|
|
100
103
|
*/
|
|
101
|
-
|
|
104
|
+
type NewAudioSourceRequest = Message<"livekit.proto.NewAudioSourceRequest"> & {
|
|
102
105
|
/**
|
|
103
106
|
* @generated from field: required livekit.proto.AudioSourceType type = 1;
|
|
104
107
|
*/
|
|
@@ -124,11 +127,11 @@ export type NewAudioSourceRequest = Message<"livekit.proto.NewAudioSourceRequest
|
|
|
124
127
|
* Describes the message livekit.proto.NewAudioSourceRequest.
|
|
125
128
|
* Use `create(NewAudioSourceRequestSchema)` to create a new message.
|
|
126
129
|
*/
|
|
127
|
-
|
|
130
|
+
declare const NewAudioSourceRequestSchema: GenMessage<NewAudioSourceRequest>;
|
|
128
131
|
/**
|
|
129
132
|
* @generated from message livekit.proto.NewAudioSourceResponse
|
|
130
133
|
*/
|
|
131
|
-
|
|
134
|
+
type NewAudioSourceResponse = Message<"livekit.proto.NewAudioSourceResponse"> & {
|
|
132
135
|
/**
|
|
133
136
|
* @generated from field: required livekit.proto.OwnedAudioSource source = 1;
|
|
134
137
|
*/
|
|
@@ -138,14 +141,14 @@ export type NewAudioSourceResponse = Message<"livekit.proto.NewAudioSourceRespon
|
|
|
138
141
|
* Describes the message livekit.proto.NewAudioSourceResponse.
|
|
139
142
|
* Use `create(NewAudioSourceResponseSchema)` to create a new message.
|
|
140
143
|
*/
|
|
141
|
-
|
|
144
|
+
declare const NewAudioSourceResponseSchema: GenMessage<NewAudioSourceResponse>;
|
|
142
145
|
/**
|
|
143
146
|
* Push a frame to an AudioSource
|
|
144
147
|
* The data provided must be available as long as the client receive the callback.
|
|
145
148
|
*
|
|
146
149
|
* @generated from message livekit.proto.CaptureAudioFrameRequest
|
|
147
150
|
*/
|
|
148
|
-
|
|
151
|
+
type CaptureAudioFrameRequest = Message<"livekit.proto.CaptureAudioFrameRequest"> & {
|
|
149
152
|
/**
|
|
150
153
|
* @generated from field: required uint64 source_handle = 1;
|
|
151
154
|
*/
|
|
@@ -159,11 +162,11 @@ export type CaptureAudioFrameRequest = Message<"livekit.proto.CaptureAudioFrameR
|
|
|
159
162
|
* Describes the message livekit.proto.CaptureAudioFrameRequest.
|
|
160
163
|
* Use `create(CaptureAudioFrameRequestSchema)` to create a new message.
|
|
161
164
|
*/
|
|
162
|
-
|
|
165
|
+
declare const CaptureAudioFrameRequestSchema: GenMessage<CaptureAudioFrameRequest>;
|
|
163
166
|
/**
|
|
164
167
|
* @generated from message livekit.proto.CaptureAudioFrameResponse
|
|
165
168
|
*/
|
|
166
|
-
|
|
169
|
+
type CaptureAudioFrameResponse = Message<"livekit.proto.CaptureAudioFrameResponse"> & {
|
|
167
170
|
/**
|
|
168
171
|
* @generated from field: required uint64 async_id = 1;
|
|
169
172
|
*/
|
|
@@ -173,11 +176,11 @@ export type CaptureAudioFrameResponse = Message<"livekit.proto.CaptureAudioFrame
|
|
|
173
176
|
* Describes the message livekit.proto.CaptureAudioFrameResponse.
|
|
174
177
|
* Use `create(CaptureAudioFrameResponseSchema)` to create a new message.
|
|
175
178
|
*/
|
|
176
|
-
|
|
179
|
+
declare const CaptureAudioFrameResponseSchema: GenMessage<CaptureAudioFrameResponse>;
|
|
177
180
|
/**
|
|
178
181
|
* @generated from message livekit.proto.CaptureAudioFrameCallback
|
|
179
182
|
*/
|
|
180
|
-
|
|
183
|
+
type CaptureAudioFrameCallback = Message<"livekit.proto.CaptureAudioFrameCallback"> & {
|
|
181
184
|
/**
|
|
182
185
|
* @generated from field: required uint64 async_id = 1;
|
|
183
186
|
*/
|
|
@@ -191,11 +194,11 @@ export type CaptureAudioFrameCallback = Message<"livekit.proto.CaptureAudioFrame
|
|
|
191
194
|
* Describes the message livekit.proto.CaptureAudioFrameCallback.
|
|
192
195
|
* Use `create(CaptureAudioFrameCallbackSchema)` to create a new message.
|
|
193
196
|
*/
|
|
194
|
-
|
|
197
|
+
declare const CaptureAudioFrameCallbackSchema: GenMessage<CaptureAudioFrameCallback>;
|
|
195
198
|
/**
|
|
196
199
|
* @generated from message livekit.proto.ClearAudioBufferRequest
|
|
197
200
|
*/
|
|
198
|
-
|
|
201
|
+
type ClearAudioBufferRequest = Message<"livekit.proto.ClearAudioBufferRequest"> & {
|
|
199
202
|
/**
|
|
200
203
|
* @generated from field: required uint64 source_handle = 1;
|
|
201
204
|
*/
|
|
@@ -205,31 +208,31 @@ export type ClearAudioBufferRequest = Message<"livekit.proto.ClearAudioBufferReq
|
|
|
205
208
|
* Describes the message livekit.proto.ClearAudioBufferRequest.
|
|
206
209
|
* Use `create(ClearAudioBufferRequestSchema)` to create a new message.
|
|
207
210
|
*/
|
|
208
|
-
|
|
211
|
+
declare const ClearAudioBufferRequestSchema: GenMessage<ClearAudioBufferRequest>;
|
|
209
212
|
/**
|
|
210
213
|
* @generated from message livekit.proto.ClearAudioBufferResponse
|
|
211
214
|
*/
|
|
212
|
-
|
|
215
|
+
type ClearAudioBufferResponse = Message<"livekit.proto.ClearAudioBufferResponse"> & {};
|
|
213
216
|
/**
|
|
214
217
|
* Describes the message livekit.proto.ClearAudioBufferResponse.
|
|
215
218
|
* Use `create(ClearAudioBufferResponseSchema)` to create a new message.
|
|
216
219
|
*/
|
|
217
|
-
|
|
220
|
+
declare const ClearAudioBufferResponseSchema: GenMessage<ClearAudioBufferResponse>;
|
|
218
221
|
/**
|
|
219
222
|
* Create a new AudioResampler
|
|
220
223
|
*
|
|
221
224
|
* @generated from message livekit.proto.NewAudioResamplerRequest
|
|
222
225
|
*/
|
|
223
|
-
|
|
226
|
+
type NewAudioResamplerRequest = Message<"livekit.proto.NewAudioResamplerRequest"> & {};
|
|
224
227
|
/**
|
|
225
228
|
* Describes the message livekit.proto.NewAudioResamplerRequest.
|
|
226
229
|
* Use `create(NewAudioResamplerRequestSchema)` to create a new message.
|
|
227
230
|
*/
|
|
228
|
-
|
|
231
|
+
declare const NewAudioResamplerRequestSchema: GenMessage<NewAudioResamplerRequest>;
|
|
229
232
|
/**
|
|
230
233
|
* @generated from message livekit.proto.NewAudioResamplerResponse
|
|
231
234
|
*/
|
|
232
|
-
|
|
235
|
+
type NewAudioResamplerResponse = Message<"livekit.proto.NewAudioResamplerResponse"> & {
|
|
233
236
|
/**
|
|
234
237
|
* @generated from field: required livekit.proto.OwnedAudioResampler resampler = 1;
|
|
235
238
|
*/
|
|
@@ -239,13 +242,13 @@ export type NewAudioResamplerResponse = Message<"livekit.proto.NewAudioResampler
|
|
|
239
242
|
* Describes the message livekit.proto.NewAudioResamplerResponse.
|
|
240
243
|
* Use `create(NewAudioResamplerResponseSchema)` to create a new message.
|
|
241
244
|
*/
|
|
242
|
-
|
|
245
|
+
declare const NewAudioResamplerResponseSchema: GenMessage<NewAudioResamplerResponse>;
|
|
243
246
|
/**
|
|
244
247
|
* Remix and resample an audio frame
|
|
245
248
|
*
|
|
246
249
|
* @generated from message livekit.proto.RemixAndResampleRequest
|
|
247
250
|
*/
|
|
248
|
-
|
|
251
|
+
type RemixAndResampleRequest = Message<"livekit.proto.RemixAndResampleRequest"> & {
|
|
249
252
|
/**
|
|
250
253
|
* @generated from field: required uint64 resampler_handle = 1;
|
|
251
254
|
*/
|
|
@@ -267,11 +270,11 @@ export type RemixAndResampleRequest = Message<"livekit.proto.RemixAndResampleReq
|
|
|
267
270
|
* Describes the message livekit.proto.RemixAndResampleRequest.
|
|
268
271
|
* Use `create(RemixAndResampleRequestSchema)` to create a new message.
|
|
269
272
|
*/
|
|
270
|
-
|
|
273
|
+
declare const RemixAndResampleRequestSchema: GenMessage<RemixAndResampleRequest>;
|
|
271
274
|
/**
|
|
272
275
|
* @generated from message livekit.proto.RemixAndResampleResponse
|
|
273
276
|
*/
|
|
274
|
-
|
|
277
|
+
type RemixAndResampleResponse = Message<"livekit.proto.RemixAndResampleResponse"> & {
|
|
275
278
|
/**
|
|
276
279
|
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer buffer = 1;
|
|
277
280
|
*/
|
|
@@ -281,11 +284,11 @@ export type RemixAndResampleResponse = Message<"livekit.proto.RemixAndResampleRe
|
|
|
281
284
|
* Describes the message livekit.proto.RemixAndResampleResponse.
|
|
282
285
|
* Use `create(RemixAndResampleResponseSchema)` to create a new message.
|
|
283
286
|
*/
|
|
284
|
-
|
|
287
|
+
declare const RemixAndResampleResponseSchema: GenMessage<RemixAndResampleResponse>;
|
|
285
288
|
/**
|
|
286
289
|
* @generated from message livekit.proto.NewSoxResamplerRequest
|
|
287
290
|
*/
|
|
288
|
-
|
|
291
|
+
type NewSoxResamplerRequest = Message<"livekit.proto.NewSoxResamplerRequest"> & {
|
|
289
292
|
/**
|
|
290
293
|
* @generated from field: required double input_rate = 1;
|
|
291
294
|
*/
|
|
@@ -319,11 +322,11 @@ export type NewSoxResamplerRequest = Message<"livekit.proto.NewSoxResamplerReque
|
|
|
319
322
|
* Describes the message livekit.proto.NewSoxResamplerRequest.
|
|
320
323
|
* Use `create(NewSoxResamplerRequestSchema)` to create a new message.
|
|
321
324
|
*/
|
|
322
|
-
|
|
325
|
+
declare const NewSoxResamplerRequestSchema: GenMessage<NewSoxResamplerRequest>;
|
|
323
326
|
/**
|
|
324
327
|
* @generated from message livekit.proto.NewSoxResamplerResponse
|
|
325
328
|
*/
|
|
326
|
-
|
|
329
|
+
type NewSoxResamplerResponse = Message<"livekit.proto.NewSoxResamplerResponse"> & {
|
|
327
330
|
/**
|
|
328
331
|
* @generated from oneof livekit.proto.NewSoxResamplerResponse.message
|
|
329
332
|
*/
|
|
@@ -348,11 +351,11 @@ export type NewSoxResamplerResponse = Message<"livekit.proto.NewSoxResamplerResp
|
|
|
348
351
|
* Describes the message livekit.proto.NewSoxResamplerResponse.
|
|
349
352
|
* Use `create(NewSoxResamplerResponseSchema)` to create a new message.
|
|
350
353
|
*/
|
|
351
|
-
|
|
354
|
+
declare const NewSoxResamplerResponseSchema: GenMessage<NewSoxResamplerResponse>;
|
|
352
355
|
/**
|
|
353
356
|
* @generated from message livekit.proto.PushSoxResamplerRequest
|
|
354
357
|
*/
|
|
355
|
-
|
|
358
|
+
type PushSoxResamplerRequest = Message<"livekit.proto.PushSoxResamplerRequest"> & {
|
|
356
359
|
/**
|
|
357
360
|
* @generated from field: required uint64 resampler_handle = 1;
|
|
358
361
|
*/
|
|
@@ -374,11 +377,11 @@ export type PushSoxResamplerRequest = Message<"livekit.proto.PushSoxResamplerReq
|
|
|
374
377
|
* Describes the message livekit.proto.PushSoxResamplerRequest.
|
|
375
378
|
* Use `create(PushSoxResamplerRequestSchema)` to create a new message.
|
|
376
379
|
*/
|
|
377
|
-
|
|
380
|
+
declare const PushSoxResamplerRequestSchema: GenMessage<PushSoxResamplerRequest>;
|
|
378
381
|
/**
|
|
379
382
|
* @generated from message livekit.proto.PushSoxResamplerResponse
|
|
380
383
|
*/
|
|
381
|
-
|
|
384
|
+
type PushSoxResamplerResponse = Message<"livekit.proto.PushSoxResamplerResponse"> & {
|
|
382
385
|
/**
|
|
383
386
|
* *const i16 (could be null)
|
|
384
387
|
*
|
|
@@ -400,11 +403,11 @@ export type PushSoxResamplerResponse = Message<"livekit.proto.PushSoxResamplerRe
|
|
|
400
403
|
* Describes the message livekit.proto.PushSoxResamplerResponse.
|
|
401
404
|
* Use `create(PushSoxResamplerResponseSchema)` to create a new message.
|
|
402
405
|
*/
|
|
403
|
-
|
|
406
|
+
declare const PushSoxResamplerResponseSchema: GenMessage<PushSoxResamplerResponse>;
|
|
404
407
|
/**
|
|
405
408
|
* @generated from message livekit.proto.FlushSoxResamplerRequest
|
|
406
409
|
*/
|
|
407
|
-
|
|
410
|
+
type FlushSoxResamplerRequest = Message<"livekit.proto.FlushSoxResamplerRequest"> & {
|
|
408
411
|
/**
|
|
409
412
|
* @generated from field: required uint64 resampler_handle = 1;
|
|
410
413
|
*/
|
|
@@ -414,11 +417,11 @@ export type FlushSoxResamplerRequest = Message<"livekit.proto.FlushSoxResamplerR
|
|
|
414
417
|
* Describes the message livekit.proto.FlushSoxResamplerRequest.
|
|
415
418
|
* Use `create(FlushSoxResamplerRequestSchema)` to create a new message.
|
|
416
419
|
*/
|
|
417
|
-
|
|
420
|
+
declare const FlushSoxResamplerRequestSchema: GenMessage<FlushSoxResamplerRequest>;
|
|
418
421
|
/**
|
|
419
422
|
* @generated from message livekit.proto.FlushSoxResamplerResponse
|
|
420
423
|
*/
|
|
421
|
-
|
|
424
|
+
type FlushSoxResamplerResponse = Message<"livekit.proto.FlushSoxResamplerResponse"> & {
|
|
422
425
|
/**
|
|
423
426
|
* *const i16 (could be null)
|
|
424
427
|
*
|
|
@@ -440,11 +443,11 @@ export type FlushSoxResamplerResponse = Message<"livekit.proto.FlushSoxResampler
|
|
|
440
443
|
* Describes the message livekit.proto.FlushSoxResamplerResponse.
|
|
441
444
|
* Use `create(FlushSoxResamplerResponseSchema)` to create a new message.
|
|
442
445
|
*/
|
|
443
|
-
|
|
446
|
+
declare const FlushSoxResamplerResponseSchema: GenMessage<FlushSoxResamplerResponse>;
|
|
444
447
|
/**
|
|
445
448
|
* @generated from message livekit.proto.AudioFrameBufferInfo
|
|
446
449
|
*/
|
|
447
|
-
|
|
450
|
+
type AudioFrameBufferInfo = Message<"livekit.proto.AudioFrameBufferInfo"> & {
|
|
448
451
|
/**
|
|
449
452
|
* *const i16
|
|
450
453
|
*
|
|
@@ -468,11 +471,11 @@ export type AudioFrameBufferInfo = Message<"livekit.proto.AudioFrameBufferInfo">
|
|
|
468
471
|
* Describes the message livekit.proto.AudioFrameBufferInfo.
|
|
469
472
|
* Use `create(AudioFrameBufferInfoSchema)` to create a new message.
|
|
470
473
|
*/
|
|
471
|
-
|
|
474
|
+
declare const AudioFrameBufferInfoSchema: GenMessage<AudioFrameBufferInfo>;
|
|
472
475
|
/**
|
|
473
476
|
* @generated from message livekit.proto.OwnedAudioFrameBuffer
|
|
474
477
|
*/
|
|
475
|
-
|
|
478
|
+
type OwnedAudioFrameBuffer = Message<"livekit.proto.OwnedAudioFrameBuffer"> & {
|
|
476
479
|
/**
|
|
477
480
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
478
481
|
*/
|
|
@@ -486,11 +489,11 @@ export type OwnedAudioFrameBuffer = Message<"livekit.proto.OwnedAudioFrameBuffer
|
|
|
486
489
|
* Describes the message livekit.proto.OwnedAudioFrameBuffer.
|
|
487
490
|
* Use `create(OwnedAudioFrameBufferSchema)` to create a new message.
|
|
488
491
|
*/
|
|
489
|
-
|
|
492
|
+
declare const OwnedAudioFrameBufferSchema: GenMessage<OwnedAudioFrameBuffer>;
|
|
490
493
|
/**
|
|
491
494
|
* @generated from message livekit.proto.AudioStreamInfo
|
|
492
495
|
*/
|
|
493
|
-
|
|
496
|
+
type AudioStreamInfo = Message<"livekit.proto.AudioStreamInfo"> & {
|
|
494
497
|
/**
|
|
495
498
|
* @generated from field: required livekit.proto.AudioStreamType type = 1;
|
|
496
499
|
*/
|
|
@@ -500,11 +503,11 @@ export type AudioStreamInfo = Message<"livekit.proto.AudioStreamInfo"> & {
|
|
|
500
503
|
* Describes the message livekit.proto.AudioStreamInfo.
|
|
501
504
|
* Use `create(AudioStreamInfoSchema)` to create a new message.
|
|
502
505
|
*/
|
|
503
|
-
|
|
506
|
+
declare const AudioStreamInfoSchema: GenMessage<AudioStreamInfo>;
|
|
504
507
|
/**
|
|
505
508
|
* @generated from message livekit.proto.OwnedAudioStream
|
|
506
509
|
*/
|
|
507
|
-
|
|
510
|
+
type OwnedAudioStream = Message<"livekit.proto.OwnedAudioStream"> & {
|
|
508
511
|
/**
|
|
509
512
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
510
513
|
*/
|
|
@@ -518,11 +521,11 @@ export type OwnedAudioStream = Message<"livekit.proto.OwnedAudioStream"> & {
|
|
|
518
521
|
* Describes the message livekit.proto.OwnedAudioStream.
|
|
519
522
|
* Use `create(OwnedAudioStreamSchema)` to create a new message.
|
|
520
523
|
*/
|
|
521
|
-
|
|
524
|
+
declare const OwnedAudioStreamSchema: GenMessage<OwnedAudioStream>;
|
|
522
525
|
/**
|
|
523
526
|
* @generated from message livekit.proto.AudioStreamEvent
|
|
524
527
|
*/
|
|
525
|
-
|
|
528
|
+
type AudioStreamEvent = Message<"livekit.proto.AudioStreamEvent"> & {
|
|
526
529
|
/**
|
|
527
530
|
* @generated from field: required uint64 stream_handle = 1;
|
|
528
531
|
*/
|
|
@@ -551,11 +554,11 @@ export type AudioStreamEvent = Message<"livekit.proto.AudioStreamEvent"> & {
|
|
|
551
554
|
* Describes the message livekit.proto.AudioStreamEvent.
|
|
552
555
|
* Use `create(AudioStreamEventSchema)` to create a new message.
|
|
553
556
|
*/
|
|
554
|
-
|
|
557
|
+
declare const AudioStreamEventSchema: GenMessage<AudioStreamEvent>;
|
|
555
558
|
/**
|
|
556
559
|
* @generated from message livekit.proto.AudioFrameReceived
|
|
557
560
|
*/
|
|
558
|
-
|
|
561
|
+
type AudioFrameReceived = Message<"livekit.proto.AudioFrameReceived"> & {
|
|
559
562
|
/**
|
|
560
563
|
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer frame = 1;
|
|
561
564
|
*/
|
|
@@ -565,20 +568,20 @@ export type AudioFrameReceived = Message<"livekit.proto.AudioFrameReceived"> & {
|
|
|
565
568
|
* Describes the message livekit.proto.AudioFrameReceived.
|
|
566
569
|
* Use `create(AudioFrameReceivedSchema)` to create a new message.
|
|
567
570
|
*/
|
|
568
|
-
|
|
571
|
+
declare const AudioFrameReceivedSchema: GenMessage<AudioFrameReceived>;
|
|
569
572
|
/**
|
|
570
573
|
* @generated from message livekit.proto.AudioStreamEOS
|
|
571
574
|
*/
|
|
572
|
-
|
|
575
|
+
type AudioStreamEOS = Message<"livekit.proto.AudioStreamEOS"> & {};
|
|
573
576
|
/**
|
|
574
577
|
* Describes the message livekit.proto.AudioStreamEOS.
|
|
575
578
|
* Use `create(AudioStreamEOSSchema)` to create a new message.
|
|
576
579
|
*/
|
|
577
|
-
|
|
580
|
+
declare const AudioStreamEOSSchema: GenMessage<AudioStreamEOS>;
|
|
578
581
|
/**
|
|
579
582
|
* @generated from message livekit.proto.AudioSourceOptions
|
|
580
583
|
*/
|
|
581
|
-
|
|
584
|
+
type AudioSourceOptions = Message<"livekit.proto.AudioSourceOptions"> & {
|
|
582
585
|
/**
|
|
583
586
|
* @generated from field: required bool echo_cancellation = 1;
|
|
584
587
|
*/
|
|
@@ -596,11 +599,11 @@ export type AudioSourceOptions = Message<"livekit.proto.AudioSourceOptions"> & {
|
|
|
596
599
|
* Describes the message livekit.proto.AudioSourceOptions.
|
|
597
600
|
* Use `create(AudioSourceOptionsSchema)` to create a new message.
|
|
598
601
|
*/
|
|
599
|
-
|
|
602
|
+
declare const AudioSourceOptionsSchema: GenMessage<AudioSourceOptions>;
|
|
600
603
|
/**
|
|
601
604
|
* @generated from message livekit.proto.AudioSourceInfo
|
|
602
605
|
*/
|
|
603
|
-
|
|
606
|
+
type AudioSourceInfo = Message<"livekit.proto.AudioSourceInfo"> & {
|
|
604
607
|
/**
|
|
605
608
|
* @generated from field: required livekit.proto.AudioSourceType type = 2;
|
|
606
609
|
*/
|
|
@@ -610,11 +613,11 @@ export type AudioSourceInfo = Message<"livekit.proto.AudioSourceInfo"> & {
|
|
|
610
613
|
* Describes the message livekit.proto.AudioSourceInfo.
|
|
611
614
|
* Use `create(AudioSourceInfoSchema)` to create a new message.
|
|
612
615
|
*/
|
|
613
|
-
|
|
616
|
+
declare const AudioSourceInfoSchema: GenMessage<AudioSourceInfo>;
|
|
614
617
|
/**
|
|
615
618
|
* @generated from message livekit.proto.OwnedAudioSource
|
|
616
619
|
*/
|
|
617
|
-
|
|
620
|
+
type OwnedAudioSource = Message<"livekit.proto.OwnedAudioSource"> & {
|
|
618
621
|
/**
|
|
619
622
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
620
623
|
*/
|
|
@@ -628,20 +631,20 @@ export type OwnedAudioSource = Message<"livekit.proto.OwnedAudioSource"> & {
|
|
|
628
631
|
* Describes the message livekit.proto.OwnedAudioSource.
|
|
629
632
|
* Use `create(OwnedAudioSourceSchema)` to create a new message.
|
|
630
633
|
*/
|
|
631
|
-
|
|
634
|
+
declare const OwnedAudioSourceSchema: GenMessage<OwnedAudioSource>;
|
|
632
635
|
/**
|
|
633
636
|
* @generated from message livekit.proto.AudioResamplerInfo
|
|
634
637
|
*/
|
|
635
|
-
|
|
638
|
+
type AudioResamplerInfo = Message<"livekit.proto.AudioResamplerInfo"> & {};
|
|
636
639
|
/**
|
|
637
640
|
* Describes the message livekit.proto.AudioResamplerInfo.
|
|
638
641
|
* Use `create(AudioResamplerInfoSchema)` to create a new message.
|
|
639
642
|
*/
|
|
640
|
-
|
|
643
|
+
declare const AudioResamplerInfoSchema: GenMessage<AudioResamplerInfo>;
|
|
641
644
|
/**
|
|
642
645
|
* @generated from message livekit.proto.OwnedAudioResampler
|
|
643
646
|
*/
|
|
644
|
-
|
|
647
|
+
type OwnedAudioResampler = Message<"livekit.proto.OwnedAudioResampler"> & {
|
|
645
648
|
/**
|
|
646
649
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
647
650
|
*/
|
|
@@ -655,20 +658,20 @@ export type OwnedAudioResampler = Message<"livekit.proto.OwnedAudioResampler"> &
|
|
|
655
658
|
* Describes the message livekit.proto.OwnedAudioResampler.
|
|
656
659
|
* Use `create(OwnedAudioResamplerSchema)` to create a new message.
|
|
657
660
|
*/
|
|
658
|
-
|
|
661
|
+
declare const OwnedAudioResamplerSchema: GenMessage<OwnedAudioResampler>;
|
|
659
662
|
/**
|
|
660
663
|
* @generated from message livekit.proto.SoxResamplerInfo
|
|
661
664
|
*/
|
|
662
|
-
|
|
665
|
+
type SoxResamplerInfo = Message<"livekit.proto.SoxResamplerInfo"> & {};
|
|
663
666
|
/**
|
|
664
667
|
* Describes the message livekit.proto.SoxResamplerInfo.
|
|
665
668
|
* Use `create(SoxResamplerInfoSchema)` to create a new message.
|
|
666
669
|
*/
|
|
667
|
-
|
|
670
|
+
declare const SoxResamplerInfoSchema: GenMessage<SoxResamplerInfo>;
|
|
668
671
|
/**
|
|
669
672
|
* @generated from message livekit.proto.OwnedSoxResampler
|
|
670
673
|
*/
|
|
671
|
-
|
|
674
|
+
type OwnedSoxResampler = Message<"livekit.proto.OwnedSoxResampler"> & {
|
|
672
675
|
/**
|
|
673
676
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
674
677
|
*/
|
|
@@ -682,11 +685,11 @@ export type OwnedSoxResampler = Message<"livekit.proto.OwnedSoxResampler"> & {
|
|
|
682
685
|
* Describes the message livekit.proto.OwnedSoxResampler.
|
|
683
686
|
* Use `create(OwnedSoxResamplerSchema)` to create a new message.
|
|
684
687
|
*/
|
|
685
|
-
|
|
688
|
+
declare const OwnedSoxResamplerSchema: GenMessage<OwnedSoxResampler>;
|
|
686
689
|
/**
|
|
687
690
|
* @generated from enum livekit.proto.SoxResamplerDataType
|
|
688
691
|
*/
|
|
689
|
-
|
|
692
|
+
declare enum SoxResamplerDataType {
|
|
690
693
|
/**
|
|
691
694
|
* TODO(theomonnom): support other datatypes (shouldn't really be needed)
|
|
692
695
|
*
|
|
@@ -701,11 +704,11 @@ export declare enum SoxResamplerDataType {
|
|
|
701
704
|
/**
|
|
702
705
|
* Describes the enum livekit.proto.SoxResamplerDataType.
|
|
703
706
|
*/
|
|
704
|
-
|
|
707
|
+
declare const SoxResamplerDataTypeSchema: GenEnum<SoxResamplerDataType>;
|
|
705
708
|
/**
|
|
706
709
|
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
707
710
|
*/
|
|
708
|
-
|
|
711
|
+
declare enum SoxQualityRecipe {
|
|
709
712
|
/**
|
|
710
713
|
* @generated from enum value: SOXR_QUALITY_QUICK = 0;
|
|
711
714
|
*/
|
|
@@ -730,11 +733,11 @@ export declare enum SoxQualityRecipe {
|
|
|
730
733
|
/**
|
|
731
734
|
* Describes the enum livekit.proto.SoxQualityRecipe.
|
|
732
735
|
*/
|
|
733
|
-
|
|
736
|
+
declare const SoxQualityRecipeSchema: GenEnum<SoxQualityRecipe>;
|
|
734
737
|
/**
|
|
735
738
|
* @generated from enum livekit.proto.SoxFlagBits
|
|
736
739
|
*/
|
|
737
|
-
|
|
740
|
+
declare enum SoxFlagBits {
|
|
738
741
|
/**
|
|
739
742
|
* 1 << 0
|
|
740
743
|
*
|
|
@@ -775,11 +778,11 @@ export declare enum SoxFlagBits {
|
|
|
775
778
|
/**
|
|
776
779
|
* Describes the enum livekit.proto.SoxFlagBits.
|
|
777
780
|
*/
|
|
778
|
-
|
|
781
|
+
declare const SoxFlagBitsSchema: GenEnum<SoxFlagBits>;
|
|
779
782
|
/**
|
|
780
783
|
* @generated from enum livekit.proto.AudioStreamType
|
|
781
784
|
*/
|
|
782
|
-
|
|
785
|
+
declare enum AudioStreamType {
|
|
783
786
|
/**
|
|
784
787
|
* @generated from enum value: AUDIO_STREAM_NATIVE = 0;
|
|
785
788
|
*/
|
|
@@ -792,11 +795,11 @@ export declare enum AudioStreamType {
|
|
|
792
795
|
/**
|
|
793
796
|
* Describes the enum livekit.proto.AudioStreamType.
|
|
794
797
|
*/
|
|
795
|
-
|
|
798
|
+
declare const AudioStreamTypeSchema: GenEnum<AudioStreamType>;
|
|
796
799
|
/**
|
|
797
800
|
* @generated from enum livekit.proto.AudioSourceType
|
|
798
801
|
*/
|
|
799
|
-
|
|
802
|
+
declare enum AudioSourceType {
|
|
800
803
|
/**
|
|
801
804
|
* @generated from enum value: AUDIO_SOURCE_NATIVE = 0;
|
|
802
805
|
*/
|
|
@@ -805,5 +808,6 @@ export declare enum AudioSourceType {
|
|
|
805
808
|
/**
|
|
806
809
|
* Describes the enum livekit.proto.AudioSourceType.
|
|
807
810
|
*/
|
|
808
|
-
|
|
809
|
-
|
|
811
|
+
declare const AudioSourceTypeSchema: GenEnum<AudioSourceType>;
|
|
812
|
+
|
|
813
|
+
export { type AudioFrameBufferInfo, AudioFrameBufferInfoSchema, type AudioFrameReceived, AudioFrameReceivedSchema, type AudioResamplerInfo, AudioResamplerInfoSchema, type AudioSourceInfo, AudioSourceInfoSchema, type AudioSourceOptions, AudioSourceOptionsSchema, AudioSourceType, AudioSourceTypeSchema, type AudioStreamEOS, AudioStreamEOSSchema, type AudioStreamEvent, AudioStreamEventSchema, type AudioStreamFromParticipantRequest, AudioStreamFromParticipantRequestSchema, type AudioStreamFromParticipantResponse, AudioStreamFromParticipantResponseSchema, type AudioStreamInfo, AudioStreamInfoSchema, AudioStreamType, AudioStreamTypeSchema, type CaptureAudioFrameCallback, CaptureAudioFrameCallbackSchema, type CaptureAudioFrameRequest, CaptureAudioFrameRequestSchema, type CaptureAudioFrameResponse, CaptureAudioFrameResponseSchema, type ClearAudioBufferRequest, ClearAudioBufferRequestSchema, type ClearAudioBufferResponse, ClearAudioBufferResponseSchema, type FlushSoxResamplerRequest, FlushSoxResamplerRequestSchema, type FlushSoxResamplerResponse, FlushSoxResamplerResponseSchema, type NewAudioResamplerRequest, NewAudioResamplerRequestSchema, type NewAudioResamplerResponse, NewAudioResamplerResponseSchema, type NewAudioSourceRequest, NewAudioSourceRequestSchema, type NewAudioSourceResponse, NewAudioSourceResponseSchema, type NewAudioStreamRequest, NewAudioStreamRequestSchema, type NewAudioStreamResponse, NewAudioStreamResponseSchema, type NewSoxResamplerRequest, NewSoxResamplerRequestSchema, type NewSoxResamplerResponse, NewSoxResamplerResponseSchema, type OwnedAudioFrameBuffer, OwnedAudioFrameBufferSchema, type OwnedAudioResampler, OwnedAudioResamplerSchema, type OwnedAudioSource, OwnedAudioSourceSchema, type OwnedAudioStream, OwnedAudioStreamSchema, type OwnedSoxResampler, OwnedSoxResamplerSchema, type PushSoxResamplerRequest, PushSoxResamplerRequestSchema, type PushSoxResamplerResponse, PushSoxResamplerResponseSchema, type RemixAndResampleRequest, RemixAndResampleRequestSchema, type RemixAndResampleResponse, RemixAndResampleResponseSchema, SoxFlagBits, SoxFlagBitsSchema, SoxQualityRecipe, SoxQualityRecipeSchema, SoxResamplerDataType, SoxResamplerDataTypeSchema, type SoxResamplerInfo, SoxResamplerInfoSchema, file_audio_frame };
|