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