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