@livekit/rtc-node 0.12.2 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio_frame.cjs +2 -2
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +2 -3
- package/dist/audio_frame.d.ts +2 -3
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +3 -3
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_resampler.cjs +10 -7
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +2 -3
- package/dist/audio_resampler.d.ts +2 -3
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +13 -10
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +6 -4
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +3 -3
- package/dist/audio_source.d.ts +3 -3
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +9 -7
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +1 -2
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +2 -3
- package/dist/audio_stream.d.ts +2 -3
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +2 -3
- package/dist/audio_stream.js.map +1 -1
- package/dist/e2ee.cjs +19 -20
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +0 -1
- package/dist/e2ee.d.ts +0 -1
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +29 -30
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +6 -5
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +10 -10
- package/dist/ffi_client.d.ts +10 -10
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +6 -10
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.cjs +16 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -35
- package/dist/index.d.ts +6 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -46
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.cjs.map +1 -1
- package/dist/napi/native.d.ts +5 -5
- package/dist/native.d.ts +5 -5
- package/dist/participant.cjs +57 -34
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +10 -10
- package/dist/participant.d.ts +10 -10
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +75 -50
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.cjs +977 -125
- package/dist/proto/audio_frame_pb.cjs.map +1 -1
- package/dist/proto/audio_frame_pb.d.cts +502 -417
- package/dist/proto/audio_frame_pb.d.ts +502 -417
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +943 -85
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/e2ee_pb.cjs +700 -85
- package/dist/proto/e2ee_pb.cjs.map +1 -1
- package/dist/proto/e2ee_pb.d.cts +331 -263
- package/dist/proto/e2ee_pb.d.ts +331 -263
- package/dist/proto/e2ee_pb.d.ts.map +1 -1
- package/dist/proto/e2ee_pb.js +675 -57
- package/dist/proto/e2ee_pb.js.map +1 -1
- package/dist/proto/ffi_pb.cjs +369 -36
- package/dist/proto/ffi_pb.cjs.map +1 -1
- package/dist/proto/ffi_pb.d.cts +156 -109
- package/dist/proto/ffi_pb.d.ts +156 -109
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +364 -29
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/handle_pb.cjs +27 -7
- package/dist/proto/handle_pb.cjs.map +1 -1
- package/dist/proto/handle_pb.d.cts +13 -15
- package/dist/proto/handle_pb.d.ts +13 -15
- package/dist/proto/handle_pb.d.ts.map +1 -1
- package/dist/proto/handle_pb.js +26 -5
- package/dist/proto/handle_pb.js.map +1 -1
- package/dist/proto/participant_pb.cjs +112 -15
- package/dist/proto/participant_pb.cjs.map +1 -1
- package/dist/proto/participant_pb.d.cts +140 -52
- package/dist/proto/participant_pb.d.ts +140 -52
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +109 -11
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.cjs +2693 -302
- package/dist/proto/room_pb.cjs.map +1 -1
- package/dist/proto/room_pb.d.cts +1265 -862
- package/dist/proto/room_pb.d.ts +1265 -862
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +2603 -210
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/proto/rpc_pb.cjs +302 -37
- package/dist/proto/rpc_pb.cjs.map +1 -1
- package/dist/proto/rpc_pb.d.cts +138 -108
- package/dist/proto/rpc_pb.d.ts +138 -108
- package/dist/proto/rpc_pb.d.ts.map +1 -1
- package/dist/proto/rpc_pb.js +291 -25
- package/dist/proto/rpc_pb.js.map +1 -1
- package/dist/proto/stats_pb.cjs +1253 -139
- package/dist/proto/stats_pb.cjs.map +1 -1
- package/dist/proto/stats_pb.d.cts +803 -692
- package/dist/proto/stats_pb.d.ts +803 -692
- package/dist/proto/stats_pb.d.ts.map +1 -1
- package/dist/proto/stats_pb.js +1216 -93
- package/dist/proto/stats_pb.js.map +1 -1
- package/dist/proto/track_pb.cjs +462 -64
- package/dist/proto/track_pb.cjs.map +1 -1
- package/dist/proto/track_pb.d.cts +250 -218
- package/dist/proto/track_pb.d.ts +250 -218
- package/dist/proto/track_pb.d.ts.map +1 -1
- package/dist/proto/track_pb.js +447 -45
- package/dist/proto/track_pb.js.map +1 -1
- package/dist/proto/track_publication_pb.cjs +130 -0
- package/dist/proto/track_publication_pb.cjs.map +1 -0
- package/dist/proto/track_publication_pb.d.cts +80 -0
- package/dist/proto/track_publication_pb.d.ts +80 -0
- package/dist/proto/track_publication_pb.d.ts.map +1 -0
- package/dist/proto/track_publication_pb.js +103 -0
- package/dist/proto/track_publication_pb.js.map +1 -0
- package/dist/proto/video_frame_pb.cjs +648 -88
- package/dist/proto/video_frame_pb.cjs.map +1 -1
- package/dist/proto/video_frame_pb.d.cts +371 -328
- package/dist/proto/video_frame_pb.d.ts +371 -328
- package/dist/proto/video_frame_pb.d.ts.map +1 -1
- package/dist/proto/video_frame_pb.js +626 -60
- package/dist/proto/video_frame_pb.js.map +1 -1
- package/dist/room.cjs +93 -125
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +6 -17
- package/dist/room.d.ts +6 -17
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +92 -122
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +0 -1
- package/dist/rpc.d.ts +0 -1
- package/dist/rpc.js.map +1 -1
- package/dist/track.cjs +12 -8
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +8 -9
- package/dist/track.d.ts +8 -9
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +13 -9
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +21 -12
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +12 -13
- package/dist/track_publication.d.ts +12 -13
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +22 -13
- package/dist/track_publication.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.cjs +26 -45
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +2 -3
- package/dist/video_frame.d.ts +2 -3
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +29 -48
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +7 -4
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +4 -4
- package/dist/video_source.d.ts +4 -4
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +9 -6
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +16 -5
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +3 -4
- package/dist/video_stream.d.ts +3 -4
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +17 -6
- package/dist/video_stream.js.map +1 -1
- package/package.json +9 -9
- package/src/audio_frame.ts +10 -10
- package/src/audio_resampler.ts +15 -13
- package/src/audio_source.ts +11 -8
- package/src/audio_stream.ts +3 -4
- package/src/e2ee.ts +36 -37
- package/src/ffi_client.ts +8 -16
- package/src/index.ts +5 -68
- package/src/napi/native.d.ts +5 -5
- package/src/participant.ts +100 -72
- package/src/proto/audio_frame_pb.ts +1220 -496
- package/src/proto/e2ee_pb.ts +858 -337
- package/src/proto/ffi_pb.ts +442 -135
- package/src/proto/handle_pb.ts +33 -19
- package/src/proto/participant_pb.ts +225 -60
- package/src/proto/room_pb.ts +3149 -1013
- package/src/proto/rpc_pb.ts +358 -129
- package/src/proto/stats_pb.ts +1891 -877
- package/src/proto/track_pb.ts +587 -253
- package/src/proto/track_publication_pb.ts +180 -0
- package/src/proto/video_frame_pb.ts +861 -394
- package/src/room.ts +143 -188
- package/src/rpc.ts +1 -1
- package/src/track.ts +16 -17
- package/src/track_publication.ts +25 -26
- package/src/version.ts +1 -1
- package/src/video_frame.ts +48 -72
- package/src/video_source.ts +11 -8
- package/src/video_stream.ts +18 -8
package/dist/proto/ffi_pb.d.cts
CHANGED
|
@@ -1,26 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E2eeRequest, E2eeResponse } from './e2ee_pb.cjs';
|
|
3
|
-
import { CreateVideoTrackRequest, CreateAudioTrackRequest, LocalTrackMuteRequest, EnableRemoteTrackRequest, GetStatsRequest, CreateVideoTrackResponse, CreateAudioTrackResponse, LocalTrackMuteResponse, EnableRemoteTrackResponse, GetStatsResponse, TrackEvent, GetStatsCallback } from './track_pb.cjs';
|
|
1
|
+
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
4
2
|
import { ConnectRequest, DisconnectRequest, PublishTrackRequest, UnpublishTrackRequest, PublishDataRequest, SetSubscribedRequest, SetLocalMetadataRequest, SetLocalNameRequest, SetLocalAttributesRequest, GetSessionStatsRequest, PublishTranscriptionRequest, PublishSipDtmfRequest, SendChatMessageRequest, EditChatMessageRequest, ConnectResponse, DisconnectResponse, PublishTrackResponse, UnpublishTrackResponse, PublishDataResponse, SetSubscribedResponse, SetLocalMetadataResponse, SetLocalNameResponse, SetLocalAttributesResponse, GetSessionStatsResponse, PublishTranscriptionResponse, PublishSipDtmfResponse, SendChatMessageResponse, RoomEvent, ConnectCallback, DisconnectCallback, PublishTrackCallback, UnpublishTrackCallback, PublishDataCallback, PublishTranscriptionCallback, SetLocalMetadataCallback, SetLocalNameCallback, SetLocalAttributesCallback, GetSessionStatsCallback, PublishSipDtmfCallback, SendChatMessageCallback } from './room_pb.cjs';
|
|
3
|
+
import { CreateVideoTrackRequest, CreateAudioTrackRequest, LocalTrackMuteRequest, EnableRemoteTrackRequest, GetStatsRequest, CreateVideoTrackResponse, CreateAudioTrackResponse, LocalTrackMuteResponse, EnableRemoteTrackResponse, GetStatsResponse, TrackEvent, GetStatsCallback } from './track_pb.cjs';
|
|
5
4
|
import { NewVideoStreamRequest, NewVideoSourceRequest, CaptureVideoFrameRequest, VideoConvertRequest, VideoStreamFromParticipantRequest, NewVideoStreamResponse, NewVideoSourceResponse, CaptureVideoFrameResponse, VideoConvertResponse, VideoStreamFromParticipantResponse, VideoStreamEvent } from './video_frame_pb.cjs';
|
|
6
5
|
import { NewAudioStreamRequest, NewAudioSourceRequest, CaptureAudioFrameRequest, ClearAudioBufferRequest, NewAudioResamplerRequest, RemixAndResampleRequest, AudioStreamFromParticipantRequest, NewSoxResamplerRequest, PushSoxResamplerRequest, FlushSoxResamplerRequest, NewAudioStreamResponse, NewAudioSourceResponse, CaptureAudioFrameResponse, ClearAudioBufferResponse, NewAudioResamplerResponse, RemixAndResampleResponse, AudioStreamFromParticipantResponse, NewSoxResamplerResponse, PushSoxResamplerResponse, FlushSoxResamplerResponse, AudioStreamEvent, CaptureAudioFrameCallback } from './audio_frame_pb.cjs';
|
|
6
|
+
import { E2eeRequest, E2eeResponse } from './e2ee_pb.cjs';
|
|
7
7
|
import { PerformRpcRequest, RegisterRpcMethodRequest, UnregisterRpcMethodRequest, RpcMethodInvocationResponseRequest, PerformRpcResponse, RegisterRpcMethodResponse, UnregisterRpcMethodResponse, RpcMethodInvocationResponseResponse, PerformRpcCallback, RpcMethodInvocationEvent } from './rpc_pb.cjs';
|
|
8
|
-
import {
|
|
8
|
+
import { EnableRemoteTrackPublicationRequest, UpdateRemoteTrackPublicationDimensionRequest, EnableRemoteTrackPublicationResponse, UpdateRemoteTrackPublicationDimensionResponse } from './track_publication_pb.cjs';
|
|
9
|
+
import './participant_pb.cjs';
|
|
9
10
|
import './handle_pb.cjs';
|
|
10
11
|
import './stats_pb.cjs';
|
|
11
|
-
import './participant_pb.cjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* @generated from enum livekit.proto.LogLevel
|
|
15
15
|
*/
|
|
16
|
-
declare
|
|
16
|
+
declare enum LogLevel {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: LOG_ERROR = 0;
|
|
19
|
+
*/
|
|
20
|
+
LOG_ERROR = 0,
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: LOG_WARN = 1;
|
|
23
|
+
*/
|
|
24
|
+
LOG_WARN = 1,
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: LOG_INFO = 2;
|
|
27
|
+
*/
|
|
28
|
+
LOG_INFO = 2,
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: LOG_DEBUG = 3;
|
|
31
|
+
*/
|
|
32
|
+
LOG_DEBUG = 3,
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: LOG_TRACE = 4;
|
|
35
|
+
*/
|
|
36
|
+
LOG_TRACE = 4
|
|
37
|
+
}
|
|
17
38
|
/**
|
|
18
39
|
* This is the input of livekit_ffi_request function
|
|
19
40
|
* We always expect a response (FFIResponse, even if it's empty)
|
|
20
41
|
*
|
|
21
42
|
* @generated from message livekit.proto.FfiRequest
|
|
22
43
|
*/
|
|
23
|
-
|
|
44
|
+
declare class FfiRequest extends Message<FfiRequest> {
|
|
24
45
|
/**
|
|
25
46
|
* @generated from oneof livekit.proto.FfiRequest.message
|
|
26
47
|
*/
|
|
@@ -274,22 +295,39 @@ type FfiRequest = Message<"livekit.proto.FfiRequest"> & {
|
|
|
274
295
|
*/
|
|
275
296
|
value: RpcMethodInvocationResponseRequest;
|
|
276
297
|
case: "rpcMethodInvocationResponse";
|
|
298
|
+
} | {
|
|
299
|
+
/**
|
|
300
|
+
* Track Publication
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: livekit.proto.EnableRemoteTrackPublicationRequest enable_remote_track_publication = 42;
|
|
303
|
+
*/
|
|
304
|
+
value: EnableRemoteTrackPublicationRequest;
|
|
305
|
+
case: "enableRemoteTrackPublication";
|
|
306
|
+
} | {
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: livekit.proto.UpdateRemoteTrackPublicationDimensionRequest update_remote_track_publication_dimension = 43;
|
|
309
|
+
*/
|
|
310
|
+
value: UpdateRemoteTrackPublicationDimensionRequest;
|
|
311
|
+
case: "updateRemoteTrackPublicationDimension";
|
|
277
312
|
} | {
|
|
278
313
|
case: undefined;
|
|
279
314
|
value?: undefined;
|
|
280
315
|
};
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
316
|
+
constructor(data?: PartialMessage<FfiRequest>);
|
|
317
|
+
static readonly runtime: typeof proto2;
|
|
318
|
+
static readonly typeName = "livekit.proto.FfiRequest";
|
|
319
|
+
static readonly fields: FieldList;
|
|
320
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiRequest;
|
|
321
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiRequest;
|
|
322
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiRequest;
|
|
323
|
+
static equals(a: FfiRequest | PlainMessage<FfiRequest> | undefined, b: FfiRequest | PlainMessage<FfiRequest> | undefined): boolean;
|
|
324
|
+
}
|
|
287
325
|
/**
|
|
288
326
|
* This is the output of livekit_ffi_request function.
|
|
289
327
|
*
|
|
290
328
|
* @generated from message livekit.proto.FfiResponse
|
|
291
329
|
*/
|
|
292
|
-
|
|
330
|
+
declare class FfiResponse extends Message<FfiResponse> {
|
|
293
331
|
/**
|
|
294
332
|
* @generated from oneof livekit.proto.FfiResponse.message
|
|
295
333
|
*/
|
|
@@ -537,16 +575,33 @@ type FfiResponse = Message<"livekit.proto.FfiResponse"> & {
|
|
|
537
575
|
*/
|
|
538
576
|
value: RpcMethodInvocationResponseResponse;
|
|
539
577
|
case: "rpcMethodInvocationResponse";
|
|
578
|
+
} | {
|
|
579
|
+
/**
|
|
580
|
+
* Track Publication
|
|
581
|
+
*
|
|
582
|
+
* @generated from field: livekit.proto.EnableRemoteTrackPublicationResponse enable_remote_track_publication = 41;
|
|
583
|
+
*/
|
|
584
|
+
value: EnableRemoteTrackPublicationResponse;
|
|
585
|
+
case: "enableRemoteTrackPublication";
|
|
586
|
+
} | {
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: livekit.proto.UpdateRemoteTrackPublicationDimensionResponse update_remote_track_publication_dimension = 42;
|
|
589
|
+
*/
|
|
590
|
+
value: UpdateRemoteTrackPublicationDimensionResponse;
|
|
591
|
+
case: "updateRemoteTrackPublicationDimension";
|
|
540
592
|
} | {
|
|
541
593
|
case: undefined;
|
|
542
594
|
value?: undefined;
|
|
543
595
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
596
|
+
constructor(data?: PartialMessage<FfiResponse>);
|
|
597
|
+
static readonly runtime: typeof proto2;
|
|
598
|
+
static readonly typeName = "livekit.proto.FfiResponse";
|
|
599
|
+
static readonly fields: FieldList;
|
|
600
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiResponse;
|
|
601
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiResponse;
|
|
602
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiResponse;
|
|
603
|
+
static equals(a: FfiResponse | PlainMessage<FfiResponse> | undefined, b: FfiResponse | PlainMessage<FfiResponse> | undefined): boolean;
|
|
604
|
+
}
|
|
550
605
|
/**
|
|
551
606
|
* To minimize complexity, participant events are not included in the protocol.
|
|
552
607
|
* It is easily deducible from the room events and it turned out that is is easier to implement
|
|
@@ -554,7 +609,7 @@ declare const FfiResponseSchema: GenMessage<FfiResponse>;
|
|
|
554
609
|
*
|
|
555
610
|
* @generated from message livekit.proto.FfiEvent
|
|
556
611
|
*/
|
|
557
|
-
|
|
612
|
+
declare class FfiEvent extends Message<FfiEvent> {
|
|
558
613
|
/**
|
|
559
614
|
* @generated from oneof livekit.proto.FfiEvent.message
|
|
560
615
|
*/
|
|
@@ -700,12 +755,15 @@ type FfiEvent = Message<"livekit.proto.FfiEvent"> & {
|
|
|
700
755
|
case: undefined;
|
|
701
756
|
value?: undefined;
|
|
702
757
|
};
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
758
|
+
constructor(data?: PartialMessage<FfiEvent>);
|
|
759
|
+
static readonly runtime: typeof proto2;
|
|
760
|
+
static readonly typeName = "livekit.proto.FfiEvent";
|
|
761
|
+
static readonly fields: FieldList;
|
|
762
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FfiEvent;
|
|
763
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FfiEvent;
|
|
764
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FfiEvent;
|
|
765
|
+
static equals(a: FfiEvent | PlainMessage<FfiEvent> | undefined, b: FfiEvent | PlainMessage<FfiEvent> | undefined): boolean;
|
|
766
|
+
}
|
|
709
767
|
/**
|
|
710
768
|
* Stop all rooms synchronously (Do we need async here?).
|
|
711
769
|
* e.g: This is used for the Unity Editor after each assemblies reload.
|
|
@@ -713,139 +771,128 @@ declare const FfiEventSchema: GenMessage<FfiEvent>;
|
|
|
713
771
|
*
|
|
714
772
|
* @generated from message livekit.proto.DisposeRequest
|
|
715
773
|
*/
|
|
716
|
-
|
|
774
|
+
declare class DisposeRequest extends Message<DisposeRequest> {
|
|
717
775
|
/**
|
|
718
776
|
* @generated from field: required bool async = 1;
|
|
719
777
|
*/
|
|
720
|
-
async
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
778
|
+
async?: boolean;
|
|
779
|
+
constructor(data?: PartialMessage<DisposeRequest>);
|
|
780
|
+
static readonly runtime: typeof proto2;
|
|
781
|
+
static readonly typeName = "livekit.proto.DisposeRequest";
|
|
782
|
+
static readonly fields: FieldList;
|
|
783
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeRequest;
|
|
784
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeRequest;
|
|
785
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeRequest;
|
|
786
|
+
static equals(a: DisposeRequest | PlainMessage<DisposeRequest> | undefined, b: DisposeRequest | PlainMessage<DisposeRequest> | undefined): boolean;
|
|
787
|
+
}
|
|
727
788
|
/**
|
|
728
789
|
* @generated from message livekit.proto.DisposeResponse
|
|
729
790
|
*/
|
|
730
|
-
|
|
791
|
+
declare class DisposeResponse extends Message<DisposeResponse> {
|
|
731
792
|
/**
|
|
732
793
|
* None if sync
|
|
733
794
|
*
|
|
734
795
|
* @generated from field: optional uint64 async_id = 1;
|
|
735
796
|
*/
|
|
736
|
-
asyncId
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
797
|
+
asyncId?: bigint;
|
|
798
|
+
constructor(data?: PartialMessage<DisposeResponse>);
|
|
799
|
+
static readonly runtime: typeof proto2;
|
|
800
|
+
static readonly typeName = "livekit.proto.DisposeResponse";
|
|
801
|
+
static readonly fields: FieldList;
|
|
802
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeResponse;
|
|
803
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeResponse;
|
|
804
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeResponse;
|
|
805
|
+
static equals(a: DisposeResponse | PlainMessage<DisposeResponse> | undefined, b: DisposeResponse | PlainMessage<DisposeResponse> | undefined): boolean;
|
|
806
|
+
}
|
|
743
807
|
/**
|
|
744
808
|
* @generated from message livekit.proto.DisposeCallback
|
|
745
809
|
*/
|
|
746
|
-
|
|
810
|
+
declare class DisposeCallback extends Message<DisposeCallback> {
|
|
747
811
|
/**
|
|
748
812
|
* @generated from field: required uint64 async_id = 1;
|
|
749
813
|
*/
|
|
750
|
-
asyncId
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
814
|
+
asyncId?: bigint;
|
|
815
|
+
constructor(data?: PartialMessage<DisposeCallback>);
|
|
816
|
+
static readonly runtime: typeof proto2;
|
|
817
|
+
static readonly typeName = "livekit.proto.DisposeCallback";
|
|
818
|
+
static readonly fields: FieldList;
|
|
819
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisposeCallback;
|
|
820
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisposeCallback;
|
|
821
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisposeCallback;
|
|
822
|
+
static equals(a: DisposeCallback | PlainMessage<DisposeCallback> | undefined, b: DisposeCallback | PlainMessage<DisposeCallback> | undefined): boolean;
|
|
823
|
+
}
|
|
757
824
|
/**
|
|
758
825
|
* @generated from message livekit.proto.LogRecord
|
|
759
826
|
*/
|
|
760
|
-
|
|
827
|
+
declare class LogRecord extends Message<LogRecord> {
|
|
761
828
|
/**
|
|
762
829
|
* @generated from field: required livekit.proto.LogLevel level = 1;
|
|
763
830
|
*/
|
|
764
|
-
level
|
|
831
|
+
level?: LogLevel;
|
|
765
832
|
/**
|
|
766
833
|
* e.g "livekit", "libwebrtc", "tokio-tungstenite", etc...
|
|
767
834
|
*
|
|
768
835
|
* @generated from field: required string target = 2;
|
|
769
836
|
*/
|
|
770
|
-
target
|
|
837
|
+
target?: string;
|
|
771
838
|
/**
|
|
772
839
|
* @generated from field: optional string module_path = 3;
|
|
773
840
|
*/
|
|
774
|
-
modulePath
|
|
841
|
+
modulePath?: string;
|
|
775
842
|
/**
|
|
776
843
|
* @generated from field: optional string file = 4;
|
|
777
844
|
*/
|
|
778
|
-
file
|
|
845
|
+
file?: string;
|
|
779
846
|
/**
|
|
780
847
|
* @generated from field: optional uint32 line = 5;
|
|
781
848
|
*/
|
|
782
|
-
line
|
|
849
|
+
line?: number;
|
|
783
850
|
/**
|
|
784
851
|
* @generated from field: required string message = 6;
|
|
785
852
|
*/
|
|
786
|
-
message
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
853
|
+
message?: string;
|
|
854
|
+
constructor(data?: PartialMessage<LogRecord>);
|
|
855
|
+
static readonly runtime: typeof proto2;
|
|
856
|
+
static readonly typeName = "livekit.proto.LogRecord";
|
|
857
|
+
static readonly fields: FieldList;
|
|
858
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogRecord;
|
|
859
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogRecord;
|
|
860
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogRecord;
|
|
861
|
+
static equals(a: LogRecord | PlainMessage<LogRecord> | undefined, b: LogRecord | PlainMessage<LogRecord> | undefined): boolean;
|
|
862
|
+
}
|
|
793
863
|
/**
|
|
794
864
|
* @generated from message livekit.proto.LogBatch
|
|
795
865
|
*/
|
|
796
|
-
|
|
866
|
+
declare class LogBatch extends Message<LogBatch> {
|
|
797
867
|
/**
|
|
798
868
|
* @generated from field: repeated livekit.proto.LogRecord records = 1;
|
|
799
869
|
*/
|
|
800
870
|
records: LogRecord[];
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
871
|
+
constructor(data?: PartialMessage<LogBatch>);
|
|
872
|
+
static readonly runtime: typeof proto2;
|
|
873
|
+
static readonly typeName = "livekit.proto.LogBatch";
|
|
874
|
+
static readonly fields: FieldList;
|
|
875
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogBatch;
|
|
876
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogBatch;
|
|
877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogBatch;
|
|
878
|
+
static equals(a: LogBatch | PlainMessage<LogBatch> | undefined, b: LogBatch | PlainMessage<LogBatch> | undefined): boolean;
|
|
879
|
+
}
|
|
807
880
|
/**
|
|
808
881
|
* @generated from message livekit.proto.Panic
|
|
809
882
|
*/
|
|
810
|
-
|
|
883
|
+
declare class Panic extends Message<Panic> {
|
|
811
884
|
/**
|
|
812
885
|
* @generated from field: required string message = 1;
|
|
813
886
|
*/
|
|
814
|
-
message
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
*/
|
|
824
|
-
declare enum LogLevel {
|
|
825
|
-
/**
|
|
826
|
-
* @generated from enum value: LOG_ERROR = 0;
|
|
827
|
-
*/
|
|
828
|
-
LOG_ERROR = 0,
|
|
829
|
-
/**
|
|
830
|
-
* @generated from enum value: LOG_WARN = 1;
|
|
831
|
-
*/
|
|
832
|
-
LOG_WARN = 1,
|
|
833
|
-
/**
|
|
834
|
-
* @generated from enum value: LOG_INFO = 2;
|
|
835
|
-
*/
|
|
836
|
-
LOG_INFO = 2,
|
|
837
|
-
/**
|
|
838
|
-
* @generated from enum value: LOG_DEBUG = 3;
|
|
839
|
-
*/
|
|
840
|
-
LOG_DEBUG = 3,
|
|
841
|
-
/**
|
|
842
|
-
* @generated from enum value: LOG_TRACE = 4;
|
|
843
|
-
*/
|
|
844
|
-
LOG_TRACE = 4
|
|
887
|
+
message?: string;
|
|
888
|
+
constructor(data?: PartialMessage<Panic>);
|
|
889
|
+
static readonly runtime: typeof proto2;
|
|
890
|
+
static readonly typeName = "livekit.proto.Panic";
|
|
891
|
+
static readonly fields: FieldList;
|
|
892
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Panic;
|
|
893
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Panic;
|
|
894
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Panic;
|
|
895
|
+
static equals(a: Panic | PlainMessage<Panic> | undefined, b: Panic | PlainMessage<Panic> | undefined): boolean;
|
|
845
896
|
}
|
|
846
|
-
/**
|
|
847
|
-
* Describes the enum livekit.proto.LogLevel.
|
|
848
|
-
*/
|
|
849
|
-
declare const LogLevelSchema: GenEnum<LogLevel>;
|
|
850
897
|
|
|
851
|
-
export {
|
|
898
|
+
export { DisposeCallback, DisposeRequest, DisposeResponse, FfiEvent, FfiRequest, FfiResponse, LogBatch, LogLevel, LogRecord, Panic };
|