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