@livekit/rtc-node 0.12.0 → 0.12.2
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.d.cts +32 -0
- package/dist/audio_frame.d.ts +12 -5
- package/dist/audio_resampler.d.cts +60 -0
- package/dist/audio_resampler.d.ts +12 -3
- package/dist/audio_source.d.cts +37 -0
- package/dist/audio_source.d.ts +13 -5
- package/dist/audio_stream.d.cts +38 -0
- package/dist/audio_stream.d.ts +17 -5
- package/dist/e2ee.d.cts +48 -0
- package/dist/e2ee.d.ts +12 -8
- package/dist/ffi_client.cjs +0 -6
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +35 -0
- package/dist/ffi_client.d.ts +22 -10
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +0 -6
- package/dist/ffi_client.js.map +1 -1
- package/dist/index.cjs +0 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +57 -0
- package/dist/index.d.ts +27 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -20
- package/dist/index.js.map +1 -1
- package/dist/napi/native.d.cjs.map +1 -1
- package/dist/napi/native.d.d.cts +21 -0
- package/dist/napi/native.d.d.ts +21 -0
- package/dist/napi/native.d.ts +5 -5
- package/dist/native.d.ts +5 -5
- package/dist/participant.d.cts +126 -0
- package/dist/participant.d.ts +28 -14
- package/dist/proto/audio_frame_pb.d.cts +813 -0
- package/dist/proto/audio_frame_pb.d.ts +90 -86
- package/dist/proto/e2ee_pb.d.cts +585 -0
- package/dist/proto/e2ee_pb.d.ts +60 -58
- package/dist/proto/ffi_pb.d.cts +851 -0
- package/dist/proto/ffi_pb.d.ts +35 -30
- package/dist/proto/handle_pb.d.cts +33 -0
- package/dist/proto/handle_pb.d.ts +8 -6
- package/dist/proto/participant_pb.d.cts +93 -0
- package/dist/proto/participant_pb.d.ts +13 -11
- package/dist/proto/room_pb.d.cts +2072 -0
- package/dist/proto/room_pb.d.ts +198 -196
- package/dist/proto/rpc_pb.d.cts +237 -0
- package/dist/proto/rpc_pb.d.ts +28 -26
- package/dist/proto/stats_pb.d.cts +1653 -0
- package/dist/proto/stats_pb.d.ts +96 -94
- package/dist/proto/track_pb.d.cts +402 -0
- package/dist/proto/track_pb.d.ts +47 -45
- package/dist/proto/video_frame_pb.d.cts +617 -0
- package/dist/proto/video_frame_pb.d.ts +64 -60
- package/dist/room.d.cts +134 -0
- package/dist/room.d.ts +36 -22
- package/dist/rpc.d.cts +82 -0
- package/dist/rpc.d.ts +11 -7
- package/dist/track.d.cts +46 -0
- package/dist/track.d.ts +25 -14
- package/dist/track_publication.d.cts +48 -0
- package/dist/track_publication.d.ts +20 -8
- package/dist/transcription.d.cts +15 -0
- package/dist/transcription.d.ts +4 -3
- package/dist/types.d.cts +9 -0
- package/dist/types.d.ts +3 -2
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +3 -0
- package/dist/version.d.ts +3 -2
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/video_frame.d.cts +25 -0
- package/dist/video_frame.d.ts +11 -4
- package/dist/video_source.d.cts +22 -0
- package/dist/video_source.d.ts +13 -6
- package/dist/video_stream.d.cts +41 -0
- package/dist/video_stream.d.ts +18 -6
- package/package.json +14 -9
- package/src/ffi_client.ts +4 -4
- package/src/index.ts +14 -8
- package/src/napi/native.d.ts +5 -5
- package/src/version.ts +1 -1
package/dist/proto/ffi_pb.d.ts
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { GenFile, GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { E2eeRequest, E2eeResponse } from './e2ee_pb.js';
|
|
3
|
+
import { CreateVideoTrackRequest, CreateAudioTrackRequest, LocalTrackMuteRequest, EnableRemoteTrackRequest, GetStatsRequest, CreateVideoTrackResponse, CreateAudioTrackResponse, LocalTrackMuteResponse, EnableRemoteTrackResponse, GetStatsResponse, TrackEvent, GetStatsCallback } from './track_pb.js';
|
|
4
|
+
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.js';
|
|
5
|
+
import { NewVideoStreamRequest, NewVideoSourceRequest, CaptureVideoFrameRequest, VideoConvertRequest, VideoStreamFromParticipantRequest, NewVideoStreamResponse, NewVideoSourceResponse, CaptureVideoFrameResponse, VideoConvertResponse, VideoStreamFromParticipantResponse, VideoStreamEvent } from './video_frame_pb.js';
|
|
6
|
+
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.js';
|
|
7
|
+
import { PerformRpcRequest, RegisterRpcMethodRequest, UnregisterRpcMethodRequest, RpcMethodInvocationResponseRequest, PerformRpcResponse, RegisterRpcMethodResponse, UnregisterRpcMethodResponse, RpcMethodInvocationResponseResponse, PerformRpcCallback, RpcMethodInvocationEvent } from './rpc_pb.js';
|
|
8
|
+
import { Message } from '@bufbuild/protobuf';
|
|
9
|
+
import './handle_pb.js';
|
|
10
|
+
import './stats_pb.js';
|
|
11
|
+
import './participant_pb.js';
|
|
12
|
+
|
|
9
13
|
/**
|
|
10
14
|
* Describes the file ffi.proto.
|
|
11
15
|
*/
|
|
12
|
-
|
|
16
|
+
declare const file_ffi: GenFile;
|
|
13
17
|
/**
|
|
14
18
|
* This is the input of livekit_ffi_request function
|
|
15
19
|
* We always expect a response (FFIResponse, even if it's empty)
|
|
16
20
|
*
|
|
17
21
|
* @generated from message livekit.proto.FfiRequest
|
|
18
22
|
*/
|
|
19
|
-
|
|
23
|
+
type FfiRequest = Message<"livekit.proto.FfiRequest"> & {
|
|
20
24
|
/**
|
|
21
25
|
* @generated from oneof livekit.proto.FfiRequest.message
|
|
22
26
|
*/
|
|
@@ -279,13 +283,13 @@ export type FfiRequest = Message<"livekit.proto.FfiRequest"> & {
|
|
|
279
283
|
* Describes the message livekit.proto.FfiRequest.
|
|
280
284
|
* Use `create(FfiRequestSchema)` to create a new message.
|
|
281
285
|
*/
|
|
282
|
-
|
|
286
|
+
declare const FfiRequestSchema: GenMessage<FfiRequest>;
|
|
283
287
|
/**
|
|
284
288
|
* This is the output of livekit_ffi_request function.
|
|
285
289
|
*
|
|
286
290
|
* @generated from message livekit.proto.FfiResponse
|
|
287
291
|
*/
|
|
288
|
-
|
|
292
|
+
type FfiResponse = Message<"livekit.proto.FfiResponse"> & {
|
|
289
293
|
/**
|
|
290
294
|
* @generated from oneof livekit.proto.FfiResponse.message
|
|
291
295
|
*/
|
|
@@ -542,7 +546,7 @@ export type FfiResponse = Message<"livekit.proto.FfiResponse"> & {
|
|
|
542
546
|
* Describes the message livekit.proto.FfiResponse.
|
|
543
547
|
* Use `create(FfiResponseSchema)` to create a new message.
|
|
544
548
|
*/
|
|
545
|
-
|
|
549
|
+
declare const FfiResponseSchema: GenMessage<FfiResponse>;
|
|
546
550
|
/**
|
|
547
551
|
* To minimize complexity, participant events are not included in the protocol.
|
|
548
552
|
* It is easily deducible from the room events and it turned out that is is easier to implement
|
|
@@ -550,7 +554,7 @@ export declare const FfiResponseSchema: GenMessage<FfiResponse>;
|
|
|
550
554
|
*
|
|
551
555
|
* @generated from message livekit.proto.FfiEvent
|
|
552
556
|
*/
|
|
553
|
-
|
|
557
|
+
type FfiEvent = Message<"livekit.proto.FfiEvent"> & {
|
|
554
558
|
/**
|
|
555
559
|
* @generated from oneof livekit.proto.FfiEvent.message
|
|
556
560
|
*/
|
|
@@ -701,7 +705,7 @@ export type FfiEvent = Message<"livekit.proto.FfiEvent"> & {
|
|
|
701
705
|
* Describes the message livekit.proto.FfiEvent.
|
|
702
706
|
* Use `create(FfiEventSchema)` to create a new message.
|
|
703
707
|
*/
|
|
704
|
-
|
|
708
|
+
declare const FfiEventSchema: GenMessage<FfiEvent>;
|
|
705
709
|
/**
|
|
706
710
|
* Stop all rooms synchronously (Do we need async here?).
|
|
707
711
|
* e.g: This is used for the Unity Editor after each assemblies reload.
|
|
@@ -709,7 +713,7 @@ export declare const FfiEventSchema: GenMessage<FfiEvent>;
|
|
|
709
713
|
*
|
|
710
714
|
* @generated from message livekit.proto.DisposeRequest
|
|
711
715
|
*/
|
|
712
|
-
|
|
716
|
+
type DisposeRequest = Message<"livekit.proto.DisposeRequest"> & {
|
|
713
717
|
/**
|
|
714
718
|
* @generated from field: required bool async = 1;
|
|
715
719
|
*/
|
|
@@ -719,11 +723,11 @@ export type DisposeRequest = Message<"livekit.proto.DisposeRequest"> & {
|
|
|
719
723
|
* Describes the message livekit.proto.DisposeRequest.
|
|
720
724
|
* Use `create(DisposeRequestSchema)` to create a new message.
|
|
721
725
|
*/
|
|
722
|
-
|
|
726
|
+
declare const DisposeRequestSchema: GenMessage<DisposeRequest>;
|
|
723
727
|
/**
|
|
724
728
|
* @generated from message livekit.proto.DisposeResponse
|
|
725
729
|
*/
|
|
726
|
-
|
|
730
|
+
type DisposeResponse = Message<"livekit.proto.DisposeResponse"> & {
|
|
727
731
|
/**
|
|
728
732
|
* None if sync
|
|
729
733
|
*
|
|
@@ -735,11 +739,11 @@ export type DisposeResponse = Message<"livekit.proto.DisposeResponse"> & {
|
|
|
735
739
|
* Describes the message livekit.proto.DisposeResponse.
|
|
736
740
|
* Use `create(DisposeResponseSchema)` to create a new message.
|
|
737
741
|
*/
|
|
738
|
-
|
|
742
|
+
declare const DisposeResponseSchema: GenMessage<DisposeResponse>;
|
|
739
743
|
/**
|
|
740
744
|
* @generated from message livekit.proto.DisposeCallback
|
|
741
745
|
*/
|
|
742
|
-
|
|
746
|
+
type DisposeCallback = Message<"livekit.proto.DisposeCallback"> & {
|
|
743
747
|
/**
|
|
744
748
|
* @generated from field: required uint64 async_id = 1;
|
|
745
749
|
*/
|
|
@@ -749,11 +753,11 @@ export type DisposeCallback = Message<"livekit.proto.DisposeCallback"> & {
|
|
|
749
753
|
* Describes the message livekit.proto.DisposeCallback.
|
|
750
754
|
* Use `create(DisposeCallbackSchema)` to create a new message.
|
|
751
755
|
*/
|
|
752
|
-
|
|
756
|
+
declare const DisposeCallbackSchema: GenMessage<DisposeCallback>;
|
|
753
757
|
/**
|
|
754
758
|
* @generated from message livekit.proto.LogRecord
|
|
755
759
|
*/
|
|
756
|
-
|
|
760
|
+
type LogRecord = Message<"livekit.proto.LogRecord"> & {
|
|
757
761
|
/**
|
|
758
762
|
* @generated from field: required livekit.proto.LogLevel level = 1;
|
|
759
763
|
*/
|
|
@@ -785,11 +789,11 @@ export type LogRecord = Message<"livekit.proto.LogRecord"> & {
|
|
|
785
789
|
* Describes the message livekit.proto.LogRecord.
|
|
786
790
|
* Use `create(LogRecordSchema)` to create a new message.
|
|
787
791
|
*/
|
|
788
|
-
|
|
792
|
+
declare const LogRecordSchema: GenMessage<LogRecord>;
|
|
789
793
|
/**
|
|
790
794
|
* @generated from message livekit.proto.LogBatch
|
|
791
795
|
*/
|
|
792
|
-
|
|
796
|
+
type LogBatch = Message<"livekit.proto.LogBatch"> & {
|
|
793
797
|
/**
|
|
794
798
|
* @generated from field: repeated livekit.proto.LogRecord records = 1;
|
|
795
799
|
*/
|
|
@@ -799,11 +803,11 @@ export type LogBatch = Message<"livekit.proto.LogBatch"> & {
|
|
|
799
803
|
* Describes the message livekit.proto.LogBatch.
|
|
800
804
|
* Use `create(LogBatchSchema)` to create a new message.
|
|
801
805
|
*/
|
|
802
|
-
|
|
806
|
+
declare const LogBatchSchema: GenMessage<LogBatch>;
|
|
803
807
|
/**
|
|
804
808
|
* @generated from message livekit.proto.Panic
|
|
805
809
|
*/
|
|
806
|
-
|
|
810
|
+
type Panic = Message<"livekit.proto.Panic"> & {
|
|
807
811
|
/**
|
|
808
812
|
* @generated from field: required string message = 1;
|
|
809
813
|
*/
|
|
@@ -813,11 +817,11 @@ export type Panic = Message<"livekit.proto.Panic"> & {
|
|
|
813
817
|
* Describes the message livekit.proto.Panic.
|
|
814
818
|
* Use `create(PanicSchema)` to create a new message.
|
|
815
819
|
*/
|
|
816
|
-
|
|
820
|
+
declare const PanicSchema: GenMessage<Panic>;
|
|
817
821
|
/**
|
|
818
822
|
* @generated from enum livekit.proto.LogLevel
|
|
819
823
|
*/
|
|
820
|
-
|
|
824
|
+
declare enum LogLevel {
|
|
821
825
|
/**
|
|
822
826
|
* @generated from enum value: LOG_ERROR = 0;
|
|
823
827
|
*/
|
|
@@ -842,5 +846,6 @@ export declare enum LogLevel {
|
|
|
842
846
|
/**
|
|
843
847
|
* Describes the enum livekit.proto.LogLevel.
|
|
844
848
|
*/
|
|
845
|
-
|
|
846
|
-
|
|
849
|
+
declare const LogLevelSchema: GenEnum<LogLevel>;
|
|
850
|
+
|
|
851
|
+
export { type DisposeCallback, DisposeCallbackSchema, type DisposeRequest, DisposeRequestSchema, type DisposeResponse, DisposeResponseSchema, type FfiEvent, FfiEventSchema, type FfiRequest, FfiRequestSchema, type FfiResponse, FfiResponseSchema, type LogBatch, LogBatchSchema, LogLevel, LogLevelSchema, type LogRecord, LogRecordSchema, type Panic, PanicSchema, file_ffi };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { Message } from '@bufbuild/protobuf';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file handle.proto.
|
|
6
|
+
*/
|
|
7
|
+
declare const file_handle: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* # Safety
|
|
10
|
+
* The foreign language is responsable for disposing handles
|
|
11
|
+
* Forgetting to dispose the handle may lead to memory leaks
|
|
12
|
+
*
|
|
13
|
+
* Dropping a handle doesn't necessarily mean that the object is destroyed if it is still used
|
|
14
|
+
* on the FfiServer (Atomic reference counting)
|
|
15
|
+
*
|
|
16
|
+
* When refering to a handle without owning it, we just use a uint32 without this message.
|
|
17
|
+
* (the variable name is suffixed with "_handle")
|
|
18
|
+
*
|
|
19
|
+
* @generated from message livekit.proto.FfiOwnedHandle
|
|
20
|
+
*/
|
|
21
|
+
type FfiOwnedHandle = Message<"livekit.proto.FfiOwnedHandle"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: required uint64 id = 1;
|
|
24
|
+
*/
|
|
25
|
+
id: bigint;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message livekit.proto.FfiOwnedHandle.
|
|
29
|
+
* Use `create(FfiOwnedHandleSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
declare const FfiOwnedHandleSchema: GenMessage<FfiOwnedHandle>;
|
|
32
|
+
|
|
33
|
+
export { type FfiOwnedHandle, FfiOwnedHandleSchema, file_handle };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { Message } from '@bufbuild/protobuf';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file handle.proto.
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
declare const file_handle: GenFile;
|
|
7
8
|
/**
|
|
8
9
|
* # Safety
|
|
9
10
|
* The foreign language is responsable for disposing handles
|
|
@@ -17,7 +18,7 @@ export declare const file_handle: GenFile;
|
|
|
17
18
|
*
|
|
18
19
|
* @generated from message livekit.proto.FfiOwnedHandle
|
|
19
20
|
*/
|
|
20
|
-
|
|
21
|
+
type FfiOwnedHandle = Message<"livekit.proto.FfiOwnedHandle"> & {
|
|
21
22
|
/**
|
|
22
23
|
* @generated from field: required uint64 id = 1;
|
|
23
24
|
*/
|
|
@@ -27,5 +28,6 @@ export type FfiOwnedHandle = Message<"livekit.proto.FfiOwnedHandle"> & {
|
|
|
27
28
|
* Describes the message livekit.proto.FfiOwnedHandle.
|
|
28
29
|
* Use `create(FfiOwnedHandleSchema)` to create a new message.
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
declare const FfiOwnedHandleSchema: GenMessage<FfiOwnedHandle>;
|
|
32
|
+
|
|
33
|
+
export { type FfiOwnedHandle, FfiOwnedHandleSchema, file_handle };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { GenFile, GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { FfiOwnedHandle } from './handle_pb.cjs';
|
|
3
|
+
import { Message } from '@bufbuild/protobuf';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file participant.proto.
|
|
7
|
+
*/
|
|
8
|
+
declare const file_participant: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message livekit.proto.ParticipantInfo
|
|
11
|
+
*/
|
|
12
|
+
type ParticipantInfo = Message<"livekit.proto.ParticipantInfo"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: required string sid = 1;
|
|
15
|
+
*/
|
|
16
|
+
sid: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: required string name = 2;
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: required string identity = 3;
|
|
23
|
+
*/
|
|
24
|
+
identity: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: required string metadata = 4;
|
|
27
|
+
*/
|
|
28
|
+
metadata: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: map<string, string> attributes = 5;
|
|
31
|
+
*/
|
|
32
|
+
attributes: {
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: required livekit.proto.ParticipantKind kind = 6;
|
|
37
|
+
*/
|
|
38
|
+
kind: ParticipantKind;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message livekit.proto.ParticipantInfo.
|
|
42
|
+
* Use `create(ParticipantInfoSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
declare const ParticipantInfoSchema: GenMessage<ParticipantInfo>;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message livekit.proto.OwnedParticipant
|
|
47
|
+
*/
|
|
48
|
+
type OwnedParticipant = Message<"livekit.proto.OwnedParticipant"> & {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
51
|
+
*/
|
|
52
|
+
handle?: FfiOwnedHandle;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: required livekit.proto.ParticipantInfo info = 2;
|
|
55
|
+
*/
|
|
56
|
+
info?: ParticipantInfo;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message livekit.proto.OwnedParticipant.
|
|
60
|
+
* Use `create(OwnedParticipantSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
declare const OwnedParticipantSchema: GenMessage<OwnedParticipant>;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum livekit.proto.ParticipantKind
|
|
65
|
+
*/
|
|
66
|
+
declare enum ParticipantKind {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: PARTICIPANT_KIND_STANDARD = 0;
|
|
69
|
+
*/
|
|
70
|
+
STANDARD = 0,
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: PARTICIPANT_KIND_INGRESS = 1;
|
|
73
|
+
*/
|
|
74
|
+
INGRESS = 1,
|
|
75
|
+
/**
|
|
76
|
+
* @generated from enum value: PARTICIPANT_KIND_EGRESS = 2;
|
|
77
|
+
*/
|
|
78
|
+
EGRESS = 2,
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum value: PARTICIPANT_KIND_SIP = 3;
|
|
81
|
+
*/
|
|
82
|
+
SIP = 3,
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: PARTICIPANT_KIND_AGENT = 4;
|
|
85
|
+
*/
|
|
86
|
+
AGENT = 4
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Describes the enum livekit.proto.ParticipantKind.
|
|
90
|
+
*/
|
|
91
|
+
declare const ParticipantKindSchema: GenEnum<ParticipantKind>;
|
|
92
|
+
|
|
93
|
+
export { type OwnedParticipant, OwnedParticipantSchema, type ParticipantInfo, ParticipantInfoSchema, ParticipantKind, ParticipantKindSchema, file_participant };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { GenFile, GenMessage, GenEnum } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import { FfiOwnedHandle } from './handle_pb.js';
|
|
3
|
+
import { Message } from '@bufbuild/protobuf';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file participant.proto.
|
|
6
7
|
*/
|
|
7
|
-
|
|
8
|
+
declare const file_participant: GenFile;
|
|
8
9
|
/**
|
|
9
10
|
* @generated from message livekit.proto.ParticipantInfo
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
type ParticipantInfo = Message<"livekit.proto.ParticipantInfo"> & {
|
|
12
13
|
/**
|
|
13
14
|
* @generated from field: required string sid = 1;
|
|
14
15
|
*/
|
|
@@ -40,11 +41,11 @@ export type ParticipantInfo = Message<"livekit.proto.ParticipantInfo"> & {
|
|
|
40
41
|
* Describes the message livekit.proto.ParticipantInfo.
|
|
41
42
|
* Use `create(ParticipantInfoSchema)` to create a new message.
|
|
42
43
|
*/
|
|
43
|
-
|
|
44
|
+
declare const ParticipantInfoSchema: GenMessage<ParticipantInfo>;
|
|
44
45
|
/**
|
|
45
46
|
* @generated from message livekit.proto.OwnedParticipant
|
|
46
47
|
*/
|
|
47
|
-
|
|
48
|
+
type OwnedParticipant = Message<"livekit.proto.OwnedParticipant"> & {
|
|
48
49
|
/**
|
|
49
50
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
50
51
|
*/
|
|
@@ -58,11 +59,11 @@ export type OwnedParticipant = Message<"livekit.proto.OwnedParticipant"> & {
|
|
|
58
59
|
* Describes the message livekit.proto.OwnedParticipant.
|
|
59
60
|
* Use `create(OwnedParticipantSchema)` to create a new message.
|
|
60
61
|
*/
|
|
61
|
-
|
|
62
|
+
declare const OwnedParticipantSchema: GenMessage<OwnedParticipant>;
|
|
62
63
|
/**
|
|
63
64
|
* @generated from enum livekit.proto.ParticipantKind
|
|
64
65
|
*/
|
|
65
|
-
|
|
66
|
+
declare enum ParticipantKind {
|
|
66
67
|
/**
|
|
67
68
|
* @generated from enum value: PARTICIPANT_KIND_STANDARD = 0;
|
|
68
69
|
*/
|
|
@@ -87,5 +88,6 @@ export declare enum ParticipantKind {
|
|
|
87
88
|
/**
|
|
88
89
|
* Describes the enum livekit.proto.ParticipantKind.
|
|
89
90
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
declare const ParticipantKindSchema: GenEnum<ParticipantKind>;
|
|
92
|
+
|
|
93
|
+
export { type OwnedParticipant, OwnedParticipantSchema, type ParticipantInfo, ParticipantInfoSchema, ParticipantKind, ParticipantKindSchema, file_participant };
|