@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/rpc_pb.d.cts
CHANGED
|
@@ -1,237 +1,267 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Message } from '@bufbuild/protobuf';
|
|
1
|
+
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
3
2
|
|
|
4
|
-
/**
|
|
5
|
-
* Describes the file rpc.proto.
|
|
6
|
-
*/
|
|
7
|
-
declare const file_rpc: GenFile;
|
|
8
3
|
/**
|
|
9
4
|
* @generated from message livekit.proto.RpcError
|
|
10
5
|
*/
|
|
11
|
-
|
|
6
|
+
declare class RpcError extends Message<RpcError> {
|
|
12
7
|
/**
|
|
13
8
|
* @generated from field: required uint32 code = 1;
|
|
14
9
|
*/
|
|
15
|
-
code
|
|
10
|
+
code?: number;
|
|
16
11
|
/**
|
|
17
12
|
* @generated from field: required string message = 2;
|
|
18
13
|
*/
|
|
19
|
-
message
|
|
14
|
+
message?: string;
|
|
20
15
|
/**
|
|
21
16
|
* @generated from field: optional string data = 3;
|
|
22
17
|
*/
|
|
23
|
-
data
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
data?: string;
|
|
19
|
+
constructor(data?: PartialMessage<RpcError>);
|
|
20
|
+
static readonly runtime: typeof proto2;
|
|
21
|
+
static readonly typeName = "livekit.proto.RpcError";
|
|
22
|
+
static readonly fields: FieldList;
|
|
23
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcError;
|
|
24
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcError;
|
|
25
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcError;
|
|
26
|
+
static equals(a: RpcError | PlainMessage<RpcError> | undefined, b: RpcError | PlainMessage<RpcError> | undefined): boolean;
|
|
27
|
+
}
|
|
30
28
|
/**
|
|
31
29
|
* FFI Requests
|
|
32
30
|
*
|
|
33
31
|
* @generated from message livekit.proto.PerformRpcRequest
|
|
34
32
|
*/
|
|
35
|
-
|
|
33
|
+
declare class PerformRpcRequest extends Message<PerformRpcRequest> {
|
|
36
34
|
/**
|
|
37
35
|
* @generated from field: required uint64 local_participant_handle = 1;
|
|
38
36
|
*/
|
|
39
|
-
localParticipantHandle
|
|
37
|
+
localParticipantHandle?: bigint;
|
|
40
38
|
/**
|
|
41
39
|
* @generated from field: required string destination_identity = 2;
|
|
42
40
|
*/
|
|
43
|
-
destinationIdentity
|
|
41
|
+
destinationIdentity?: string;
|
|
44
42
|
/**
|
|
45
43
|
* @generated from field: required string method = 3;
|
|
46
44
|
*/
|
|
47
|
-
method
|
|
45
|
+
method?: string;
|
|
48
46
|
/**
|
|
49
47
|
* @generated from field: required string payload = 4;
|
|
50
48
|
*/
|
|
51
|
-
payload
|
|
49
|
+
payload?: string;
|
|
52
50
|
/**
|
|
53
51
|
* @generated from field: optional uint32 response_timeout_ms = 5;
|
|
54
52
|
*/
|
|
55
|
-
responseTimeoutMs
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
responseTimeoutMs?: number;
|
|
54
|
+
constructor(data?: PartialMessage<PerformRpcRequest>);
|
|
55
|
+
static readonly runtime: typeof proto2;
|
|
56
|
+
static readonly typeName = "livekit.proto.PerformRpcRequest";
|
|
57
|
+
static readonly fields: FieldList;
|
|
58
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
|
|
59
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
60
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
61
|
+
static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
|
|
62
|
+
}
|
|
62
63
|
/**
|
|
63
64
|
* @generated from message livekit.proto.RegisterRpcMethodRequest
|
|
64
65
|
*/
|
|
65
|
-
|
|
66
|
+
declare class RegisterRpcMethodRequest extends Message<RegisterRpcMethodRequest> {
|
|
66
67
|
/**
|
|
67
68
|
* @generated from field: required uint64 local_participant_handle = 1;
|
|
68
69
|
*/
|
|
69
|
-
localParticipantHandle
|
|
70
|
+
localParticipantHandle?: bigint;
|
|
70
71
|
/**
|
|
71
72
|
* @generated from field: required string method = 2;
|
|
72
73
|
*/
|
|
73
|
-
method
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
method?: string;
|
|
75
|
+
constructor(data?: PartialMessage<RegisterRpcMethodRequest>);
|
|
76
|
+
static readonly runtime: typeof proto2;
|
|
77
|
+
static readonly typeName = "livekit.proto.RegisterRpcMethodRequest";
|
|
78
|
+
static readonly fields: FieldList;
|
|
79
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodRequest;
|
|
80
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
|
|
81
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodRequest;
|
|
82
|
+
static equals(a: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined, b: RegisterRpcMethodRequest | PlainMessage<RegisterRpcMethodRequest> | undefined): boolean;
|
|
83
|
+
}
|
|
80
84
|
/**
|
|
81
85
|
* @generated from message livekit.proto.UnregisterRpcMethodRequest
|
|
82
86
|
*/
|
|
83
|
-
|
|
87
|
+
declare class UnregisterRpcMethodRequest extends Message<UnregisterRpcMethodRequest> {
|
|
84
88
|
/**
|
|
85
89
|
* @generated from field: required uint64 local_participant_handle = 1;
|
|
86
90
|
*/
|
|
87
|
-
localParticipantHandle
|
|
91
|
+
localParticipantHandle?: bigint;
|
|
88
92
|
/**
|
|
89
93
|
* @generated from field: required string method = 2;
|
|
90
94
|
*/
|
|
91
|
-
method
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
method?: string;
|
|
96
|
+
constructor(data?: PartialMessage<UnregisterRpcMethodRequest>);
|
|
97
|
+
static readonly runtime: typeof proto2;
|
|
98
|
+
static readonly typeName = "livekit.proto.UnregisterRpcMethodRequest";
|
|
99
|
+
static readonly fields: FieldList;
|
|
100
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodRequest;
|
|
101
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
|
|
102
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodRequest;
|
|
103
|
+
static equals(a: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined, b: UnregisterRpcMethodRequest | PlainMessage<UnregisterRpcMethodRequest> | undefined): boolean;
|
|
104
|
+
}
|
|
98
105
|
/**
|
|
99
106
|
* @generated from message livekit.proto.RpcMethodInvocationResponseRequest
|
|
100
107
|
*/
|
|
101
|
-
|
|
108
|
+
declare class RpcMethodInvocationResponseRequest extends Message<RpcMethodInvocationResponseRequest> {
|
|
102
109
|
/**
|
|
103
110
|
* @generated from field: required uint64 local_participant_handle = 1;
|
|
104
111
|
*/
|
|
105
|
-
localParticipantHandle
|
|
112
|
+
localParticipantHandle?: bigint;
|
|
106
113
|
/**
|
|
107
114
|
* @generated from field: required uint64 invocation_id = 2;
|
|
108
115
|
*/
|
|
109
|
-
invocationId
|
|
116
|
+
invocationId?: bigint;
|
|
110
117
|
/**
|
|
111
118
|
* @generated from field: optional string payload = 3;
|
|
112
119
|
*/
|
|
113
|
-
payload
|
|
120
|
+
payload?: string;
|
|
114
121
|
/**
|
|
115
122
|
* @generated from field: optional livekit.proto.RpcError error = 4;
|
|
116
123
|
*/
|
|
117
124
|
error?: RpcError;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
constructor(data?: PartialMessage<RpcMethodInvocationResponseRequest>);
|
|
126
|
+
static readonly runtime: typeof proto2;
|
|
127
|
+
static readonly typeName = "livekit.proto.RpcMethodInvocationResponseRequest";
|
|
128
|
+
static readonly fields: FieldList;
|
|
129
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseRequest;
|
|
130
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
|
|
131
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseRequest;
|
|
132
|
+
static equals(a: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined, b: RpcMethodInvocationResponseRequest | PlainMessage<RpcMethodInvocationResponseRequest> | undefined): boolean;
|
|
133
|
+
}
|
|
124
134
|
/**
|
|
125
135
|
* FFI Responses
|
|
126
136
|
*
|
|
127
137
|
* @generated from message livekit.proto.PerformRpcResponse
|
|
128
138
|
*/
|
|
129
|
-
|
|
139
|
+
declare class PerformRpcResponse extends Message<PerformRpcResponse> {
|
|
130
140
|
/**
|
|
131
141
|
* @generated from field: required uint64 async_id = 1;
|
|
132
142
|
*/
|
|
133
|
-
asyncId
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
143
|
+
asyncId?: bigint;
|
|
144
|
+
constructor(data?: PartialMessage<PerformRpcResponse>);
|
|
145
|
+
static readonly runtime: typeof proto2;
|
|
146
|
+
static readonly typeName = "livekit.proto.PerformRpcResponse";
|
|
147
|
+
static readonly fields: FieldList;
|
|
148
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
|
|
149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
151
|
+
static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
|
|
152
|
+
}
|
|
140
153
|
/**
|
|
141
154
|
* @generated from message livekit.proto.RegisterRpcMethodResponse
|
|
142
155
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
156
|
+
declare class RegisterRpcMethodResponse extends Message<RegisterRpcMethodResponse> {
|
|
157
|
+
constructor(data?: PartialMessage<RegisterRpcMethodResponse>);
|
|
158
|
+
static readonly runtime: typeof proto2;
|
|
159
|
+
static readonly typeName = "livekit.proto.RegisterRpcMethodResponse";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRpcMethodResponse;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRpcMethodResponse;
|
|
164
|
+
static equals(a: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined, b: RegisterRpcMethodResponse | PlainMessage<RegisterRpcMethodResponse> | undefined): boolean;
|
|
165
|
+
}
|
|
149
166
|
/**
|
|
150
167
|
* @generated from message livekit.proto.UnregisterRpcMethodResponse
|
|
151
168
|
*/
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
169
|
+
declare class UnregisterRpcMethodResponse extends Message<UnregisterRpcMethodResponse> {
|
|
170
|
+
constructor(data?: PartialMessage<UnregisterRpcMethodResponse>);
|
|
171
|
+
static readonly runtime: typeof proto2;
|
|
172
|
+
static readonly typeName = "livekit.proto.UnregisterRpcMethodResponse";
|
|
173
|
+
static readonly fields: FieldList;
|
|
174
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnregisterRpcMethodResponse;
|
|
175
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
|
|
176
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnregisterRpcMethodResponse;
|
|
177
|
+
static equals(a: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined, b: UnregisterRpcMethodResponse | PlainMessage<UnregisterRpcMethodResponse> | undefined): boolean;
|
|
178
|
+
}
|
|
158
179
|
/**
|
|
159
180
|
* @generated from message livekit.proto.RpcMethodInvocationResponseResponse
|
|
160
181
|
*/
|
|
161
|
-
|
|
182
|
+
declare class RpcMethodInvocationResponseResponse extends Message<RpcMethodInvocationResponseResponse> {
|
|
162
183
|
/**
|
|
163
184
|
* @generated from field: optional string error = 1;
|
|
164
185
|
*/
|
|
165
|
-
error
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
186
|
+
error?: string;
|
|
187
|
+
constructor(data?: PartialMessage<RpcMethodInvocationResponseResponse>);
|
|
188
|
+
static readonly runtime: typeof proto2;
|
|
189
|
+
static readonly typeName = "livekit.proto.RpcMethodInvocationResponseResponse";
|
|
190
|
+
static readonly fields: FieldList;
|
|
191
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationResponseResponse;
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
|
|
193
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationResponseResponse;
|
|
194
|
+
static equals(a: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined, b: RpcMethodInvocationResponseResponse | PlainMessage<RpcMethodInvocationResponseResponse> | undefined): boolean;
|
|
195
|
+
}
|
|
172
196
|
/**
|
|
173
197
|
* FFI Callbacks
|
|
174
198
|
*
|
|
175
199
|
* @generated from message livekit.proto.PerformRpcCallback
|
|
176
200
|
*/
|
|
177
|
-
|
|
201
|
+
declare class PerformRpcCallback extends Message<PerformRpcCallback> {
|
|
178
202
|
/**
|
|
179
203
|
* @generated from field: required uint64 async_id = 1;
|
|
180
204
|
*/
|
|
181
|
-
asyncId
|
|
205
|
+
asyncId?: bigint;
|
|
182
206
|
/**
|
|
183
207
|
* @generated from field: optional string payload = 2;
|
|
184
208
|
*/
|
|
185
|
-
payload
|
|
209
|
+
payload?: string;
|
|
186
210
|
/**
|
|
187
211
|
* @generated from field: optional livekit.proto.RpcError error = 3;
|
|
188
212
|
*/
|
|
189
213
|
error?: RpcError;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
214
|
+
constructor(data?: PartialMessage<PerformRpcCallback>);
|
|
215
|
+
static readonly runtime: typeof proto2;
|
|
216
|
+
static readonly typeName = "livekit.proto.PerformRpcCallback";
|
|
217
|
+
static readonly fields: FieldList;
|
|
218
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcCallback;
|
|
219
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcCallback;
|
|
220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcCallback;
|
|
221
|
+
static equals(a: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined, b: PerformRpcCallback | PlainMessage<PerformRpcCallback> | undefined): boolean;
|
|
222
|
+
}
|
|
196
223
|
/**
|
|
197
224
|
* FFI Events
|
|
198
225
|
*
|
|
199
226
|
* @generated from message livekit.proto.RpcMethodInvocationEvent
|
|
200
227
|
*/
|
|
201
|
-
|
|
228
|
+
declare class RpcMethodInvocationEvent extends Message<RpcMethodInvocationEvent> {
|
|
202
229
|
/**
|
|
203
230
|
* @generated from field: required uint64 local_participant_handle = 1;
|
|
204
231
|
*/
|
|
205
|
-
localParticipantHandle
|
|
232
|
+
localParticipantHandle?: bigint;
|
|
206
233
|
/**
|
|
207
234
|
* @generated from field: required uint64 invocation_id = 2;
|
|
208
235
|
*/
|
|
209
|
-
invocationId
|
|
236
|
+
invocationId?: bigint;
|
|
210
237
|
/**
|
|
211
238
|
* @generated from field: required string method = 3;
|
|
212
239
|
*/
|
|
213
|
-
method
|
|
240
|
+
method?: string;
|
|
214
241
|
/**
|
|
215
242
|
* @generated from field: required string request_id = 4;
|
|
216
243
|
*/
|
|
217
|
-
requestId
|
|
244
|
+
requestId?: string;
|
|
218
245
|
/**
|
|
219
246
|
* @generated from field: required string caller_identity = 5;
|
|
220
247
|
*/
|
|
221
|
-
callerIdentity
|
|
248
|
+
callerIdentity?: string;
|
|
222
249
|
/**
|
|
223
250
|
* @generated from field: required string payload = 6;
|
|
224
251
|
*/
|
|
225
|
-
payload
|
|
252
|
+
payload?: string;
|
|
226
253
|
/**
|
|
227
254
|
* @generated from field: required uint32 response_timeout_ms = 7;
|
|
228
255
|
*/
|
|
229
|
-
responseTimeoutMs
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
256
|
+
responseTimeoutMs?: number;
|
|
257
|
+
constructor(data?: PartialMessage<RpcMethodInvocationEvent>);
|
|
258
|
+
static readonly runtime: typeof proto2;
|
|
259
|
+
static readonly typeName = "livekit.proto.RpcMethodInvocationEvent";
|
|
260
|
+
static readonly fields: FieldList;
|
|
261
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RpcMethodInvocationEvent;
|
|
262
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
|
|
263
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RpcMethodInvocationEvent;
|
|
264
|
+
static equals(a: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined, b: RpcMethodInvocationEvent | PlainMessage<RpcMethodInvocationEvent> | undefined): boolean;
|
|
265
|
+
}
|
|
236
266
|
|
|
237
|
-
export {
|
|
267
|
+
export { PerformRpcCallback, PerformRpcRequest, PerformRpcResponse, RegisterRpcMethodRequest, RegisterRpcMethodResponse, RpcError, RpcMethodInvocationEvent, RpcMethodInvocationResponseRequest, RpcMethodInvocationResponseResponse, UnregisterRpcMethodRequest, UnregisterRpcMethodResponse };
|