@livekit/rtc-node 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +52 -6
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +155 -32
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +219 -55
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
|
@@ -1,217 +1,106 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import { TrackSource } from "./track_pb
|
|
4
|
-
import {
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { FfiOwnedHandle } from "./handle_pb";
|
|
3
|
+
import type { TrackSource } from "./track_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Describes the file audio_frame.proto.
|
|
7
7
|
*/
|
|
8
|
-
export declare
|
|
9
|
-
/**
|
|
10
|
-
* TODO(theomonnom): support other datatypes (shouldn't really be needed)
|
|
11
|
-
*
|
|
12
|
-
* @generated from enum value: SOXR_DATATYPE_INT16I = 0;
|
|
13
|
-
*/
|
|
14
|
-
SOXR_DATATYPE_INT16I = 0,
|
|
15
|
-
/**
|
|
16
|
-
* @generated from enum value: SOXR_DATATYPE_INT16S = 1;
|
|
17
|
-
*/
|
|
18
|
-
SOXR_DATATYPE_INT16S = 1
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
22
|
-
*/
|
|
23
|
-
export declare enum SoxQualityRecipe {
|
|
24
|
-
/**
|
|
25
|
-
* @generated from enum value: SOXR_QUALITY_QUICK = 0;
|
|
26
|
-
*/
|
|
27
|
-
SOXR_QUALITY_QUICK = 0,
|
|
28
|
-
/**
|
|
29
|
-
* @generated from enum value: SOXR_QUALITY_LOW = 1;
|
|
30
|
-
*/
|
|
31
|
-
SOXR_QUALITY_LOW = 1,
|
|
32
|
-
/**
|
|
33
|
-
* @generated from enum value: SOXR_QUALITY_MEDIUM = 2;
|
|
34
|
-
*/
|
|
35
|
-
SOXR_QUALITY_MEDIUM = 2,
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum value: SOXR_QUALITY_HIGH = 3;
|
|
38
|
-
*/
|
|
39
|
-
SOXR_QUALITY_HIGH = 3,
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: SOXR_QUALITY_VERYHIGH = 4;
|
|
42
|
-
*/
|
|
43
|
-
SOXR_QUALITY_VERYHIGH = 4
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @generated from enum livekit.proto.SoxFlagBits
|
|
47
|
-
*/
|
|
48
|
-
export declare enum SoxFlagBits {
|
|
49
|
-
/**
|
|
50
|
-
* 1 << 0
|
|
51
|
-
*
|
|
52
|
-
* @generated from enum value: SOXR_ROLLOFF_SMALL = 0;
|
|
53
|
-
*/
|
|
54
|
-
SOXR_ROLLOFF_SMALL = 0,
|
|
55
|
-
/**
|
|
56
|
-
* 1 << 1
|
|
57
|
-
*
|
|
58
|
-
* @generated from enum value: SOXR_ROLLOFF_MEDIUM = 1;
|
|
59
|
-
*/
|
|
60
|
-
SOXR_ROLLOFF_MEDIUM = 1,
|
|
61
|
-
/**
|
|
62
|
-
* 1 << 2
|
|
63
|
-
*
|
|
64
|
-
* @generated from enum value: SOXR_ROLLOFF_NONE = 2;
|
|
65
|
-
*/
|
|
66
|
-
SOXR_ROLLOFF_NONE = 2,
|
|
67
|
-
/**
|
|
68
|
-
* 1 << 3
|
|
69
|
-
*
|
|
70
|
-
* @generated from enum value: SOXR_HIGH_PREC_CLOCK = 3;
|
|
71
|
-
*/
|
|
72
|
-
SOXR_HIGH_PREC_CLOCK = 3,
|
|
73
|
-
/**
|
|
74
|
-
* 1 << 4
|
|
75
|
-
*
|
|
76
|
-
* @generated from enum value: SOXR_DOUBLE_PRECISION = 4;
|
|
77
|
-
*/
|
|
78
|
-
SOXR_DOUBLE_PRECISION = 4,
|
|
79
|
-
/**
|
|
80
|
-
* 1 << 5
|
|
81
|
-
*
|
|
82
|
-
* @generated from enum value: SOXR_VR = 5;
|
|
83
|
-
*/
|
|
84
|
-
SOXR_VR = 5
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* @generated from enum livekit.proto.AudioStreamType
|
|
88
|
-
*/
|
|
89
|
-
export declare enum AudioStreamType {
|
|
90
|
-
/**
|
|
91
|
-
* @generated from enum value: AUDIO_STREAM_NATIVE = 0;
|
|
92
|
-
*/
|
|
93
|
-
AUDIO_STREAM_NATIVE = 0,
|
|
94
|
-
/**
|
|
95
|
-
* @generated from enum value: AUDIO_STREAM_HTML = 1;
|
|
96
|
-
*/
|
|
97
|
-
AUDIO_STREAM_HTML = 1
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* @generated from enum livekit.proto.AudioSourceType
|
|
101
|
-
*/
|
|
102
|
-
export declare enum AudioSourceType {
|
|
103
|
-
/**
|
|
104
|
-
* @generated from enum value: AUDIO_SOURCE_NATIVE = 0;
|
|
105
|
-
*/
|
|
106
|
-
AUDIO_SOURCE_NATIVE = 0
|
|
107
|
-
}
|
|
8
|
+
export declare const file_audio_frame: GenFile;
|
|
108
9
|
/**
|
|
109
10
|
* Create a new AudioStream
|
|
110
11
|
* AudioStream is used to receive audio frames from a track
|
|
111
12
|
*
|
|
112
13
|
* @generated from message livekit.proto.NewAudioStreamRequest
|
|
113
14
|
*/
|
|
114
|
-
export
|
|
15
|
+
export type NewAudioStreamRequest = Message<"livekit.proto.NewAudioStreamRequest"> & {
|
|
115
16
|
/**
|
|
116
|
-
* @generated from field: uint64 track_handle = 1;
|
|
17
|
+
* @generated from field: required uint64 track_handle = 1;
|
|
117
18
|
*/
|
|
118
19
|
trackHandle: bigint;
|
|
119
20
|
/**
|
|
120
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
21
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 2;
|
|
121
22
|
*/
|
|
122
23
|
type: AudioStreamType;
|
|
123
24
|
/**
|
|
124
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
25
|
+
* @generated from field: required uint32 sample_rate = 3;
|
|
125
26
|
*/
|
|
126
27
|
sampleRate: number;
|
|
127
28
|
/**
|
|
128
|
-
* @generated from field: uint32 num_channels = 4;
|
|
29
|
+
* @generated from field: required uint32 num_channels = 4;
|
|
129
30
|
*/
|
|
130
31
|
numChannels: number;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioStreamRequest;
|
|
138
|
-
static equals(a: NewAudioStreamRequest | PlainMessage<NewAudioStreamRequest> | undefined, b: NewAudioStreamRequest | PlainMessage<NewAudioStreamRequest> | undefined): boolean;
|
|
139
|
-
}
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message livekit.proto.NewAudioStreamRequest.
|
|
35
|
+
* Use `create(NewAudioStreamRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const NewAudioStreamRequestSchema: GenMessage<NewAudioStreamRequest>;
|
|
140
38
|
/**
|
|
141
39
|
* @generated from message livekit.proto.NewAudioStreamResponse
|
|
142
40
|
*/
|
|
143
|
-
export
|
|
41
|
+
export type NewAudioStreamResponse = Message<"livekit.proto.NewAudioStreamResponse"> & {
|
|
144
42
|
/**
|
|
145
|
-
* @generated from field: livekit.proto.OwnedAudioStream stream = 1;
|
|
43
|
+
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
146
44
|
*/
|
|
147
45
|
stream?: OwnedAudioStream;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioStreamResponse;
|
|
155
|
-
static equals(a: NewAudioStreamResponse | PlainMessage<NewAudioStreamResponse> | undefined, b: NewAudioStreamResponse | PlainMessage<NewAudioStreamResponse> | undefined): boolean;
|
|
156
|
-
}
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message livekit.proto.NewAudioStreamResponse.
|
|
49
|
+
* Use `create(NewAudioStreamResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export declare const NewAudioStreamResponseSchema: GenMessage<NewAudioStreamResponse>;
|
|
157
52
|
/**
|
|
158
53
|
* @generated from message livekit.proto.AudioStreamFromParticipantRequest
|
|
159
54
|
*/
|
|
160
|
-
export
|
|
55
|
+
export type AudioStreamFromParticipantRequest = Message<"livekit.proto.AudioStreamFromParticipantRequest"> & {
|
|
161
56
|
/**
|
|
162
|
-
* @generated from field: uint64 participant_handle = 1;
|
|
57
|
+
* @generated from field: required uint64 participant_handle = 1;
|
|
163
58
|
*/
|
|
164
59
|
participantHandle: bigint;
|
|
165
60
|
/**
|
|
166
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
61
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 2;
|
|
167
62
|
*/
|
|
168
63
|
type: AudioStreamType;
|
|
169
64
|
/**
|
|
170
65
|
* @generated from field: optional livekit.proto.TrackSource track_source = 3;
|
|
171
66
|
*/
|
|
172
|
-
trackSource
|
|
67
|
+
trackSource: TrackSource;
|
|
173
68
|
/**
|
|
174
|
-
* @generated from field: uint32 sample_rate = 5;
|
|
69
|
+
* @generated from field: required uint32 sample_rate = 5;
|
|
175
70
|
*/
|
|
176
71
|
sampleRate: number;
|
|
177
72
|
/**
|
|
178
|
-
* @generated from field: uint32 num_channels = 6;
|
|
73
|
+
* @generated from field: required uint32 num_channels = 6;
|
|
179
74
|
*/
|
|
180
75
|
numChannels: number;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantRequest;
|
|
188
|
-
static equals(a: AudioStreamFromParticipantRequest | PlainMessage<AudioStreamFromParticipantRequest> | undefined, b: AudioStreamFromParticipantRequest | PlainMessage<AudioStreamFromParticipantRequest> | undefined): boolean;
|
|
189
|
-
}
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantRequest.
|
|
79
|
+
* Use `create(AudioStreamFromParticipantRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const AudioStreamFromParticipantRequestSchema: GenMessage<AudioStreamFromParticipantRequest>;
|
|
190
82
|
/**
|
|
191
83
|
* @generated from message livekit.proto.AudioStreamFromParticipantResponse
|
|
192
84
|
*/
|
|
193
|
-
export
|
|
85
|
+
export type AudioStreamFromParticipantResponse = Message<"livekit.proto.AudioStreamFromParticipantResponse"> & {
|
|
194
86
|
/**
|
|
195
|
-
* @generated from field: livekit.proto.OwnedAudioStream stream = 1;
|
|
87
|
+
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
196
88
|
*/
|
|
197
89
|
stream?: OwnedAudioStream;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantResponse;
|
|
205
|
-
static equals(a: AudioStreamFromParticipantResponse | PlainMessage<AudioStreamFromParticipantResponse> | undefined, b: AudioStreamFromParticipantResponse | PlainMessage<AudioStreamFromParticipantResponse> | undefined): boolean;
|
|
206
|
-
}
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantResponse.
|
|
93
|
+
* Use `create(AudioStreamFromParticipantResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const AudioStreamFromParticipantResponseSchema: GenMessage<AudioStreamFromParticipantResponse>;
|
|
207
96
|
/**
|
|
208
97
|
* Create a new AudioSource
|
|
209
98
|
*
|
|
210
99
|
* @generated from message livekit.proto.NewAudioSourceRequest
|
|
211
100
|
*/
|
|
212
|
-
export
|
|
101
|
+
export type NewAudioSourceRequest = Message<"livekit.proto.NewAudioSourceRequest"> & {
|
|
213
102
|
/**
|
|
214
|
-
* @generated from field: livekit.proto.AudioSourceType type = 1;
|
|
103
|
+
* @generated from field: required livekit.proto.AudioSourceType type = 1;
|
|
215
104
|
*/
|
|
216
105
|
type: AudioSourceType;
|
|
217
106
|
/**
|
|
@@ -219,477 +108,423 @@ export declare class NewAudioSourceRequest extends Message<NewAudioSourceRequest
|
|
|
219
108
|
*/
|
|
220
109
|
options?: AudioSourceOptions;
|
|
221
110
|
/**
|
|
222
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
111
|
+
* @generated from field: required uint32 sample_rate = 3;
|
|
223
112
|
*/
|
|
224
113
|
sampleRate: number;
|
|
225
114
|
/**
|
|
226
|
-
* @generated from field: uint32 num_channels = 4;
|
|
115
|
+
* @generated from field: required uint32 num_channels = 4;
|
|
227
116
|
*/
|
|
228
117
|
numChannels: number;
|
|
229
118
|
/**
|
|
230
|
-
* @generated from field: uint32 queue_size_ms = 5;
|
|
119
|
+
* @generated from field: required uint32 queue_size_ms = 5;
|
|
231
120
|
*/
|
|
232
121
|
queueSizeMs: number;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioSourceRequest;
|
|
240
|
-
static equals(a: NewAudioSourceRequest | PlainMessage<NewAudioSourceRequest> | undefined, b: NewAudioSourceRequest | PlainMessage<NewAudioSourceRequest> | undefined): boolean;
|
|
241
|
-
}
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message livekit.proto.NewAudioSourceRequest.
|
|
125
|
+
* Use `create(NewAudioSourceRequestSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export declare const NewAudioSourceRequestSchema: GenMessage<NewAudioSourceRequest>;
|
|
242
128
|
/**
|
|
243
129
|
* @generated from message livekit.proto.NewAudioSourceResponse
|
|
244
130
|
*/
|
|
245
|
-
export
|
|
131
|
+
export type NewAudioSourceResponse = Message<"livekit.proto.NewAudioSourceResponse"> & {
|
|
246
132
|
/**
|
|
247
|
-
* @generated from field: livekit.proto.OwnedAudioSource source = 1;
|
|
133
|
+
* @generated from field: required livekit.proto.OwnedAudioSource source = 1;
|
|
248
134
|
*/
|
|
249
135
|
source?: OwnedAudioSource;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioSourceResponse;
|
|
257
|
-
static equals(a: NewAudioSourceResponse | PlainMessage<NewAudioSourceResponse> | undefined, b: NewAudioSourceResponse | PlainMessage<NewAudioSourceResponse> | undefined): boolean;
|
|
258
|
-
}
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message livekit.proto.NewAudioSourceResponse.
|
|
139
|
+
* Use `create(NewAudioSourceResponseSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const NewAudioSourceResponseSchema: GenMessage<NewAudioSourceResponse>;
|
|
259
142
|
/**
|
|
260
143
|
* Push a frame to an AudioSource
|
|
261
144
|
* The data provided must be available as long as the client receive the callback.
|
|
262
145
|
*
|
|
263
146
|
* @generated from message livekit.proto.CaptureAudioFrameRequest
|
|
264
147
|
*/
|
|
265
|
-
export
|
|
148
|
+
export type CaptureAudioFrameRequest = Message<"livekit.proto.CaptureAudioFrameRequest"> & {
|
|
266
149
|
/**
|
|
267
|
-
* @generated from field: uint64 source_handle = 1;
|
|
150
|
+
* @generated from field: required uint64 source_handle = 1;
|
|
268
151
|
*/
|
|
269
152
|
sourceHandle: bigint;
|
|
270
153
|
/**
|
|
271
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
154
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
272
155
|
*/
|
|
273
156
|
buffer?: AudioFrameBufferInfo;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameRequest;
|
|
281
|
-
static equals(a: CaptureAudioFrameRequest | PlainMessage<CaptureAudioFrameRequest> | undefined, b: CaptureAudioFrameRequest | PlainMessage<CaptureAudioFrameRequest> | undefined): boolean;
|
|
282
|
-
}
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* Describes the message livekit.proto.CaptureAudioFrameRequest.
|
|
160
|
+
* Use `create(CaptureAudioFrameRequestSchema)` to create a new message.
|
|
161
|
+
*/
|
|
162
|
+
export declare const CaptureAudioFrameRequestSchema: GenMessage<CaptureAudioFrameRequest>;
|
|
283
163
|
/**
|
|
284
164
|
* @generated from message livekit.proto.CaptureAudioFrameResponse
|
|
285
165
|
*/
|
|
286
|
-
export
|
|
166
|
+
export type CaptureAudioFrameResponse = Message<"livekit.proto.CaptureAudioFrameResponse"> & {
|
|
287
167
|
/**
|
|
288
|
-
* @generated from field: uint64 async_id = 1;
|
|
168
|
+
* @generated from field: required uint64 async_id = 1;
|
|
289
169
|
*/
|
|
290
170
|
asyncId: bigint;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameResponse;
|
|
298
|
-
static equals(a: CaptureAudioFrameResponse | PlainMessage<CaptureAudioFrameResponse> | undefined, b: CaptureAudioFrameResponse | PlainMessage<CaptureAudioFrameResponse> | undefined): boolean;
|
|
299
|
-
}
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Describes the message livekit.proto.CaptureAudioFrameResponse.
|
|
174
|
+
* Use `create(CaptureAudioFrameResponseSchema)` to create a new message.
|
|
175
|
+
*/
|
|
176
|
+
export declare const CaptureAudioFrameResponseSchema: GenMessage<CaptureAudioFrameResponse>;
|
|
300
177
|
/**
|
|
301
178
|
* @generated from message livekit.proto.CaptureAudioFrameCallback
|
|
302
179
|
*/
|
|
303
|
-
export
|
|
180
|
+
export type CaptureAudioFrameCallback = Message<"livekit.proto.CaptureAudioFrameCallback"> & {
|
|
304
181
|
/**
|
|
305
|
-
* @generated from field: uint64 async_id = 1;
|
|
182
|
+
* @generated from field: required uint64 async_id = 1;
|
|
306
183
|
*/
|
|
307
184
|
asyncId: bigint;
|
|
308
185
|
/**
|
|
309
186
|
* @generated from field: optional string error = 2;
|
|
310
187
|
*/
|
|
311
|
-
error
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameCallback;
|
|
319
|
-
static equals(a: CaptureAudioFrameCallback | PlainMessage<CaptureAudioFrameCallback> | undefined, b: CaptureAudioFrameCallback | PlainMessage<CaptureAudioFrameCallback> | undefined): boolean;
|
|
320
|
-
}
|
|
188
|
+
error: string;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message livekit.proto.CaptureAudioFrameCallback.
|
|
192
|
+
* Use `create(CaptureAudioFrameCallbackSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const CaptureAudioFrameCallbackSchema: GenMessage<CaptureAudioFrameCallback>;
|
|
321
195
|
/**
|
|
322
196
|
* @generated from message livekit.proto.ClearAudioBufferRequest
|
|
323
197
|
*/
|
|
324
|
-
export
|
|
198
|
+
export type ClearAudioBufferRequest = Message<"livekit.proto.ClearAudioBufferRequest"> & {
|
|
325
199
|
/**
|
|
326
|
-
* @generated from field: uint64 source_handle = 1;
|
|
200
|
+
* @generated from field: required uint64 source_handle = 1;
|
|
327
201
|
*/
|
|
328
202
|
sourceHandle: bigint;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClearAudioBufferRequest;
|
|
336
|
-
static equals(a: ClearAudioBufferRequest | PlainMessage<ClearAudioBufferRequest> | undefined, b: ClearAudioBufferRequest | PlainMessage<ClearAudioBufferRequest> | undefined): boolean;
|
|
337
|
-
}
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message livekit.proto.ClearAudioBufferRequest.
|
|
206
|
+
* Use `create(ClearAudioBufferRequestSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export declare const ClearAudioBufferRequestSchema: GenMessage<ClearAudioBufferRequest>;
|
|
338
209
|
/**
|
|
339
210
|
* @generated from message livekit.proto.ClearAudioBufferResponse
|
|
340
211
|
*/
|
|
341
|
-
export
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClearAudioBufferResponse;
|
|
348
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClearAudioBufferResponse;
|
|
349
|
-
static equals(a: ClearAudioBufferResponse | PlainMessage<ClearAudioBufferResponse> | undefined, b: ClearAudioBufferResponse | PlainMessage<ClearAudioBufferResponse> | undefined): boolean;
|
|
350
|
-
}
|
|
212
|
+
export type ClearAudioBufferResponse = Message<"livekit.proto.ClearAudioBufferResponse"> & {};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message livekit.proto.ClearAudioBufferResponse.
|
|
215
|
+
* Use `create(ClearAudioBufferResponseSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const ClearAudioBufferResponseSchema: GenMessage<ClearAudioBufferResponse>;
|
|
351
218
|
/**
|
|
352
219
|
* Create a new AudioResampler
|
|
353
220
|
*
|
|
354
221
|
* @generated from message livekit.proto.NewAudioResamplerRequest
|
|
355
222
|
*/
|
|
356
|
-
export
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioResamplerRequest;
|
|
363
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioResamplerRequest;
|
|
364
|
-
static equals(a: NewAudioResamplerRequest | PlainMessage<NewAudioResamplerRequest> | undefined, b: NewAudioResamplerRequest | PlainMessage<NewAudioResamplerRequest> | undefined): boolean;
|
|
365
|
-
}
|
|
223
|
+
export type NewAudioResamplerRequest = Message<"livekit.proto.NewAudioResamplerRequest"> & {};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message livekit.proto.NewAudioResamplerRequest.
|
|
226
|
+
* Use `create(NewAudioResamplerRequestSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const NewAudioResamplerRequestSchema: GenMessage<NewAudioResamplerRequest>;
|
|
366
229
|
/**
|
|
367
230
|
* @generated from message livekit.proto.NewAudioResamplerResponse
|
|
368
231
|
*/
|
|
369
|
-
export
|
|
232
|
+
export type NewAudioResamplerResponse = Message<"livekit.proto.NewAudioResamplerResponse"> & {
|
|
370
233
|
/**
|
|
371
|
-
* @generated from field: livekit.proto.OwnedAudioResampler resampler = 1;
|
|
234
|
+
* @generated from field: required livekit.proto.OwnedAudioResampler resampler = 1;
|
|
372
235
|
*/
|
|
373
236
|
resampler?: OwnedAudioResampler;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioResamplerResponse;
|
|
381
|
-
static equals(a: NewAudioResamplerResponse | PlainMessage<NewAudioResamplerResponse> | undefined, b: NewAudioResamplerResponse | PlainMessage<NewAudioResamplerResponse> | undefined): boolean;
|
|
382
|
-
}
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message livekit.proto.NewAudioResamplerResponse.
|
|
240
|
+
* Use `create(NewAudioResamplerResponseSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export declare const NewAudioResamplerResponseSchema: GenMessage<NewAudioResamplerResponse>;
|
|
383
243
|
/**
|
|
384
244
|
* Remix and resample an audio frame
|
|
385
245
|
*
|
|
386
246
|
* @generated from message livekit.proto.RemixAndResampleRequest
|
|
387
247
|
*/
|
|
388
|
-
export
|
|
248
|
+
export type RemixAndResampleRequest = Message<"livekit.proto.RemixAndResampleRequest"> & {
|
|
389
249
|
/**
|
|
390
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
250
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
391
251
|
*/
|
|
392
252
|
resamplerHandle: bigint;
|
|
393
253
|
/**
|
|
394
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
254
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
395
255
|
*/
|
|
396
256
|
buffer?: AudioFrameBufferInfo;
|
|
397
257
|
/**
|
|
398
|
-
* @generated from field: uint32 num_channels = 3;
|
|
258
|
+
* @generated from field: required uint32 num_channels = 3;
|
|
399
259
|
*/
|
|
400
260
|
numChannels: number;
|
|
401
261
|
/**
|
|
402
|
-
* @generated from field: uint32 sample_rate = 4;
|
|
262
|
+
* @generated from field: required uint32 sample_rate = 4;
|
|
403
263
|
*/
|
|
404
264
|
sampleRate: number;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemixAndResampleRequest;
|
|
412
|
-
static equals(a: RemixAndResampleRequest | PlainMessage<RemixAndResampleRequest> | undefined, b: RemixAndResampleRequest | PlainMessage<RemixAndResampleRequest> | undefined): boolean;
|
|
413
|
-
}
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Describes the message livekit.proto.RemixAndResampleRequest.
|
|
268
|
+
* Use `create(RemixAndResampleRequestSchema)` to create a new message.
|
|
269
|
+
*/
|
|
270
|
+
export declare const RemixAndResampleRequestSchema: GenMessage<RemixAndResampleRequest>;
|
|
414
271
|
/**
|
|
415
272
|
* @generated from message livekit.proto.RemixAndResampleResponse
|
|
416
273
|
*/
|
|
417
|
-
export
|
|
274
|
+
export type RemixAndResampleResponse = Message<"livekit.proto.RemixAndResampleResponse"> & {
|
|
418
275
|
/**
|
|
419
|
-
* @generated from field: livekit.proto.OwnedAudioFrameBuffer buffer = 1;
|
|
276
|
+
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer buffer = 1;
|
|
420
277
|
*/
|
|
421
278
|
buffer?: OwnedAudioFrameBuffer;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemixAndResampleResponse;
|
|
429
|
-
static equals(a: RemixAndResampleResponse | PlainMessage<RemixAndResampleResponse> | undefined, b: RemixAndResampleResponse | PlainMessage<RemixAndResampleResponse> | undefined): boolean;
|
|
430
|
-
}
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message livekit.proto.RemixAndResampleResponse.
|
|
282
|
+
* Use `create(RemixAndResampleResponseSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export declare const RemixAndResampleResponseSchema: GenMessage<RemixAndResampleResponse>;
|
|
431
285
|
/**
|
|
432
286
|
* @generated from message livekit.proto.NewSoxResamplerRequest
|
|
433
287
|
*/
|
|
434
|
-
export
|
|
288
|
+
export type NewSoxResamplerRequest = Message<"livekit.proto.NewSoxResamplerRequest"> & {
|
|
435
289
|
/**
|
|
436
|
-
* @generated from field: double input_rate = 1;
|
|
290
|
+
* @generated from field: required double input_rate = 1;
|
|
437
291
|
*/
|
|
438
292
|
inputRate: number;
|
|
439
293
|
/**
|
|
440
|
-
* @generated from field: double output_rate = 2;
|
|
294
|
+
* @generated from field: required double output_rate = 2;
|
|
441
295
|
*/
|
|
442
296
|
outputRate: number;
|
|
443
297
|
/**
|
|
444
|
-
* @generated from field: uint32 num_channels = 3;
|
|
298
|
+
* @generated from field: required uint32 num_channels = 3;
|
|
445
299
|
*/
|
|
446
300
|
numChannels: number;
|
|
447
301
|
/**
|
|
448
|
-
* @generated from field: livekit.proto.SoxResamplerDataType input_data_type = 4;
|
|
302
|
+
* @generated from field: required livekit.proto.SoxResamplerDataType input_data_type = 4;
|
|
449
303
|
*/
|
|
450
304
|
inputDataType: SoxResamplerDataType;
|
|
451
305
|
/**
|
|
452
|
-
* @generated from field: livekit.proto.SoxResamplerDataType output_data_type = 5;
|
|
306
|
+
* @generated from field: required livekit.proto.SoxResamplerDataType output_data_type = 5;
|
|
453
307
|
*/
|
|
454
308
|
outputDataType: SoxResamplerDataType;
|
|
455
309
|
/**
|
|
456
|
-
* @generated from field: livekit.proto.SoxQualityRecipe quality_recipe = 6;
|
|
310
|
+
* @generated from field: required livekit.proto.SoxQualityRecipe quality_recipe = 6;
|
|
457
311
|
*/
|
|
458
312
|
qualityRecipe: SoxQualityRecipe;
|
|
459
313
|
/**
|
|
460
|
-
* @generated from field: uint32 flags = 7;
|
|
314
|
+
* @generated from field: required uint32 flags = 7;
|
|
461
315
|
*/
|
|
462
316
|
flags: number;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewSoxResamplerRequest;
|
|
470
|
-
static equals(a: NewSoxResamplerRequest | PlainMessage<NewSoxResamplerRequest> | undefined, b: NewSoxResamplerRequest | PlainMessage<NewSoxResamplerRequest> | undefined): boolean;
|
|
471
|
-
}
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Describes the message livekit.proto.NewSoxResamplerRequest.
|
|
320
|
+
* Use `create(NewSoxResamplerRequestSchema)` to create a new message.
|
|
321
|
+
*/
|
|
322
|
+
export declare const NewSoxResamplerRequestSchema: GenMessage<NewSoxResamplerRequest>;
|
|
472
323
|
/**
|
|
473
324
|
* @generated from message livekit.proto.NewSoxResamplerResponse
|
|
474
325
|
*/
|
|
475
|
-
export
|
|
476
|
-
/**
|
|
477
|
-
* @generated from field: livekit.proto.OwnedSoxResampler resampler = 1;
|
|
478
|
-
*/
|
|
479
|
-
resampler?: OwnedSoxResampler;
|
|
326
|
+
export type NewSoxResamplerResponse = Message<"livekit.proto.NewSoxResamplerResponse"> & {
|
|
480
327
|
/**
|
|
481
|
-
* @generated from
|
|
328
|
+
* @generated from oneof livekit.proto.NewSoxResamplerResponse.message
|
|
482
329
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
330
|
+
message: {
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: livekit.proto.OwnedSoxResampler resampler = 1;
|
|
333
|
+
*/
|
|
334
|
+
value: OwnedSoxResampler;
|
|
335
|
+
case: "resampler";
|
|
336
|
+
} | {
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: string error = 2;
|
|
339
|
+
*/
|
|
340
|
+
value: string;
|
|
341
|
+
case: "error";
|
|
342
|
+
} | {
|
|
343
|
+
case: undefined;
|
|
344
|
+
value?: undefined;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* Describes the message livekit.proto.NewSoxResamplerResponse.
|
|
349
|
+
* Use `create(NewSoxResamplerResponseSchema)` to create a new message.
|
|
350
|
+
*/
|
|
351
|
+
export declare const NewSoxResamplerResponseSchema: GenMessage<NewSoxResamplerResponse>;
|
|
493
352
|
/**
|
|
494
353
|
* @generated from message livekit.proto.PushSoxResamplerRequest
|
|
495
354
|
*/
|
|
496
|
-
export
|
|
355
|
+
export type PushSoxResamplerRequest = Message<"livekit.proto.PushSoxResamplerRequest"> & {
|
|
497
356
|
/**
|
|
498
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
357
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
499
358
|
*/
|
|
500
359
|
resamplerHandle: bigint;
|
|
501
360
|
/**
|
|
502
361
|
* *const i16
|
|
503
362
|
*
|
|
504
|
-
* @generated from field: uint64 data_ptr = 2;
|
|
363
|
+
* @generated from field: required uint64 data_ptr = 2;
|
|
505
364
|
*/
|
|
506
365
|
dataPtr: bigint;
|
|
507
366
|
/**
|
|
508
367
|
* in bytes
|
|
509
368
|
*
|
|
510
|
-
* @generated from field: uint32 size = 3;
|
|
369
|
+
* @generated from field: required uint32 size = 3;
|
|
511
370
|
*/
|
|
512
371
|
size: number;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushSoxResamplerRequest;
|
|
520
|
-
static equals(a: PushSoxResamplerRequest | PlainMessage<PushSoxResamplerRequest> | undefined, b: PushSoxResamplerRequest | PlainMessage<PushSoxResamplerRequest> | undefined): boolean;
|
|
521
|
-
}
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message livekit.proto.PushSoxResamplerRequest.
|
|
375
|
+
* Use `create(PushSoxResamplerRequestSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export declare const PushSoxResamplerRequestSchema: GenMessage<PushSoxResamplerRequest>;
|
|
522
378
|
/**
|
|
523
379
|
* @generated from message livekit.proto.PushSoxResamplerResponse
|
|
524
380
|
*/
|
|
525
|
-
export
|
|
381
|
+
export type PushSoxResamplerResponse = Message<"livekit.proto.PushSoxResamplerResponse"> & {
|
|
526
382
|
/**
|
|
527
383
|
* *const i16 (could be null)
|
|
528
384
|
*
|
|
529
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
385
|
+
* @generated from field: required uint64 output_ptr = 1;
|
|
530
386
|
*/
|
|
531
387
|
outputPtr: bigint;
|
|
532
388
|
/**
|
|
533
389
|
* in bytes
|
|
534
390
|
*
|
|
535
|
-
* @generated from field: uint32 size = 2;
|
|
391
|
+
* @generated from field: required uint32 size = 2;
|
|
536
392
|
*/
|
|
537
393
|
size: number;
|
|
538
394
|
/**
|
|
539
395
|
* @generated from field: optional string error = 3;
|
|
540
396
|
*/
|
|
541
|
-
error
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushSoxResamplerResponse;
|
|
549
|
-
static equals(a: PushSoxResamplerResponse | PlainMessage<PushSoxResamplerResponse> | undefined, b: PushSoxResamplerResponse | PlainMessage<PushSoxResamplerResponse> | undefined): boolean;
|
|
550
|
-
}
|
|
397
|
+
error: string;
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Describes the message livekit.proto.PushSoxResamplerResponse.
|
|
401
|
+
* Use `create(PushSoxResamplerResponseSchema)` to create a new message.
|
|
402
|
+
*/
|
|
403
|
+
export declare const PushSoxResamplerResponseSchema: GenMessage<PushSoxResamplerResponse>;
|
|
551
404
|
/**
|
|
552
405
|
* @generated from message livekit.proto.FlushSoxResamplerRequest
|
|
553
406
|
*/
|
|
554
|
-
export
|
|
407
|
+
export type FlushSoxResamplerRequest = Message<"livekit.proto.FlushSoxResamplerRequest"> & {
|
|
555
408
|
/**
|
|
556
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
409
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
557
410
|
*/
|
|
558
411
|
resamplerHandle: bigint;
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FlushSoxResamplerRequest;
|
|
566
|
-
static equals(a: FlushSoxResamplerRequest | PlainMessage<FlushSoxResamplerRequest> | undefined, b: FlushSoxResamplerRequest | PlainMessage<FlushSoxResamplerRequest> | undefined): boolean;
|
|
567
|
-
}
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Describes the message livekit.proto.FlushSoxResamplerRequest.
|
|
415
|
+
* Use `create(FlushSoxResamplerRequestSchema)` to create a new message.
|
|
416
|
+
*/
|
|
417
|
+
export declare const FlushSoxResamplerRequestSchema: GenMessage<FlushSoxResamplerRequest>;
|
|
568
418
|
/**
|
|
569
419
|
* @generated from message livekit.proto.FlushSoxResamplerResponse
|
|
570
420
|
*/
|
|
571
|
-
export
|
|
421
|
+
export type FlushSoxResamplerResponse = Message<"livekit.proto.FlushSoxResamplerResponse"> & {
|
|
572
422
|
/**
|
|
573
423
|
* *const i16 (could be null)
|
|
574
424
|
*
|
|
575
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
425
|
+
* @generated from field: required uint64 output_ptr = 1;
|
|
576
426
|
*/
|
|
577
427
|
outputPtr: bigint;
|
|
578
428
|
/**
|
|
579
429
|
* in bytes
|
|
580
430
|
*
|
|
581
|
-
* @generated from field: uint32 size = 2;
|
|
431
|
+
* @generated from field: required uint32 size = 2;
|
|
582
432
|
*/
|
|
583
433
|
size: number;
|
|
584
434
|
/**
|
|
585
435
|
* @generated from field: optional string error = 3;
|
|
586
436
|
*/
|
|
587
|
-
error
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FlushSoxResamplerResponse;
|
|
595
|
-
static equals(a: FlushSoxResamplerResponse | PlainMessage<FlushSoxResamplerResponse> | undefined, b: FlushSoxResamplerResponse | PlainMessage<FlushSoxResamplerResponse> | undefined): boolean;
|
|
596
|
-
}
|
|
437
|
+
error: string;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* Describes the message livekit.proto.FlushSoxResamplerResponse.
|
|
441
|
+
* Use `create(FlushSoxResamplerResponseSchema)` to create a new message.
|
|
442
|
+
*/
|
|
443
|
+
export declare const FlushSoxResamplerResponseSchema: GenMessage<FlushSoxResamplerResponse>;
|
|
597
444
|
/**
|
|
598
445
|
* @generated from message livekit.proto.AudioFrameBufferInfo
|
|
599
446
|
*/
|
|
600
|
-
export
|
|
447
|
+
export type AudioFrameBufferInfo = Message<"livekit.proto.AudioFrameBufferInfo"> & {
|
|
601
448
|
/**
|
|
602
449
|
* *const i16
|
|
603
450
|
*
|
|
604
|
-
* @generated from field: uint64 data_ptr = 1;
|
|
451
|
+
* @generated from field: required uint64 data_ptr = 1;
|
|
605
452
|
*/
|
|
606
453
|
dataPtr: bigint;
|
|
607
454
|
/**
|
|
608
|
-
* @generated from field: uint32 num_channels = 2;
|
|
455
|
+
* @generated from field: required uint32 num_channels = 2;
|
|
609
456
|
*/
|
|
610
457
|
numChannels: number;
|
|
611
458
|
/**
|
|
612
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
459
|
+
* @generated from field: required uint32 sample_rate = 3;
|
|
613
460
|
*/
|
|
614
461
|
sampleRate: number;
|
|
615
462
|
/**
|
|
616
|
-
* @generated from field: uint32 samples_per_channel = 4;
|
|
463
|
+
* @generated from field: required uint32 samples_per_channel = 4;
|
|
617
464
|
*/
|
|
618
465
|
samplesPerChannel: number;
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioFrameBufferInfo;
|
|
626
|
-
static equals(a: AudioFrameBufferInfo | PlainMessage<AudioFrameBufferInfo> | undefined, b: AudioFrameBufferInfo | PlainMessage<AudioFrameBufferInfo> | undefined): boolean;
|
|
627
|
-
}
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* Describes the message livekit.proto.AudioFrameBufferInfo.
|
|
469
|
+
* Use `create(AudioFrameBufferInfoSchema)` to create a new message.
|
|
470
|
+
*/
|
|
471
|
+
export declare const AudioFrameBufferInfoSchema: GenMessage<AudioFrameBufferInfo>;
|
|
628
472
|
/**
|
|
629
473
|
* @generated from message livekit.proto.OwnedAudioFrameBuffer
|
|
630
474
|
*/
|
|
631
|
-
export
|
|
475
|
+
export type OwnedAudioFrameBuffer = Message<"livekit.proto.OwnedAudioFrameBuffer"> & {
|
|
632
476
|
/**
|
|
633
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
477
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
634
478
|
*/
|
|
635
479
|
handle?: FfiOwnedHandle;
|
|
636
480
|
/**
|
|
637
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo info = 2;
|
|
481
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo info = 2;
|
|
638
482
|
*/
|
|
639
483
|
info?: AudioFrameBufferInfo;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioFrameBuffer;
|
|
647
|
-
static equals(a: OwnedAudioFrameBuffer | PlainMessage<OwnedAudioFrameBuffer> | undefined, b: OwnedAudioFrameBuffer | PlainMessage<OwnedAudioFrameBuffer> | undefined): boolean;
|
|
648
|
-
}
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message livekit.proto.OwnedAudioFrameBuffer.
|
|
487
|
+
* Use `create(OwnedAudioFrameBufferSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const OwnedAudioFrameBufferSchema: GenMessage<OwnedAudioFrameBuffer>;
|
|
649
490
|
/**
|
|
650
491
|
* @generated from message livekit.proto.AudioStreamInfo
|
|
651
492
|
*/
|
|
652
|
-
export
|
|
493
|
+
export type AudioStreamInfo = Message<"livekit.proto.AudioStreamInfo"> & {
|
|
653
494
|
/**
|
|
654
|
-
* @generated from field: livekit.proto.AudioStreamType type = 1;
|
|
495
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 1;
|
|
655
496
|
*/
|
|
656
497
|
type: AudioStreamType;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamInfo;
|
|
664
|
-
static equals(a: AudioStreamInfo | PlainMessage<AudioStreamInfo> | undefined, b: AudioStreamInfo | PlainMessage<AudioStreamInfo> | undefined): boolean;
|
|
665
|
-
}
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Describes the message livekit.proto.AudioStreamInfo.
|
|
501
|
+
* Use `create(AudioStreamInfoSchema)` to create a new message.
|
|
502
|
+
*/
|
|
503
|
+
export declare const AudioStreamInfoSchema: GenMessage<AudioStreamInfo>;
|
|
666
504
|
/**
|
|
667
505
|
* @generated from message livekit.proto.OwnedAudioStream
|
|
668
506
|
*/
|
|
669
|
-
export
|
|
507
|
+
export type OwnedAudioStream = Message<"livekit.proto.OwnedAudioStream"> & {
|
|
670
508
|
/**
|
|
671
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
509
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
672
510
|
*/
|
|
673
511
|
handle?: FfiOwnedHandle;
|
|
674
512
|
/**
|
|
675
|
-
* @generated from field: livekit.proto.AudioStreamInfo info = 2;
|
|
513
|
+
* @generated from field: required livekit.proto.AudioStreamInfo info = 2;
|
|
676
514
|
*/
|
|
677
515
|
info?: AudioStreamInfo;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioStream;
|
|
685
|
-
static equals(a: OwnedAudioStream | PlainMessage<OwnedAudioStream> | undefined, b: OwnedAudioStream | PlainMessage<OwnedAudioStream> | undefined): boolean;
|
|
686
|
-
}
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Describes the message livekit.proto.OwnedAudioStream.
|
|
519
|
+
* Use `create(OwnedAudioStreamSchema)` to create a new message.
|
|
520
|
+
*/
|
|
521
|
+
export declare const OwnedAudioStreamSchema: GenMessage<OwnedAudioStream>;
|
|
687
522
|
/**
|
|
688
523
|
* @generated from message livekit.proto.AudioStreamEvent
|
|
689
524
|
*/
|
|
690
|
-
export
|
|
525
|
+
export type AudioStreamEvent = Message<"livekit.proto.AudioStreamEvent"> & {
|
|
691
526
|
/**
|
|
692
|
-
* @generated from field: uint64 stream_handle = 1;
|
|
527
|
+
* @generated from field: required uint64 stream_handle = 1;
|
|
693
528
|
*/
|
|
694
529
|
streamHandle: bigint;
|
|
695
530
|
/**
|
|
@@ -711,174 +546,264 @@ export declare class AudioStreamEvent extends Message<AudioStreamEvent> {
|
|
|
711
546
|
case: undefined;
|
|
712
547
|
value?: undefined;
|
|
713
548
|
};
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamEvent;
|
|
721
|
-
static equals(a: AudioStreamEvent | PlainMessage<AudioStreamEvent> | undefined, b: AudioStreamEvent | PlainMessage<AudioStreamEvent> | undefined): boolean;
|
|
722
|
-
}
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* Describes the message livekit.proto.AudioStreamEvent.
|
|
552
|
+
* Use `create(AudioStreamEventSchema)` to create a new message.
|
|
553
|
+
*/
|
|
554
|
+
export declare const AudioStreamEventSchema: GenMessage<AudioStreamEvent>;
|
|
723
555
|
/**
|
|
724
556
|
* @generated from message livekit.proto.AudioFrameReceived
|
|
725
557
|
*/
|
|
726
|
-
export
|
|
558
|
+
export type AudioFrameReceived = Message<"livekit.proto.AudioFrameReceived"> & {
|
|
727
559
|
/**
|
|
728
|
-
* @generated from field: livekit.proto.OwnedAudioFrameBuffer frame = 1;
|
|
560
|
+
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer frame = 1;
|
|
729
561
|
*/
|
|
730
562
|
frame?: OwnedAudioFrameBuffer;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioFrameReceived;
|
|
738
|
-
static equals(a: AudioFrameReceived | PlainMessage<AudioFrameReceived> | undefined, b: AudioFrameReceived | PlainMessage<AudioFrameReceived> | undefined): boolean;
|
|
739
|
-
}
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Describes the message livekit.proto.AudioFrameReceived.
|
|
566
|
+
* Use `create(AudioFrameReceivedSchema)` to create a new message.
|
|
567
|
+
*/
|
|
568
|
+
export declare const AudioFrameReceivedSchema: GenMessage<AudioFrameReceived>;
|
|
740
569
|
/**
|
|
741
570
|
* @generated from message livekit.proto.AudioStreamEOS
|
|
742
571
|
*/
|
|
743
|
-
export
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamEOS;
|
|
750
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamEOS;
|
|
751
|
-
static equals(a: AudioStreamEOS | PlainMessage<AudioStreamEOS> | undefined, b: AudioStreamEOS | PlainMessage<AudioStreamEOS> | undefined): boolean;
|
|
752
|
-
}
|
|
572
|
+
export type AudioStreamEOS = Message<"livekit.proto.AudioStreamEOS"> & {};
|
|
573
|
+
/**
|
|
574
|
+
* Describes the message livekit.proto.AudioStreamEOS.
|
|
575
|
+
* Use `create(AudioStreamEOSSchema)` to create a new message.
|
|
576
|
+
*/
|
|
577
|
+
export declare const AudioStreamEOSSchema: GenMessage<AudioStreamEOS>;
|
|
753
578
|
/**
|
|
754
579
|
* @generated from message livekit.proto.AudioSourceOptions
|
|
755
580
|
*/
|
|
756
|
-
export
|
|
581
|
+
export type AudioSourceOptions = Message<"livekit.proto.AudioSourceOptions"> & {
|
|
757
582
|
/**
|
|
758
|
-
* @generated from field: bool echo_cancellation = 1;
|
|
583
|
+
* @generated from field: required bool echo_cancellation = 1;
|
|
759
584
|
*/
|
|
760
585
|
echoCancellation: boolean;
|
|
761
586
|
/**
|
|
762
|
-
* @generated from field: bool noise_suppression = 2;
|
|
587
|
+
* @generated from field: required bool noise_suppression = 2;
|
|
763
588
|
*/
|
|
764
589
|
noiseSuppression: boolean;
|
|
765
590
|
/**
|
|
766
|
-
* @generated from field: bool auto_gain_control = 3;
|
|
591
|
+
* @generated from field: required bool auto_gain_control = 3;
|
|
767
592
|
*/
|
|
768
593
|
autoGainControl: boolean;
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceOptions;
|
|
776
|
-
static equals(a: AudioSourceOptions | PlainMessage<AudioSourceOptions> | undefined, b: AudioSourceOptions | PlainMessage<AudioSourceOptions> | undefined): boolean;
|
|
777
|
-
}
|
|
594
|
+
};
|
|
595
|
+
/**
|
|
596
|
+
* Describes the message livekit.proto.AudioSourceOptions.
|
|
597
|
+
* Use `create(AudioSourceOptionsSchema)` to create a new message.
|
|
598
|
+
*/
|
|
599
|
+
export declare const AudioSourceOptionsSchema: GenMessage<AudioSourceOptions>;
|
|
778
600
|
/**
|
|
779
601
|
* @generated from message livekit.proto.AudioSourceInfo
|
|
780
602
|
*/
|
|
781
|
-
export
|
|
603
|
+
export type AudioSourceInfo = Message<"livekit.proto.AudioSourceInfo"> & {
|
|
782
604
|
/**
|
|
783
|
-
* @generated from field: livekit.proto.AudioSourceType type = 2;
|
|
605
|
+
* @generated from field: required livekit.proto.AudioSourceType type = 2;
|
|
784
606
|
*/
|
|
785
607
|
type: AudioSourceType;
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceInfo;
|
|
793
|
-
static equals(a: AudioSourceInfo | PlainMessage<AudioSourceInfo> | undefined, b: AudioSourceInfo | PlainMessage<AudioSourceInfo> | undefined): boolean;
|
|
794
|
-
}
|
|
608
|
+
};
|
|
609
|
+
/**
|
|
610
|
+
* Describes the message livekit.proto.AudioSourceInfo.
|
|
611
|
+
* Use `create(AudioSourceInfoSchema)` to create a new message.
|
|
612
|
+
*/
|
|
613
|
+
export declare const AudioSourceInfoSchema: GenMessage<AudioSourceInfo>;
|
|
795
614
|
/**
|
|
796
615
|
* @generated from message livekit.proto.OwnedAudioSource
|
|
797
616
|
*/
|
|
798
|
-
export
|
|
617
|
+
export type OwnedAudioSource = Message<"livekit.proto.OwnedAudioSource"> & {
|
|
799
618
|
/**
|
|
800
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
619
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
801
620
|
*/
|
|
802
621
|
handle?: FfiOwnedHandle;
|
|
803
622
|
/**
|
|
804
|
-
* @generated from field: livekit.proto.AudioSourceInfo info = 2;
|
|
623
|
+
* @generated from field: required livekit.proto.AudioSourceInfo info = 2;
|
|
805
624
|
*/
|
|
806
625
|
info?: AudioSourceInfo;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioSource;
|
|
814
|
-
static equals(a: OwnedAudioSource | PlainMessage<OwnedAudioSource> | undefined, b: OwnedAudioSource | PlainMessage<OwnedAudioSource> | undefined): boolean;
|
|
815
|
-
}
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* Describes the message livekit.proto.OwnedAudioSource.
|
|
629
|
+
* Use `create(OwnedAudioSourceSchema)` to create a new message.
|
|
630
|
+
*/
|
|
631
|
+
export declare const OwnedAudioSourceSchema: GenMessage<OwnedAudioSource>;
|
|
816
632
|
/**
|
|
817
633
|
* @generated from message livekit.proto.AudioResamplerInfo
|
|
818
634
|
*/
|
|
819
|
-
export
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioResamplerInfo;
|
|
826
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioResamplerInfo;
|
|
827
|
-
static equals(a: AudioResamplerInfo | PlainMessage<AudioResamplerInfo> | undefined, b: AudioResamplerInfo | PlainMessage<AudioResamplerInfo> | undefined): boolean;
|
|
828
|
-
}
|
|
635
|
+
export type AudioResamplerInfo = Message<"livekit.proto.AudioResamplerInfo"> & {};
|
|
636
|
+
/**
|
|
637
|
+
* Describes the message livekit.proto.AudioResamplerInfo.
|
|
638
|
+
* Use `create(AudioResamplerInfoSchema)` to create a new message.
|
|
639
|
+
*/
|
|
640
|
+
export declare const AudioResamplerInfoSchema: GenMessage<AudioResamplerInfo>;
|
|
829
641
|
/**
|
|
830
642
|
* @generated from message livekit.proto.OwnedAudioResampler
|
|
831
643
|
*/
|
|
832
|
-
export
|
|
644
|
+
export type OwnedAudioResampler = Message<"livekit.proto.OwnedAudioResampler"> & {
|
|
833
645
|
/**
|
|
834
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
646
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
835
647
|
*/
|
|
836
648
|
handle?: FfiOwnedHandle;
|
|
837
649
|
/**
|
|
838
|
-
* @generated from field: livekit.proto.AudioResamplerInfo info = 2;
|
|
650
|
+
* @generated from field: required livekit.proto.AudioResamplerInfo info = 2;
|
|
839
651
|
*/
|
|
840
652
|
info?: AudioResamplerInfo;
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioResampler;
|
|
848
|
-
static equals(a: OwnedAudioResampler | PlainMessage<OwnedAudioResampler> | undefined, b: OwnedAudioResampler | PlainMessage<OwnedAudioResampler> | undefined): boolean;
|
|
849
|
-
}
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Describes the message livekit.proto.OwnedAudioResampler.
|
|
656
|
+
* Use `create(OwnedAudioResamplerSchema)` to create a new message.
|
|
657
|
+
*/
|
|
658
|
+
export declare const OwnedAudioResamplerSchema: GenMessage<OwnedAudioResampler>;
|
|
850
659
|
/**
|
|
851
660
|
* @generated from message livekit.proto.SoxResamplerInfo
|
|
852
661
|
*/
|
|
853
|
-
export
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SoxResamplerInfo;
|
|
860
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SoxResamplerInfo;
|
|
861
|
-
static equals(a: SoxResamplerInfo | PlainMessage<SoxResamplerInfo> | undefined, b: SoxResamplerInfo | PlainMessage<SoxResamplerInfo> | undefined): boolean;
|
|
862
|
-
}
|
|
662
|
+
export type SoxResamplerInfo = Message<"livekit.proto.SoxResamplerInfo"> & {};
|
|
663
|
+
/**
|
|
664
|
+
* Describes the message livekit.proto.SoxResamplerInfo.
|
|
665
|
+
* Use `create(SoxResamplerInfoSchema)` to create a new message.
|
|
666
|
+
*/
|
|
667
|
+
export declare const SoxResamplerInfoSchema: GenMessage<SoxResamplerInfo>;
|
|
863
668
|
/**
|
|
864
669
|
* @generated from message livekit.proto.OwnedSoxResampler
|
|
865
670
|
*/
|
|
866
|
-
export
|
|
671
|
+
export type OwnedSoxResampler = Message<"livekit.proto.OwnedSoxResampler"> & {
|
|
867
672
|
/**
|
|
868
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
673
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
869
674
|
*/
|
|
870
675
|
handle?: FfiOwnedHandle;
|
|
871
676
|
/**
|
|
872
|
-
* @generated from field: livekit.proto.SoxResamplerInfo info = 2;
|
|
677
|
+
* @generated from field: required livekit.proto.SoxResamplerInfo info = 2;
|
|
873
678
|
*/
|
|
874
679
|
info?: SoxResamplerInfo;
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* Describes the message livekit.proto.OwnedSoxResampler.
|
|
683
|
+
* Use `create(OwnedSoxResamplerSchema)` to create a new message.
|
|
684
|
+
*/
|
|
685
|
+
export declare const OwnedSoxResamplerSchema: GenMessage<OwnedSoxResampler>;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from enum livekit.proto.SoxResamplerDataType
|
|
688
|
+
*/
|
|
689
|
+
export declare enum SoxResamplerDataType {
|
|
690
|
+
/**
|
|
691
|
+
* TODO(theomonnom): support other datatypes (shouldn't really be needed)
|
|
692
|
+
*
|
|
693
|
+
* @generated from enum value: SOXR_DATATYPE_INT16I = 0;
|
|
694
|
+
*/
|
|
695
|
+
SOXR_DATATYPE_INT16I = 0,
|
|
696
|
+
/**
|
|
697
|
+
* @generated from enum value: SOXR_DATATYPE_INT16S = 1;
|
|
698
|
+
*/
|
|
699
|
+
SOXR_DATATYPE_INT16S = 1
|
|
883
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* Describes the enum livekit.proto.SoxResamplerDataType.
|
|
703
|
+
*/
|
|
704
|
+
export declare const SoxResamplerDataTypeSchema: GenEnum<SoxResamplerDataType>;
|
|
705
|
+
/**
|
|
706
|
+
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
707
|
+
*/
|
|
708
|
+
export declare enum SoxQualityRecipe {
|
|
709
|
+
/**
|
|
710
|
+
* @generated from enum value: SOXR_QUALITY_QUICK = 0;
|
|
711
|
+
*/
|
|
712
|
+
SOXR_QUALITY_QUICK = 0,
|
|
713
|
+
/**
|
|
714
|
+
* @generated from enum value: SOXR_QUALITY_LOW = 1;
|
|
715
|
+
*/
|
|
716
|
+
SOXR_QUALITY_LOW = 1,
|
|
717
|
+
/**
|
|
718
|
+
* @generated from enum value: SOXR_QUALITY_MEDIUM = 2;
|
|
719
|
+
*/
|
|
720
|
+
SOXR_QUALITY_MEDIUM = 2,
|
|
721
|
+
/**
|
|
722
|
+
* @generated from enum value: SOXR_QUALITY_HIGH = 3;
|
|
723
|
+
*/
|
|
724
|
+
SOXR_QUALITY_HIGH = 3,
|
|
725
|
+
/**
|
|
726
|
+
* @generated from enum value: SOXR_QUALITY_VERYHIGH = 4;
|
|
727
|
+
*/
|
|
728
|
+
SOXR_QUALITY_VERYHIGH = 4
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Describes the enum livekit.proto.SoxQualityRecipe.
|
|
732
|
+
*/
|
|
733
|
+
export declare const SoxQualityRecipeSchema: GenEnum<SoxQualityRecipe>;
|
|
734
|
+
/**
|
|
735
|
+
* @generated from enum livekit.proto.SoxFlagBits
|
|
736
|
+
*/
|
|
737
|
+
export declare enum SoxFlagBits {
|
|
738
|
+
/**
|
|
739
|
+
* 1 << 0
|
|
740
|
+
*
|
|
741
|
+
* @generated from enum value: SOXR_ROLLOFF_SMALL = 0;
|
|
742
|
+
*/
|
|
743
|
+
SOXR_ROLLOFF_SMALL = 0,
|
|
744
|
+
/**
|
|
745
|
+
* 1 << 1
|
|
746
|
+
*
|
|
747
|
+
* @generated from enum value: SOXR_ROLLOFF_MEDIUM = 1;
|
|
748
|
+
*/
|
|
749
|
+
SOXR_ROLLOFF_MEDIUM = 1,
|
|
750
|
+
/**
|
|
751
|
+
* 1 << 2
|
|
752
|
+
*
|
|
753
|
+
* @generated from enum value: SOXR_ROLLOFF_NONE = 2;
|
|
754
|
+
*/
|
|
755
|
+
SOXR_ROLLOFF_NONE = 2,
|
|
756
|
+
/**
|
|
757
|
+
* 1 << 3
|
|
758
|
+
*
|
|
759
|
+
* @generated from enum value: SOXR_HIGH_PREC_CLOCK = 3;
|
|
760
|
+
*/
|
|
761
|
+
SOXR_HIGH_PREC_CLOCK = 3,
|
|
762
|
+
/**
|
|
763
|
+
* 1 << 4
|
|
764
|
+
*
|
|
765
|
+
* @generated from enum value: SOXR_DOUBLE_PRECISION = 4;
|
|
766
|
+
*/
|
|
767
|
+
SOXR_DOUBLE_PRECISION = 4,
|
|
768
|
+
/**
|
|
769
|
+
* 1 << 5
|
|
770
|
+
*
|
|
771
|
+
* @generated from enum value: SOXR_VR = 5;
|
|
772
|
+
*/
|
|
773
|
+
SOXR_VR = 5
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Describes the enum livekit.proto.SoxFlagBits.
|
|
777
|
+
*/
|
|
778
|
+
export declare const SoxFlagBitsSchema: GenEnum<SoxFlagBits>;
|
|
779
|
+
/**
|
|
780
|
+
* @generated from enum livekit.proto.AudioStreamType
|
|
781
|
+
*/
|
|
782
|
+
export declare enum AudioStreamType {
|
|
783
|
+
/**
|
|
784
|
+
* @generated from enum value: AUDIO_STREAM_NATIVE = 0;
|
|
785
|
+
*/
|
|
786
|
+
AUDIO_STREAM_NATIVE = 0,
|
|
787
|
+
/**
|
|
788
|
+
* @generated from enum value: AUDIO_STREAM_HTML = 1;
|
|
789
|
+
*/
|
|
790
|
+
AUDIO_STREAM_HTML = 1
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Describes the enum livekit.proto.AudioStreamType.
|
|
794
|
+
*/
|
|
795
|
+
export declare const AudioStreamTypeSchema: GenEnum<AudioStreamType>;
|
|
796
|
+
/**
|
|
797
|
+
* @generated from enum livekit.proto.AudioSourceType
|
|
798
|
+
*/
|
|
799
|
+
export declare enum AudioSourceType {
|
|
800
|
+
/**
|
|
801
|
+
* @generated from enum value: AUDIO_SOURCE_NATIVE = 0;
|
|
802
|
+
*/
|
|
803
|
+
AUDIO_SOURCE_NATIVE = 0
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Describes the enum livekit.proto.AudioSourceType.
|
|
807
|
+
*/
|
|
808
|
+
export declare const AudioSourceTypeSchema: GenEnum<AudioSourceType>;
|
|
884
809
|
//# sourceMappingURL=audio_frame_pb.d.ts.map
|