@livekit/rtc-node 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/build.rs +1 -1
- package/dist/audio_frame.d.ts +1 -1
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +4 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +8 -7
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -4
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +4 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +25 -25
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.d.ts +3 -3
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +9 -7
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -4
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.ts +1 -0
- package/dist/participant.d.ts +52 -6
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +155 -32
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +451 -526
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +200 -1179
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.d.ts +264 -333
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +136 -810
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +175 -129
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +58 -395
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.d.ts +14 -13
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +8 -39
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +54 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +18 -90
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +1042 -1187
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +470 -2938
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.d.ts +235 -0
- package/dist/proto/rpc_pb.d.ts.map +1 -0
- package/dist/proto/rpc_pb.js +74 -0
- package/dist/proto/rpc_pb.js.map +1 -0
- package/dist/proto/stats_pb.d.ts +738 -800
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +218 -1960
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.d.ts +225 -258
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +98 -591
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/video_frame_pb.d.ts +357 -390
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +137 -790
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.d.ts +21 -7
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +134 -54
- package/dist/room.js.map +1 -1
- package/dist/rpc.d.ts +78 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +69 -0
- package/dist/rpc.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +7 -3
- package/dist/track.js.map +1 -1
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +3 -2
- package/dist/track_publication.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/video_frame.d.ts +2 -2
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +47 -25
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +4 -3
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.d.ts +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +7 -3
- package/dist/video_stream.js.map +1 -1
- package/package.json +13 -10
- package/src/audio_frame.ts +6 -6
- package/src/audio_resampler.ts +10 -9
- package/src/audio_source.ts +9 -8
- package/src/audio_stream.ts +7 -6
- package/src/e2ee.ts +34 -34
- package/src/ffi_client.ts +23 -10
- package/src/index.ts +61 -2
- package/src/napi/native.d.ts +1 -0
- package/src/nodejs.rs +6 -3
- package/src/participant.ts +219 -55
- package/src/proto/audio_frame_pb.ts +562 -1279
- package/src/proto/e2ee_pb.ts +365 -886
- package/src/proto/ffi_pb.ts +206 -405
- package/src/proto/handle_pb.ts +21 -35
- package/src/proto/participant_pb.ts +71 -112
- package/src/proto/room_pb.ts +1284 -2995
- package/src/proto/rpc_pb.ts +310 -0
- package/src/proto/stats_pb.ts +1028 -1947
- package/src/proto/track_pb.ts +287 -621
- package/src/proto/video_frame_pb.ts +445 -905
- package/src/room.ts +181 -75
- package/src/rpc.ts +121 -0
- package/src/track.ts +8 -7
- package/src/track_publication.ts +5 -4
- package/src/version.ts +1 -0
- package/src/video_frame.ts +54 -27
- package/src/video_source.ts +7 -6
- package/src/video_stream.ts +7 -6
- package/dist/utils.d.ts +0 -7
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -48
- package/dist/utils.js.map +0 -1
- package/src/utils.test.ts +0 -47
- package/src/utils.ts +0 -44
|
@@ -11,9 +11,188 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
15
|
+
import { file_handle } from "./handle_pb";
|
|
16
|
+
import { file_track } from "./track_pb";
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file audio_frame.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_audio_frame = /*@__PURE__*/ fileDesc("ChFhdWRpb19mcmFtZS5wcm90bxINbGl2ZWtpdC5wcm90byKGAQoVTmV3QXVkaW9TdHJlYW1SZXF1ZXN0EhQKDHRyYWNrX2hhbmRsZRgBIAIoBBIsCgR0eXBlGAIgAigOMh4ubGl2ZWtpdC5wcm90by5BdWRpb1N0cmVhbVR5cGUSEwoLc2FtcGxlX3JhdGUYAyACKA0SFAoMbnVtX2NoYW5uZWxzGAQgAigNIkkKFk5ld0F1ZGlvU3RyZWFtUmVzcG9uc2USLwoGc3RyZWFtGAEgAigLMh8ubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvU3RyZWFtIsoBCiFBdWRpb1N0cmVhbUZyb21QYXJ0aWNpcGFudFJlcXVlc3QSGgoScGFydGljaXBhbnRfaGFuZGxlGAEgAigEEiwKBHR5cGUYAiACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU3RyZWFtVHlwZRIwCgx0cmFja19zb3VyY2UYAyABKA4yGi5saXZla2l0LnByb3RvLlRyYWNrU291cmNlEhMKC3NhbXBsZV9yYXRlGAUgAigNEhQKDG51bV9jaGFubmVscxgGIAIoDSJVCiJBdWRpb1N0cmVhbUZyb21QYXJ0aWNpcGFudFJlc3BvbnNlEi8KBnN0cmVhbRgBIAIoCzIfLmxpdmVraXQucHJvdG8uT3duZWRBdWRpb1N0cmVhbSK7AQoVTmV3QXVkaW9Tb3VyY2VSZXF1ZXN0EiwKBHR5cGUYASACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU291cmNlVHlwZRIyCgdvcHRpb25zGAIgASgLMiEubGl2ZWtpdC5wcm90by5BdWRpb1NvdXJjZU9wdGlvbnMSEwoLc2FtcGxlX3JhdGUYAyACKA0SFAoMbnVtX2NoYW5uZWxzGAQgAigNEhUKDXF1ZXVlX3NpemVfbXMYBSACKA0iSQoWTmV3QXVkaW9Tb3VyY2VSZXNwb25zZRIvCgZzb3VyY2UYASACKAsyHy5saXZla2l0LnByb3RvLk93bmVkQXVkaW9Tb3VyY2UiZgoYQ2FwdHVyZUF1ZGlvRnJhbWVSZXF1ZXN0EhUKDXNvdXJjZV9oYW5kbGUYASACKAQSMwoGYnVmZmVyGAIgAigLMiMubGl2ZWtpdC5wcm90by5BdWRpb0ZyYW1lQnVmZmVySW5mbyItChlDYXB0dXJlQXVkaW9GcmFtZVJlc3BvbnNlEhAKCGFzeW5jX2lkGAEgAigEIjwKGUNhcHR1cmVBdWRpb0ZyYW1lQ2FsbGJhY2sSEAoIYXN5bmNfaWQYASACKAQSDQoFZXJyb3IYAiABKAkiMAoXQ2xlYXJBdWRpb0J1ZmZlclJlcXVlc3QSFQoNc291cmNlX2hhbmRsZRgBIAIoBCIaChhDbGVhckF1ZGlvQnVmZmVyUmVzcG9uc2UiGgoYTmV3QXVkaW9SZXNhbXBsZXJSZXF1ZXN0IlIKGU5ld0F1ZGlvUmVzYW1wbGVyUmVzcG9uc2USNQoJcmVzYW1wbGVyGAEgAigLMiIubGl2ZWtpdC5wcm90by5Pd25lZEF1ZGlvUmVzYW1wbGVyIpMBChdSZW1peEFuZFJlc2FtcGxlUmVxdWVzdBIYChByZXNhbXBsZXJfaGFuZGxlGAEgAigEEjMKBmJ1ZmZlchgCIAIoCzIjLmxpdmVraXQucHJvdG8uQXVkaW9GcmFtZUJ1ZmZlckluZm8SFAoMbnVtX2NoYW5uZWxzGAMgAigNEhMKC3NhbXBsZV9yYXRlGAQgAigNIlAKGFJlbWl4QW5kUmVzYW1wbGVSZXNwb25zZRI0CgZidWZmZXIYASACKAsyJC5saXZla2l0LnByb3RvLk93bmVkQXVkaW9GcmFtZUJ1ZmZlciKcAgoWTmV3U294UmVzYW1wbGVyUmVxdWVzdBISCgppbnB1dF9yYXRlGAEgAigBEhMKC291dHB1dF9yYXRlGAIgAigBEhQKDG51bV9jaGFubmVscxgDIAIoDRI8Cg9pbnB1dF9kYXRhX3R5cGUYBCACKA4yIy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckRhdGFUeXBlEj0KEG91dHB1dF9kYXRhX3R5cGUYBSACKA4yIy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckRhdGFUeXBlEjcKDnF1YWxpdHlfcmVjaXBlGAYgAigOMh8ubGl2ZWtpdC5wcm90by5Tb3hRdWFsaXR5UmVjaXBlEg0KBWZsYWdzGAcgAigNImwKF05ld1NveFJlc2FtcGxlclJlc3BvbnNlEjUKCXJlc2FtcGxlchgBIAEoCzIgLmxpdmVraXQucHJvdG8uT3duZWRTb3hSZXNhbXBsZXJIABIPCgVlcnJvchgCIAEoCUgAQgkKB21lc3NhZ2UiUwoXUHVzaFNveFJlc2FtcGxlclJlcXVlc3QSGAoQcmVzYW1wbGVyX2hhbmRsZRgBIAIoBBIQCghkYXRhX3B0chgCIAIoBBIMCgRzaXplGAMgAigNIksKGFB1c2hTb3hSZXNhbXBsZXJSZXNwb25zZRISCgpvdXRwdXRfcHRyGAEgAigEEgwKBHNpemUYAiACKA0SDQoFZXJyb3IYAyABKAkiNAoYRmx1c2hTb3hSZXNhbXBsZXJSZXF1ZXN0EhgKEHJlc2FtcGxlcl9oYW5kbGUYASACKAQiTAoZRmx1c2hTb3hSZXNhbXBsZXJSZXNwb25zZRISCgpvdXRwdXRfcHRyGAEgAigEEgwKBHNpemUYAiACKA0SDQoFZXJyb3IYAyABKAkicAoUQXVkaW9GcmFtZUJ1ZmZlckluZm8SEAoIZGF0YV9wdHIYASACKAQSFAoMbnVtX2NoYW5uZWxzGAIgAigNEhMKC3NhbXBsZV9yYXRlGAMgAigNEhsKE3NhbXBsZXNfcGVyX2NoYW5uZWwYBCACKA0ieQoVT3duZWRBdWRpb0ZyYW1lQnVmZmVyEi0KBmhhbmRsZRgBIAIoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUSMQoEaW5mbxgCIAIoCzIjLmxpdmVraXQucHJvdG8uQXVkaW9GcmFtZUJ1ZmZlckluZm8iPwoPQXVkaW9TdHJlYW1JbmZvEiwKBHR5cGUYASACKA4yHi5saXZla2l0LnByb3RvLkF1ZGlvU3RyZWFtVHlwZSJvChBPd25lZEF1ZGlvU3RyZWFtEi0KBmhhbmRsZRgBIAIoCzIdLmxpdmVraXQucHJvdG8uRmZpT3duZWRIYW5kbGUSLAoEaW5mbxgCIAIoCzIeLmxpdmVraXQucHJvdG8uQXVkaW9TdHJlYW1JbmZvIp8BChBBdWRpb1N0cmVhbUV2ZW50EhUKDXN0cmVhbV9oYW5kbGUYASACKAQSOwoOZnJhbWVfcmVjZWl2ZWQYAiABKAsyIS5saXZla2l0LnByb3RvLkF1ZGlvRnJhbWVSZWNlaXZlZEgAEiwKA2VvcxgDIAEoCzIdLmxpdmVraXQucHJvdG8uQXVkaW9TdHJlYW1FT1NIAEIJCgdtZXNzYWdlIkkKEkF1ZGlvRnJhbWVSZWNlaXZlZBIzCgVmcmFtZRgBIAIoCzIkLmxpdmVraXQucHJvdG8uT3duZWRBdWRpb0ZyYW1lQnVmZmVyIhAKDkF1ZGlvU3RyZWFtRU9TImUKEkF1ZGlvU291cmNlT3B0aW9ucxIZChFlY2hvX2NhbmNlbGxhdGlvbhgBIAIoCBIZChFub2lzZV9zdXBwcmVzc2lvbhgCIAIoCBIZChFhdXRvX2dhaW5fY29udHJvbBgDIAIoCCI/Cg9BdWRpb1NvdXJjZUluZm8SLAoEdHlwZRgCIAIoDjIeLmxpdmVraXQucHJvdG8uQXVkaW9Tb3VyY2VUeXBlIm8KEE93bmVkQXVkaW9Tb3VyY2USLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIsCgRpbmZvGAIgAigLMh4ubGl2ZWtpdC5wcm90by5BdWRpb1NvdXJjZUluZm8iFAoSQXVkaW9SZXNhbXBsZXJJbmZvInUKE093bmVkQXVkaW9SZXNhbXBsZXISLQoGaGFuZGxlGAEgAigLMh0ubGl2ZWtpdC5wcm90by5GZmlPd25lZEhhbmRsZRIvCgRpbmZvGAIgAigLMiEubGl2ZWtpdC5wcm90by5BdWRpb1Jlc2FtcGxlckluZm8iEgoQU294UmVzYW1wbGVySW5mbyJxChFPd25lZFNveFJlc2FtcGxlchItCgZoYW5kbGUYASACKAsyHS5saXZla2l0LnByb3RvLkZmaU93bmVkSGFuZGxlEi0KBGluZm8YAiACKAsyHy5saXZla2l0LnByb3RvLlNveFJlc2FtcGxlckluZm8qSgoUU294UmVzYW1wbGVyRGF0YVR5cGUSGAoUU09YUl9EQVRBVFlQRV9JTlQxNkkQABIYChRTT1hSX0RBVEFUWVBFX0lOVDE2UxABKosBChBTb3hRdWFsaXR5UmVjaXBlEhYKElNPWFJfUVVBTElUWV9RVUlDSxAAEhQKEFNPWFJfUVVBTElUWV9MT1cQARIXChNTT1hSX1FVQUxJVFlfTUVESVVNEAISFQoRU09YUl9RVUFMSVRZX0hJR0gQAxIZChVTT1hSX1FVQUxJVFlfVkVSWUhJR0gQBCqXAQoLU294RmxhZ0JpdHMSFgoSU09YUl9ST0xMT0ZGX1NNQUxMEAASFwoTU09YUl9ST0xMT0ZGX01FRElVTRABEhUKEVNPWFJfUk9MTE9GRl9OT05FEAISGAoUU09YUl9ISUdIX1BSRUNfQ0xPQ0sQAxIZChVTT1hSX0RPVUJMRV9QUkVDSVNJT04QBBILCgdTT1hSX1ZSEAUqQQoPQXVkaW9TdHJlYW1UeXBlEhcKE0FVRElPX1NUUkVBTV9OQVRJVkUQABIVChFBVURJT19TVFJFQU1fSFRNTBABKioKD0F1ZGlvU291cmNlVHlwZRIXChNBVURJT19TT1VSQ0VfTkFUSVZFEABCEKoCDUxpdmVLaXQuUHJvdG8", [file_handle, file_track]);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message livekit.proto.NewAudioStreamRequest.
|
|
23
|
+
* Use `create(NewAudioStreamRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const NewAudioStreamRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 0);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message livekit.proto.NewAudioStreamResponse.
|
|
28
|
+
* Use `create(NewAudioStreamResponseSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const NewAudioStreamResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 1);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantRequest.
|
|
33
|
+
* Use `create(AudioStreamFromParticipantRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const AudioStreamFromParticipantRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message livekit.proto.AudioStreamFromParticipantResponse.
|
|
38
|
+
* Use `create(AudioStreamFromParticipantResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const AudioStreamFromParticipantResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 3);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message livekit.proto.NewAudioSourceRequest.
|
|
43
|
+
* Use `create(NewAudioSourceRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const NewAudioSourceRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 4);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message livekit.proto.NewAudioSourceResponse.
|
|
48
|
+
* Use `create(NewAudioSourceResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const NewAudioSourceResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 5);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message livekit.proto.CaptureAudioFrameRequest.
|
|
53
|
+
* Use `create(CaptureAudioFrameRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const CaptureAudioFrameRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 6);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message livekit.proto.CaptureAudioFrameResponse.
|
|
58
|
+
* Use `create(CaptureAudioFrameResponseSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const CaptureAudioFrameResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 7);
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message livekit.proto.CaptureAudioFrameCallback.
|
|
63
|
+
* Use `create(CaptureAudioFrameCallbackSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const CaptureAudioFrameCallbackSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 8);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message livekit.proto.ClearAudioBufferRequest.
|
|
68
|
+
* Use `create(ClearAudioBufferRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const ClearAudioBufferRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 9);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message livekit.proto.ClearAudioBufferResponse.
|
|
73
|
+
* Use `create(ClearAudioBufferResponseSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const ClearAudioBufferResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 10);
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message livekit.proto.NewAudioResamplerRequest.
|
|
78
|
+
* Use `create(NewAudioResamplerRequestSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const NewAudioResamplerRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 11);
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message livekit.proto.NewAudioResamplerResponse.
|
|
83
|
+
* Use `create(NewAudioResamplerResponseSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const NewAudioResamplerResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 12);
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message livekit.proto.RemixAndResampleRequest.
|
|
88
|
+
* Use `create(RemixAndResampleRequestSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const RemixAndResampleRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 13);
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message livekit.proto.RemixAndResampleResponse.
|
|
93
|
+
* Use `create(RemixAndResampleResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const RemixAndResampleResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 14);
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message livekit.proto.NewSoxResamplerRequest.
|
|
98
|
+
* Use `create(NewSoxResamplerRequestSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const NewSoxResamplerRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 15);
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message livekit.proto.NewSoxResamplerResponse.
|
|
103
|
+
* Use `create(NewSoxResamplerResponseSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const NewSoxResamplerResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 16);
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message livekit.proto.PushSoxResamplerRequest.
|
|
108
|
+
* Use `create(PushSoxResamplerRequestSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const PushSoxResamplerRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 17);
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message livekit.proto.PushSoxResamplerResponse.
|
|
113
|
+
* Use `create(PushSoxResamplerResponseSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export const PushSoxResamplerResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 18);
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message livekit.proto.FlushSoxResamplerRequest.
|
|
118
|
+
* Use `create(FlushSoxResamplerRequestSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export const FlushSoxResamplerRequestSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 19);
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message livekit.proto.FlushSoxResamplerResponse.
|
|
123
|
+
* Use `create(FlushSoxResamplerResponseSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const FlushSoxResamplerResponseSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 20);
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message livekit.proto.AudioFrameBufferInfo.
|
|
128
|
+
* Use `create(AudioFrameBufferInfoSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const AudioFrameBufferInfoSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 21);
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message livekit.proto.OwnedAudioFrameBuffer.
|
|
133
|
+
* Use `create(OwnedAudioFrameBufferSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const OwnedAudioFrameBufferSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 22);
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message livekit.proto.AudioStreamInfo.
|
|
138
|
+
* Use `create(AudioStreamInfoSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const AudioStreamInfoSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 23);
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message livekit.proto.OwnedAudioStream.
|
|
143
|
+
* Use `create(OwnedAudioStreamSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const OwnedAudioStreamSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 24);
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message livekit.proto.AudioStreamEvent.
|
|
148
|
+
* Use `create(AudioStreamEventSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export const AudioStreamEventSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 25);
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message livekit.proto.AudioFrameReceived.
|
|
153
|
+
* Use `create(AudioFrameReceivedSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const AudioFrameReceivedSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 26);
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message livekit.proto.AudioStreamEOS.
|
|
158
|
+
* Use `create(AudioStreamEOSSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export const AudioStreamEOSSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 27);
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message livekit.proto.AudioSourceOptions.
|
|
163
|
+
* Use `create(AudioSourceOptionsSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export const AudioSourceOptionsSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 28);
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message livekit.proto.AudioSourceInfo.
|
|
168
|
+
* Use `create(AudioSourceInfoSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export const AudioSourceInfoSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 29);
|
|
171
|
+
/**
|
|
172
|
+
* Describes the message livekit.proto.OwnedAudioSource.
|
|
173
|
+
* Use `create(OwnedAudioSourceSchema)` to create a new message.
|
|
174
|
+
*/
|
|
175
|
+
export const OwnedAudioSourceSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 30);
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message livekit.proto.AudioResamplerInfo.
|
|
178
|
+
* Use `create(AudioResamplerInfoSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export const AudioResamplerInfoSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 31);
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message livekit.proto.OwnedAudioResampler.
|
|
183
|
+
* Use `create(OwnedAudioResamplerSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const OwnedAudioResamplerSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 32);
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message livekit.proto.SoxResamplerInfo.
|
|
188
|
+
* Use `create(SoxResamplerInfoSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export const SoxResamplerInfoSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 33);
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message livekit.proto.OwnedSoxResampler.
|
|
193
|
+
* Use `create(OwnedSoxResamplerSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export const OwnedSoxResamplerSchema = /*@__PURE__*/ messageDesc(file_audio_frame, 34);
|
|
17
196
|
/**
|
|
18
197
|
* @generated from enum livekit.proto.SoxResamplerDataType
|
|
19
198
|
*/
|
|
@@ -30,11 +209,10 @@ export var SoxResamplerDataType;
|
|
|
30
209
|
*/
|
|
31
210
|
SoxResamplerDataType[SoxResamplerDataType["SOXR_DATATYPE_INT16S"] = 1] = "SOXR_DATATYPE_INT16S";
|
|
32
211
|
})(SoxResamplerDataType || (SoxResamplerDataType = {}));
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
]);
|
|
212
|
+
/**
|
|
213
|
+
* Describes the enum livekit.proto.SoxResamplerDataType.
|
|
214
|
+
*/
|
|
215
|
+
export const SoxResamplerDataTypeSchema = /*@__PURE__*/ enumDesc(file_audio_frame, 0);
|
|
38
216
|
/**
|
|
39
217
|
* @generated from enum livekit.proto.SoxQualityRecipe
|
|
40
218
|
*/
|
|
@@ -61,14 +239,10 @@ export var SoxQualityRecipe;
|
|
|
61
239
|
*/
|
|
62
240
|
SoxQualityRecipe[SoxQualityRecipe["SOXR_QUALITY_VERYHIGH"] = 4] = "SOXR_QUALITY_VERYHIGH";
|
|
63
241
|
})(SoxQualityRecipe || (SoxQualityRecipe = {}));
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{ no: 2, name: "SOXR_QUALITY_MEDIUM" },
|
|
69
|
-
{ no: 3, name: "SOXR_QUALITY_HIGH" },
|
|
70
|
-
{ no: 4, name: "SOXR_QUALITY_VERYHIGH" },
|
|
71
|
-
]);
|
|
242
|
+
/**
|
|
243
|
+
* Describes the enum livekit.proto.SoxQualityRecipe.
|
|
244
|
+
*/
|
|
245
|
+
export const SoxQualityRecipeSchema = /*@__PURE__*/ enumDesc(file_audio_frame, 1);
|
|
72
246
|
/**
|
|
73
247
|
* @generated from enum livekit.proto.SoxFlagBits
|
|
74
248
|
*/
|
|
@@ -111,15 +285,10 @@ export var SoxFlagBits;
|
|
|
111
285
|
*/
|
|
112
286
|
SoxFlagBits[SoxFlagBits["SOXR_VR"] = 5] = "SOXR_VR";
|
|
113
287
|
})(SoxFlagBits || (SoxFlagBits = {}));
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
{ no: 2, name: "SOXR_ROLLOFF_NONE" },
|
|
119
|
-
{ no: 3, name: "SOXR_HIGH_PREC_CLOCK" },
|
|
120
|
-
{ no: 4, name: "SOXR_DOUBLE_PRECISION" },
|
|
121
|
-
{ no: 5, name: "SOXR_VR" },
|
|
122
|
-
]);
|
|
288
|
+
/**
|
|
289
|
+
* Describes the enum livekit.proto.SoxFlagBits.
|
|
290
|
+
*/
|
|
291
|
+
export const SoxFlagBitsSchema = /*@__PURE__*/ enumDesc(file_audio_frame, 2);
|
|
123
292
|
/**
|
|
124
293
|
* @generated from enum livekit.proto.AudioStreamType
|
|
125
294
|
*/
|
|
@@ -134,11 +303,10 @@ export var AudioStreamType;
|
|
|
134
303
|
*/
|
|
135
304
|
AudioStreamType[AudioStreamType["AUDIO_STREAM_HTML"] = 1] = "AUDIO_STREAM_HTML";
|
|
136
305
|
})(AudioStreamType || (AudioStreamType = {}));
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
]);
|
|
306
|
+
/**
|
|
307
|
+
* Describes the enum livekit.proto.AudioStreamType.
|
|
308
|
+
*/
|
|
309
|
+
export const AudioStreamTypeSchema = /*@__PURE__*/ enumDesc(file_audio_frame, 3);
|
|
142
310
|
/**
|
|
143
311
|
* @generated from enum livekit.proto.AudioSourceType
|
|
144
312
|
*/
|
|
@@ -149,1155 +317,8 @@ export var AudioSourceType;
|
|
|
149
317
|
*/
|
|
150
318
|
AudioSourceType[AudioSourceType["AUDIO_SOURCE_NATIVE"] = 0] = "AUDIO_SOURCE_NATIVE";
|
|
151
319
|
})(AudioSourceType || (AudioSourceType = {}));
|
|
152
|
-
// Retrieve enum metadata with: proto3.getEnumType(AudioSourceType)
|
|
153
|
-
proto3.util.setEnumType(AudioSourceType, "livekit.proto.AudioSourceType", [
|
|
154
|
-
{ no: 0, name: "AUDIO_SOURCE_NATIVE" },
|
|
155
|
-
]);
|
|
156
|
-
/**
|
|
157
|
-
* Create a new AudioStream
|
|
158
|
-
* AudioStream is used to receive audio frames from a track
|
|
159
|
-
*
|
|
160
|
-
* @generated from message livekit.proto.NewAudioStreamRequest
|
|
161
|
-
*/
|
|
162
|
-
export class NewAudioStreamRequest extends Message {
|
|
163
|
-
constructor(data) {
|
|
164
|
-
super();
|
|
165
|
-
/**
|
|
166
|
-
* @generated from field: uint64 track_handle = 1;
|
|
167
|
-
*/
|
|
168
|
-
this.trackHandle = protoInt64.zero;
|
|
169
|
-
/**
|
|
170
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
171
|
-
*/
|
|
172
|
-
this.type = AudioStreamType.AUDIO_STREAM_NATIVE;
|
|
173
|
-
/**
|
|
174
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
175
|
-
*/
|
|
176
|
-
this.sampleRate = 0;
|
|
177
|
-
/**
|
|
178
|
-
* @generated from field: uint32 num_channels = 4;
|
|
179
|
-
*/
|
|
180
|
-
this.numChannels = 0;
|
|
181
|
-
proto3.util.initPartial(data, this);
|
|
182
|
-
}
|
|
183
|
-
static fromBinary(bytes, options) {
|
|
184
|
-
return new NewAudioStreamRequest().fromBinary(bytes, options);
|
|
185
|
-
}
|
|
186
|
-
static fromJson(jsonValue, options) {
|
|
187
|
-
return new NewAudioStreamRequest().fromJson(jsonValue, options);
|
|
188
|
-
}
|
|
189
|
-
static fromJsonString(jsonString, options) {
|
|
190
|
-
return new NewAudioStreamRequest().fromJsonString(jsonString, options);
|
|
191
|
-
}
|
|
192
|
-
static equals(a, b) {
|
|
193
|
-
return proto3.util.equals(NewAudioStreamRequest, a, b);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
NewAudioStreamRequest.runtime = proto3;
|
|
197
|
-
NewAudioStreamRequest.typeName = "livekit.proto.NewAudioStreamRequest";
|
|
198
|
-
NewAudioStreamRequest.fields = proto3.util.newFieldList(() => [
|
|
199
|
-
{ no: 1, name: "track_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
200
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AudioStreamType) },
|
|
201
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
202
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
203
|
-
]);
|
|
204
|
-
/**
|
|
205
|
-
* @generated from message livekit.proto.NewAudioStreamResponse
|
|
206
|
-
*/
|
|
207
|
-
export class NewAudioStreamResponse extends Message {
|
|
208
|
-
constructor(data) {
|
|
209
|
-
super();
|
|
210
|
-
proto3.util.initPartial(data, this);
|
|
211
|
-
}
|
|
212
|
-
static fromBinary(bytes, options) {
|
|
213
|
-
return new NewAudioStreamResponse().fromBinary(bytes, options);
|
|
214
|
-
}
|
|
215
|
-
static fromJson(jsonValue, options) {
|
|
216
|
-
return new NewAudioStreamResponse().fromJson(jsonValue, options);
|
|
217
|
-
}
|
|
218
|
-
static fromJsonString(jsonString, options) {
|
|
219
|
-
return new NewAudioStreamResponse().fromJsonString(jsonString, options);
|
|
220
|
-
}
|
|
221
|
-
static equals(a, b) {
|
|
222
|
-
return proto3.util.equals(NewAudioStreamResponse, a, b);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
NewAudioStreamResponse.runtime = proto3;
|
|
226
|
-
NewAudioStreamResponse.typeName = "livekit.proto.NewAudioStreamResponse";
|
|
227
|
-
NewAudioStreamResponse.fields = proto3.util.newFieldList(() => [
|
|
228
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream },
|
|
229
|
-
]);
|
|
230
|
-
/**
|
|
231
|
-
* @generated from message livekit.proto.AudioStreamFromParticipantRequest
|
|
232
|
-
*/
|
|
233
|
-
export class AudioStreamFromParticipantRequest extends Message {
|
|
234
|
-
constructor(data) {
|
|
235
|
-
super();
|
|
236
|
-
/**
|
|
237
|
-
* @generated from field: uint64 participant_handle = 1;
|
|
238
|
-
*/
|
|
239
|
-
this.participantHandle = protoInt64.zero;
|
|
240
|
-
/**
|
|
241
|
-
* @generated from field: livekit.proto.AudioStreamType type = 2;
|
|
242
|
-
*/
|
|
243
|
-
this.type = AudioStreamType.AUDIO_STREAM_NATIVE;
|
|
244
|
-
/**
|
|
245
|
-
* @generated from field: uint32 sample_rate = 5;
|
|
246
|
-
*/
|
|
247
|
-
this.sampleRate = 0;
|
|
248
|
-
/**
|
|
249
|
-
* @generated from field: uint32 num_channels = 6;
|
|
250
|
-
*/
|
|
251
|
-
this.numChannels = 0;
|
|
252
|
-
proto3.util.initPartial(data, this);
|
|
253
|
-
}
|
|
254
|
-
static fromBinary(bytes, options) {
|
|
255
|
-
return new AudioStreamFromParticipantRequest().fromBinary(bytes, options);
|
|
256
|
-
}
|
|
257
|
-
static fromJson(jsonValue, options) {
|
|
258
|
-
return new AudioStreamFromParticipantRequest().fromJson(jsonValue, options);
|
|
259
|
-
}
|
|
260
|
-
static fromJsonString(jsonString, options) {
|
|
261
|
-
return new AudioStreamFromParticipantRequest().fromJsonString(jsonString, options);
|
|
262
|
-
}
|
|
263
|
-
static equals(a, b) {
|
|
264
|
-
return proto3.util.equals(AudioStreamFromParticipantRequest, a, b);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
AudioStreamFromParticipantRequest.runtime = proto3;
|
|
268
|
-
AudioStreamFromParticipantRequest.typeName = "livekit.proto.AudioStreamFromParticipantRequest";
|
|
269
|
-
AudioStreamFromParticipantRequest.fields = proto3.util.newFieldList(() => [
|
|
270
|
-
{ no: 1, name: "participant_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
271
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AudioStreamType) },
|
|
272
|
-
{ no: 3, name: "track_source", kind: "enum", T: proto3.getEnumType(TrackSource), opt: true },
|
|
273
|
-
{ no: 5, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
274
|
-
{ no: 6, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
275
|
-
]);
|
|
276
|
-
/**
|
|
277
|
-
* @generated from message livekit.proto.AudioStreamFromParticipantResponse
|
|
278
|
-
*/
|
|
279
|
-
export class AudioStreamFromParticipantResponse extends Message {
|
|
280
|
-
constructor(data) {
|
|
281
|
-
super();
|
|
282
|
-
proto3.util.initPartial(data, this);
|
|
283
|
-
}
|
|
284
|
-
static fromBinary(bytes, options) {
|
|
285
|
-
return new AudioStreamFromParticipantResponse().fromBinary(bytes, options);
|
|
286
|
-
}
|
|
287
|
-
static fromJson(jsonValue, options) {
|
|
288
|
-
return new AudioStreamFromParticipantResponse().fromJson(jsonValue, options);
|
|
289
|
-
}
|
|
290
|
-
static fromJsonString(jsonString, options) {
|
|
291
|
-
return new AudioStreamFromParticipantResponse().fromJsonString(jsonString, options);
|
|
292
|
-
}
|
|
293
|
-
static equals(a, b) {
|
|
294
|
-
return proto3.util.equals(AudioStreamFromParticipantResponse, a, b);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
AudioStreamFromParticipantResponse.runtime = proto3;
|
|
298
|
-
AudioStreamFromParticipantResponse.typeName = "livekit.proto.AudioStreamFromParticipantResponse";
|
|
299
|
-
AudioStreamFromParticipantResponse.fields = proto3.util.newFieldList(() => [
|
|
300
|
-
{ no: 1, name: "stream", kind: "message", T: OwnedAudioStream },
|
|
301
|
-
]);
|
|
302
|
-
/**
|
|
303
|
-
* Create a new AudioSource
|
|
304
|
-
*
|
|
305
|
-
* @generated from message livekit.proto.NewAudioSourceRequest
|
|
306
|
-
*/
|
|
307
|
-
export class NewAudioSourceRequest extends Message {
|
|
308
|
-
constructor(data) {
|
|
309
|
-
super();
|
|
310
|
-
/**
|
|
311
|
-
* @generated from field: livekit.proto.AudioSourceType type = 1;
|
|
312
|
-
*/
|
|
313
|
-
this.type = AudioSourceType.AUDIO_SOURCE_NATIVE;
|
|
314
|
-
/**
|
|
315
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
316
|
-
*/
|
|
317
|
-
this.sampleRate = 0;
|
|
318
|
-
/**
|
|
319
|
-
* @generated from field: uint32 num_channels = 4;
|
|
320
|
-
*/
|
|
321
|
-
this.numChannels = 0;
|
|
322
|
-
/**
|
|
323
|
-
* @generated from field: uint32 queue_size_ms = 5;
|
|
324
|
-
*/
|
|
325
|
-
this.queueSizeMs = 0;
|
|
326
|
-
proto3.util.initPartial(data, this);
|
|
327
|
-
}
|
|
328
|
-
static fromBinary(bytes, options) {
|
|
329
|
-
return new NewAudioSourceRequest().fromBinary(bytes, options);
|
|
330
|
-
}
|
|
331
|
-
static fromJson(jsonValue, options) {
|
|
332
|
-
return new NewAudioSourceRequest().fromJson(jsonValue, options);
|
|
333
|
-
}
|
|
334
|
-
static fromJsonString(jsonString, options) {
|
|
335
|
-
return new NewAudioSourceRequest().fromJsonString(jsonString, options);
|
|
336
|
-
}
|
|
337
|
-
static equals(a, b) {
|
|
338
|
-
return proto3.util.equals(NewAudioSourceRequest, a, b);
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
NewAudioSourceRequest.runtime = proto3;
|
|
342
|
-
NewAudioSourceRequest.typeName = "livekit.proto.NewAudioSourceRequest";
|
|
343
|
-
NewAudioSourceRequest.fields = proto3.util.newFieldList(() => [
|
|
344
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AudioSourceType) },
|
|
345
|
-
{ no: 2, name: "options", kind: "message", T: AudioSourceOptions, opt: true },
|
|
346
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
347
|
-
{ no: 4, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
348
|
-
{ no: 5, name: "queue_size_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
349
|
-
]);
|
|
350
|
-
/**
|
|
351
|
-
* @generated from message livekit.proto.NewAudioSourceResponse
|
|
352
|
-
*/
|
|
353
|
-
export class NewAudioSourceResponse extends Message {
|
|
354
|
-
constructor(data) {
|
|
355
|
-
super();
|
|
356
|
-
proto3.util.initPartial(data, this);
|
|
357
|
-
}
|
|
358
|
-
static fromBinary(bytes, options) {
|
|
359
|
-
return new NewAudioSourceResponse().fromBinary(bytes, options);
|
|
360
|
-
}
|
|
361
|
-
static fromJson(jsonValue, options) {
|
|
362
|
-
return new NewAudioSourceResponse().fromJson(jsonValue, options);
|
|
363
|
-
}
|
|
364
|
-
static fromJsonString(jsonString, options) {
|
|
365
|
-
return new NewAudioSourceResponse().fromJsonString(jsonString, options);
|
|
366
|
-
}
|
|
367
|
-
static equals(a, b) {
|
|
368
|
-
return proto3.util.equals(NewAudioSourceResponse, a, b);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
NewAudioSourceResponse.runtime = proto3;
|
|
372
|
-
NewAudioSourceResponse.typeName = "livekit.proto.NewAudioSourceResponse";
|
|
373
|
-
NewAudioSourceResponse.fields = proto3.util.newFieldList(() => [
|
|
374
|
-
{ no: 1, name: "source", kind: "message", T: OwnedAudioSource },
|
|
375
|
-
]);
|
|
376
|
-
/**
|
|
377
|
-
* Push a frame to an AudioSource
|
|
378
|
-
* The data provided must be available as long as the client receive the callback.
|
|
379
|
-
*
|
|
380
|
-
* @generated from message livekit.proto.CaptureAudioFrameRequest
|
|
381
|
-
*/
|
|
382
|
-
export class CaptureAudioFrameRequest extends Message {
|
|
383
|
-
constructor(data) {
|
|
384
|
-
super();
|
|
385
|
-
/**
|
|
386
|
-
* @generated from field: uint64 source_handle = 1;
|
|
387
|
-
*/
|
|
388
|
-
this.sourceHandle = protoInt64.zero;
|
|
389
|
-
proto3.util.initPartial(data, this);
|
|
390
|
-
}
|
|
391
|
-
static fromBinary(bytes, options) {
|
|
392
|
-
return new CaptureAudioFrameRequest().fromBinary(bytes, options);
|
|
393
|
-
}
|
|
394
|
-
static fromJson(jsonValue, options) {
|
|
395
|
-
return new CaptureAudioFrameRequest().fromJson(jsonValue, options);
|
|
396
|
-
}
|
|
397
|
-
static fromJsonString(jsonString, options) {
|
|
398
|
-
return new CaptureAudioFrameRequest().fromJsonString(jsonString, options);
|
|
399
|
-
}
|
|
400
|
-
static equals(a, b) {
|
|
401
|
-
return proto3.util.equals(CaptureAudioFrameRequest, a, b);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
CaptureAudioFrameRequest.runtime = proto3;
|
|
405
|
-
CaptureAudioFrameRequest.typeName = "livekit.proto.CaptureAudioFrameRequest";
|
|
406
|
-
CaptureAudioFrameRequest.fields = proto3.util.newFieldList(() => [
|
|
407
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
408
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo },
|
|
409
|
-
]);
|
|
410
|
-
/**
|
|
411
|
-
* @generated from message livekit.proto.CaptureAudioFrameResponse
|
|
412
|
-
*/
|
|
413
|
-
export class CaptureAudioFrameResponse extends Message {
|
|
414
|
-
constructor(data) {
|
|
415
|
-
super();
|
|
416
|
-
/**
|
|
417
|
-
* @generated from field: uint64 async_id = 1;
|
|
418
|
-
*/
|
|
419
|
-
this.asyncId = protoInt64.zero;
|
|
420
|
-
proto3.util.initPartial(data, this);
|
|
421
|
-
}
|
|
422
|
-
static fromBinary(bytes, options) {
|
|
423
|
-
return new CaptureAudioFrameResponse().fromBinary(bytes, options);
|
|
424
|
-
}
|
|
425
|
-
static fromJson(jsonValue, options) {
|
|
426
|
-
return new CaptureAudioFrameResponse().fromJson(jsonValue, options);
|
|
427
|
-
}
|
|
428
|
-
static fromJsonString(jsonString, options) {
|
|
429
|
-
return new CaptureAudioFrameResponse().fromJsonString(jsonString, options);
|
|
430
|
-
}
|
|
431
|
-
static equals(a, b) {
|
|
432
|
-
return proto3.util.equals(CaptureAudioFrameResponse, a, b);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
CaptureAudioFrameResponse.runtime = proto3;
|
|
436
|
-
CaptureAudioFrameResponse.typeName = "livekit.proto.CaptureAudioFrameResponse";
|
|
437
|
-
CaptureAudioFrameResponse.fields = proto3.util.newFieldList(() => [
|
|
438
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
439
|
-
]);
|
|
440
|
-
/**
|
|
441
|
-
* @generated from message livekit.proto.CaptureAudioFrameCallback
|
|
442
|
-
*/
|
|
443
|
-
export class CaptureAudioFrameCallback extends Message {
|
|
444
|
-
constructor(data) {
|
|
445
|
-
super();
|
|
446
|
-
/**
|
|
447
|
-
* @generated from field: uint64 async_id = 1;
|
|
448
|
-
*/
|
|
449
|
-
this.asyncId = protoInt64.zero;
|
|
450
|
-
proto3.util.initPartial(data, this);
|
|
451
|
-
}
|
|
452
|
-
static fromBinary(bytes, options) {
|
|
453
|
-
return new CaptureAudioFrameCallback().fromBinary(bytes, options);
|
|
454
|
-
}
|
|
455
|
-
static fromJson(jsonValue, options) {
|
|
456
|
-
return new CaptureAudioFrameCallback().fromJson(jsonValue, options);
|
|
457
|
-
}
|
|
458
|
-
static fromJsonString(jsonString, options) {
|
|
459
|
-
return new CaptureAudioFrameCallback().fromJsonString(jsonString, options);
|
|
460
|
-
}
|
|
461
|
-
static equals(a, b) {
|
|
462
|
-
return proto3.util.equals(CaptureAudioFrameCallback, a, b);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
CaptureAudioFrameCallback.runtime = proto3;
|
|
466
|
-
CaptureAudioFrameCallback.typeName = "livekit.proto.CaptureAudioFrameCallback";
|
|
467
|
-
CaptureAudioFrameCallback.fields = proto3.util.newFieldList(() => [
|
|
468
|
-
{ no: 1, name: "async_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
469
|
-
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
470
|
-
]);
|
|
471
|
-
/**
|
|
472
|
-
* @generated from message livekit.proto.ClearAudioBufferRequest
|
|
473
|
-
*/
|
|
474
|
-
export class ClearAudioBufferRequest extends Message {
|
|
475
|
-
constructor(data) {
|
|
476
|
-
super();
|
|
477
|
-
/**
|
|
478
|
-
* @generated from field: uint64 source_handle = 1;
|
|
479
|
-
*/
|
|
480
|
-
this.sourceHandle = protoInt64.zero;
|
|
481
|
-
proto3.util.initPartial(data, this);
|
|
482
|
-
}
|
|
483
|
-
static fromBinary(bytes, options) {
|
|
484
|
-
return new ClearAudioBufferRequest().fromBinary(bytes, options);
|
|
485
|
-
}
|
|
486
|
-
static fromJson(jsonValue, options) {
|
|
487
|
-
return new ClearAudioBufferRequest().fromJson(jsonValue, options);
|
|
488
|
-
}
|
|
489
|
-
static fromJsonString(jsonString, options) {
|
|
490
|
-
return new ClearAudioBufferRequest().fromJsonString(jsonString, options);
|
|
491
|
-
}
|
|
492
|
-
static equals(a, b) {
|
|
493
|
-
return proto3.util.equals(ClearAudioBufferRequest, a, b);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
ClearAudioBufferRequest.runtime = proto3;
|
|
497
|
-
ClearAudioBufferRequest.typeName = "livekit.proto.ClearAudioBufferRequest";
|
|
498
|
-
ClearAudioBufferRequest.fields = proto3.util.newFieldList(() => [
|
|
499
|
-
{ no: 1, name: "source_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
500
|
-
]);
|
|
501
|
-
/**
|
|
502
|
-
* @generated from message livekit.proto.ClearAudioBufferResponse
|
|
503
|
-
*/
|
|
504
|
-
export class ClearAudioBufferResponse extends Message {
|
|
505
|
-
constructor(data) {
|
|
506
|
-
super();
|
|
507
|
-
proto3.util.initPartial(data, this);
|
|
508
|
-
}
|
|
509
|
-
static fromBinary(bytes, options) {
|
|
510
|
-
return new ClearAudioBufferResponse().fromBinary(bytes, options);
|
|
511
|
-
}
|
|
512
|
-
static fromJson(jsonValue, options) {
|
|
513
|
-
return new ClearAudioBufferResponse().fromJson(jsonValue, options);
|
|
514
|
-
}
|
|
515
|
-
static fromJsonString(jsonString, options) {
|
|
516
|
-
return new ClearAudioBufferResponse().fromJsonString(jsonString, options);
|
|
517
|
-
}
|
|
518
|
-
static equals(a, b) {
|
|
519
|
-
return proto3.util.equals(ClearAudioBufferResponse, a, b);
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
ClearAudioBufferResponse.runtime = proto3;
|
|
523
|
-
ClearAudioBufferResponse.typeName = "livekit.proto.ClearAudioBufferResponse";
|
|
524
|
-
ClearAudioBufferResponse.fields = proto3.util.newFieldList(() => []);
|
|
525
|
-
/**
|
|
526
|
-
* Create a new AudioResampler
|
|
527
|
-
*
|
|
528
|
-
* @generated from message livekit.proto.NewAudioResamplerRequest
|
|
529
|
-
*/
|
|
530
|
-
export class NewAudioResamplerRequest extends Message {
|
|
531
|
-
constructor(data) {
|
|
532
|
-
super();
|
|
533
|
-
proto3.util.initPartial(data, this);
|
|
534
|
-
}
|
|
535
|
-
static fromBinary(bytes, options) {
|
|
536
|
-
return new NewAudioResamplerRequest().fromBinary(bytes, options);
|
|
537
|
-
}
|
|
538
|
-
static fromJson(jsonValue, options) {
|
|
539
|
-
return new NewAudioResamplerRequest().fromJson(jsonValue, options);
|
|
540
|
-
}
|
|
541
|
-
static fromJsonString(jsonString, options) {
|
|
542
|
-
return new NewAudioResamplerRequest().fromJsonString(jsonString, options);
|
|
543
|
-
}
|
|
544
|
-
static equals(a, b) {
|
|
545
|
-
return proto3.util.equals(NewAudioResamplerRequest, a, b);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
NewAudioResamplerRequest.runtime = proto3;
|
|
549
|
-
NewAudioResamplerRequest.typeName = "livekit.proto.NewAudioResamplerRequest";
|
|
550
|
-
NewAudioResamplerRequest.fields = proto3.util.newFieldList(() => []);
|
|
551
|
-
/**
|
|
552
|
-
* @generated from message livekit.proto.NewAudioResamplerResponse
|
|
553
|
-
*/
|
|
554
|
-
export class NewAudioResamplerResponse extends Message {
|
|
555
|
-
constructor(data) {
|
|
556
|
-
super();
|
|
557
|
-
proto3.util.initPartial(data, this);
|
|
558
|
-
}
|
|
559
|
-
static fromBinary(bytes, options) {
|
|
560
|
-
return new NewAudioResamplerResponse().fromBinary(bytes, options);
|
|
561
|
-
}
|
|
562
|
-
static fromJson(jsonValue, options) {
|
|
563
|
-
return new NewAudioResamplerResponse().fromJson(jsonValue, options);
|
|
564
|
-
}
|
|
565
|
-
static fromJsonString(jsonString, options) {
|
|
566
|
-
return new NewAudioResamplerResponse().fromJsonString(jsonString, options);
|
|
567
|
-
}
|
|
568
|
-
static equals(a, b) {
|
|
569
|
-
return proto3.util.equals(NewAudioResamplerResponse, a, b);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
NewAudioResamplerResponse.runtime = proto3;
|
|
573
|
-
NewAudioResamplerResponse.typeName = "livekit.proto.NewAudioResamplerResponse";
|
|
574
|
-
NewAudioResamplerResponse.fields = proto3.util.newFieldList(() => [
|
|
575
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedAudioResampler },
|
|
576
|
-
]);
|
|
577
|
-
/**
|
|
578
|
-
* Remix and resample an audio frame
|
|
579
|
-
*
|
|
580
|
-
* @generated from message livekit.proto.RemixAndResampleRequest
|
|
581
|
-
*/
|
|
582
|
-
export class RemixAndResampleRequest extends Message {
|
|
583
|
-
constructor(data) {
|
|
584
|
-
super();
|
|
585
|
-
/**
|
|
586
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
587
|
-
*/
|
|
588
|
-
this.resamplerHandle = protoInt64.zero;
|
|
589
|
-
/**
|
|
590
|
-
* @generated from field: uint32 num_channels = 3;
|
|
591
|
-
*/
|
|
592
|
-
this.numChannels = 0;
|
|
593
|
-
/**
|
|
594
|
-
* @generated from field: uint32 sample_rate = 4;
|
|
595
|
-
*/
|
|
596
|
-
this.sampleRate = 0;
|
|
597
|
-
proto3.util.initPartial(data, this);
|
|
598
|
-
}
|
|
599
|
-
static fromBinary(bytes, options) {
|
|
600
|
-
return new RemixAndResampleRequest().fromBinary(bytes, options);
|
|
601
|
-
}
|
|
602
|
-
static fromJson(jsonValue, options) {
|
|
603
|
-
return new RemixAndResampleRequest().fromJson(jsonValue, options);
|
|
604
|
-
}
|
|
605
|
-
static fromJsonString(jsonString, options) {
|
|
606
|
-
return new RemixAndResampleRequest().fromJsonString(jsonString, options);
|
|
607
|
-
}
|
|
608
|
-
static equals(a, b) {
|
|
609
|
-
return proto3.util.equals(RemixAndResampleRequest, a, b);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
RemixAndResampleRequest.runtime = proto3;
|
|
613
|
-
RemixAndResampleRequest.typeName = "livekit.proto.RemixAndResampleRequest";
|
|
614
|
-
RemixAndResampleRequest.fields = proto3.util.newFieldList(() => [
|
|
615
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
616
|
-
{ no: 2, name: "buffer", kind: "message", T: AudioFrameBufferInfo },
|
|
617
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
618
|
-
{ no: 4, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
619
|
-
]);
|
|
620
|
-
/**
|
|
621
|
-
* @generated from message livekit.proto.RemixAndResampleResponse
|
|
622
|
-
*/
|
|
623
|
-
export class RemixAndResampleResponse extends Message {
|
|
624
|
-
constructor(data) {
|
|
625
|
-
super();
|
|
626
|
-
proto3.util.initPartial(data, this);
|
|
627
|
-
}
|
|
628
|
-
static fromBinary(bytes, options) {
|
|
629
|
-
return new RemixAndResampleResponse().fromBinary(bytes, options);
|
|
630
|
-
}
|
|
631
|
-
static fromJson(jsonValue, options) {
|
|
632
|
-
return new RemixAndResampleResponse().fromJson(jsonValue, options);
|
|
633
|
-
}
|
|
634
|
-
static fromJsonString(jsonString, options) {
|
|
635
|
-
return new RemixAndResampleResponse().fromJsonString(jsonString, options);
|
|
636
|
-
}
|
|
637
|
-
static equals(a, b) {
|
|
638
|
-
return proto3.util.equals(RemixAndResampleResponse, a, b);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
RemixAndResampleResponse.runtime = proto3;
|
|
642
|
-
RemixAndResampleResponse.typeName = "livekit.proto.RemixAndResampleResponse";
|
|
643
|
-
RemixAndResampleResponse.fields = proto3.util.newFieldList(() => [
|
|
644
|
-
{ no: 1, name: "buffer", kind: "message", T: OwnedAudioFrameBuffer },
|
|
645
|
-
]);
|
|
646
|
-
/**
|
|
647
|
-
* @generated from message livekit.proto.NewSoxResamplerRequest
|
|
648
|
-
*/
|
|
649
|
-
export class NewSoxResamplerRequest extends Message {
|
|
650
|
-
constructor(data) {
|
|
651
|
-
super();
|
|
652
|
-
/**
|
|
653
|
-
* @generated from field: double input_rate = 1;
|
|
654
|
-
*/
|
|
655
|
-
this.inputRate = 0;
|
|
656
|
-
/**
|
|
657
|
-
* @generated from field: double output_rate = 2;
|
|
658
|
-
*/
|
|
659
|
-
this.outputRate = 0;
|
|
660
|
-
/**
|
|
661
|
-
* @generated from field: uint32 num_channels = 3;
|
|
662
|
-
*/
|
|
663
|
-
this.numChannels = 0;
|
|
664
|
-
/**
|
|
665
|
-
* @generated from field: livekit.proto.SoxResamplerDataType input_data_type = 4;
|
|
666
|
-
*/
|
|
667
|
-
this.inputDataType = SoxResamplerDataType.SOXR_DATATYPE_INT16I;
|
|
668
|
-
/**
|
|
669
|
-
* @generated from field: livekit.proto.SoxResamplerDataType output_data_type = 5;
|
|
670
|
-
*/
|
|
671
|
-
this.outputDataType = SoxResamplerDataType.SOXR_DATATYPE_INT16I;
|
|
672
|
-
/**
|
|
673
|
-
* @generated from field: livekit.proto.SoxQualityRecipe quality_recipe = 6;
|
|
674
|
-
*/
|
|
675
|
-
this.qualityRecipe = SoxQualityRecipe.SOXR_QUALITY_QUICK;
|
|
676
|
-
/**
|
|
677
|
-
* @generated from field: uint32 flags = 7;
|
|
678
|
-
*/
|
|
679
|
-
this.flags = 0;
|
|
680
|
-
proto3.util.initPartial(data, this);
|
|
681
|
-
}
|
|
682
|
-
static fromBinary(bytes, options) {
|
|
683
|
-
return new NewSoxResamplerRequest().fromBinary(bytes, options);
|
|
684
|
-
}
|
|
685
|
-
static fromJson(jsonValue, options) {
|
|
686
|
-
return new NewSoxResamplerRequest().fromJson(jsonValue, options);
|
|
687
|
-
}
|
|
688
|
-
static fromJsonString(jsonString, options) {
|
|
689
|
-
return new NewSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
690
|
-
}
|
|
691
|
-
static equals(a, b) {
|
|
692
|
-
return proto3.util.equals(NewSoxResamplerRequest, a, b);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
NewSoxResamplerRequest.runtime = proto3;
|
|
696
|
-
NewSoxResamplerRequest.typeName = "livekit.proto.NewSoxResamplerRequest";
|
|
697
|
-
NewSoxResamplerRequest.fields = proto3.util.newFieldList(() => [
|
|
698
|
-
{ no: 1, name: "input_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
699
|
-
{ no: 2, name: "output_rate", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
700
|
-
{ no: 3, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
701
|
-
{ no: 4, name: "input_data_type", kind: "enum", T: proto3.getEnumType(SoxResamplerDataType) },
|
|
702
|
-
{ no: 5, name: "output_data_type", kind: "enum", T: proto3.getEnumType(SoxResamplerDataType) },
|
|
703
|
-
{ no: 6, name: "quality_recipe", kind: "enum", T: proto3.getEnumType(SoxQualityRecipe) },
|
|
704
|
-
{ no: 7, name: "flags", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
705
|
-
]);
|
|
706
|
-
/**
|
|
707
|
-
* @generated from message livekit.proto.NewSoxResamplerResponse
|
|
708
|
-
*/
|
|
709
|
-
export class NewSoxResamplerResponse extends Message {
|
|
710
|
-
constructor(data) {
|
|
711
|
-
super();
|
|
712
|
-
proto3.util.initPartial(data, this);
|
|
713
|
-
}
|
|
714
|
-
static fromBinary(bytes, options) {
|
|
715
|
-
return new NewSoxResamplerResponse().fromBinary(bytes, options);
|
|
716
|
-
}
|
|
717
|
-
static fromJson(jsonValue, options) {
|
|
718
|
-
return new NewSoxResamplerResponse().fromJson(jsonValue, options);
|
|
719
|
-
}
|
|
720
|
-
static fromJsonString(jsonString, options) {
|
|
721
|
-
return new NewSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
722
|
-
}
|
|
723
|
-
static equals(a, b) {
|
|
724
|
-
return proto3.util.equals(NewSoxResamplerResponse, a, b);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
NewSoxResamplerResponse.runtime = proto3;
|
|
728
|
-
NewSoxResamplerResponse.typeName = "livekit.proto.NewSoxResamplerResponse";
|
|
729
|
-
NewSoxResamplerResponse.fields = proto3.util.newFieldList(() => [
|
|
730
|
-
{ no: 1, name: "resampler", kind: "message", T: OwnedSoxResampler },
|
|
731
|
-
{ no: 2, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
732
|
-
]);
|
|
733
|
-
/**
|
|
734
|
-
* @generated from message livekit.proto.PushSoxResamplerRequest
|
|
735
|
-
*/
|
|
736
|
-
export class PushSoxResamplerRequest extends Message {
|
|
737
|
-
constructor(data) {
|
|
738
|
-
super();
|
|
739
|
-
/**
|
|
740
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
741
|
-
*/
|
|
742
|
-
this.resamplerHandle = protoInt64.zero;
|
|
743
|
-
/**
|
|
744
|
-
* *const i16
|
|
745
|
-
*
|
|
746
|
-
* @generated from field: uint64 data_ptr = 2;
|
|
747
|
-
*/
|
|
748
|
-
this.dataPtr = protoInt64.zero;
|
|
749
|
-
/**
|
|
750
|
-
* in bytes
|
|
751
|
-
*
|
|
752
|
-
* @generated from field: uint32 size = 3;
|
|
753
|
-
*/
|
|
754
|
-
this.size = 0;
|
|
755
|
-
proto3.util.initPartial(data, this);
|
|
756
|
-
}
|
|
757
|
-
static fromBinary(bytes, options) {
|
|
758
|
-
return new PushSoxResamplerRequest().fromBinary(bytes, options);
|
|
759
|
-
}
|
|
760
|
-
static fromJson(jsonValue, options) {
|
|
761
|
-
return new PushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
762
|
-
}
|
|
763
|
-
static fromJsonString(jsonString, options) {
|
|
764
|
-
return new PushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
765
|
-
}
|
|
766
|
-
static equals(a, b) {
|
|
767
|
-
return proto3.util.equals(PushSoxResamplerRequest, a, b);
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
PushSoxResamplerRequest.runtime = proto3;
|
|
771
|
-
PushSoxResamplerRequest.typeName = "livekit.proto.PushSoxResamplerRequest";
|
|
772
|
-
PushSoxResamplerRequest.fields = proto3.util.newFieldList(() => [
|
|
773
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
774
|
-
{ no: 2, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
775
|
-
{ no: 3, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
776
|
-
]);
|
|
777
|
-
/**
|
|
778
|
-
* @generated from message livekit.proto.PushSoxResamplerResponse
|
|
779
|
-
*/
|
|
780
|
-
export class PushSoxResamplerResponse extends Message {
|
|
781
|
-
constructor(data) {
|
|
782
|
-
super();
|
|
783
|
-
/**
|
|
784
|
-
* *const i16 (could be null)
|
|
785
|
-
*
|
|
786
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
787
|
-
*/
|
|
788
|
-
this.outputPtr = protoInt64.zero;
|
|
789
|
-
/**
|
|
790
|
-
* in bytes
|
|
791
|
-
*
|
|
792
|
-
* @generated from field: uint32 size = 2;
|
|
793
|
-
*/
|
|
794
|
-
this.size = 0;
|
|
795
|
-
proto3.util.initPartial(data, this);
|
|
796
|
-
}
|
|
797
|
-
static fromBinary(bytes, options) {
|
|
798
|
-
return new PushSoxResamplerResponse().fromBinary(bytes, options);
|
|
799
|
-
}
|
|
800
|
-
static fromJson(jsonValue, options) {
|
|
801
|
-
return new PushSoxResamplerResponse().fromJson(jsonValue, options);
|
|
802
|
-
}
|
|
803
|
-
static fromJsonString(jsonString, options) {
|
|
804
|
-
return new PushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
805
|
-
}
|
|
806
|
-
static equals(a, b) {
|
|
807
|
-
return proto3.util.equals(PushSoxResamplerResponse, a, b);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
PushSoxResamplerResponse.runtime = proto3;
|
|
811
|
-
PushSoxResamplerResponse.typeName = "livekit.proto.PushSoxResamplerResponse";
|
|
812
|
-
PushSoxResamplerResponse.fields = proto3.util.newFieldList(() => [
|
|
813
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
814
|
-
{ no: 2, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
815
|
-
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
816
|
-
]);
|
|
817
|
-
/**
|
|
818
|
-
* @generated from message livekit.proto.FlushSoxResamplerRequest
|
|
819
|
-
*/
|
|
820
|
-
export class FlushSoxResamplerRequest extends Message {
|
|
821
|
-
constructor(data) {
|
|
822
|
-
super();
|
|
823
|
-
/**
|
|
824
|
-
* @generated from field: uint64 resampler_handle = 1;
|
|
825
|
-
*/
|
|
826
|
-
this.resamplerHandle = protoInt64.zero;
|
|
827
|
-
proto3.util.initPartial(data, this);
|
|
828
|
-
}
|
|
829
|
-
static fromBinary(bytes, options) {
|
|
830
|
-
return new FlushSoxResamplerRequest().fromBinary(bytes, options);
|
|
831
|
-
}
|
|
832
|
-
static fromJson(jsonValue, options) {
|
|
833
|
-
return new FlushSoxResamplerRequest().fromJson(jsonValue, options);
|
|
834
|
-
}
|
|
835
|
-
static fromJsonString(jsonString, options) {
|
|
836
|
-
return new FlushSoxResamplerRequest().fromJsonString(jsonString, options);
|
|
837
|
-
}
|
|
838
|
-
static equals(a, b) {
|
|
839
|
-
return proto3.util.equals(FlushSoxResamplerRequest, a, b);
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
FlushSoxResamplerRequest.runtime = proto3;
|
|
843
|
-
FlushSoxResamplerRequest.typeName = "livekit.proto.FlushSoxResamplerRequest";
|
|
844
|
-
FlushSoxResamplerRequest.fields = proto3.util.newFieldList(() => [
|
|
845
|
-
{ no: 1, name: "resampler_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
846
|
-
]);
|
|
847
|
-
/**
|
|
848
|
-
* @generated from message livekit.proto.FlushSoxResamplerResponse
|
|
849
|
-
*/
|
|
850
|
-
export class FlushSoxResamplerResponse extends Message {
|
|
851
|
-
constructor(data) {
|
|
852
|
-
super();
|
|
853
|
-
/**
|
|
854
|
-
* *const i16 (could be null)
|
|
855
|
-
*
|
|
856
|
-
* @generated from field: uint64 output_ptr = 1;
|
|
857
|
-
*/
|
|
858
|
-
this.outputPtr = protoInt64.zero;
|
|
859
|
-
/**
|
|
860
|
-
* in bytes
|
|
861
|
-
*
|
|
862
|
-
* @generated from field: uint32 size = 2;
|
|
863
|
-
*/
|
|
864
|
-
this.size = 0;
|
|
865
|
-
proto3.util.initPartial(data, this);
|
|
866
|
-
}
|
|
867
|
-
static fromBinary(bytes, options) {
|
|
868
|
-
return new FlushSoxResamplerResponse().fromBinary(bytes, options);
|
|
869
|
-
}
|
|
870
|
-
static fromJson(jsonValue, options) {
|
|
871
|
-
return new FlushSoxResamplerResponse().fromJson(jsonValue, options);
|
|
872
|
-
}
|
|
873
|
-
static fromJsonString(jsonString, options) {
|
|
874
|
-
return new FlushSoxResamplerResponse().fromJsonString(jsonString, options);
|
|
875
|
-
}
|
|
876
|
-
static equals(a, b) {
|
|
877
|
-
return proto3.util.equals(FlushSoxResamplerResponse, a, b);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
FlushSoxResamplerResponse.runtime = proto3;
|
|
881
|
-
FlushSoxResamplerResponse.typeName = "livekit.proto.FlushSoxResamplerResponse";
|
|
882
|
-
FlushSoxResamplerResponse.fields = proto3.util.newFieldList(() => [
|
|
883
|
-
{ no: 1, name: "output_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
884
|
-
{ no: 2, name: "size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
885
|
-
{ no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
886
|
-
]);
|
|
887
|
-
/**
|
|
888
|
-
* @generated from message livekit.proto.AudioFrameBufferInfo
|
|
889
|
-
*/
|
|
890
|
-
export class AudioFrameBufferInfo extends Message {
|
|
891
|
-
constructor(data) {
|
|
892
|
-
super();
|
|
893
|
-
/**
|
|
894
|
-
* *const i16
|
|
895
|
-
*
|
|
896
|
-
* @generated from field: uint64 data_ptr = 1;
|
|
897
|
-
*/
|
|
898
|
-
this.dataPtr = protoInt64.zero;
|
|
899
|
-
/**
|
|
900
|
-
* @generated from field: uint32 num_channels = 2;
|
|
901
|
-
*/
|
|
902
|
-
this.numChannels = 0;
|
|
903
|
-
/**
|
|
904
|
-
* @generated from field: uint32 sample_rate = 3;
|
|
905
|
-
*/
|
|
906
|
-
this.sampleRate = 0;
|
|
907
|
-
/**
|
|
908
|
-
* @generated from field: uint32 samples_per_channel = 4;
|
|
909
|
-
*/
|
|
910
|
-
this.samplesPerChannel = 0;
|
|
911
|
-
proto3.util.initPartial(data, this);
|
|
912
|
-
}
|
|
913
|
-
static fromBinary(bytes, options) {
|
|
914
|
-
return new AudioFrameBufferInfo().fromBinary(bytes, options);
|
|
915
|
-
}
|
|
916
|
-
static fromJson(jsonValue, options) {
|
|
917
|
-
return new AudioFrameBufferInfo().fromJson(jsonValue, options);
|
|
918
|
-
}
|
|
919
|
-
static fromJsonString(jsonString, options) {
|
|
920
|
-
return new AudioFrameBufferInfo().fromJsonString(jsonString, options);
|
|
921
|
-
}
|
|
922
|
-
static equals(a, b) {
|
|
923
|
-
return proto3.util.equals(AudioFrameBufferInfo, a, b);
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
AudioFrameBufferInfo.runtime = proto3;
|
|
927
|
-
AudioFrameBufferInfo.typeName = "livekit.proto.AudioFrameBufferInfo";
|
|
928
|
-
AudioFrameBufferInfo.fields = proto3.util.newFieldList(() => [
|
|
929
|
-
{ no: 1, name: "data_ptr", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
930
|
-
{ no: 2, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
931
|
-
{ no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
932
|
-
{ no: 4, name: "samples_per_channel", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
933
|
-
]);
|
|
934
|
-
/**
|
|
935
|
-
* @generated from message livekit.proto.OwnedAudioFrameBuffer
|
|
936
|
-
*/
|
|
937
|
-
export class OwnedAudioFrameBuffer extends Message {
|
|
938
|
-
constructor(data) {
|
|
939
|
-
super();
|
|
940
|
-
proto3.util.initPartial(data, this);
|
|
941
|
-
}
|
|
942
|
-
static fromBinary(bytes, options) {
|
|
943
|
-
return new OwnedAudioFrameBuffer().fromBinary(bytes, options);
|
|
944
|
-
}
|
|
945
|
-
static fromJson(jsonValue, options) {
|
|
946
|
-
return new OwnedAudioFrameBuffer().fromJson(jsonValue, options);
|
|
947
|
-
}
|
|
948
|
-
static fromJsonString(jsonString, options) {
|
|
949
|
-
return new OwnedAudioFrameBuffer().fromJsonString(jsonString, options);
|
|
950
|
-
}
|
|
951
|
-
static equals(a, b) {
|
|
952
|
-
return proto3.util.equals(OwnedAudioFrameBuffer, a, b);
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
OwnedAudioFrameBuffer.runtime = proto3;
|
|
956
|
-
OwnedAudioFrameBuffer.typeName = "livekit.proto.OwnedAudioFrameBuffer";
|
|
957
|
-
OwnedAudioFrameBuffer.fields = proto3.util.newFieldList(() => [
|
|
958
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
959
|
-
{ no: 2, name: "info", kind: "message", T: AudioFrameBufferInfo },
|
|
960
|
-
]);
|
|
961
|
-
/**
|
|
962
|
-
* @generated from message livekit.proto.AudioStreamInfo
|
|
963
|
-
*/
|
|
964
|
-
export class AudioStreamInfo extends Message {
|
|
965
|
-
constructor(data) {
|
|
966
|
-
super();
|
|
967
|
-
/**
|
|
968
|
-
* @generated from field: livekit.proto.AudioStreamType type = 1;
|
|
969
|
-
*/
|
|
970
|
-
this.type = AudioStreamType.AUDIO_STREAM_NATIVE;
|
|
971
|
-
proto3.util.initPartial(data, this);
|
|
972
|
-
}
|
|
973
|
-
static fromBinary(bytes, options) {
|
|
974
|
-
return new AudioStreamInfo().fromBinary(bytes, options);
|
|
975
|
-
}
|
|
976
|
-
static fromJson(jsonValue, options) {
|
|
977
|
-
return new AudioStreamInfo().fromJson(jsonValue, options);
|
|
978
|
-
}
|
|
979
|
-
static fromJsonString(jsonString, options) {
|
|
980
|
-
return new AudioStreamInfo().fromJsonString(jsonString, options);
|
|
981
|
-
}
|
|
982
|
-
static equals(a, b) {
|
|
983
|
-
return proto3.util.equals(AudioStreamInfo, a, b);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
AudioStreamInfo.runtime = proto3;
|
|
987
|
-
AudioStreamInfo.typeName = "livekit.proto.AudioStreamInfo";
|
|
988
|
-
AudioStreamInfo.fields = proto3.util.newFieldList(() => [
|
|
989
|
-
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AudioStreamType) },
|
|
990
|
-
]);
|
|
991
|
-
/**
|
|
992
|
-
* @generated from message livekit.proto.OwnedAudioStream
|
|
993
|
-
*/
|
|
994
|
-
export class OwnedAudioStream extends Message {
|
|
995
|
-
constructor(data) {
|
|
996
|
-
super();
|
|
997
|
-
proto3.util.initPartial(data, this);
|
|
998
|
-
}
|
|
999
|
-
static fromBinary(bytes, options) {
|
|
1000
|
-
return new OwnedAudioStream().fromBinary(bytes, options);
|
|
1001
|
-
}
|
|
1002
|
-
static fromJson(jsonValue, options) {
|
|
1003
|
-
return new OwnedAudioStream().fromJson(jsonValue, options);
|
|
1004
|
-
}
|
|
1005
|
-
static fromJsonString(jsonString, options) {
|
|
1006
|
-
return new OwnedAudioStream().fromJsonString(jsonString, options);
|
|
1007
|
-
}
|
|
1008
|
-
static equals(a, b) {
|
|
1009
|
-
return proto3.util.equals(OwnedAudioStream, a, b);
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
OwnedAudioStream.runtime = proto3;
|
|
1013
|
-
OwnedAudioStream.typeName = "livekit.proto.OwnedAudioStream";
|
|
1014
|
-
OwnedAudioStream.fields = proto3.util.newFieldList(() => [
|
|
1015
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1016
|
-
{ no: 2, name: "info", kind: "message", T: AudioStreamInfo },
|
|
1017
|
-
]);
|
|
1018
|
-
/**
|
|
1019
|
-
* @generated from message livekit.proto.AudioStreamEvent
|
|
1020
|
-
*/
|
|
1021
|
-
export class AudioStreamEvent extends Message {
|
|
1022
|
-
constructor(data) {
|
|
1023
|
-
super();
|
|
1024
|
-
/**
|
|
1025
|
-
* @generated from field: uint64 stream_handle = 1;
|
|
1026
|
-
*/
|
|
1027
|
-
this.streamHandle = protoInt64.zero;
|
|
1028
|
-
/**
|
|
1029
|
-
* @generated from oneof livekit.proto.AudioStreamEvent.message
|
|
1030
|
-
*/
|
|
1031
|
-
this.message = { case: undefined };
|
|
1032
|
-
proto3.util.initPartial(data, this);
|
|
1033
|
-
}
|
|
1034
|
-
static fromBinary(bytes, options) {
|
|
1035
|
-
return new AudioStreamEvent().fromBinary(bytes, options);
|
|
1036
|
-
}
|
|
1037
|
-
static fromJson(jsonValue, options) {
|
|
1038
|
-
return new AudioStreamEvent().fromJson(jsonValue, options);
|
|
1039
|
-
}
|
|
1040
|
-
static fromJsonString(jsonString, options) {
|
|
1041
|
-
return new AudioStreamEvent().fromJsonString(jsonString, options);
|
|
1042
|
-
}
|
|
1043
|
-
static equals(a, b) {
|
|
1044
|
-
return proto3.util.equals(AudioStreamEvent, a, b);
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
AudioStreamEvent.runtime = proto3;
|
|
1048
|
-
AudioStreamEvent.typeName = "livekit.proto.AudioStreamEvent";
|
|
1049
|
-
AudioStreamEvent.fields = proto3.util.newFieldList(() => [
|
|
1050
|
-
{ no: 1, name: "stream_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1051
|
-
{ no: 2, name: "frame_received", kind: "message", T: AudioFrameReceived, oneof: "message" },
|
|
1052
|
-
{ no: 3, name: "eos", kind: "message", T: AudioStreamEOS, oneof: "message" },
|
|
1053
|
-
]);
|
|
1054
|
-
/**
|
|
1055
|
-
* @generated from message livekit.proto.AudioFrameReceived
|
|
1056
|
-
*/
|
|
1057
|
-
export class AudioFrameReceived extends Message {
|
|
1058
|
-
constructor(data) {
|
|
1059
|
-
super();
|
|
1060
|
-
proto3.util.initPartial(data, this);
|
|
1061
|
-
}
|
|
1062
|
-
static fromBinary(bytes, options) {
|
|
1063
|
-
return new AudioFrameReceived().fromBinary(bytes, options);
|
|
1064
|
-
}
|
|
1065
|
-
static fromJson(jsonValue, options) {
|
|
1066
|
-
return new AudioFrameReceived().fromJson(jsonValue, options);
|
|
1067
|
-
}
|
|
1068
|
-
static fromJsonString(jsonString, options) {
|
|
1069
|
-
return new AudioFrameReceived().fromJsonString(jsonString, options);
|
|
1070
|
-
}
|
|
1071
|
-
static equals(a, b) {
|
|
1072
|
-
return proto3.util.equals(AudioFrameReceived, a, b);
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
AudioFrameReceived.runtime = proto3;
|
|
1076
|
-
AudioFrameReceived.typeName = "livekit.proto.AudioFrameReceived";
|
|
1077
|
-
AudioFrameReceived.fields = proto3.util.newFieldList(() => [
|
|
1078
|
-
{ no: 1, name: "frame", kind: "message", T: OwnedAudioFrameBuffer },
|
|
1079
|
-
]);
|
|
1080
|
-
/**
|
|
1081
|
-
* @generated from message livekit.proto.AudioStreamEOS
|
|
1082
|
-
*/
|
|
1083
|
-
export class AudioStreamEOS extends Message {
|
|
1084
|
-
constructor(data) {
|
|
1085
|
-
super();
|
|
1086
|
-
proto3.util.initPartial(data, this);
|
|
1087
|
-
}
|
|
1088
|
-
static fromBinary(bytes, options) {
|
|
1089
|
-
return new AudioStreamEOS().fromBinary(bytes, options);
|
|
1090
|
-
}
|
|
1091
|
-
static fromJson(jsonValue, options) {
|
|
1092
|
-
return new AudioStreamEOS().fromJson(jsonValue, options);
|
|
1093
|
-
}
|
|
1094
|
-
static fromJsonString(jsonString, options) {
|
|
1095
|
-
return new AudioStreamEOS().fromJsonString(jsonString, options);
|
|
1096
|
-
}
|
|
1097
|
-
static equals(a, b) {
|
|
1098
|
-
return proto3.util.equals(AudioStreamEOS, a, b);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
AudioStreamEOS.runtime = proto3;
|
|
1102
|
-
AudioStreamEOS.typeName = "livekit.proto.AudioStreamEOS";
|
|
1103
|
-
AudioStreamEOS.fields = proto3.util.newFieldList(() => []);
|
|
1104
|
-
/**
|
|
1105
|
-
* @generated from message livekit.proto.AudioSourceOptions
|
|
1106
|
-
*/
|
|
1107
|
-
export class AudioSourceOptions extends Message {
|
|
1108
|
-
constructor(data) {
|
|
1109
|
-
super();
|
|
1110
|
-
/**
|
|
1111
|
-
* @generated from field: bool echo_cancellation = 1;
|
|
1112
|
-
*/
|
|
1113
|
-
this.echoCancellation = false;
|
|
1114
|
-
/**
|
|
1115
|
-
* @generated from field: bool noise_suppression = 2;
|
|
1116
|
-
*/
|
|
1117
|
-
this.noiseSuppression = false;
|
|
1118
|
-
/**
|
|
1119
|
-
* @generated from field: bool auto_gain_control = 3;
|
|
1120
|
-
*/
|
|
1121
|
-
this.autoGainControl = false;
|
|
1122
|
-
proto3.util.initPartial(data, this);
|
|
1123
|
-
}
|
|
1124
|
-
static fromBinary(bytes, options) {
|
|
1125
|
-
return new AudioSourceOptions().fromBinary(bytes, options);
|
|
1126
|
-
}
|
|
1127
|
-
static fromJson(jsonValue, options) {
|
|
1128
|
-
return new AudioSourceOptions().fromJson(jsonValue, options);
|
|
1129
|
-
}
|
|
1130
|
-
static fromJsonString(jsonString, options) {
|
|
1131
|
-
return new AudioSourceOptions().fromJsonString(jsonString, options);
|
|
1132
|
-
}
|
|
1133
|
-
static equals(a, b) {
|
|
1134
|
-
return proto3.util.equals(AudioSourceOptions, a, b);
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
AudioSourceOptions.runtime = proto3;
|
|
1138
|
-
AudioSourceOptions.typeName = "livekit.proto.AudioSourceOptions";
|
|
1139
|
-
AudioSourceOptions.fields = proto3.util.newFieldList(() => [
|
|
1140
|
-
{ no: 1, name: "echo_cancellation", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1141
|
-
{ no: 2, name: "noise_suppression", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1142
|
-
{ no: 3, name: "auto_gain_control", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1143
|
-
]);
|
|
1144
|
-
/**
|
|
1145
|
-
* @generated from message livekit.proto.AudioSourceInfo
|
|
1146
|
-
*/
|
|
1147
|
-
export class AudioSourceInfo extends Message {
|
|
1148
|
-
constructor(data) {
|
|
1149
|
-
super();
|
|
1150
|
-
/**
|
|
1151
|
-
* @generated from field: livekit.proto.AudioSourceType type = 2;
|
|
1152
|
-
*/
|
|
1153
|
-
this.type = AudioSourceType.AUDIO_SOURCE_NATIVE;
|
|
1154
|
-
proto3.util.initPartial(data, this);
|
|
1155
|
-
}
|
|
1156
|
-
static fromBinary(bytes, options) {
|
|
1157
|
-
return new AudioSourceInfo().fromBinary(bytes, options);
|
|
1158
|
-
}
|
|
1159
|
-
static fromJson(jsonValue, options) {
|
|
1160
|
-
return new AudioSourceInfo().fromJson(jsonValue, options);
|
|
1161
|
-
}
|
|
1162
|
-
static fromJsonString(jsonString, options) {
|
|
1163
|
-
return new AudioSourceInfo().fromJsonString(jsonString, options);
|
|
1164
|
-
}
|
|
1165
|
-
static equals(a, b) {
|
|
1166
|
-
return proto3.util.equals(AudioSourceInfo, a, b);
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
AudioSourceInfo.runtime = proto3;
|
|
1170
|
-
AudioSourceInfo.typeName = "livekit.proto.AudioSourceInfo";
|
|
1171
|
-
AudioSourceInfo.fields = proto3.util.newFieldList(() => [
|
|
1172
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(AudioSourceType) },
|
|
1173
|
-
]);
|
|
1174
|
-
/**
|
|
1175
|
-
* @generated from message livekit.proto.OwnedAudioSource
|
|
1176
|
-
*/
|
|
1177
|
-
export class OwnedAudioSource extends Message {
|
|
1178
|
-
constructor(data) {
|
|
1179
|
-
super();
|
|
1180
|
-
proto3.util.initPartial(data, this);
|
|
1181
|
-
}
|
|
1182
|
-
static fromBinary(bytes, options) {
|
|
1183
|
-
return new OwnedAudioSource().fromBinary(bytes, options);
|
|
1184
|
-
}
|
|
1185
|
-
static fromJson(jsonValue, options) {
|
|
1186
|
-
return new OwnedAudioSource().fromJson(jsonValue, options);
|
|
1187
|
-
}
|
|
1188
|
-
static fromJsonString(jsonString, options) {
|
|
1189
|
-
return new OwnedAudioSource().fromJsonString(jsonString, options);
|
|
1190
|
-
}
|
|
1191
|
-
static equals(a, b) {
|
|
1192
|
-
return proto3.util.equals(OwnedAudioSource, a, b);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
OwnedAudioSource.runtime = proto3;
|
|
1196
|
-
OwnedAudioSource.typeName = "livekit.proto.OwnedAudioSource";
|
|
1197
|
-
OwnedAudioSource.fields = proto3.util.newFieldList(() => [
|
|
1198
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1199
|
-
{ no: 2, name: "info", kind: "message", T: AudioSourceInfo },
|
|
1200
|
-
]);
|
|
1201
|
-
/**
|
|
1202
|
-
* @generated from message livekit.proto.AudioResamplerInfo
|
|
1203
|
-
*/
|
|
1204
|
-
export class AudioResamplerInfo extends Message {
|
|
1205
|
-
constructor(data) {
|
|
1206
|
-
super();
|
|
1207
|
-
proto3.util.initPartial(data, this);
|
|
1208
|
-
}
|
|
1209
|
-
static fromBinary(bytes, options) {
|
|
1210
|
-
return new AudioResamplerInfo().fromBinary(bytes, options);
|
|
1211
|
-
}
|
|
1212
|
-
static fromJson(jsonValue, options) {
|
|
1213
|
-
return new AudioResamplerInfo().fromJson(jsonValue, options);
|
|
1214
|
-
}
|
|
1215
|
-
static fromJsonString(jsonString, options) {
|
|
1216
|
-
return new AudioResamplerInfo().fromJsonString(jsonString, options);
|
|
1217
|
-
}
|
|
1218
|
-
static equals(a, b) {
|
|
1219
|
-
return proto3.util.equals(AudioResamplerInfo, a, b);
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
AudioResamplerInfo.runtime = proto3;
|
|
1223
|
-
AudioResamplerInfo.typeName = "livekit.proto.AudioResamplerInfo";
|
|
1224
|
-
AudioResamplerInfo.fields = proto3.util.newFieldList(() => []);
|
|
1225
|
-
/**
|
|
1226
|
-
* @generated from message livekit.proto.OwnedAudioResampler
|
|
1227
|
-
*/
|
|
1228
|
-
export class OwnedAudioResampler extends Message {
|
|
1229
|
-
constructor(data) {
|
|
1230
|
-
super();
|
|
1231
|
-
proto3.util.initPartial(data, this);
|
|
1232
|
-
}
|
|
1233
|
-
static fromBinary(bytes, options) {
|
|
1234
|
-
return new OwnedAudioResampler().fromBinary(bytes, options);
|
|
1235
|
-
}
|
|
1236
|
-
static fromJson(jsonValue, options) {
|
|
1237
|
-
return new OwnedAudioResampler().fromJson(jsonValue, options);
|
|
1238
|
-
}
|
|
1239
|
-
static fromJsonString(jsonString, options) {
|
|
1240
|
-
return new OwnedAudioResampler().fromJsonString(jsonString, options);
|
|
1241
|
-
}
|
|
1242
|
-
static equals(a, b) {
|
|
1243
|
-
return proto3.util.equals(OwnedAudioResampler, a, b);
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
OwnedAudioResampler.runtime = proto3;
|
|
1247
|
-
OwnedAudioResampler.typeName = "livekit.proto.OwnedAudioResampler";
|
|
1248
|
-
OwnedAudioResampler.fields = proto3.util.newFieldList(() => [
|
|
1249
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1250
|
-
{ no: 2, name: "info", kind: "message", T: AudioResamplerInfo },
|
|
1251
|
-
]);
|
|
1252
|
-
/**
|
|
1253
|
-
* @generated from message livekit.proto.SoxResamplerInfo
|
|
1254
|
-
*/
|
|
1255
|
-
export class SoxResamplerInfo extends Message {
|
|
1256
|
-
constructor(data) {
|
|
1257
|
-
super();
|
|
1258
|
-
proto3.util.initPartial(data, this);
|
|
1259
|
-
}
|
|
1260
|
-
static fromBinary(bytes, options) {
|
|
1261
|
-
return new SoxResamplerInfo().fromBinary(bytes, options);
|
|
1262
|
-
}
|
|
1263
|
-
static fromJson(jsonValue, options) {
|
|
1264
|
-
return new SoxResamplerInfo().fromJson(jsonValue, options);
|
|
1265
|
-
}
|
|
1266
|
-
static fromJsonString(jsonString, options) {
|
|
1267
|
-
return new SoxResamplerInfo().fromJsonString(jsonString, options);
|
|
1268
|
-
}
|
|
1269
|
-
static equals(a, b) {
|
|
1270
|
-
return proto3.util.equals(SoxResamplerInfo, a, b);
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
SoxResamplerInfo.runtime = proto3;
|
|
1274
|
-
SoxResamplerInfo.typeName = "livekit.proto.SoxResamplerInfo";
|
|
1275
|
-
SoxResamplerInfo.fields = proto3.util.newFieldList(() => []);
|
|
1276
320
|
/**
|
|
1277
|
-
*
|
|
321
|
+
* Describes the enum livekit.proto.AudioSourceType.
|
|
1278
322
|
*/
|
|
1279
|
-
export
|
|
1280
|
-
constructor(data) {
|
|
1281
|
-
super();
|
|
1282
|
-
proto3.util.initPartial(data, this);
|
|
1283
|
-
}
|
|
1284
|
-
static fromBinary(bytes, options) {
|
|
1285
|
-
return new OwnedSoxResampler().fromBinary(bytes, options);
|
|
1286
|
-
}
|
|
1287
|
-
static fromJson(jsonValue, options) {
|
|
1288
|
-
return new OwnedSoxResampler().fromJson(jsonValue, options);
|
|
1289
|
-
}
|
|
1290
|
-
static fromJsonString(jsonString, options) {
|
|
1291
|
-
return new OwnedSoxResampler().fromJsonString(jsonString, options);
|
|
1292
|
-
}
|
|
1293
|
-
static equals(a, b) {
|
|
1294
|
-
return proto3.util.equals(OwnedSoxResampler, a, b);
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
OwnedSoxResampler.runtime = proto3;
|
|
1298
|
-
OwnedSoxResampler.typeName = "livekit.proto.OwnedSoxResampler";
|
|
1299
|
-
OwnedSoxResampler.fields = proto3.util.newFieldList(() => [
|
|
1300
|
-
{ no: 1, name: "handle", kind: "message", T: FfiOwnedHandle },
|
|
1301
|
-
{ no: 2, name: "info", kind: "message", T: SoxResamplerInfo },
|
|
1302
|
-
]);
|
|
323
|
+
export const AudioSourceTypeSchema = /*@__PURE__*/ enumDesc(file_audio_frame, 4);
|
|
1303
324
|
//# sourceMappingURL=audio_frame_pb.js.map
|