@livekit/rtc-node 0.10.4 → 0.11.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/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +48 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +143 -24
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +207 -47
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
|
@@ -12,165 +12,23 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
// @generated by protoc-gen-es
|
|
16
|
-
// @generated from file audio_frame.proto (package livekit.proto, syntax
|
|
15
|
+
// @generated by protoc-gen-es v2.2.0 with parameter "target=ts,import_extension=js"
|
|
16
|
+
// @generated from file audio_frame.proto (package livekit.proto, syntax proto2)
|
|
17
17
|
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
18
|
|
|
20
|
-
import type {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
20
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
21
|
+
import type { FfiOwnedHandle } from "./handle_pb.js";
|
|
22
|
+
import { file_handle } from "./handle_pb.js";
|
|
23
|
+
import type { TrackSource } from "./track_pb.js";
|
|
24
|
+
import { file_track } from "./track_pb.js";
|
|
25
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
26
|
|
|
25
27
|
/**
|
|
26
|
-
*
|
|
28
|
+
* Describes the file audio_frame.proto.
|
|
27
29
|
*/
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
* TODO(theomonnom): support other datatypes (shouldn't really be needed)
|
|
31
|
-
*
|
|
32
|
-
* @generated from enum value: SOXR_DATATYPE_INT16I = 0;
|
|
33
|
-
*/
|
|
34
|
-
SOXR_DATATYPE_INT16I = 0,
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum value: SOXR_DATATYPE_INT16S = 1;
|
|
38
|
-
*/
|
|
39
|
-
SOXR_DATATYPE_INT16S = 1,
|
|
40
|
-
}
|
|
41
|
-
// Retrieve enum metadata with: proto3.getEnumType(SoxResamplerDataType)
|
|
42
|
-
proto3.util.setEnumType(SoxResamplerDataType, "livekit.proto.SoxResamplerDataType", [
|
|
43
|
-
{ no: 0, name: "SOXR_DATATYPE_INT16I" },
|
|
44
|
-
{ no: 1, name: "SOXR_DATATYPE_INT16S" },
|
|
45
|
-
]);
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
49
|
-
*/
|
|
50
|
-
export enum SoxQualityRecipe {
|
|
51
|
-
/**
|
|
52
|
-
* @generated from enum value: SOXR_QUALITY_QUICK = 0;
|
|
53
|
-
*/
|
|
54
|
-
SOXR_QUALITY_QUICK = 0,
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @generated from enum value: SOXR_QUALITY_LOW = 1;
|
|
58
|
-
*/
|
|
59
|
-
SOXR_QUALITY_LOW = 1,
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @generated from enum value: SOXR_QUALITY_MEDIUM = 2;
|
|
63
|
-
*/
|
|
64
|
-
SOXR_QUALITY_MEDIUM = 2,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @generated from enum value: SOXR_QUALITY_HIGH = 3;
|
|
68
|
-
*/
|
|
69
|
-
SOXR_QUALITY_HIGH = 3,
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from enum value: SOXR_QUALITY_VERYHIGH = 4;
|
|
73
|
-
*/
|
|
74
|
-
SOXR_QUALITY_VERYHIGH = 4,
|
|
75
|
-
}
|
|
76
|
-
// Retrieve enum metadata with: proto3.getEnumType(SoxQualityRecipe)
|
|
77
|
-
proto3.util.setEnumType(SoxQualityRecipe, "livekit.proto.SoxQualityRecipe", [
|
|
78
|
-
{ no: 0, name: "SOXR_QUALITY_QUICK" },
|
|
79
|
-
{ no: 1, name: "SOXR_QUALITY_LOW" },
|
|
80
|
-
{ no: 2, name: "SOXR_QUALITY_MEDIUM" },
|
|
81
|
-
{ no: 3, name: "SOXR_QUALITY_HIGH" },
|
|
82
|
-
{ no: 4, name: "SOXR_QUALITY_VERYHIGH" },
|
|
83
|
-
]);
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @generated from enum livekit.proto.SoxFlagBits
|
|
87
|
-
*/
|
|
88
|
-
export enum SoxFlagBits {
|
|
89
|
-
/**
|
|
90
|
-
* 1 << 0
|
|
91
|
-
*
|
|
92
|
-
* @generated from enum value: SOXR_ROLLOFF_SMALL = 0;
|
|
93
|
-
*/
|
|
94
|
-
SOXR_ROLLOFF_SMALL = 0,
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* 1 << 1
|
|
98
|
-
*
|
|
99
|
-
* @generated from enum value: SOXR_ROLLOFF_MEDIUM = 1;
|
|
100
|
-
*/
|
|
101
|
-
SOXR_ROLLOFF_MEDIUM = 1,
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* 1 << 2
|
|
105
|
-
*
|
|
106
|
-
* @generated from enum value: SOXR_ROLLOFF_NONE = 2;
|
|
107
|
-
*/
|
|
108
|
-
SOXR_ROLLOFF_NONE = 2,
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* 1 << 3
|
|
112
|
-
*
|
|
113
|
-
* @generated from enum value: SOXR_HIGH_PREC_CLOCK = 3;
|
|
114
|
-
*/
|
|
115
|
-
SOXR_HIGH_PREC_CLOCK = 3,
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* 1 << 4
|
|
119
|
-
*
|
|
120
|
-
* @generated from enum value: SOXR_DOUBLE_PRECISION = 4;
|
|
121
|
-
*/
|
|
122
|
-
SOXR_DOUBLE_PRECISION = 4,
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* 1 << 5
|
|
126
|
-
*
|
|
127
|
-
* @generated from enum value: SOXR_VR = 5;
|
|
128
|
-
*/
|
|
129
|
-
SOXR_VR = 5,
|
|
130
|
-
}
|
|
131
|
-
// Retrieve enum metadata with: proto3.getEnumType(SoxFlagBits)
|
|
132
|
-
proto3.util.setEnumType(SoxFlagBits, "livekit.proto.SoxFlagBits", [
|
|
133
|
-
{ no: 0, name: "SOXR_ROLLOFF_SMALL" },
|
|
134
|
-
{ no: 1, name: "SOXR_ROLLOFF_MEDIUM" },
|
|
135
|
-
{ no: 2, name: "SOXR_ROLLOFF_NONE" },
|
|
136
|
-
{ no: 3, name: "SOXR_HIGH_PREC_CLOCK" },
|
|
137
|
-
{ no: 4, name: "SOXR_DOUBLE_PRECISION" },
|
|
138
|
-
{ no: 5, name: "SOXR_VR" },
|
|
139
|
-
]);
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @generated from enum livekit.proto.AudioStreamType
|
|
143
|
-
*/
|
|
144
|
-
export enum AudioStreamType {
|
|
145
|
-
/**
|
|
146
|
-
* @generated from enum value: AUDIO_STREAM_NATIVE = 0;
|
|
147
|
-
*/
|
|
148
|
-
AUDIO_STREAM_NATIVE = 0,
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @generated from enum value: AUDIO_STREAM_HTML = 1;
|
|
152
|
-
*/
|
|
153
|
-
AUDIO_STREAM_HTML = 1,
|
|
154
|
-
}
|
|
155
|
-
// Retrieve enum metadata with: proto3.getEnumType(AudioStreamType)
|
|
156
|
-
proto3.util.setEnumType(AudioStreamType, "livekit.proto.AudioStreamType", [
|
|
157
|
-
{ no: 0, name: "AUDIO_STREAM_NATIVE" },
|
|
158
|
-
{ no: 1, name: "AUDIO_STREAM_HTML" },
|
|
159
|
-
]);
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @generated from enum livekit.proto.AudioSourceType
|
|
163
|
-
*/
|
|
164
|
-
export enum AudioSourceType {
|
|
165
|
-
/**
|
|
166
|
-
* @generated from enum value: AUDIO_SOURCE_NATIVE = 0;
|
|
167
|
-
*/
|
|
168
|
-
AUDIO_SOURCE_NATIVE = 0,
|
|
169
|
-
}
|
|
170
|
-
// Retrieve enum metadata with: proto3.getEnumType(AudioSourceType)
|
|
171
|
-
proto3.util.setEnumType(AudioSourceType, "livekit.proto.AudioSourceType", [
|
|
172
|
-
{ no: 0, name: "AUDIO_SOURCE_NATIVE" },
|
|
173
|
-
]);
|
|
30
|
+
export const file_audio_frame: GenFile = /*@__PURE__*/
|
|
31
|
+
fileDesc("ChFhdWRpb19mcmFtZS5wcm90bxINbGl2ZWtpdC5wcm90byKGAQoVTmV3QXVkaW9TdHJlYW1SZXF1ZXN0EhQKDHRyYWNrX2hhbmRsZRgBIAIoBBIsCgR0eXBlGAIgAigOMh4ubGl2ZWtpdC5wcm90by5BdWRpb1N0cmVhbVR5cGUSEwoLc2FtcGxlX3JhdGUYAyABKA0SFAoMbnVtX2NoYW5uZWxzGAQgASgNIkkKFk5ld0F1ZGlvU3RyZWFtUmVzcG9uc2USLwoGc3RyZWFtGAEgAigLMh8ubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvU3RyZWFtIsoBCiFBdWRpb1N0cmVhbUZyb21QYXJ0aWNpcGFudFJlcXVlc3QSGgoScGFydGljaXBhbnRfaGFuZGxlGAEgAigEEiwKBHR5cGUYAiACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU3RyZWFtVHlwZRIwCgx0cmFja19zb3VyY2UYAyABKA4yGi5saXZla2l0LnByb3RvLlRyYWNrU291cmNlEhMKC3NhbXBsZV9yYXRlGAUgASgNEhQKDG51bV9jaGFubmVscxgGIAEoDSJVCiJBdWRpb1N0cmVhbUZyb21QYXJ0aWNpcGFudFJlc3BvbnNlEi8KBnN0cmVhbRgBIAIoCzIfLmxpdmVraXQucHJvdG8uT3duZWRBdWRpb1N0cmVhbSK7AQoVTmV3QXVkaW9Tb3VyY2VSZXF1ZXN0EiwKBHR5cGUYASACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU291cmNlVHlwZRIyCgdvcHRpb25zGAIgASgLMiEubGl2ZWtpdC5wcm90by5BdWRpb1NvdXJjZU9wdGlvbnMSEwoLc2FtcGxlX3JhdGUYAyACKA0SFAoMbnVtX2NoYW5uZWxzGAQgAigNEhUKDXF1ZXVlX3NpemVfbXMYBSABKA0iSQoWTmV3QXVkaW9Tb3VyY2VSZXNwb25zZRIvCgZzb3VyY2UYASACKAsyHy5saXZla2l0LnByb3RvLk93bmVkQXVkaW9Tb3VyY2UiZgoYQ2FwdHVyZUF1ZGlvRnJhbWVSZXF1ZXN0EhUKDXNvdXJjZV9oYW5kbGUYASACKAQSMwoGYnVmZmVyGAIgAigLMiMubGl2ZWtpdC5wcm90by5BdWRpb0ZyYW1lQnVmZmVySW5mbyItChlDYXB0dXJlQXVkaW9GcmFtZVJlc3BvbnNlEhAKCGFzeW5jX2lkGAEgAigEIjwKGUNhcHR1cmVBdWRpb0ZyYW1lQ2FsbGJhY2sSEAoIYXN5bmNfaWQYASACKAQSDQoFZXJyb3IYAiABKAkiMAoXQ2xlYXJBdWRpb0J1ZmZlclJlcXVlc3QSFQoNc291cmNlX2hhbmRsZRgBIAIoBCIaChhDbGVhckF1ZGlvQnVmZmVyUmVzcG9uc2UiGgoYTmV3QXVkaW9SZXNhbXBsZXJSZXF1ZXN0IlIKGU5ld0F1ZGlvUmVzYW1wbGVyUmVzcG9uc2USNQoJcmVzYW1wbGVyGAEgAigLMiIubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvUmVzYW1wbGVyIpMBChdSZW1peEFuZFJlc2FtcGxlUmVxdWVzdBIYChByZXNhbXBsZXJfaGFuZGxlGAEgAigEEjMKBmJ1ZmZlchgCIAIoCzIjLmxpdmVraXQucHJvdG8uQXVkaW9GcmFtZUJ1ZmZlckluZm8SFAoMbnVtX2NoYW5uZWxzGAMgAigNEhMKC3NhbXBsZV9yYXRlGAQgAigNIlAKGFJlbWl4QW5kUmVzYW1wbGVSZXNwb25zZRI0CgZidWZmZXIYASACKAsyJC5saXZla2l0LnByb3RvLk93bmVkQXVkaW9GcmFtZUJ1ZmZlciKcAgoWTmV3U294UmVzYW1wbGVyUmVxdWVzdBISCgppbnB1dF9yYXRlGAEgAigBEhMKC291dHB1dF9yYXRlGAIgAigBEhQKDG51bV9jaGFubmVscxgDIAIoDRI8Cg9pbnB1dF9kYXRhX3R5cGUYBCACKA4yIy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckRhdGFUeXBlEj0KEG91dHB1dF9kYXRhX3R5cGUYBSACKA4yIy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckRhdGFUeXBlEjcKDnF1YWxpdHlfcmVjaXBlGAYgAigOMh8ubGl2ZWtpdC5wcm90by5Tb3hRdWFsaXR5UmVjaXBlEg0KBWZsYWdzGAcgASgNImwKF05ld1NveFJlc2FtcGxlclJlc3BvbnNlEjUKCXJlc2FtcGxlchgBIAEoCzIgLmxpdmVraXQucHJvdG8uT3duZWRTb3hSZXNhbXBsZXJIABIPCgVlcnJvchgCIAEoCUgAQgkKB21lc3NhZ2UiUwoXUHVzaFNveFJlc2FtcGxlclJlcXVlc3QSGAoQcmVzYW1wbGVyX2hhbmRsZRgBIAIoBBIQCghkYXRhX3B0chgCIAIoBBIMCgRzaXplGAMgAigNIksKGFB1c2hTb3hSZXNhbXBsZXJSZXNwb25zZRISCgpvdXRwdXRfcHRyGAEgAigEEgwKBHNpemUYAiACKA0SDQoFZXJyb3IYAyABKAkiNAoYRmx1c2hTb3hSZXNhbXBsZXJSZXF1ZXN0EhgKEHJlc2FtcGxlcl9oYW5kbGUYASACKAQiTAoZRmx1c2hTb3hSZXNhbXBsZXJSZXNwb25zZRISCgpvdXRwdXRfcHRyGAEgAigEEgwKBHNpemUYAiACKA0SDQoFZXJyb3IYAyABKAkicAoUQXVkaW9GcmFtZUJ1ZmZlckluZm8SEAoIZGF0YV9wdHIYASACKAQSFAoMbnVtX2NoYW5uZWxzGAIgAigNEhMKC3NhbXBsZV9yYXRlGAMgAigNEhsKE3NhbXBsZXNfcGVyX2NoYW5uZWwYBCACKA0ieQoVT3duZWRBdWRpb0ZyYW1lQnVmZmVyEi0KBmhhbmRsZRgBIAIoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUSMQoEaW5mbxgCIAIoCzIjLmxpdmVraXQucHJvdG8uQXVkaW9GcmFtZUJ1ZmZlckluZm8iPwoPQXVkaW9TdHJlYW1JbmZvEiwKBHR5cGUYASACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU3RyZWFtVHlwZSJvChBPd25lZEF1ZGlvU3RyZWFtEi0KBmhhbmRsZRgBIAIoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUSLAoEaW5mbxgCIAIoCzIeLmxpdmVraXQucHJvdG8uQXVkaW9TdHJlYW1JbmZvIp8BChBBdWRpb1N0cmVhbUV2ZW50EhUKDXN0cmVhbV9oYW5kbGUYASACKAQSOwoOZnJhbWVfcmVjZWl2ZWQYAiABKAsyIS5saXZla2l0LnByb3RvLkF1ZGlvRnJhbWVSZWNlaXZlZEgAEiwKA2VvcxgDIAEoCzIdLmxpdmVraXQucHJvdG8uQXVkaW9TdHJlYW1FT1NIAEIJCgdtZXNzYWdlIkkKEkF1ZGlvRnJhbWVSZWNlaXZlZBIzCgVmcmFtZRgBIAIoCzIkLmxpdmVraXQucHJvdG8uT3duZWRBdWRpb0ZyYW1lQnVmZmVyIhAKDkF1ZGlvU3RyZWFtRU9TImUKEkF1ZGlvU291cmNlT3B0aW9ucxIZChFlY2hvX2NhbmNlbGxhdGlvbhgBIAIoCBIZChFub2lzZV9zdXBwcmVzc2lvbhgCIAIoCBIZChFhdXRvX2dhaW5fY29udHJvbBgDIAIoCCI/Cg9BdWRpb1NvdXJjZUluZm8SLAoEdHlwZRgCIAIoDjIeLmxpdmVraXQucHJvdG8uQXVkaW9Tb3VyY2VUeXBlIm8KEE93bmVkQXVkaW9Tb3VyY2USLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5BdWRpb1NvdXJjZUluZm8iFAoSQXVkaW9SZXNhbXBsZXJJbmZvInUKE093bmVkQXVkaW9SZXNhbXBsZXISLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIvCgRpbmZvGAIgAigLMiEubGl2ZWtpdC5wcm90by5BdWRpb1Jlc2FtcGxlckluZm8iEgoQU294UmVzYW1wbGVySW5mbyJxChFPd25lZFNveFJlc2FtcGxlchItCgZoYW5kbGUYASACKAsyHS5saXZla2l0LnByb3RvLkZmaU93bmVkSGFuZGxlEi0KBGluZm8YAiACKAsyHy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckluZm8qSgoUU294UmVzYW1wbGVyRGF0YVR5cGUSGAoUU09YUl9EQVRBVFlQRV9JTlQxNkkQABIYChRTT1hSX0RBVEFUWVBFX0lOVDE2UxABKosBChBTb3hRdWFsaXR5UmVjaXBlEhYKElNPWFJfUVVBTElUWV9RVUlDSxAAEhQKEFNPWFJfUVVBTElUWV9MT1cQARIXChNTT1hSX1FVQUxJVFlfTUVESVVNEAISFQoRU09YUl9RVUFMSVRZX0hJR0gQAxIZChVTT1hSX1FVQUxJVFlfVkVSWUhJR0gQBCqXAQoLU294RmxhZ0JpdHMSFgoSU09YUl9ST0xMT0ZGX1NNQUxMEAASFwoTU09YUl9ST0xMT0ZGX01FRElVTRABEhUKEVNPWFJfUk9MTE9GRl9OT05FEAISGAoUU09YUl9ISUdIX1BSRUNfQ0xPQ0sQAxIZChVTT1hSX0RPVUJMRV9QUkVDSVNJT04QBBILCgdTT1hSX1ZSEAUqQQoPQXVkaW9TdHJlYW1UeXBlEhcKE0FVRElPX1NUUkVBTV9OQVRJVkUQABIVChFBVURJT19TVFJFQU1fSFRNTBABKioKD0F1ZGlvU291cmNlVHlwZRIXChNBVURJT19TT1VSQ0VfTkFUSVZFEABCEKoCDUxpdmVLaXQuUHJvdG8", [file_handle, file_track]);
|
|
174
32
|
|
|
175
33
|
/**
|
|
176
34
|
* Create a new AudioStream
|
|
@@ -178,203 +36,116 @@ proto3.util.setEnumType(AudioSourceType, "livekit.proto.AudioSourceType", [
|
|
|
178
36
|
*
|
|
179
37
|
* @generated from message livekit.proto.NewAudioStreamRequest
|
|
180
38
|
*/
|
|
181
|
-
export
|
|
39
|
+
export type NewAudioStreamRequest = Message<"livekit.proto.NewAudioStreamRequest"> & {
|
|
182
40
|
/**
|
|
183
|
-
* @generated from field: uint64 track_handle = 1;
|
|
41
|
+
* @generated from field: required uint64 track_handle = 1;
|
|
184
42
|
*/
|
|
185
|
-
trackHandle
|
|
43
|
+
trackHandle: bigint;
|
|
186
44
|
|
|
187
45
|
/**
|
|
188
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
46
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 2;
|
|
189
47
|
*/
|
|
190
|
-
type
|
|
48
|
+
type: AudioStreamType;
|
|
191
49
|
|
|
192
50
|
/**
|
|
193
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
51
|
+
* @generated from field: optional uint32 sample_rate = 3;
|
|
194
52
|
*/
|
|
195
|
-
sampleRate
|
|
53
|
+
sampleRate: number;
|
|
196
54
|
|
|
197
55
|
/**
|
|
198
|
-
* @generated from field: uint32 num_channels = 4;
|
|
56
|
+
* @generated from field: optional uint32 num_channels = 4;
|
|
199
57
|
*/
|
|
200
|
-
numChannels
|
|
201
|
-
|
|
202
|
-
constructor(data?: PartialMessage<NewAudioStreamRequest>) {
|
|
203
|
-
super();
|
|
204
|
-
proto3.util.initPartial(data, this);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
208
|
-
static readonly typeName = "livekit.proto.NewAudioStreamRequest";
|
|
209
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
210
|
-
{ no: 1, name: "track_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
211
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AudioStreamType) },
|
|
212
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
213
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
214
|
-
]);
|
|
215
|
-
|
|
216
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioStreamRequest {
|
|
217
|
-
return new NewAudioStreamRequest().fromBinary(bytes, options);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioStreamRequest {
|
|
221
|
-
return new NewAudioStreamRequest().fromJson(jsonValue, options);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioStreamRequest {
|
|
225
|
-
return new NewAudioStreamRequest().fromJsonString(jsonString, options);
|
|
226
|
-
}
|
|
58
|
+
numChannels: number;
|
|
59
|
+
};
|
|
227
60
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message livekit.proto.NewAudioStreamRequest.
|
|
63
|
+
* Use `create(NewAudioStreamRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const NewAudioStreamRequestSchema: GenMessage<NewAudioStreamRequest> = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_audio_frame, 0);
|
|
232
67
|
|
|
233
68
|
/**
|
|
234
69
|
* @generated from message livekit.proto.NewAudioStreamResponse
|
|
235
70
|
*/
|
|
236
|
-
export
|
|
71
|
+
export type NewAudioStreamResponse = Message<"livekit.proto.NewAudioStreamResponse"> & {
|
|
237
72
|
/**
|
|
238
|
-
* @generated from field: livekit.proto.OwnedAudioStream stream = 1;
|
|
73
|
+
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
239
74
|
*/
|
|
240
75
|
stream?: OwnedAudioStream;
|
|
76
|
+
};
|
|
241
77
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
static readonly typeName = "livekit.proto.NewAudioStreamResponse";
|
|
249
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream },
|
|
251
|
-
]);
|
|
252
|
-
|
|
253
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioStreamResponse {
|
|
254
|
-
return new NewAudioStreamResponse().fromBinary(bytes, options);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioStreamResponse {
|
|
258
|
-
return new NewAudioStreamResponse().fromJson(jsonValue, options);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioStreamResponse {
|
|
262
|
-
return new NewAudioStreamResponse().fromJsonString(jsonString, options);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
static equals(a: NewAudioStreamResponse | PlainMessage<NewAudioStreamResponse> | undefined, b: NewAudioStreamResponse | PlainMessage<NewAudioStreamResponse> | undefined): boolean {
|
|
266
|
-
return proto3.util.equals(NewAudioStreamResponse, a, b);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message livekit.proto.NewAudioStreamResponse.
|
|
80
|
+
* Use `create(NewAudioStreamResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const NewAudioStreamResponseSchema: GenMessage<NewAudioStreamResponse> = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_audio_frame, 1);
|
|
269
84
|
|
|
270
85
|
/**
|
|
271
86
|
* @generated from message livekit.proto.AudioStreamFromParticipantRequest
|
|
272
87
|
*/
|
|
273
|
-
export
|
|
88
|
+
export type AudioStreamFromParticipantRequest = Message<"livekit.proto.AudioStreamFromParticipantRequest"> & {
|
|
274
89
|
/**
|
|
275
|
-
* @generated from field: uint64 participant_handle = 1;
|
|
90
|
+
* @generated from field: required uint64 participant_handle = 1;
|
|
276
91
|
*/
|
|
277
|
-
participantHandle
|
|
92
|
+
participantHandle: bigint;
|
|
278
93
|
|
|
279
94
|
/**
|
|
280
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
95
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 2;
|
|
281
96
|
*/
|
|
282
|
-
type
|
|
97
|
+
type: AudioStreamType;
|
|
283
98
|
|
|
284
99
|
/**
|
|
285
100
|
* @generated from field: optional livekit.proto.TrackSource track_source = 3;
|
|
286
101
|
*/
|
|
287
|
-
trackSource
|
|
102
|
+
trackSource: TrackSource;
|
|
288
103
|
|
|
289
104
|
/**
|
|
290
|
-
* @generated from field: uint32 sample_rate = 5;
|
|
105
|
+
* @generated from field: optional uint32 sample_rate = 5;
|
|
291
106
|
*/
|
|
292
|
-
sampleRate
|
|
107
|
+
sampleRate: number;
|
|
293
108
|
|
|
294
109
|
/**
|
|
295
|
-
* @generated from field: uint32 num_channels = 6;
|
|
110
|
+
* @generated from field: optional uint32 num_channels = 6;
|
|
296
111
|
*/
|
|
297
|
-
numChannels
|
|
298
|
-
|
|
299
|
-
constructor(data?: PartialMessage<AudioStreamFromParticipantRequest>) {
|
|
300
|
-
super();
|
|
301
|
-
proto3.util.initPartial(data, this);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
305
|
-
static readonly typeName = "livekit.proto.AudioStreamFromParticipantRequest";
|
|
306
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
307
|
-
{ no: 1, name: "participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
308
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AudioStreamType) },
|
|
309
|
-
{ no: 3, name: "track_source", kind: "enum", T: proto3.getEnumType(TrackSource), opt: true },
|
|
310
|
-
{ no: 5, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
311
|
-
{ no: 6, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
312
|
-
]);
|
|
313
|
-
|
|
314
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioStreamFromParticipantRequest {
|
|
315
|
-
return new AudioStreamFromParticipantRequest().fromBinary(bytes, options);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantRequest {
|
|
319
|
-
return new AudioStreamFromParticipantRequest().fromJson(jsonValue, options);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantRequest {
|
|
323
|
-
return new AudioStreamFromParticipantRequest().fromJsonString(jsonString, options);
|
|
324
|
-
}
|
|
112
|
+
numChannels: number;
|
|
113
|
+
};
|
|
325
114
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantRequest.
|
|
117
|
+
* Use `create(AudioStreamFromParticipantRequestSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const AudioStreamFromParticipantRequestSchema: GenMessage<AudioStreamFromParticipantRequest> = /*@__PURE__*/
|
|
120
|
+
messageDesc(file_audio_frame, 2);
|
|
330
121
|
|
|
331
122
|
/**
|
|
332
123
|
* @generated from message livekit.proto.AudioStreamFromParticipantResponse
|
|
333
124
|
*/
|
|
334
|
-
export
|
|
125
|
+
export type AudioStreamFromParticipantResponse = Message<"livekit.proto.AudioStreamFromParticipantResponse"> & {
|
|
335
126
|
/**
|
|
336
|
-
* @generated from field: livekit.proto.OwnedAudioStream stream = 1;
|
|
127
|
+
* @generated from field: required livekit.proto.OwnedAudioStream stream = 1;
|
|
337
128
|
*/
|
|
338
129
|
stream?: OwnedAudioStream;
|
|
130
|
+
};
|
|
339
131
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
static readonly typeName = "livekit.proto.AudioStreamFromParticipantResponse";
|
|
347
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
348
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream },
|
|
349
|
-
]);
|
|
350
|
-
|
|
351
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioStreamFromParticipantResponse {
|
|
352
|
-
return new AudioStreamFromParticipantResponse().fromBinary(bytes, options);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantResponse {
|
|
356
|
-
return new AudioStreamFromParticipantResponse().fromJson(jsonValue, options);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamFromParticipantResponse {
|
|
360
|
-
return new AudioStreamFromParticipantResponse().fromJsonString(jsonString, options);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
static equals(a: AudioStreamFromParticipantResponse | PlainMessage<AudioStreamFromParticipantResponse> | undefined, b: AudioStreamFromParticipantResponse | PlainMessage<AudioStreamFromParticipantResponse> | undefined): boolean {
|
|
364
|
-
return proto3.util.equals(AudioStreamFromParticipantResponse, a, b);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantResponse.
|
|
134
|
+
* Use `create(AudioStreamFromParticipantResponseSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export const AudioStreamFromParticipantResponseSchema: GenMessage<AudioStreamFromParticipantResponse> = /*@__PURE__*/
|
|
137
|
+
messageDesc(file_audio_frame, 3);
|
|
367
138
|
|
|
368
139
|
/**
|
|
369
140
|
* Create a new AudioSource
|
|
370
141
|
*
|
|
371
142
|
* @generated from message livekit.proto.NewAudioSourceRequest
|
|
372
143
|
*/
|
|
373
|
-
export
|
|
144
|
+
export type NewAudioSourceRequest = Message<"livekit.proto.NewAudioSourceRequest"> & {
|
|
374
145
|
/**
|
|
375
|
-
* @generated from field: livekit.proto.AudioSourceType type = 1;
|
|
146
|
+
* @generated from field: required livekit.proto.AudioSourceType type = 1;
|
|
376
147
|
*/
|
|
377
|
-
type
|
|
148
|
+
type: AudioSourceType;
|
|
378
149
|
|
|
379
150
|
/**
|
|
380
151
|
* @generated from field: optional livekit.proto.AudioSourceOptions options = 2;
|
|
@@ -382,88 +153,44 @@ export class NewAudioSourceRequest extends Message<NewAudioSourceRequest> {
|
|
|
382
153
|
options?: AudioSourceOptions;
|
|
383
154
|
|
|
384
155
|
/**
|
|
385
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
156
|
+
* @generated from field: required uint32 sample_rate = 3;
|
|
386
157
|
*/
|
|
387
|
-
sampleRate
|
|
158
|
+
sampleRate: number;
|
|
388
159
|
|
|
389
160
|
/**
|
|
390
|
-
* @generated from field: uint32 num_channels = 4;
|
|
161
|
+
* @generated from field: required uint32 num_channels = 4;
|
|
391
162
|
*/
|
|
392
|
-
numChannels
|
|
163
|
+
numChannels: number;
|
|
393
164
|
|
|
394
165
|
/**
|
|
395
|
-
* @generated from field: uint32 queue_size_ms = 5;
|
|
166
|
+
* @generated from field: optional uint32 queue_size_ms = 5;
|
|
396
167
|
*/
|
|
397
|
-
queueSizeMs
|
|
398
|
-
|
|
399
|
-
constructor(data?: PartialMessage<NewAudioSourceRequest>) {
|
|
400
|
-
super();
|
|
401
|
-
proto3.util.initPartial(data, this);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
405
|
-
static readonly typeName = "livekit.proto.NewAudioSourceRequest";
|
|
406
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
407
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AudioSourceType) },
|
|
408
|
-
{ no: 2, name: "options", kind: "message", T: AudioSourceOptions, opt: true },
|
|
409
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
410
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
411
|
-
{ no: 5, name: "queue_size_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
412
|
-
]);
|
|
413
|
-
|
|
414
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioSourceRequest {
|
|
415
|
-
return new NewAudioSourceRequest().fromBinary(bytes, options);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioSourceRequest {
|
|
419
|
-
return new NewAudioSourceRequest().fromJson(jsonValue, options);
|
|
420
|
-
}
|
|
168
|
+
queueSizeMs: number;
|
|
169
|
+
};
|
|
421
170
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
}
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message livekit.proto.NewAudioSourceRequest.
|
|
173
|
+
* Use `create(NewAudioSourceRequestSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export const NewAudioSourceRequestSchema: GenMessage<NewAudioSourceRequest> = /*@__PURE__*/
|
|
176
|
+
messageDesc(file_audio_frame, 4);
|
|
430
177
|
|
|
431
178
|
/**
|
|
432
179
|
* @generated from message livekit.proto.NewAudioSourceResponse
|
|
433
180
|
*/
|
|
434
|
-
export
|
|
181
|
+
export type NewAudioSourceResponse = Message<"livekit.proto.NewAudioSourceResponse"> & {
|
|
435
182
|
/**
|
|
436
|
-
* @generated from field: livekit.proto.OwnedAudioSource source = 1;
|
|
183
|
+
* @generated from field: required livekit.proto.OwnedAudioSource source = 1;
|
|
437
184
|
*/
|
|
438
185
|
source?: OwnedAudioSource;
|
|
186
|
+
};
|
|
439
187
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
static readonly typeName = "livekit.proto.NewAudioSourceResponse";
|
|
447
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
448
|
-
{ no: 1, name: "source", kind: "message", T: OwnedAudioSource },
|
|
449
|
-
]);
|
|
450
|
-
|
|
451
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioSourceResponse {
|
|
452
|
-
return new NewAudioSourceResponse().fromBinary(bytes, options);
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioSourceResponse {
|
|
456
|
-
return new NewAudioSourceResponse().fromJson(jsonValue, options);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioSourceResponse {
|
|
460
|
-
return new NewAudioSourceResponse().fromJsonString(jsonString, options);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
static equals(a: NewAudioSourceResponse | PlainMessage<NewAudioSourceResponse> | undefined, b: NewAudioSourceResponse | PlainMessage<NewAudioSourceResponse> | undefined): boolean {
|
|
464
|
-
return proto3.util.equals(NewAudioSourceResponse, a, b);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
188
|
+
/**
|
|
189
|
+
* Describes the message livekit.proto.NewAudioSourceResponse.
|
|
190
|
+
* Use `create(NewAudioSourceResponseSchema)` to create a new message.
|
|
191
|
+
*/
|
|
192
|
+
export const NewAudioSourceResponseSchema: GenMessage<NewAudioSourceResponse> = /*@__PURE__*/
|
|
193
|
+
messageDesc(file_audio_frame, 5);
|
|
467
194
|
|
|
468
195
|
/**
|
|
469
196
|
* Push a frame to an AudioSource
|
|
@@ -471,858 +198,466 @@ export class NewAudioSourceResponse extends Message<NewAudioSourceResponse> {
|
|
|
471
198
|
*
|
|
472
199
|
* @generated from message livekit.proto.CaptureAudioFrameRequest
|
|
473
200
|
*/
|
|
474
|
-
export
|
|
201
|
+
export type CaptureAudioFrameRequest = Message<"livekit.proto.CaptureAudioFrameRequest"> & {
|
|
475
202
|
/**
|
|
476
|
-
* @generated from field: uint64 source_handle = 1;
|
|
203
|
+
* @generated from field: required uint64 source_handle = 1;
|
|
477
204
|
*/
|
|
478
|
-
sourceHandle
|
|
205
|
+
sourceHandle: bigint;
|
|
479
206
|
|
|
480
207
|
/**
|
|
481
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
208
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
482
209
|
*/
|
|
483
210
|
buffer?: AudioFrameBufferInfo;
|
|
211
|
+
};
|
|
484
212
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
static readonly typeName = "livekit.proto.CaptureAudioFrameRequest";
|
|
492
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
493
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
494
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo },
|
|
495
|
-
]);
|
|
496
|
-
|
|
497
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureAudioFrameRequest {
|
|
498
|
-
return new CaptureAudioFrameRequest().fromBinary(bytes, options);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureAudioFrameRequest {
|
|
502
|
-
return new CaptureAudioFrameRequest().fromJson(jsonValue, options);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameRequest {
|
|
506
|
-
return new CaptureAudioFrameRequest().fromJsonString(jsonString, options);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
static equals(a: CaptureAudioFrameRequest | PlainMessage<CaptureAudioFrameRequest> | undefined, b: CaptureAudioFrameRequest | PlainMessage<CaptureAudioFrameRequest> | undefined): boolean {
|
|
510
|
-
return proto3.util.equals(CaptureAudioFrameRequest, a, b);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message livekit.proto.CaptureAudioFrameRequest.
|
|
215
|
+
* Use `create(CaptureAudioFrameRequestSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export const CaptureAudioFrameRequestSchema: GenMessage<CaptureAudioFrameRequest> = /*@__PURE__*/
|
|
218
|
+
messageDesc(file_audio_frame, 6);
|
|
513
219
|
|
|
514
220
|
/**
|
|
515
221
|
* @generated from message livekit.proto.CaptureAudioFrameResponse
|
|
516
222
|
*/
|
|
517
|
-
export
|
|
223
|
+
export type CaptureAudioFrameResponse = Message<"livekit.proto.CaptureAudioFrameResponse"> & {
|
|
518
224
|
/**
|
|
519
|
-
* @generated from field: uint64 async_id = 1;
|
|
225
|
+
* @generated from field: required uint64 async_id = 1;
|
|
520
226
|
*/
|
|
521
|
-
asyncId
|
|
227
|
+
asyncId: bigint;
|
|
228
|
+
};
|
|
522
229
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
static readonly typeName = "livekit.proto.CaptureAudioFrameResponse";
|
|
530
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
531
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
532
|
-
]);
|
|
533
|
-
|
|
534
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureAudioFrameResponse {
|
|
535
|
-
return new CaptureAudioFrameResponse().fromBinary(bytes, options);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureAudioFrameResponse {
|
|
539
|
-
return new CaptureAudioFrameResponse().fromJson(jsonValue, options);
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameResponse {
|
|
543
|
-
return new CaptureAudioFrameResponse().fromJsonString(jsonString, options);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
static equals(a: CaptureAudioFrameResponse | PlainMessage<CaptureAudioFrameResponse> | undefined, b: CaptureAudioFrameResponse | PlainMessage<CaptureAudioFrameResponse> | undefined): boolean {
|
|
547
|
-
return proto3.util.equals(CaptureAudioFrameResponse, a, b);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message livekit.proto.CaptureAudioFrameResponse.
|
|
232
|
+
* Use `create(CaptureAudioFrameResponseSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
export const CaptureAudioFrameResponseSchema: GenMessage<CaptureAudioFrameResponse> = /*@__PURE__*/
|
|
235
|
+
messageDesc(file_audio_frame, 7);
|
|
550
236
|
|
|
551
237
|
/**
|
|
552
238
|
* @generated from message livekit.proto.CaptureAudioFrameCallback
|
|
553
239
|
*/
|
|
554
|
-
export
|
|
240
|
+
export type CaptureAudioFrameCallback = Message<"livekit.proto.CaptureAudioFrameCallback"> & {
|
|
555
241
|
/**
|
|
556
|
-
* @generated from field: uint64 async_id = 1;
|
|
242
|
+
* @generated from field: required uint64 async_id = 1;
|
|
557
243
|
*/
|
|
558
|
-
asyncId
|
|
244
|
+
asyncId: bigint;
|
|
559
245
|
|
|
560
246
|
/**
|
|
561
247
|
* @generated from field: optional string error = 2;
|
|
562
248
|
*/
|
|
563
|
-
error
|
|
249
|
+
error: string;
|
|
250
|
+
};
|
|
564
251
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
static readonly typeName = "livekit.proto.CaptureAudioFrameCallback";
|
|
572
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
573
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
574
|
-
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
575
|
-
]);
|
|
576
|
-
|
|
577
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureAudioFrameCallback {
|
|
578
|
-
return new CaptureAudioFrameCallback().fromBinary(bytes, options);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureAudioFrameCallback {
|
|
582
|
-
return new CaptureAudioFrameCallback().fromJson(jsonValue, options);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureAudioFrameCallback {
|
|
586
|
-
return new CaptureAudioFrameCallback().fromJsonString(jsonString, options);
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
static equals(a: CaptureAudioFrameCallback | PlainMessage<CaptureAudioFrameCallback> | undefined, b: CaptureAudioFrameCallback | PlainMessage<CaptureAudioFrameCallback> | undefined): boolean {
|
|
590
|
-
return proto3.util.equals(CaptureAudioFrameCallback, a, b);
|
|
591
|
-
}
|
|
592
|
-
}
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message livekit.proto.CaptureAudioFrameCallback.
|
|
254
|
+
* Use `create(CaptureAudioFrameCallbackSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export const CaptureAudioFrameCallbackSchema: GenMessage<CaptureAudioFrameCallback> = /*@__PURE__*/
|
|
257
|
+
messageDesc(file_audio_frame, 8);
|
|
593
258
|
|
|
594
259
|
/**
|
|
595
260
|
* @generated from message livekit.proto.ClearAudioBufferRequest
|
|
596
261
|
*/
|
|
597
|
-
export
|
|
262
|
+
export type ClearAudioBufferRequest = Message<"livekit.proto.ClearAudioBufferRequest"> & {
|
|
598
263
|
/**
|
|
599
|
-
* @generated from field: uint64 source_handle = 1;
|
|
264
|
+
* @generated from field: required uint64 source_handle = 1;
|
|
600
265
|
*/
|
|
601
|
-
sourceHandle
|
|
602
|
-
|
|
603
|
-
constructor(data?: PartialMessage<ClearAudioBufferRequest>) {
|
|
604
|
-
super();
|
|
605
|
-
proto3.util.initPartial(data, this);
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
609
|
-
static readonly typeName = "livekit.proto.ClearAudioBufferRequest";
|
|
610
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
611
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
612
|
-
]);
|
|
613
|
-
|
|
614
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClearAudioBufferRequest {
|
|
615
|
-
return new ClearAudioBufferRequest().fromBinary(bytes, options);
|
|
616
|
-
}
|
|
266
|
+
sourceHandle: bigint;
|
|
267
|
+
};
|
|
617
268
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
static equals(a: ClearAudioBufferRequest | PlainMessage<ClearAudioBufferRequest> | undefined, b: ClearAudioBufferRequest | PlainMessage<ClearAudioBufferRequest> | undefined): boolean {
|
|
627
|
-
return proto3.util.equals(ClearAudioBufferRequest, a, b);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
269
|
+
/**
|
|
270
|
+
* Describes the message livekit.proto.ClearAudioBufferRequest.
|
|
271
|
+
* Use `create(ClearAudioBufferRequestSchema)` to create a new message.
|
|
272
|
+
*/
|
|
273
|
+
export const ClearAudioBufferRequestSchema: GenMessage<ClearAudioBufferRequest> = /*@__PURE__*/
|
|
274
|
+
messageDesc(file_audio_frame, 9);
|
|
630
275
|
|
|
631
276
|
/**
|
|
632
277
|
* @generated from message livekit.proto.ClearAudioBufferResponse
|
|
633
278
|
*/
|
|
634
|
-
export
|
|
635
|
-
|
|
636
|
-
super();
|
|
637
|
-
proto3.util.initPartial(data, this);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
641
|
-
static readonly typeName = "livekit.proto.ClearAudioBufferResponse";
|
|
642
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
643
|
-
]);
|
|
644
|
-
|
|
645
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClearAudioBufferResponse {
|
|
646
|
-
return new ClearAudioBufferResponse().fromBinary(bytes, options);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClearAudioBufferResponse {
|
|
650
|
-
return new ClearAudioBufferResponse().fromJson(jsonValue, options);
|
|
651
|
-
}
|
|
279
|
+
export type ClearAudioBufferResponse = Message<"livekit.proto.ClearAudioBufferResponse"> & {
|
|
280
|
+
};
|
|
652
281
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
}
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message livekit.proto.ClearAudioBufferResponse.
|
|
284
|
+
* Use `create(ClearAudioBufferResponseSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export const ClearAudioBufferResponseSchema: GenMessage<ClearAudioBufferResponse> = /*@__PURE__*/
|
|
287
|
+
messageDesc(file_audio_frame, 10);
|
|
661
288
|
|
|
662
289
|
/**
|
|
663
290
|
* Create a new AudioResampler
|
|
664
291
|
*
|
|
665
292
|
* @generated from message livekit.proto.NewAudioResamplerRequest
|
|
666
293
|
*/
|
|
667
|
-
export
|
|
668
|
-
|
|
669
|
-
super();
|
|
670
|
-
proto3.util.initPartial(data, this);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
674
|
-
static readonly typeName = "livekit.proto.NewAudioResamplerRequest";
|
|
675
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
676
|
-
]);
|
|
677
|
-
|
|
678
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioResamplerRequest {
|
|
679
|
-
return new NewAudioResamplerRequest().fromBinary(bytes, options);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioResamplerRequest {
|
|
683
|
-
return new NewAudioResamplerRequest().fromJson(jsonValue, options);
|
|
684
|
-
}
|
|
294
|
+
export type NewAudioResamplerRequest = Message<"livekit.proto.NewAudioResamplerRequest"> & {
|
|
295
|
+
};
|
|
685
296
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
}
|
|
693
|
-
}
|
|
297
|
+
/**
|
|
298
|
+
* Describes the message livekit.proto.NewAudioResamplerRequest.
|
|
299
|
+
* Use `create(NewAudioResamplerRequestSchema)` to create a new message.
|
|
300
|
+
*/
|
|
301
|
+
export const NewAudioResamplerRequestSchema: GenMessage<NewAudioResamplerRequest> = /*@__PURE__*/
|
|
302
|
+
messageDesc(file_audio_frame, 11);
|
|
694
303
|
|
|
695
304
|
/**
|
|
696
305
|
* @generated from message livekit.proto.NewAudioResamplerResponse
|
|
697
306
|
*/
|
|
698
|
-
export
|
|
307
|
+
export type NewAudioResamplerResponse = Message<"livekit.proto.NewAudioResamplerResponse"> & {
|
|
699
308
|
/**
|
|
700
|
-
* @generated from field: livekit.proto.OwnedAudioResampler resampler = 1;
|
|
309
|
+
* @generated from field: required livekit.proto.OwnedAudioResampler resampler = 1;
|
|
701
310
|
*/
|
|
702
311
|
resampler?: OwnedAudioResampler;
|
|
312
|
+
};
|
|
703
313
|
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
static readonly typeName = "livekit.proto.NewAudioResamplerResponse";
|
|
711
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
712
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedAudioResampler },
|
|
713
|
-
]);
|
|
714
|
-
|
|
715
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewAudioResamplerResponse {
|
|
716
|
-
return new NewAudioResamplerResponse().fromBinary(bytes, options);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewAudioResamplerResponse {
|
|
720
|
-
return new NewAudioResamplerResponse().fromJson(jsonValue, options);
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewAudioResamplerResponse {
|
|
724
|
-
return new NewAudioResamplerResponse().fromJsonString(jsonString, options);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
static equals(a: NewAudioResamplerResponse | PlainMessage<NewAudioResamplerResponse> | undefined, b: NewAudioResamplerResponse | PlainMessage<NewAudioResamplerResponse> | undefined): boolean {
|
|
728
|
-
return proto3.util.equals(NewAudioResamplerResponse, a, b);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message livekit.proto.NewAudioResamplerResponse.
|
|
316
|
+
* Use `create(NewAudioResamplerResponseSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export const NewAudioResamplerResponseSchema: GenMessage<NewAudioResamplerResponse> = /*@__PURE__*/
|
|
319
|
+
messageDesc(file_audio_frame, 12);
|
|
731
320
|
|
|
732
321
|
/**
|
|
733
322
|
* Remix and resample an audio frame
|
|
734
323
|
*
|
|
735
324
|
* @generated from message livekit.proto.RemixAndResampleRequest
|
|
736
325
|
*/
|
|
737
|
-
export
|
|
326
|
+
export type RemixAndResampleRequest = Message<"livekit.proto.RemixAndResampleRequest"> & {
|
|
738
327
|
/**
|
|
739
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
328
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
740
329
|
*/
|
|
741
|
-
resamplerHandle
|
|
330
|
+
resamplerHandle: bigint;
|
|
742
331
|
|
|
743
332
|
/**
|
|
744
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
333
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo buffer = 2;
|
|
745
334
|
*/
|
|
746
335
|
buffer?: AudioFrameBufferInfo;
|
|
747
336
|
|
|
748
337
|
/**
|
|
749
|
-
* @generated from field: uint32 num_channels = 3;
|
|
338
|
+
* @generated from field: required uint32 num_channels = 3;
|
|
750
339
|
*/
|
|
751
|
-
numChannels
|
|
340
|
+
numChannels: number;
|
|
752
341
|
|
|
753
342
|
/**
|
|
754
|
-
* @generated from field: uint32 sample_rate = 4;
|
|
343
|
+
* @generated from field: required uint32 sample_rate = 4;
|
|
755
344
|
*/
|
|
756
|
-
sampleRate
|
|
757
|
-
|
|
758
|
-
constructor(data?: PartialMessage<RemixAndResampleRequest>) {
|
|
759
|
-
super();
|
|
760
|
-
proto3.util.initPartial(data, this);
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
764
|
-
static readonly typeName = "livekit.proto.RemixAndResampleRequest";
|
|
765
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
766
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
767
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo },
|
|
768
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
769
|
-
{ no: 4, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
770
|
-
]);
|
|
771
|
-
|
|
772
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemixAndResampleRequest {
|
|
773
|
-
return new RemixAndResampleRequest().fromBinary(bytes, options);
|
|
774
|
-
}
|
|
345
|
+
sampleRate: number;
|
|
346
|
+
};
|
|
775
347
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
static equals(a: RemixAndResampleRequest | PlainMessage<RemixAndResampleRequest> | undefined, b: RemixAndResampleRequest | PlainMessage<RemixAndResampleRequest> | undefined): boolean {
|
|
785
|
-
return proto3.util.equals(RemixAndResampleRequest, a, b);
|
|
786
|
-
}
|
|
787
|
-
}
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message livekit.proto.RemixAndResampleRequest.
|
|
350
|
+
* Use `create(RemixAndResampleRequestSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export const RemixAndResampleRequestSchema: GenMessage<RemixAndResampleRequest> = /*@__PURE__*/
|
|
353
|
+
messageDesc(file_audio_frame, 13);
|
|
788
354
|
|
|
789
355
|
/**
|
|
790
356
|
* @generated from message livekit.proto.RemixAndResampleResponse
|
|
791
357
|
*/
|
|
792
|
-
export
|
|
358
|
+
export type RemixAndResampleResponse = Message<"livekit.proto.RemixAndResampleResponse"> & {
|
|
793
359
|
/**
|
|
794
|
-
* @generated from field: livekit.proto.OwnedAudioFrameBuffer buffer = 1;
|
|
360
|
+
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer buffer = 1;
|
|
795
361
|
*/
|
|
796
362
|
buffer?: OwnedAudioFrameBuffer;
|
|
363
|
+
};
|
|
797
364
|
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
static readonly typeName = "livekit.proto.RemixAndResampleResponse";
|
|
805
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
806
|
-
{ no: 1, name: "buffer", kind: "message", T: OwnedAudioFrameBuffer },
|
|
807
|
-
]);
|
|
808
|
-
|
|
809
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemixAndResampleResponse {
|
|
810
|
-
return new RemixAndResampleResponse().fromBinary(bytes, options);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemixAndResampleResponse {
|
|
814
|
-
return new RemixAndResampleResponse().fromJson(jsonValue, options);
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemixAndResampleResponse {
|
|
818
|
-
return new RemixAndResampleResponse().fromJsonString(jsonString, options);
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
static equals(a: RemixAndResampleResponse | PlainMessage<RemixAndResampleResponse> | undefined, b: RemixAndResampleResponse | PlainMessage<RemixAndResampleResponse> | undefined): boolean {
|
|
822
|
-
return proto3.util.equals(RemixAndResampleResponse, a, b);
|
|
823
|
-
}
|
|
824
|
-
}
|
|
365
|
+
/**
|
|
366
|
+
* Describes the message livekit.proto.RemixAndResampleResponse.
|
|
367
|
+
* Use `create(RemixAndResampleResponseSchema)` to create a new message.
|
|
368
|
+
*/
|
|
369
|
+
export const RemixAndResampleResponseSchema: GenMessage<RemixAndResampleResponse> = /*@__PURE__*/
|
|
370
|
+
messageDesc(file_audio_frame, 14);
|
|
825
371
|
|
|
826
372
|
/**
|
|
827
373
|
* @generated from message livekit.proto.NewSoxResamplerRequest
|
|
828
374
|
*/
|
|
829
|
-
export
|
|
375
|
+
export type NewSoxResamplerRequest = Message<"livekit.proto.NewSoxResamplerRequest"> & {
|
|
830
376
|
/**
|
|
831
|
-
* @generated from field: double input_rate = 1;
|
|
377
|
+
* @generated from field: required double input_rate = 1;
|
|
832
378
|
*/
|
|
833
|
-
inputRate
|
|
379
|
+
inputRate: number;
|
|
834
380
|
|
|
835
381
|
/**
|
|
836
|
-
* @generated from field: double output_rate = 2;
|
|
382
|
+
* @generated from field: required double output_rate = 2;
|
|
837
383
|
*/
|
|
838
|
-
outputRate
|
|
384
|
+
outputRate: number;
|
|
839
385
|
|
|
840
386
|
/**
|
|
841
|
-
* @generated from field: uint32 num_channels = 3;
|
|
387
|
+
* @generated from field: required uint32 num_channels = 3;
|
|
842
388
|
*/
|
|
843
|
-
numChannels
|
|
389
|
+
numChannels: number;
|
|
844
390
|
|
|
845
391
|
/**
|
|
846
|
-
* @generated from field: livekit.proto.SoxResamplerDataType input_data_type = 4;
|
|
392
|
+
* @generated from field: required livekit.proto.SoxResamplerDataType input_data_type = 4;
|
|
847
393
|
*/
|
|
848
|
-
inputDataType
|
|
394
|
+
inputDataType: SoxResamplerDataType;
|
|
849
395
|
|
|
850
396
|
/**
|
|
851
|
-
* @generated from field: livekit.proto.SoxResamplerDataType output_data_type = 5;
|
|
397
|
+
* @generated from field: required livekit.proto.SoxResamplerDataType output_data_type = 5;
|
|
852
398
|
*/
|
|
853
|
-
outputDataType
|
|
399
|
+
outputDataType: SoxResamplerDataType;
|
|
854
400
|
|
|
855
401
|
/**
|
|
856
|
-
* @generated from field: livekit.proto.SoxQualityRecipe quality_recipe = 6;
|
|
402
|
+
* @generated from field: required livekit.proto.SoxQualityRecipe quality_recipe = 6;
|
|
857
403
|
*/
|
|
858
|
-
qualityRecipe
|
|
404
|
+
qualityRecipe: SoxQualityRecipe;
|
|
859
405
|
|
|
860
406
|
/**
|
|
861
|
-
* @generated from field: uint32 flags = 7;
|
|
407
|
+
* @generated from field: optional uint32 flags = 7;
|
|
862
408
|
*/
|
|
863
|
-
flags
|
|
864
|
-
|
|
865
|
-
constructor(data?: PartialMessage<NewSoxResamplerRequest>) {
|
|
866
|
-
super();
|
|
867
|
-
proto3.util.initPartial(data, this);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
871
|
-
static readonly typeName = "livekit.proto.NewSoxResamplerRequest";
|
|
872
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
873
|
-
{ no: 1, name: "input_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
874
|
-
{ no: 2, name: "output_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
875
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
876
|
-
{ no: 4, name: "input_data_type", kind: "enum", T: proto3.getEnumType(SoxResamplerDataType) },
|
|
877
|
-
{ no: 5, name: "output_data_type", kind: "enum", T: proto3.getEnumType(SoxResamplerDataType) },
|
|
878
|
-
{ no: 6, name: "quality_recipe", kind: "enum", T: proto3.getEnumType(SoxQualityRecipe) },
|
|
879
|
-
{ no: 7, name: "flags", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
880
|
-
]);
|
|
409
|
+
flags: number;
|
|
410
|
+
};
|
|
881
411
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewSoxResamplerRequest {
|
|
891
|
-
return new NewSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
static equals(a: NewSoxResamplerRequest | PlainMessage<NewSoxResamplerRequest> | undefined, b: NewSoxResamplerRequest | PlainMessage<NewSoxResamplerRequest> | undefined): boolean {
|
|
895
|
-
return proto3.util.equals(NewSoxResamplerRequest, a, b);
|
|
896
|
-
}
|
|
897
|
-
}
|
|
412
|
+
/**
|
|
413
|
+
* Describes the message livekit.proto.NewSoxResamplerRequest.
|
|
414
|
+
* Use `create(NewSoxResamplerRequestSchema)` to create a new message.
|
|
415
|
+
*/
|
|
416
|
+
export const NewSoxResamplerRequestSchema: GenMessage<NewSoxResamplerRequest> = /*@__PURE__*/
|
|
417
|
+
messageDesc(file_audio_frame, 15);
|
|
898
418
|
|
|
899
419
|
/**
|
|
900
420
|
* @generated from message livekit.proto.NewSoxResamplerResponse
|
|
901
421
|
*/
|
|
902
|
-
export
|
|
422
|
+
export type NewSoxResamplerResponse = Message<"livekit.proto.NewSoxResamplerResponse"> & {
|
|
903
423
|
/**
|
|
904
|
-
* @generated from
|
|
424
|
+
* @generated from oneof livekit.proto.NewSoxResamplerResponse.message
|
|
905
425
|
*/
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
921
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedSoxResampler },
|
|
922
|
-
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
923
|
-
]);
|
|
924
|
-
|
|
925
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewSoxResamplerResponse {
|
|
926
|
-
return new NewSoxResamplerResponse().fromBinary(bytes, options);
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewSoxResamplerResponse {
|
|
930
|
-
return new NewSoxResamplerResponse().fromJson(jsonValue, options);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewSoxResamplerResponse {
|
|
934
|
-
return new NewSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
935
|
-
}
|
|
426
|
+
message: {
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: livekit.proto.OwnedSoxResampler resampler = 1;
|
|
429
|
+
*/
|
|
430
|
+
value: OwnedSoxResampler;
|
|
431
|
+
case: "resampler";
|
|
432
|
+
} | {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: string error = 2;
|
|
435
|
+
*/
|
|
436
|
+
value: string;
|
|
437
|
+
case: "error";
|
|
438
|
+
} | { case: undefined; value?: undefined };
|
|
439
|
+
};
|
|
936
440
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
441
|
+
/**
|
|
442
|
+
* Describes the message livekit.proto.NewSoxResamplerResponse.
|
|
443
|
+
* Use `create(NewSoxResamplerResponseSchema)` to create a new message.
|
|
444
|
+
*/
|
|
445
|
+
export const NewSoxResamplerResponseSchema: GenMessage<NewSoxResamplerResponse> = /*@__PURE__*/
|
|
446
|
+
messageDesc(file_audio_frame, 16);
|
|
941
447
|
|
|
942
448
|
/**
|
|
943
449
|
* @generated from message livekit.proto.PushSoxResamplerRequest
|
|
944
450
|
*/
|
|
945
|
-
export
|
|
451
|
+
export type PushSoxResamplerRequest = Message<"livekit.proto.PushSoxResamplerRequest"> & {
|
|
946
452
|
/**
|
|
947
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
453
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
948
454
|
*/
|
|
949
|
-
resamplerHandle
|
|
455
|
+
resamplerHandle: bigint;
|
|
950
456
|
|
|
951
457
|
/**
|
|
952
458
|
* *const i16
|
|
953
459
|
*
|
|
954
|
-
* @generated from field: uint64 data_ptr = 2;
|
|
460
|
+
* @generated from field: required uint64 data_ptr = 2;
|
|
955
461
|
*/
|
|
956
|
-
dataPtr
|
|
462
|
+
dataPtr: bigint;
|
|
957
463
|
|
|
958
464
|
/**
|
|
959
465
|
* in bytes
|
|
960
466
|
*
|
|
961
|
-
* @generated from field: uint32 size = 3;
|
|
962
|
-
*/
|
|
963
|
-
size
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
973
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
974
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
975
|
-
{ no: 3, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
976
|
-
]);
|
|
977
|
-
|
|
978
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PushSoxResamplerRequest {
|
|
979
|
-
return new PushSoxResamplerRequest().fromBinary(bytes, options);
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PushSoxResamplerRequest {
|
|
983
|
-
return new PushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushSoxResamplerRequest {
|
|
987
|
-
return new PushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
static equals(a: PushSoxResamplerRequest | PlainMessage<PushSoxResamplerRequest> | undefined, b: PushSoxResamplerRequest | PlainMessage<PushSoxResamplerRequest> | undefined): boolean {
|
|
991
|
-
return proto3.util.equals(PushSoxResamplerRequest, a, b);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
467
|
+
* @generated from field: required uint32 size = 3;
|
|
468
|
+
*/
|
|
469
|
+
size: number;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Describes the message livekit.proto.PushSoxResamplerRequest.
|
|
474
|
+
* Use `create(PushSoxResamplerRequestSchema)` to create a new message.
|
|
475
|
+
*/
|
|
476
|
+
export const PushSoxResamplerRequestSchema: GenMessage<PushSoxResamplerRequest> = /*@__PURE__*/
|
|
477
|
+
messageDesc(file_audio_frame, 17);
|
|
994
478
|
|
|
995
479
|
/**
|
|
996
480
|
* @generated from message livekit.proto.PushSoxResamplerResponse
|
|
997
481
|
*/
|
|
998
|
-
export
|
|
482
|
+
export type PushSoxResamplerResponse = Message<"livekit.proto.PushSoxResamplerResponse"> & {
|
|
999
483
|
/**
|
|
1000
484
|
* *const i16 (could be null)
|
|
1001
485
|
*
|
|
1002
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
486
|
+
* @generated from field: required uint64 output_ptr = 1;
|
|
1003
487
|
*/
|
|
1004
|
-
outputPtr
|
|
488
|
+
outputPtr: bigint;
|
|
1005
489
|
|
|
1006
490
|
/**
|
|
1007
491
|
* in bytes
|
|
1008
492
|
*
|
|
1009
|
-
* @generated from field: uint32 size = 2;
|
|
493
|
+
* @generated from field: required uint32 size = 2;
|
|
1010
494
|
*/
|
|
1011
|
-
size
|
|
495
|
+
size: number;
|
|
1012
496
|
|
|
1013
497
|
/**
|
|
1014
498
|
* @generated from field: optional string error = 3;
|
|
1015
499
|
*/
|
|
1016
|
-
error
|
|
1017
|
-
|
|
1018
|
-
constructor(data?: PartialMessage<PushSoxResamplerResponse>) {
|
|
1019
|
-
super();
|
|
1020
|
-
proto3.util.initPartial(data, this);
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1024
|
-
static readonly typeName = "livekit.proto.PushSoxResamplerResponse";
|
|
1025
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1026
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1027
|
-
{ no: 2, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1028
|
-
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1029
|
-
]);
|
|
500
|
+
error: string;
|
|
501
|
+
};
|
|
1030
502
|
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushSoxResamplerResponse {
|
|
1040
|
-
return new PushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
static equals(a: PushSoxResamplerResponse | PlainMessage<PushSoxResamplerResponse> | undefined, b: PushSoxResamplerResponse | PlainMessage<PushSoxResamplerResponse> | undefined): boolean {
|
|
1044
|
-
return proto3.util.equals(PushSoxResamplerResponse, a, b);
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
503
|
+
/**
|
|
504
|
+
* Describes the message livekit.proto.PushSoxResamplerResponse.
|
|
505
|
+
* Use `create(PushSoxResamplerResponseSchema)` to create a new message.
|
|
506
|
+
*/
|
|
507
|
+
export const PushSoxResamplerResponseSchema: GenMessage<PushSoxResamplerResponse> = /*@__PURE__*/
|
|
508
|
+
messageDesc(file_audio_frame, 18);
|
|
1047
509
|
|
|
1048
510
|
/**
|
|
1049
511
|
* @generated from message livekit.proto.FlushSoxResamplerRequest
|
|
1050
512
|
*/
|
|
1051
|
-
export
|
|
513
|
+
export type FlushSoxResamplerRequest = Message<"livekit.proto.FlushSoxResamplerRequest"> & {
|
|
1052
514
|
/**
|
|
1053
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
515
|
+
* @generated from field: required uint64 resampler_handle = 1;
|
|
1054
516
|
*/
|
|
1055
|
-
resamplerHandle
|
|
1056
|
-
|
|
1057
|
-
constructor(data?: PartialMessage<FlushSoxResamplerRequest>) {
|
|
1058
|
-
super();
|
|
1059
|
-
proto3.util.initPartial(data, this);
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1063
|
-
static readonly typeName = "livekit.proto.FlushSoxResamplerRequest";
|
|
1064
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1065
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1066
|
-
]);
|
|
1067
|
-
|
|
1068
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FlushSoxResamplerRequest {
|
|
1069
|
-
return new FlushSoxResamplerRequest().fromBinary(bytes, options);
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FlushSoxResamplerRequest {
|
|
1073
|
-
return new FlushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FlushSoxResamplerRequest {
|
|
1077
|
-
return new FlushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
1078
|
-
}
|
|
517
|
+
resamplerHandle: bigint;
|
|
518
|
+
};
|
|
1079
519
|
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
520
|
+
/**
|
|
521
|
+
* Describes the message livekit.proto.FlushSoxResamplerRequest.
|
|
522
|
+
* Use `create(FlushSoxResamplerRequestSchema)` to create a new message.
|
|
523
|
+
*/
|
|
524
|
+
export const FlushSoxResamplerRequestSchema: GenMessage<FlushSoxResamplerRequest> = /*@__PURE__*/
|
|
525
|
+
messageDesc(file_audio_frame, 19);
|
|
1084
526
|
|
|
1085
527
|
/**
|
|
1086
528
|
* @generated from message livekit.proto.FlushSoxResamplerResponse
|
|
1087
529
|
*/
|
|
1088
|
-
export
|
|
530
|
+
export type FlushSoxResamplerResponse = Message<"livekit.proto.FlushSoxResamplerResponse"> & {
|
|
1089
531
|
/**
|
|
1090
532
|
* *const i16 (could be null)
|
|
1091
533
|
*
|
|
1092
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
534
|
+
* @generated from field: required uint64 output_ptr = 1;
|
|
1093
535
|
*/
|
|
1094
|
-
outputPtr
|
|
536
|
+
outputPtr: bigint;
|
|
1095
537
|
|
|
1096
538
|
/**
|
|
1097
539
|
* in bytes
|
|
1098
540
|
*
|
|
1099
|
-
* @generated from field: uint32 size = 2;
|
|
541
|
+
* @generated from field: required uint32 size = 2;
|
|
1100
542
|
*/
|
|
1101
|
-
size
|
|
543
|
+
size: number;
|
|
1102
544
|
|
|
1103
545
|
/**
|
|
1104
546
|
* @generated from field: optional string error = 3;
|
|
1105
547
|
*/
|
|
1106
|
-
error
|
|
1107
|
-
|
|
1108
|
-
constructor(data?: PartialMessage<FlushSoxResamplerResponse>) {
|
|
1109
|
-
super();
|
|
1110
|
-
proto3.util.initPartial(data, this);
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1114
|
-
static readonly typeName = "livekit.proto.FlushSoxResamplerResponse";
|
|
1115
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1116
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1117
|
-
{ no: 2, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1118
|
-
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1119
|
-
]);
|
|
1120
|
-
|
|
1121
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FlushSoxResamplerResponse {
|
|
1122
|
-
return new FlushSoxResamplerResponse().fromBinary(bytes, options);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FlushSoxResamplerResponse {
|
|
1126
|
-
return new FlushSoxResamplerResponse().fromJson(jsonValue, options);
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FlushSoxResamplerResponse {
|
|
1130
|
-
return new FlushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
1131
|
-
}
|
|
548
|
+
error: string;
|
|
549
|
+
};
|
|
1132
550
|
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
551
|
+
/**
|
|
552
|
+
* Describes the message livekit.proto.FlushSoxResamplerResponse.
|
|
553
|
+
* Use `create(FlushSoxResamplerResponseSchema)` to create a new message.
|
|
554
|
+
*/
|
|
555
|
+
export const FlushSoxResamplerResponseSchema: GenMessage<FlushSoxResamplerResponse> = /*@__PURE__*/
|
|
556
|
+
messageDesc(file_audio_frame, 20);
|
|
1137
557
|
|
|
1138
558
|
/**
|
|
1139
559
|
* @generated from message livekit.proto.AudioFrameBufferInfo
|
|
1140
560
|
*/
|
|
1141
|
-
export
|
|
561
|
+
export type AudioFrameBufferInfo = Message<"livekit.proto.AudioFrameBufferInfo"> & {
|
|
1142
562
|
/**
|
|
1143
563
|
* *const i16
|
|
1144
564
|
*
|
|
1145
|
-
* @generated from field: uint64 data_ptr = 1;
|
|
565
|
+
* @generated from field: required uint64 data_ptr = 1;
|
|
1146
566
|
*/
|
|
1147
|
-
dataPtr
|
|
567
|
+
dataPtr: bigint;
|
|
1148
568
|
|
|
1149
569
|
/**
|
|
1150
|
-
* @generated from field: uint32 num_channels = 2;
|
|
570
|
+
* @generated from field: required uint32 num_channels = 2;
|
|
1151
571
|
*/
|
|
1152
|
-
numChannels
|
|
572
|
+
numChannels: number;
|
|
1153
573
|
|
|
1154
574
|
/**
|
|
1155
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
575
|
+
* @generated from field: required uint32 sample_rate = 3;
|
|
1156
576
|
*/
|
|
1157
|
-
sampleRate
|
|
577
|
+
sampleRate: number;
|
|
1158
578
|
|
|
1159
579
|
/**
|
|
1160
|
-
* @generated from field: uint32 samples_per_channel = 4;
|
|
580
|
+
* @generated from field: required uint32 samples_per_channel = 4;
|
|
1161
581
|
*/
|
|
1162
|
-
samplesPerChannel
|
|
1163
|
-
|
|
1164
|
-
constructor(data?: PartialMessage<AudioFrameBufferInfo>) {
|
|
1165
|
-
super();
|
|
1166
|
-
proto3.util.initPartial(data, this);
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1170
|
-
static readonly typeName = "livekit.proto.AudioFrameBufferInfo";
|
|
1171
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1172
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1173
|
-
{ no: 2, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1174
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1175
|
-
{ no: 4, name: "samples_per_channel", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1176
|
-
]);
|
|
1177
|
-
|
|
1178
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioFrameBufferInfo {
|
|
1179
|
-
return new AudioFrameBufferInfo().fromBinary(bytes, options);
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioFrameBufferInfo {
|
|
1183
|
-
return new AudioFrameBufferInfo().fromJson(jsonValue, options);
|
|
1184
|
-
}
|
|
582
|
+
samplesPerChannel: number;
|
|
583
|
+
};
|
|
1185
584
|
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
585
|
+
/**
|
|
586
|
+
* Describes the message livekit.proto.AudioFrameBufferInfo.
|
|
587
|
+
* Use `create(AudioFrameBufferInfoSchema)` to create a new message.
|
|
588
|
+
*/
|
|
589
|
+
export const AudioFrameBufferInfoSchema: GenMessage<AudioFrameBufferInfo> = /*@__PURE__*/
|
|
590
|
+
messageDesc(file_audio_frame, 21);
|
|
1194
591
|
|
|
1195
592
|
/**
|
|
1196
593
|
* @generated from message livekit.proto.OwnedAudioFrameBuffer
|
|
1197
594
|
*/
|
|
1198
|
-
export
|
|
595
|
+
export type OwnedAudioFrameBuffer = Message<"livekit.proto.OwnedAudioFrameBuffer"> & {
|
|
1199
596
|
/**
|
|
1200
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
597
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1201
598
|
*/
|
|
1202
599
|
handle?: FfiOwnedHandle;
|
|
1203
600
|
|
|
1204
601
|
/**
|
|
1205
|
-
* @generated from field: livekit.proto.AudioFrameBufferInfo info = 2;
|
|
602
|
+
* @generated from field: required livekit.proto.AudioFrameBufferInfo info = 2;
|
|
1206
603
|
*/
|
|
1207
604
|
info?: AudioFrameBufferInfo;
|
|
605
|
+
};
|
|
1208
606
|
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
static readonly typeName = "livekit.proto.OwnedAudioFrameBuffer";
|
|
1216
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1217
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1218
|
-
{ no: 2, name: "info", kind: "message", T: AudioFrameBufferInfo },
|
|
1219
|
-
]);
|
|
1220
|
-
|
|
1221
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedAudioFrameBuffer {
|
|
1222
|
-
return new OwnedAudioFrameBuffer().fromBinary(bytes, options);
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedAudioFrameBuffer {
|
|
1226
|
-
return new OwnedAudioFrameBuffer().fromJson(jsonValue, options);
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioFrameBuffer {
|
|
1230
|
-
return new OwnedAudioFrameBuffer().fromJsonString(jsonString, options);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
static equals(a: OwnedAudioFrameBuffer | PlainMessage<OwnedAudioFrameBuffer> | undefined, b: OwnedAudioFrameBuffer | PlainMessage<OwnedAudioFrameBuffer> | undefined): boolean {
|
|
1234
|
-
return proto3.util.equals(OwnedAudioFrameBuffer, a, b);
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
607
|
+
/**
|
|
608
|
+
* Describes the message livekit.proto.OwnedAudioFrameBuffer.
|
|
609
|
+
* Use `create(OwnedAudioFrameBufferSchema)` to create a new message.
|
|
610
|
+
*/
|
|
611
|
+
export const OwnedAudioFrameBufferSchema: GenMessage<OwnedAudioFrameBuffer> = /*@__PURE__*/
|
|
612
|
+
messageDesc(file_audio_frame, 22);
|
|
1237
613
|
|
|
1238
614
|
/**
|
|
1239
615
|
* @generated from message livekit.proto.AudioStreamInfo
|
|
1240
616
|
*/
|
|
1241
|
-
export
|
|
617
|
+
export type AudioStreamInfo = Message<"livekit.proto.AudioStreamInfo"> & {
|
|
1242
618
|
/**
|
|
1243
|
-
* @generated from field: livekit.proto.AudioStreamType type = 1;
|
|
619
|
+
* @generated from field: required livekit.proto.AudioStreamType type = 1;
|
|
1244
620
|
*/
|
|
1245
|
-
type
|
|
1246
|
-
|
|
1247
|
-
constructor(data?: PartialMessage<AudioStreamInfo>) {
|
|
1248
|
-
super();
|
|
1249
|
-
proto3.util.initPartial(data, this);
|
|
1250
|
-
}
|
|
621
|
+
type: AudioStreamType;
|
|
622
|
+
};
|
|
1251
623
|
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioStreamInfo {
|
|
1259
|
-
return new AudioStreamInfo().fromBinary(bytes, options);
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamInfo {
|
|
1263
|
-
return new AudioStreamInfo().fromJson(jsonValue, options);
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamInfo {
|
|
1267
|
-
return new AudioStreamInfo().fromJsonString(jsonString, options);
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
static equals(a: AudioStreamInfo | PlainMessage<AudioStreamInfo> | undefined, b: AudioStreamInfo | PlainMessage<AudioStreamInfo> | undefined): boolean {
|
|
1271
|
-
return proto3.util.equals(AudioStreamInfo, a, b);
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
624
|
+
/**
|
|
625
|
+
* Describes the message livekit.proto.AudioStreamInfo.
|
|
626
|
+
* Use `create(AudioStreamInfoSchema)` to create a new message.
|
|
627
|
+
*/
|
|
628
|
+
export const AudioStreamInfoSchema: GenMessage<AudioStreamInfo> = /*@__PURE__*/
|
|
629
|
+
messageDesc(file_audio_frame, 23);
|
|
1274
630
|
|
|
1275
631
|
/**
|
|
1276
632
|
* @generated from message livekit.proto.OwnedAudioStream
|
|
1277
633
|
*/
|
|
1278
|
-
export
|
|
634
|
+
export type OwnedAudioStream = Message<"livekit.proto.OwnedAudioStream"> & {
|
|
1279
635
|
/**
|
|
1280
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
636
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1281
637
|
*/
|
|
1282
638
|
handle?: FfiOwnedHandle;
|
|
1283
639
|
|
|
1284
640
|
/**
|
|
1285
|
-
* @generated from field: livekit.proto.AudioStreamInfo info = 2;
|
|
641
|
+
* @generated from field: required livekit.proto.AudioStreamInfo info = 2;
|
|
1286
642
|
*/
|
|
1287
643
|
info?: AudioStreamInfo;
|
|
644
|
+
};
|
|
1288
645
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
static readonly typeName = "livekit.proto.OwnedAudioStream";
|
|
1296
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1297
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1298
|
-
{ no: 2, name: "info", kind: "message", T: AudioStreamInfo },
|
|
1299
|
-
]);
|
|
1300
|
-
|
|
1301
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedAudioStream {
|
|
1302
|
-
return new OwnedAudioStream().fromBinary(bytes, options);
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedAudioStream {
|
|
1306
|
-
return new OwnedAudioStream().fromJson(jsonValue, options);
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioStream {
|
|
1310
|
-
return new OwnedAudioStream().fromJsonString(jsonString, options);
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
static equals(a: OwnedAudioStream | PlainMessage<OwnedAudioStream> | undefined, b: OwnedAudioStream | PlainMessage<OwnedAudioStream> | undefined): boolean {
|
|
1314
|
-
return proto3.util.equals(OwnedAudioStream, a, b);
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message livekit.proto.OwnedAudioStream.
|
|
648
|
+
* Use `create(OwnedAudioStreamSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export const OwnedAudioStreamSchema: GenMessage<OwnedAudioStream> = /*@__PURE__*/
|
|
651
|
+
messageDesc(file_audio_frame, 24);
|
|
1317
652
|
|
|
1318
653
|
/**
|
|
1319
654
|
* @generated from message livekit.proto.AudioStreamEvent
|
|
1320
655
|
*/
|
|
1321
|
-
export
|
|
656
|
+
export type AudioStreamEvent = Message<"livekit.proto.AudioStreamEvent"> & {
|
|
1322
657
|
/**
|
|
1323
|
-
* @generated from field: uint64 stream_handle = 1;
|
|
658
|
+
* @generated from field: required uint64 stream_handle = 1;
|
|
1324
659
|
*/
|
|
1325
|
-
streamHandle
|
|
660
|
+
streamHandle: bigint;
|
|
1326
661
|
|
|
1327
662
|
/**
|
|
1328
663
|
* @generated from oneof livekit.proto.AudioStreamEvent.message
|
|
@@ -1339,380 +674,328 @@ export class AudioStreamEvent extends Message<AudioStreamEvent> {
|
|
|
1339
674
|
*/
|
|
1340
675
|
value: AudioStreamEOS;
|
|
1341
676
|
case: "eos";
|
|
1342
|
-
} | { case: undefined; value?: undefined }
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1352
|
-
{ no: 1, name: "stream_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1353
|
-
{ no: 2, name: "frame_received", kind: "message", T: AudioFrameReceived, oneof: "message" },
|
|
1354
|
-
{ no: 3, name: "eos", kind: "message", T: AudioStreamEOS, oneof: "message" },
|
|
1355
|
-
]);
|
|
1356
|
-
|
|
1357
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioStreamEvent {
|
|
1358
|
-
return new AudioStreamEvent().fromBinary(bytes, options);
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamEvent {
|
|
1362
|
-
return new AudioStreamEvent().fromJson(jsonValue, options);
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamEvent {
|
|
1366
|
-
return new AudioStreamEvent().fromJsonString(jsonString, options);
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
static equals(a: AudioStreamEvent | PlainMessage<AudioStreamEvent> | undefined, b: AudioStreamEvent | PlainMessage<AudioStreamEvent> | undefined): boolean {
|
|
1370
|
-
return proto3.util.equals(AudioStreamEvent, a, b);
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
677
|
+
} | { case: undefined; value?: undefined };
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Describes the message livekit.proto.AudioStreamEvent.
|
|
682
|
+
* Use `create(AudioStreamEventSchema)` to create a new message.
|
|
683
|
+
*/
|
|
684
|
+
export const AudioStreamEventSchema: GenMessage<AudioStreamEvent> = /*@__PURE__*/
|
|
685
|
+
messageDesc(file_audio_frame, 25);
|
|
1373
686
|
|
|
1374
687
|
/**
|
|
1375
688
|
* @generated from message livekit.proto.AudioFrameReceived
|
|
1376
689
|
*/
|
|
1377
|
-
export
|
|
690
|
+
export type AudioFrameReceived = Message<"livekit.proto.AudioFrameReceived"> & {
|
|
1378
691
|
/**
|
|
1379
|
-
* @generated from field: livekit.proto.OwnedAudioFrameBuffer frame = 1;
|
|
692
|
+
* @generated from field: required livekit.proto.OwnedAudioFrameBuffer frame = 1;
|
|
1380
693
|
*/
|
|
1381
694
|
frame?: OwnedAudioFrameBuffer;
|
|
695
|
+
};
|
|
1382
696
|
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
static readonly typeName = "livekit.proto.AudioFrameReceived";
|
|
1390
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1391
|
-
{ no: 1, name: "frame", kind: "message", T: OwnedAudioFrameBuffer },
|
|
1392
|
-
]);
|
|
1393
|
-
|
|
1394
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioFrameReceived {
|
|
1395
|
-
return new AudioFrameReceived().fromBinary(bytes, options);
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioFrameReceived {
|
|
1399
|
-
return new AudioFrameReceived().fromJson(jsonValue, options);
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioFrameReceived {
|
|
1403
|
-
return new AudioFrameReceived().fromJsonString(jsonString, options);
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
static equals(a: AudioFrameReceived | PlainMessage<AudioFrameReceived> | undefined, b: AudioFrameReceived | PlainMessage<AudioFrameReceived> | undefined): boolean {
|
|
1407
|
-
return proto3.util.equals(AudioFrameReceived, a, b);
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
697
|
+
/**
|
|
698
|
+
* Describes the message livekit.proto.AudioFrameReceived.
|
|
699
|
+
* Use `create(AudioFrameReceivedSchema)` to create a new message.
|
|
700
|
+
*/
|
|
701
|
+
export const AudioFrameReceivedSchema: GenMessage<AudioFrameReceived> = /*@__PURE__*/
|
|
702
|
+
messageDesc(file_audio_frame, 26);
|
|
1410
703
|
|
|
1411
704
|
/**
|
|
1412
705
|
* @generated from message livekit.proto.AudioStreamEOS
|
|
1413
706
|
*/
|
|
1414
|
-
export
|
|
1415
|
-
|
|
1416
|
-
super();
|
|
1417
|
-
proto3.util.initPartial(data, this);
|
|
1418
|
-
}
|
|
707
|
+
export type AudioStreamEOS = Message<"livekit.proto.AudioStreamEOS"> & {
|
|
708
|
+
};
|
|
1419
709
|
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
return new AudioStreamEOS().fromBinary(bytes, options);
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioStreamEOS {
|
|
1430
|
-
return new AudioStreamEOS().fromJson(jsonValue, options);
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioStreamEOS {
|
|
1434
|
-
return new AudioStreamEOS().fromJsonString(jsonString, options);
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
static equals(a: AudioStreamEOS | PlainMessage<AudioStreamEOS> | undefined, b: AudioStreamEOS | PlainMessage<AudioStreamEOS> | undefined): boolean {
|
|
1438
|
-
return proto3.util.equals(AudioStreamEOS, a, b);
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
710
|
+
/**
|
|
711
|
+
* Describes the message livekit.proto.AudioStreamEOS.
|
|
712
|
+
* Use `create(AudioStreamEOSSchema)` to create a new message.
|
|
713
|
+
*/
|
|
714
|
+
export const AudioStreamEOSSchema: GenMessage<AudioStreamEOS> = /*@__PURE__*/
|
|
715
|
+
messageDesc(file_audio_frame, 27);
|
|
1441
716
|
|
|
1442
717
|
/**
|
|
1443
718
|
* @generated from message livekit.proto.AudioSourceOptions
|
|
1444
719
|
*/
|
|
1445
|
-
export
|
|
720
|
+
export type AudioSourceOptions = Message<"livekit.proto.AudioSourceOptions"> & {
|
|
1446
721
|
/**
|
|
1447
|
-
* @generated from field: bool echo_cancellation = 1;
|
|
722
|
+
* @generated from field: required bool echo_cancellation = 1;
|
|
1448
723
|
*/
|
|
1449
|
-
echoCancellation
|
|
724
|
+
echoCancellation: boolean;
|
|
1450
725
|
|
|
1451
726
|
/**
|
|
1452
|
-
* @generated from field: bool noise_suppression = 2;
|
|
727
|
+
* @generated from field: required bool noise_suppression = 2;
|
|
1453
728
|
*/
|
|
1454
|
-
noiseSuppression
|
|
729
|
+
noiseSuppression: boolean;
|
|
1455
730
|
|
|
1456
731
|
/**
|
|
1457
|
-
* @generated from field: bool auto_gain_control = 3;
|
|
732
|
+
* @generated from field: required bool auto_gain_control = 3;
|
|
1458
733
|
*/
|
|
1459
|
-
autoGainControl
|
|
1460
|
-
|
|
1461
|
-
constructor(data?: PartialMessage<AudioSourceOptions>) {
|
|
1462
|
-
super();
|
|
1463
|
-
proto3.util.initPartial(data, this);
|
|
1464
|
-
}
|
|
734
|
+
autoGainControl: boolean;
|
|
735
|
+
};
|
|
1465
736
|
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
]);
|
|
1473
|
-
|
|
1474
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSourceOptions {
|
|
1475
|
-
return new AudioSourceOptions().fromBinary(bytes, options);
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioSourceOptions {
|
|
1479
|
-
return new AudioSourceOptions().fromJson(jsonValue, options);
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioSourceOptions {
|
|
1483
|
-
return new AudioSourceOptions().fromJsonString(jsonString, options);
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
static equals(a: AudioSourceOptions | PlainMessage<AudioSourceOptions> | undefined, b: AudioSourceOptions | PlainMessage<AudioSourceOptions> | undefined): boolean {
|
|
1487
|
-
return proto3.util.equals(AudioSourceOptions, a, b);
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
737
|
+
/**
|
|
738
|
+
* Describes the message livekit.proto.AudioSourceOptions.
|
|
739
|
+
* Use `create(AudioSourceOptionsSchema)` to create a new message.
|
|
740
|
+
*/
|
|
741
|
+
export const AudioSourceOptionsSchema: GenMessage<AudioSourceOptions> = /*@__PURE__*/
|
|
742
|
+
messageDesc(file_audio_frame, 28);
|
|
1490
743
|
|
|
1491
744
|
/**
|
|
1492
745
|
* @generated from message livekit.proto.AudioSourceInfo
|
|
1493
746
|
*/
|
|
1494
|
-
export
|
|
747
|
+
export type AudioSourceInfo = Message<"livekit.proto.AudioSourceInfo"> & {
|
|
1495
748
|
/**
|
|
1496
|
-
* @generated from field: livekit.proto.AudioSourceType type = 2;
|
|
749
|
+
* @generated from field: required livekit.proto.AudioSourceType type = 2;
|
|
1497
750
|
*/
|
|
1498
|
-
type
|
|
751
|
+
type: AudioSourceType;
|
|
752
|
+
};
|
|
1499
753
|
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
754
|
+
/**
|
|
755
|
+
* Describes the message livekit.proto.AudioSourceInfo.
|
|
756
|
+
* Use `create(AudioSourceInfoSchema)` to create a new message.
|
|
757
|
+
*/
|
|
758
|
+
export const AudioSourceInfoSchema: GenMessage<AudioSourceInfo> = /*@__PURE__*/
|
|
759
|
+
messageDesc(file_audio_frame, 29);
|
|
1504
760
|
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
761
|
+
/**
|
|
762
|
+
* @generated from message livekit.proto.OwnedAudioSource
|
|
763
|
+
*/
|
|
764
|
+
export type OwnedAudioSource = Message<"livekit.proto.OwnedAudioSource"> & {
|
|
765
|
+
/**
|
|
766
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
767
|
+
*/
|
|
768
|
+
handle?: FfiOwnedHandle;
|
|
1510
769
|
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
770
|
+
/**
|
|
771
|
+
* @generated from field: required livekit.proto.AudioSourceInfo info = 2;
|
|
772
|
+
*/
|
|
773
|
+
info?: AudioSourceInfo;
|
|
774
|
+
};
|
|
1514
775
|
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
776
|
+
/**
|
|
777
|
+
* Describes the message livekit.proto.OwnedAudioSource.
|
|
778
|
+
* Use `create(OwnedAudioSourceSchema)` to create a new message.
|
|
779
|
+
*/
|
|
780
|
+
export const OwnedAudioSourceSchema: GenMessage<OwnedAudioSource> = /*@__PURE__*/
|
|
781
|
+
messageDesc(file_audio_frame, 30);
|
|
1518
782
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
783
|
+
/**
|
|
784
|
+
* @generated from message livekit.proto.AudioResamplerInfo
|
|
785
|
+
*/
|
|
786
|
+
export type AudioResamplerInfo = Message<"livekit.proto.AudioResamplerInfo"> & {
|
|
787
|
+
};
|
|
1522
788
|
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
789
|
+
/**
|
|
790
|
+
* Describes the message livekit.proto.AudioResamplerInfo.
|
|
791
|
+
* Use `create(AudioResamplerInfoSchema)` to create a new message.
|
|
792
|
+
*/
|
|
793
|
+
export const AudioResamplerInfoSchema: GenMessage<AudioResamplerInfo> = /*@__PURE__*/
|
|
794
|
+
messageDesc(file_audio_frame, 31);
|
|
1527
795
|
|
|
1528
796
|
/**
|
|
1529
|
-
* @generated from message livekit.proto.
|
|
797
|
+
* @generated from message livekit.proto.OwnedAudioResampler
|
|
1530
798
|
*/
|
|
1531
|
-
export
|
|
799
|
+
export type OwnedAudioResampler = Message<"livekit.proto.OwnedAudioResampler"> & {
|
|
1532
800
|
/**
|
|
1533
|
-
* @generated from field: livekit.proto.FfiOwnedHandle handle = 1;
|
|
801
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
1534
802
|
*/
|
|
1535
803
|
handle?: FfiOwnedHandle;
|
|
1536
804
|
|
|
1537
805
|
/**
|
|
1538
|
-
* @generated from field: livekit.proto.
|
|
806
|
+
* @generated from field: required livekit.proto.AudioResamplerInfo info = 2;
|
|
1539
807
|
*/
|
|
1540
|
-
info?:
|
|
808
|
+
info?: AudioResamplerInfo;
|
|
809
|
+
};
|
|
1541
810
|
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
static readonly typeName = "livekit.proto.OwnedAudioSource";
|
|
1549
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1550
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1551
|
-
{ no: 2, name: "info", kind: "message", T: AudioSourceInfo },
|
|
1552
|
-
]);
|
|
1553
|
-
|
|
1554
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedAudioSource {
|
|
1555
|
-
return new OwnedAudioSource().fromBinary(bytes, options);
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedAudioSource {
|
|
1559
|
-
return new OwnedAudioSource().fromJson(jsonValue, options);
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioSource {
|
|
1563
|
-
return new OwnedAudioSource().fromJsonString(jsonString, options);
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
static equals(a: OwnedAudioSource | PlainMessage<OwnedAudioSource> | undefined, b: OwnedAudioSource | PlainMessage<OwnedAudioSource> | undefined): boolean {
|
|
1567
|
-
return proto3.util.equals(OwnedAudioSource, a, b);
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
811
|
+
/**
|
|
812
|
+
* Describes the message livekit.proto.OwnedAudioResampler.
|
|
813
|
+
* Use `create(OwnedAudioResamplerSchema)` to create a new message.
|
|
814
|
+
*/
|
|
815
|
+
export const OwnedAudioResamplerSchema: GenMessage<OwnedAudioResampler> = /*@__PURE__*/
|
|
816
|
+
messageDesc(file_audio_frame, 32);
|
|
1570
817
|
|
|
1571
818
|
/**
|
|
1572
|
-
* @generated from message livekit.proto.
|
|
819
|
+
* @generated from message livekit.proto.SoxResamplerInfo
|
|
820
|
+
*/
|
|
821
|
+
export type SoxResamplerInfo = Message<"livekit.proto.SoxResamplerInfo"> & {
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Describes the message livekit.proto.SoxResamplerInfo.
|
|
826
|
+
* Use `create(SoxResamplerInfoSchema)` to create a new message.
|
|
1573
827
|
*/
|
|
1574
|
-
export
|
|
1575
|
-
|
|
1576
|
-
super();
|
|
1577
|
-
proto3.util.initPartial(data, this);
|
|
1578
|
-
}
|
|
828
|
+
export const SoxResamplerInfoSchema: GenMessage<SoxResamplerInfo> = /*@__PURE__*/
|
|
829
|
+
messageDesc(file_audio_frame, 33);
|
|
1579
830
|
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
831
|
+
/**
|
|
832
|
+
* @generated from message livekit.proto.OwnedSoxResampler
|
|
833
|
+
*/
|
|
834
|
+
export type OwnedSoxResampler = Message<"livekit.proto.OwnedSoxResampler"> & {
|
|
835
|
+
/**
|
|
836
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
837
|
+
*/
|
|
838
|
+
handle?: FfiOwnedHandle;
|
|
1584
839
|
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
840
|
+
/**
|
|
841
|
+
* @generated from field: required livekit.proto.SoxResamplerInfo info = 2;
|
|
842
|
+
*/
|
|
843
|
+
info?: SoxResamplerInfo;
|
|
844
|
+
};
|
|
1588
845
|
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
846
|
+
/**
|
|
847
|
+
* Describes the message livekit.proto.OwnedSoxResampler.
|
|
848
|
+
* Use `create(OwnedSoxResamplerSchema)` to create a new message.
|
|
849
|
+
*/
|
|
850
|
+
export const OwnedSoxResamplerSchema: GenMessage<OwnedSoxResampler> = /*@__PURE__*/
|
|
851
|
+
messageDesc(file_audio_frame, 34);
|
|
1592
852
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
853
|
+
/**
|
|
854
|
+
* @generated from enum livekit.proto.SoxResamplerDataType
|
|
855
|
+
*/
|
|
856
|
+
export enum SoxResamplerDataType {
|
|
857
|
+
/**
|
|
858
|
+
* TODO(theomonnom): support other datatypes (shouldn't really be needed)
|
|
859
|
+
*
|
|
860
|
+
* @generated from enum value: SOXR_DATATYPE_INT16I = 0;
|
|
861
|
+
*/
|
|
862
|
+
SOXR_DATATYPE_INT16I = 0,
|
|
1596
863
|
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
864
|
+
/**
|
|
865
|
+
* @generated from enum value: SOXR_DATATYPE_INT16S = 1;
|
|
866
|
+
*/
|
|
867
|
+
SOXR_DATATYPE_INT16S = 1,
|
|
1600
868
|
}
|
|
1601
869
|
|
|
1602
870
|
/**
|
|
1603
|
-
*
|
|
871
|
+
* Describes the enum livekit.proto.SoxResamplerDataType.
|
|
872
|
+
*/
|
|
873
|
+
export const SoxResamplerDataTypeSchema: GenEnum<SoxResamplerDataType> = /*@__PURE__*/
|
|
874
|
+
enumDesc(file_audio_frame, 0);
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
1604
878
|
*/
|
|
1605
|
-
export
|
|
879
|
+
export enum SoxQualityRecipe {
|
|
1606
880
|
/**
|
|
1607
|
-
* @generated from
|
|
881
|
+
* @generated from enum value: SOXR_QUALITY_QUICK = 0;
|
|
1608
882
|
*/
|
|
1609
|
-
|
|
883
|
+
SOXR_QUALITY_QUICK = 0,
|
|
1610
884
|
|
|
1611
885
|
/**
|
|
1612
|
-
* @generated from
|
|
886
|
+
* @generated from enum value: SOXR_QUALITY_LOW = 1;
|
|
1613
887
|
*/
|
|
1614
|
-
|
|
888
|
+
SOXR_QUALITY_LOW = 1,
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* @generated from enum value: SOXR_QUALITY_MEDIUM = 2;
|
|
892
|
+
*/
|
|
893
|
+
SOXR_QUALITY_MEDIUM = 2,
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* @generated from enum value: SOXR_QUALITY_HIGH = 3;
|
|
897
|
+
*/
|
|
898
|
+
SOXR_QUALITY_HIGH = 3,
|
|
1615
899
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
1622
|
-
static readonly typeName = "livekit.proto.OwnedAudioResampler";
|
|
1623
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1624
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1625
|
-
{ no: 2, name: "info", kind: "message", T: AudioResamplerInfo },
|
|
1626
|
-
]);
|
|
1627
|
-
|
|
1628
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedAudioResampler {
|
|
1629
|
-
return new OwnedAudioResampler().fromBinary(bytes, options);
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedAudioResampler {
|
|
1633
|
-
return new OwnedAudioResampler().fromJson(jsonValue, options);
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedAudioResampler {
|
|
1637
|
-
return new OwnedAudioResampler().fromJsonString(jsonString, options);
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
static equals(a: OwnedAudioResampler | PlainMessage<OwnedAudioResampler> | undefined, b: OwnedAudioResampler | PlainMessage<OwnedAudioResampler> | undefined): boolean {
|
|
1641
|
-
return proto3.util.equals(OwnedAudioResampler, a, b);
|
|
1642
|
-
}
|
|
900
|
+
/**
|
|
901
|
+
* @generated from enum value: SOXR_QUALITY_VERYHIGH = 4;
|
|
902
|
+
*/
|
|
903
|
+
SOXR_QUALITY_VERYHIGH = 4,
|
|
1643
904
|
}
|
|
1644
905
|
|
|
1645
906
|
/**
|
|
1646
|
-
*
|
|
907
|
+
* Describes the enum livekit.proto.SoxQualityRecipe.
|
|
1647
908
|
*/
|
|
1648
|
-
export
|
|
1649
|
-
|
|
1650
|
-
super();
|
|
1651
|
-
proto3.util.initPartial(data, this);
|
|
1652
|
-
}
|
|
909
|
+
export const SoxQualityRecipeSchema: GenEnum<SoxQualityRecipe> = /*@__PURE__*/
|
|
910
|
+
enumDesc(file_audio_frame, 1);
|
|
1653
911
|
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
912
|
+
/**
|
|
913
|
+
* @generated from enum livekit.proto.SoxFlagBits
|
|
914
|
+
*/
|
|
915
|
+
export enum SoxFlagBits {
|
|
916
|
+
/**
|
|
917
|
+
* 1 << 0
|
|
918
|
+
*
|
|
919
|
+
* @generated from enum value: SOXR_ROLLOFF_SMALL = 0;
|
|
920
|
+
*/
|
|
921
|
+
SOXR_ROLLOFF_SMALL = 0,
|
|
1658
922
|
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
923
|
+
/**
|
|
924
|
+
* 1 << 1
|
|
925
|
+
*
|
|
926
|
+
* @generated from enum value: SOXR_ROLLOFF_MEDIUM = 1;
|
|
927
|
+
*/
|
|
928
|
+
SOXR_ROLLOFF_MEDIUM = 1,
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* 1 << 2
|
|
932
|
+
*
|
|
933
|
+
* @generated from enum value: SOXR_ROLLOFF_NONE = 2;
|
|
934
|
+
*/
|
|
935
|
+
SOXR_ROLLOFF_NONE = 2,
|
|
1662
936
|
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
937
|
+
/**
|
|
938
|
+
* 1 << 3
|
|
939
|
+
*
|
|
940
|
+
* @generated from enum value: SOXR_HIGH_PREC_CLOCK = 3;
|
|
941
|
+
*/
|
|
942
|
+
SOXR_HIGH_PREC_CLOCK = 3,
|
|
1666
943
|
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
944
|
+
/**
|
|
945
|
+
* 1 << 4
|
|
946
|
+
*
|
|
947
|
+
* @generated from enum value: SOXR_DOUBLE_PRECISION = 4;
|
|
948
|
+
*/
|
|
949
|
+
SOXR_DOUBLE_PRECISION = 4,
|
|
1670
950
|
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
951
|
+
/**
|
|
952
|
+
* 1 << 5
|
|
953
|
+
*
|
|
954
|
+
* @generated from enum value: SOXR_VR = 5;
|
|
955
|
+
*/
|
|
956
|
+
SOXR_VR = 5,
|
|
1674
957
|
}
|
|
1675
958
|
|
|
1676
959
|
/**
|
|
1677
|
-
*
|
|
960
|
+
* Describes the enum livekit.proto.SoxFlagBits.
|
|
961
|
+
*/
|
|
962
|
+
export const SoxFlagBitsSchema: GenEnum<SoxFlagBits> = /*@__PURE__*/
|
|
963
|
+
enumDesc(file_audio_frame, 2);
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @generated from enum livekit.proto.AudioStreamType
|
|
1678
967
|
*/
|
|
1679
|
-
export
|
|
968
|
+
export enum AudioStreamType {
|
|
1680
969
|
/**
|
|
1681
|
-
* @generated from
|
|
970
|
+
* @generated from enum value: AUDIO_STREAM_NATIVE = 0;
|
|
1682
971
|
*/
|
|
1683
|
-
|
|
972
|
+
AUDIO_STREAM_NATIVE = 0,
|
|
1684
973
|
|
|
1685
974
|
/**
|
|
1686
|
-
* @generated from
|
|
975
|
+
* @generated from enum value: AUDIO_STREAM_HTML = 1;
|
|
1687
976
|
*/
|
|
1688
|
-
|
|
977
|
+
AUDIO_STREAM_HTML = 1,
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Describes the enum livekit.proto.AudioStreamType.
|
|
982
|
+
*/
|
|
983
|
+
export const AudioStreamTypeSchema: GenEnum<AudioStreamType> = /*@__PURE__*/
|
|
984
|
+
enumDesc(file_audio_frame, 3);
|
|
1689
985
|
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1699
|
-
{ no: 2, name: "info", kind: "message", T: SoxResamplerInfo },
|
|
1700
|
-
]);
|
|
1701
|
-
|
|
1702
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedSoxResampler {
|
|
1703
|
-
return new OwnedSoxResampler().fromBinary(bytes, options);
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedSoxResampler {
|
|
1707
|
-
return new OwnedSoxResampler().fromJson(jsonValue, options);
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedSoxResampler {
|
|
1711
|
-
return new OwnedSoxResampler().fromJsonString(jsonString, options);
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
static equals(a: OwnedSoxResampler | PlainMessage<OwnedSoxResampler> | undefined, b: OwnedSoxResampler | PlainMessage<OwnedSoxResampler> | undefined): boolean {
|
|
1715
|
-
return proto3.util.equals(OwnedSoxResampler, a, b);
|
|
1716
|
-
}
|
|
986
|
+
/**
|
|
987
|
+
* @generated from enum livekit.proto.AudioSourceType
|
|
988
|
+
*/
|
|
989
|
+
export enum AudioSourceType {
|
|
990
|
+
/**
|
|
991
|
+
* @generated from enum value: AUDIO_SOURCE_NATIVE = 0;
|
|
992
|
+
*/
|
|
993
|
+
AUDIO_SOURCE_NATIVE = 0,
|
|
1717
994
|
}
|
|
1718
995
|
|
|
996
|
+
/**
|
|
997
|
+
* Describes the enum livekit.proto.AudioSourceType.
|
|
998
|
+
*/
|
|
999
|
+
export const AudioSourceTypeSchema: GenEnum<AudioSourceType> = /*@__PURE__*/
|
|
1000
|
+
enumDesc(file_audio_frame, 4);
|
|
1001
|
+
|