@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
|
@@ -1,115 +1,242 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { Message, PartialMessage, proto2, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
+
import { TrackSource } from './track_pb.js';
|
|
3
|
+
import { FfiOwnedHandle } from './handle_pb.js';
|
|
4
|
+
import './stats_pb.js';
|
|
5
|
+
import './e2ee_pb.js';
|
|
6
|
+
|
|
5
7
|
/**
|
|
6
|
-
*
|
|
8
|
+
* @generated from enum livekit.proto.VideoCodec
|
|
9
|
+
*/
|
|
10
|
+
declare enum VideoCodec {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: VP8 = 0;
|
|
13
|
+
*/
|
|
14
|
+
VP8 = 0,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: H264 = 1;
|
|
17
|
+
*/
|
|
18
|
+
H264 = 1,
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: AV1 = 2;
|
|
21
|
+
*/
|
|
22
|
+
AV1 = 2,
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: VP9 = 3;
|
|
25
|
+
*/
|
|
26
|
+
VP9 = 3
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum livekit.proto.VideoRotation
|
|
30
|
+
*/
|
|
31
|
+
declare enum VideoRotation {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: VIDEO_ROTATION_0 = 0;
|
|
34
|
+
*/
|
|
35
|
+
VIDEO_ROTATION_0 = 0,
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum value: VIDEO_ROTATION_90 = 1;
|
|
38
|
+
*/
|
|
39
|
+
VIDEO_ROTATION_90 = 1,
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: VIDEO_ROTATION_180 = 2;
|
|
42
|
+
*/
|
|
43
|
+
VIDEO_ROTATION_180 = 2,
|
|
44
|
+
/**
|
|
45
|
+
* @generated from enum value: VIDEO_ROTATION_270 = 3;
|
|
46
|
+
*/
|
|
47
|
+
VIDEO_ROTATION_270 = 3
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum livekit.proto.VideoBufferType
|
|
51
|
+
*/
|
|
52
|
+
declare enum VideoBufferType {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: RGBA = 0;
|
|
55
|
+
*/
|
|
56
|
+
RGBA = 0,
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum value: ABGR = 1;
|
|
59
|
+
*/
|
|
60
|
+
ABGR = 1,
|
|
61
|
+
/**
|
|
62
|
+
* @generated from enum value: ARGB = 2;
|
|
63
|
+
*/
|
|
64
|
+
ARGB = 2,
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: BGRA = 3;
|
|
67
|
+
*/
|
|
68
|
+
BGRA = 3,
|
|
69
|
+
/**
|
|
70
|
+
* @generated from enum value: RGB24 = 4;
|
|
71
|
+
*/
|
|
72
|
+
RGB24 = 4,
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum value: I420 = 5;
|
|
75
|
+
*/
|
|
76
|
+
I420 = 5,
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: I420A = 6;
|
|
79
|
+
*/
|
|
80
|
+
I420A = 6,
|
|
81
|
+
/**
|
|
82
|
+
* @generated from enum value: I422 = 7;
|
|
83
|
+
*/
|
|
84
|
+
I422 = 7,
|
|
85
|
+
/**
|
|
86
|
+
* @generated from enum value: I444 = 8;
|
|
87
|
+
*/
|
|
88
|
+
I444 = 8,
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum value: I010 = 9;
|
|
91
|
+
*/
|
|
92
|
+
I010 = 9,
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: NV12 = 10;
|
|
95
|
+
*/
|
|
96
|
+
NV12 = 10
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @generated from enum livekit.proto.VideoStreamType
|
|
7
100
|
*/
|
|
8
|
-
|
|
101
|
+
declare enum VideoStreamType {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: VIDEO_STREAM_NATIVE = 0;
|
|
104
|
+
*/
|
|
105
|
+
VIDEO_STREAM_NATIVE = 0,
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: VIDEO_STREAM_WEBGL = 1;
|
|
108
|
+
*/
|
|
109
|
+
VIDEO_STREAM_WEBGL = 1,
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: VIDEO_STREAM_HTML = 2;
|
|
112
|
+
*/
|
|
113
|
+
VIDEO_STREAM_HTML = 2
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum livekit.proto.VideoSourceType
|
|
117
|
+
*/
|
|
118
|
+
declare enum VideoSourceType {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
|
|
121
|
+
*/
|
|
122
|
+
VIDEO_SOURCE_NATIVE = 0
|
|
123
|
+
}
|
|
9
124
|
/**
|
|
10
125
|
* Create a new VideoStream
|
|
11
126
|
* VideoStream is used to receive video frames from a track
|
|
12
127
|
*
|
|
13
128
|
* @generated from message livekit.proto.NewVideoStreamRequest
|
|
14
129
|
*/
|
|
15
|
-
|
|
130
|
+
declare class NewVideoStreamRequest extends Message<NewVideoStreamRequest> {
|
|
16
131
|
/**
|
|
17
132
|
* @generated from field: required uint64 track_handle = 1;
|
|
18
133
|
*/
|
|
19
|
-
trackHandle
|
|
134
|
+
trackHandle?: bigint;
|
|
20
135
|
/**
|
|
21
136
|
* @generated from field: required livekit.proto.VideoStreamType type = 2;
|
|
22
137
|
*/
|
|
23
|
-
type
|
|
138
|
+
type?: VideoStreamType;
|
|
24
139
|
/**
|
|
25
140
|
* Get the frame on a specific format
|
|
26
141
|
*
|
|
27
142
|
* @generated from field: optional livekit.proto.VideoBufferType format = 3;
|
|
28
143
|
*/
|
|
29
|
-
format
|
|
144
|
+
format?: VideoBufferType;
|
|
30
145
|
/**
|
|
31
146
|
* if true, stride will be set to width/chroma_width
|
|
32
147
|
*
|
|
33
148
|
* @generated from field: optional bool normalize_stride = 4;
|
|
34
149
|
*/
|
|
35
|
-
normalizeStride
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
150
|
+
normalizeStride?: boolean;
|
|
151
|
+
constructor(data?: PartialMessage<NewVideoStreamRequest>);
|
|
152
|
+
static readonly runtime: typeof proto2;
|
|
153
|
+
static readonly typeName = "livekit.proto.NewVideoStreamRequest";
|
|
154
|
+
static readonly fields: FieldList;
|
|
155
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamRequest;
|
|
156
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamRequest;
|
|
157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamRequest;
|
|
158
|
+
static equals(a: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined, b: NewVideoStreamRequest | PlainMessage<NewVideoStreamRequest> | undefined): boolean;
|
|
159
|
+
}
|
|
42
160
|
/**
|
|
43
161
|
* @generated from message livekit.proto.NewVideoStreamResponse
|
|
44
162
|
*/
|
|
45
|
-
|
|
163
|
+
declare class NewVideoStreamResponse extends Message<NewVideoStreamResponse> {
|
|
46
164
|
/**
|
|
47
165
|
* @generated from field: required livekit.proto.OwnedVideoStream stream = 1;
|
|
48
166
|
*/
|
|
49
167
|
stream?: OwnedVideoStream;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
168
|
+
constructor(data?: PartialMessage<NewVideoStreamResponse>);
|
|
169
|
+
static readonly runtime: typeof proto2;
|
|
170
|
+
static readonly typeName = "livekit.proto.NewVideoStreamResponse";
|
|
171
|
+
static readonly fields: FieldList;
|
|
172
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoStreamResponse;
|
|
173
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoStreamResponse;
|
|
174
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoStreamResponse;
|
|
175
|
+
static equals(a: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined, b: NewVideoStreamResponse | PlainMessage<NewVideoStreamResponse> | undefined): boolean;
|
|
176
|
+
}
|
|
56
177
|
/**
|
|
57
178
|
* Request a video stream from a participant
|
|
58
179
|
*
|
|
59
180
|
* @generated from message livekit.proto.VideoStreamFromParticipantRequest
|
|
60
181
|
*/
|
|
61
|
-
|
|
182
|
+
declare class VideoStreamFromParticipantRequest extends Message<VideoStreamFromParticipantRequest> {
|
|
62
183
|
/**
|
|
63
184
|
* @generated from field: required uint64 participant_handle = 1;
|
|
64
185
|
*/
|
|
65
|
-
participantHandle
|
|
186
|
+
participantHandle?: bigint;
|
|
66
187
|
/**
|
|
67
188
|
* @generated from field: required livekit.proto.VideoStreamType type = 2;
|
|
68
189
|
*/
|
|
69
|
-
type
|
|
190
|
+
type?: VideoStreamType;
|
|
70
191
|
/**
|
|
71
192
|
* @generated from field: required livekit.proto.TrackSource track_source = 3;
|
|
72
193
|
*/
|
|
73
|
-
trackSource
|
|
194
|
+
trackSource?: TrackSource;
|
|
74
195
|
/**
|
|
75
196
|
* @generated from field: optional livekit.proto.VideoBufferType format = 4;
|
|
76
197
|
*/
|
|
77
|
-
format
|
|
198
|
+
format?: VideoBufferType;
|
|
78
199
|
/**
|
|
79
200
|
* @generated from field: optional bool normalize_stride = 5;
|
|
80
201
|
*/
|
|
81
|
-
normalizeStride
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
202
|
+
normalizeStride?: boolean;
|
|
203
|
+
constructor(data?: PartialMessage<VideoStreamFromParticipantRequest>);
|
|
204
|
+
static readonly runtime: typeof proto2;
|
|
205
|
+
static readonly typeName = "livekit.proto.VideoStreamFromParticipantRequest";
|
|
206
|
+
static readonly fields: FieldList;
|
|
207
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamFromParticipantRequest;
|
|
208
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantRequest;
|
|
209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantRequest;
|
|
210
|
+
static equals(a: VideoStreamFromParticipantRequest | PlainMessage<VideoStreamFromParticipantRequest> | undefined, b: VideoStreamFromParticipantRequest | PlainMessage<VideoStreamFromParticipantRequest> | undefined): boolean;
|
|
211
|
+
}
|
|
88
212
|
/**
|
|
89
213
|
* @generated from message livekit.proto.VideoStreamFromParticipantResponse
|
|
90
214
|
*/
|
|
91
|
-
|
|
215
|
+
declare class VideoStreamFromParticipantResponse extends Message<VideoStreamFromParticipantResponse> {
|
|
92
216
|
/**
|
|
93
217
|
* @generated from field: required livekit.proto.OwnedVideoStream stream = 1;
|
|
94
218
|
*/
|
|
95
219
|
stream?: OwnedVideoStream;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
220
|
+
constructor(data?: PartialMessage<VideoStreamFromParticipantResponse>);
|
|
221
|
+
static readonly runtime: typeof proto2;
|
|
222
|
+
static readonly typeName = "livekit.proto.VideoStreamFromParticipantResponse";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamFromParticipantResponse;
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantResponse;
|
|
226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamFromParticipantResponse;
|
|
227
|
+
static equals(a: VideoStreamFromParticipantResponse | PlainMessage<VideoStreamFromParticipantResponse> | undefined, b: VideoStreamFromParticipantResponse | PlainMessage<VideoStreamFromParticipantResponse> | undefined): boolean;
|
|
228
|
+
}
|
|
102
229
|
/**
|
|
103
230
|
* Create a new VideoSource
|
|
104
231
|
* VideoSource is used to send video frame to a track
|
|
105
232
|
*
|
|
106
233
|
* @generated from message livekit.proto.NewVideoSourceRequest
|
|
107
234
|
*/
|
|
108
|
-
|
|
235
|
+
declare class NewVideoSourceRequest extends Message<NewVideoSourceRequest> {
|
|
109
236
|
/**
|
|
110
237
|
* @generated from field: required livekit.proto.VideoSourceType type = 1;
|
|
111
238
|
*/
|
|
112
|
-
type
|
|
239
|
+
type?: VideoSourceType;
|
|
113
240
|
/**
|
|
114
241
|
* Used to determine which encodings to use + simulcast layers
|
|
115
242
|
* Most of the time it corresponds to the source resolution
|
|
@@ -117,36 +244,42 @@ export type NewVideoSourceRequest = Message<"livekit.proto.NewVideoSourceRequest
|
|
|
117
244
|
* @generated from field: required livekit.proto.VideoSourceResolution resolution = 2;
|
|
118
245
|
*/
|
|
119
246
|
resolution?: VideoSourceResolution;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
247
|
+
constructor(data?: PartialMessage<NewVideoSourceRequest>);
|
|
248
|
+
static readonly runtime: typeof proto2;
|
|
249
|
+
static readonly typeName = "livekit.proto.NewVideoSourceRequest";
|
|
250
|
+
static readonly fields: FieldList;
|
|
251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceRequest;
|
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceRequest;
|
|
253
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceRequest;
|
|
254
|
+
static equals(a: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined, b: NewVideoSourceRequest | PlainMessage<NewVideoSourceRequest> | undefined): boolean;
|
|
255
|
+
}
|
|
126
256
|
/**
|
|
127
257
|
* @generated from message livekit.proto.NewVideoSourceResponse
|
|
128
258
|
*/
|
|
129
|
-
|
|
259
|
+
declare class NewVideoSourceResponse extends Message<NewVideoSourceResponse> {
|
|
130
260
|
/**
|
|
131
261
|
* @generated from field: required livekit.proto.OwnedVideoSource source = 1;
|
|
132
262
|
*/
|
|
133
263
|
source?: OwnedVideoSource;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
264
|
+
constructor(data?: PartialMessage<NewVideoSourceResponse>);
|
|
265
|
+
static readonly runtime: typeof proto2;
|
|
266
|
+
static readonly typeName = "livekit.proto.NewVideoSourceResponse";
|
|
267
|
+
static readonly fields: FieldList;
|
|
268
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewVideoSourceResponse;
|
|
269
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewVideoSourceResponse;
|
|
270
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewVideoSourceResponse;
|
|
271
|
+
static equals(a: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined, b: NewVideoSourceResponse | PlainMessage<NewVideoSourceResponse> | undefined): boolean;
|
|
272
|
+
}
|
|
140
273
|
/**
|
|
141
274
|
* Push a frame to a VideoSource
|
|
142
275
|
*
|
|
143
276
|
* @generated from message livekit.proto.CaptureVideoFrameRequest
|
|
144
277
|
*/
|
|
145
|
-
|
|
278
|
+
declare class CaptureVideoFrameRequest extends Message<CaptureVideoFrameRequest> {
|
|
146
279
|
/**
|
|
147
280
|
* @generated from field: required uint64 source_handle = 1;
|
|
148
281
|
*/
|
|
149
|
-
sourceHandle
|
|
282
|
+
sourceHandle?: bigint;
|
|
150
283
|
/**
|
|
151
284
|
* @generated from field: required livekit.proto.VideoBufferInfo buffer = 2;
|
|
152
285
|
*/
|
|
@@ -156,34 +289,41 @@ export type CaptureVideoFrameRequest = Message<"livekit.proto.CaptureVideoFrameR
|
|
|
156
289
|
*
|
|
157
290
|
* @generated from field: required int64 timestamp_us = 3;
|
|
158
291
|
*/
|
|
159
|
-
timestampUs
|
|
292
|
+
timestampUs?: bigint;
|
|
160
293
|
/**
|
|
161
294
|
* @generated from field: required livekit.proto.VideoRotation rotation = 4;
|
|
162
295
|
*/
|
|
163
|
-
rotation
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
296
|
+
rotation?: VideoRotation;
|
|
297
|
+
constructor(data?: PartialMessage<CaptureVideoFrameRequest>);
|
|
298
|
+
static readonly runtime: typeof proto2;
|
|
299
|
+
static readonly typeName = "livekit.proto.CaptureVideoFrameRequest";
|
|
300
|
+
static readonly fields: FieldList;
|
|
301
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameRequest;
|
|
302
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureVideoFrameRequest;
|
|
303
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureVideoFrameRequest;
|
|
304
|
+
static equals(a: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined, b: CaptureVideoFrameRequest | PlainMessage<CaptureVideoFrameRequest> | undefined): boolean;
|
|
305
|
+
}
|
|
170
306
|
/**
|
|
171
307
|
* @generated from message livekit.proto.CaptureVideoFrameResponse
|
|
172
308
|
*/
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
309
|
+
declare class CaptureVideoFrameResponse extends Message<CaptureVideoFrameResponse> {
|
|
310
|
+
constructor(data?: PartialMessage<CaptureVideoFrameResponse>);
|
|
311
|
+
static readonly runtime: typeof proto2;
|
|
312
|
+
static readonly typeName = "livekit.proto.CaptureVideoFrameResponse";
|
|
313
|
+
static readonly fields: FieldList;
|
|
314
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CaptureVideoFrameResponse;
|
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse;
|
|
316
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CaptureVideoFrameResponse;
|
|
317
|
+
static equals(a: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined, b: CaptureVideoFrameResponse | PlainMessage<CaptureVideoFrameResponse> | undefined): boolean;
|
|
318
|
+
}
|
|
179
319
|
/**
|
|
180
320
|
* @generated from message livekit.proto.VideoConvertRequest
|
|
181
321
|
*/
|
|
182
|
-
|
|
322
|
+
declare class VideoConvertRequest extends Message<VideoConvertRequest> {
|
|
183
323
|
/**
|
|
184
324
|
* @generated from field: optional bool flip_y = 1;
|
|
185
325
|
*/
|
|
186
|
-
flipY
|
|
326
|
+
flipY?: boolean;
|
|
187
327
|
/**
|
|
188
328
|
* @generated from field: required livekit.proto.VideoBufferInfo buffer = 2;
|
|
189
329
|
*/
|
|
@@ -191,17 +331,20 @@ export type VideoConvertRequest = Message<"livekit.proto.VideoConvertRequest"> &
|
|
|
191
331
|
/**
|
|
192
332
|
* @generated from field: required livekit.proto.VideoBufferType dst_type = 3;
|
|
193
333
|
*/
|
|
194
|
-
dstType
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
334
|
+
dstType?: VideoBufferType;
|
|
335
|
+
constructor(data?: PartialMessage<VideoConvertRequest>);
|
|
336
|
+
static readonly runtime: typeof proto2;
|
|
337
|
+
static readonly typeName = "livekit.proto.VideoConvertRequest";
|
|
338
|
+
static readonly fields: FieldList;
|
|
339
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConvertRequest;
|
|
340
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConvertRequest;
|
|
341
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConvertRequest;
|
|
342
|
+
static equals(a: VideoConvertRequest | PlainMessage<VideoConvertRequest> | undefined, b: VideoConvertRequest | PlainMessage<VideoConvertRequest> | undefined): boolean;
|
|
343
|
+
}
|
|
201
344
|
/**
|
|
202
345
|
* @generated from message livekit.proto.VideoConvertResponse
|
|
203
346
|
*/
|
|
204
|
-
|
|
347
|
+
declare class VideoConvertResponse extends Message<VideoConvertResponse> {
|
|
205
348
|
/**
|
|
206
349
|
* @generated from oneof livekit.proto.VideoConvertResponse.message
|
|
207
350
|
*/
|
|
@@ -221,96 +364,108 @@ export type VideoConvertResponse = Message<"livekit.proto.VideoConvertResponse">
|
|
|
221
364
|
case: undefined;
|
|
222
365
|
value?: undefined;
|
|
223
366
|
};
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
367
|
+
constructor(data?: PartialMessage<VideoConvertResponse>);
|
|
368
|
+
static readonly runtime: typeof proto2;
|
|
369
|
+
static readonly typeName = "livekit.proto.VideoConvertResponse";
|
|
370
|
+
static readonly fields: FieldList;
|
|
371
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoConvertResponse;
|
|
372
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoConvertResponse;
|
|
373
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoConvertResponse;
|
|
374
|
+
static equals(a: VideoConvertResponse | PlainMessage<VideoConvertResponse> | undefined, b: VideoConvertResponse | PlainMessage<VideoConvertResponse> | undefined): boolean;
|
|
375
|
+
}
|
|
230
376
|
/**
|
|
231
377
|
* @generated from message livekit.proto.VideoResolution
|
|
232
378
|
*/
|
|
233
|
-
|
|
379
|
+
declare class VideoResolution extends Message<VideoResolution> {
|
|
234
380
|
/**
|
|
235
381
|
* @generated from field: required uint32 width = 1;
|
|
236
382
|
*/
|
|
237
|
-
width
|
|
383
|
+
width?: number;
|
|
238
384
|
/**
|
|
239
385
|
* @generated from field: required uint32 height = 2;
|
|
240
386
|
*/
|
|
241
|
-
height
|
|
387
|
+
height?: number;
|
|
242
388
|
/**
|
|
243
389
|
* @generated from field: required double frame_rate = 3;
|
|
244
390
|
*/
|
|
245
|
-
frameRate
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
391
|
+
frameRate?: number;
|
|
392
|
+
constructor(data?: PartialMessage<VideoResolution>);
|
|
393
|
+
static readonly runtime: typeof proto2;
|
|
394
|
+
static readonly typeName = "livekit.proto.VideoResolution";
|
|
395
|
+
static readonly fields: FieldList;
|
|
396
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoResolution;
|
|
397
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoResolution;
|
|
398
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoResolution;
|
|
399
|
+
static equals(a: VideoResolution | PlainMessage<VideoResolution> | undefined, b: VideoResolution | PlainMessage<VideoResolution> | undefined): boolean;
|
|
400
|
+
}
|
|
252
401
|
/**
|
|
253
402
|
* @generated from message livekit.proto.VideoBufferInfo
|
|
254
403
|
*/
|
|
255
|
-
|
|
404
|
+
declare class VideoBufferInfo extends Message<VideoBufferInfo> {
|
|
256
405
|
/**
|
|
257
406
|
* @generated from field: required livekit.proto.VideoBufferType type = 1;
|
|
258
407
|
*/
|
|
259
|
-
type
|
|
408
|
+
type?: VideoBufferType;
|
|
260
409
|
/**
|
|
261
410
|
* @generated from field: required uint32 width = 2;
|
|
262
411
|
*/
|
|
263
|
-
width
|
|
412
|
+
width?: number;
|
|
264
413
|
/**
|
|
265
414
|
* @generated from field: required uint32 height = 3;
|
|
266
415
|
*/
|
|
267
|
-
height
|
|
416
|
+
height?: number;
|
|
268
417
|
/**
|
|
269
418
|
* @generated from field: required uint64 data_ptr = 4;
|
|
270
419
|
*/
|
|
271
|
-
dataPtr
|
|
420
|
+
dataPtr?: bigint;
|
|
272
421
|
/**
|
|
273
422
|
* only for packed formats
|
|
274
423
|
*
|
|
275
424
|
* @generated from field: required uint32 stride = 6;
|
|
276
425
|
*/
|
|
277
|
-
stride
|
|
426
|
+
stride?: number;
|
|
278
427
|
/**
|
|
279
428
|
* @generated from field: repeated livekit.proto.VideoBufferInfo.ComponentInfo components = 7;
|
|
280
429
|
*/
|
|
281
430
|
components: VideoBufferInfo_ComponentInfo[];
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
431
|
+
constructor(data?: PartialMessage<VideoBufferInfo>);
|
|
432
|
+
static readonly runtime: typeof proto2;
|
|
433
|
+
static readonly typeName = "livekit.proto.VideoBufferInfo";
|
|
434
|
+
static readonly fields: FieldList;
|
|
435
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoBufferInfo;
|
|
436
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoBufferInfo;
|
|
437
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoBufferInfo;
|
|
438
|
+
static equals(a: VideoBufferInfo | PlainMessage<VideoBufferInfo> | undefined, b: VideoBufferInfo | PlainMessage<VideoBufferInfo> | undefined): boolean;
|
|
439
|
+
}
|
|
288
440
|
/**
|
|
289
441
|
* @generated from message livekit.proto.VideoBufferInfo.ComponentInfo
|
|
290
442
|
*/
|
|
291
|
-
|
|
443
|
+
declare class VideoBufferInfo_ComponentInfo extends Message<VideoBufferInfo_ComponentInfo> {
|
|
292
444
|
/**
|
|
293
445
|
* @generated from field: required uint64 data_ptr = 1;
|
|
294
446
|
*/
|
|
295
|
-
dataPtr
|
|
447
|
+
dataPtr?: bigint;
|
|
296
448
|
/**
|
|
297
449
|
* @generated from field: required uint32 stride = 2;
|
|
298
450
|
*/
|
|
299
|
-
stride
|
|
451
|
+
stride?: number;
|
|
300
452
|
/**
|
|
301
453
|
* @generated from field: required uint32 size = 3;
|
|
302
454
|
*/
|
|
303
|
-
size
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
455
|
+
size?: number;
|
|
456
|
+
constructor(data?: PartialMessage<VideoBufferInfo_ComponentInfo>);
|
|
457
|
+
static readonly runtime: typeof proto2;
|
|
458
|
+
static readonly typeName = "livekit.proto.VideoBufferInfo.ComponentInfo";
|
|
459
|
+
static readonly fields: FieldList;
|
|
460
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoBufferInfo_ComponentInfo;
|
|
461
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoBufferInfo_ComponentInfo;
|
|
462
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoBufferInfo_ComponentInfo;
|
|
463
|
+
static equals(a: VideoBufferInfo_ComponentInfo | PlainMessage<VideoBufferInfo_ComponentInfo> | undefined, b: VideoBufferInfo_ComponentInfo | PlainMessage<VideoBufferInfo_ComponentInfo> | undefined): boolean;
|
|
464
|
+
}
|
|
310
465
|
/**
|
|
311
466
|
* @generated from message livekit.proto.OwnedVideoBuffer
|
|
312
467
|
*/
|
|
313
|
-
|
|
468
|
+
declare class OwnedVideoBuffer extends Message<OwnedVideoBuffer> {
|
|
314
469
|
/**
|
|
315
470
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
316
471
|
*/
|
|
@@ -319,30 +474,36 @@ export type OwnedVideoBuffer = Message<"livekit.proto.OwnedVideoBuffer"> & {
|
|
|
319
474
|
* @generated from field: required livekit.proto.VideoBufferInfo info = 2;
|
|
320
475
|
*/
|
|
321
476
|
info?: VideoBufferInfo;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
477
|
+
constructor(data?: PartialMessage<OwnedVideoBuffer>);
|
|
478
|
+
static readonly runtime: typeof proto2;
|
|
479
|
+
static readonly typeName = "livekit.proto.OwnedVideoBuffer";
|
|
480
|
+
static readonly fields: FieldList;
|
|
481
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoBuffer;
|
|
482
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoBuffer;
|
|
483
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoBuffer;
|
|
484
|
+
static equals(a: OwnedVideoBuffer | PlainMessage<OwnedVideoBuffer> | undefined, b: OwnedVideoBuffer | PlainMessage<OwnedVideoBuffer> | undefined): boolean;
|
|
485
|
+
}
|
|
328
486
|
/**
|
|
329
487
|
* @generated from message livekit.proto.VideoStreamInfo
|
|
330
488
|
*/
|
|
331
|
-
|
|
489
|
+
declare class VideoStreamInfo extends Message<VideoStreamInfo> {
|
|
332
490
|
/**
|
|
333
491
|
* @generated from field: required livekit.proto.VideoStreamType type = 1;
|
|
334
492
|
*/
|
|
335
|
-
type
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
493
|
+
type?: VideoStreamType;
|
|
494
|
+
constructor(data?: PartialMessage<VideoStreamInfo>);
|
|
495
|
+
static readonly runtime: typeof proto2;
|
|
496
|
+
static readonly typeName = "livekit.proto.VideoStreamInfo";
|
|
497
|
+
static readonly fields: FieldList;
|
|
498
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamInfo;
|
|
499
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamInfo;
|
|
500
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamInfo;
|
|
501
|
+
static equals(a: VideoStreamInfo | PlainMessage<VideoStreamInfo> | undefined, b: VideoStreamInfo | PlainMessage<VideoStreamInfo> | undefined): boolean;
|
|
502
|
+
}
|
|
342
503
|
/**
|
|
343
504
|
* @generated from message livekit.proto.OwnedVideoStream
|
|
344
505
|
*/
|
|
345
|
-
|
|
506
|
+
declare class OwnedVideoStream extends Message<OwnedVideoStream> {
|
|
346
507
|
/**
|
|
347
508
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
348
509
|
*/
|
|
@@ -351,20 +512,23 @@ export type OwnedVideoStream = Message<"livekit.proto.OwnedVideoStream"> & {
|
|
|
351
512
|
* @generated from field: required livekit.proto.VideoStreamInfo info = 2;
|
|
352
513
|
*/
|
|
353
514
|
info?: VideoStreamInfo;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
515
|
+
constructor(data?: PartialMessage<OwnedVideoStream>);
|
|
516
|
+
static readonly runtime: typeof proto2;
|
|
517
|
+
static readonly typeName = "livekit.proto.OwnedVideoStream";
|
|
518
|
+
static readonly fields: FieldList;
|
|
519
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoStream;
|
|
520
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoStream;
|
|
521
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoStream;
|
|
522
|
+
static equals(a: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined, b: OwnedVideoStream | PlainMessage<OwnedVideoStream> | undefined): boolean;
|
|
523
|
+
}
|
|
360
524
|
/**
|
|
361
525
|
* @generated from message livekit.proto.VideoStreamEvent
|
|
362
526
|
*/
|
|
363
|
-
|
|
527
|
+
declare class VideoStreamEvent extends Message<VideoStreamEvent> {
|
|
364
528
|
/**
|
|
365
529
|
* @generated from field: required uint64 stream_handle = 1;
|
|
366
530
|
*/
|
|
367
|
-
streamHandle
|
|
531
|
+
streamHandle?: bigint;
|
|
368
532
|
/**
|
|
369
533
|
* @generated from oneof livekit.proto.VideoStreamEvent.message
|
|
370
534
|
*/
|
|
@@ -384,16 +548,19 @@ export type VideoStreamEvent = Message<"livekit.proto.VideoStreamEvent"> & {
|
|
|
384
548
|
case: undefined;
|
|
385
549
|
value?: undefined;
|
|
386
550
|
};
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
551
|
+
constructor(data?: PartialMessage<VideoStreamEvent>);
|
|
552
|
+
static readonly runtime: typeof proto2;
|
|
553
|
+
static readonly typeName = "livekit.proto.VideoStreamEvent";
|
|
554
|
+
static readonly fields: FieldList;
|
|
555
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEvent;
|
|
556
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEvent;
|
|
557
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEvent;
|
|
558
|
+
static equals(a: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined, b: VideoStreamEvent | PlainMessage<VideoStreamEvent> | undefined): boolean;
|
|
559
|
+
}
|
|
393
560
|
/**
|
|
394
561
|
* @generated from message livekit.proto.VideoFrameReceived
|
|
395
562
|
*/
|
|
396
|
-
|
|
563
|
+
declare class VideoFrameReceived extends Message<VideoFrameReceived> {
|
|
397
564
|
/**
|
|
398
565
|
* @generated from field: required livekit.proto.OwnedVideoBuffer buffer = 1;
|
|
399
566
|
*/
|
|
@@ -403,62 +570,75 @@ export type VideoFrameReceived = Message<"livekit.proto.VideoFrameReceived"> & {
|
|
|
403
570
|
*
|
|
404
571
|
* @generated from field: required int64 timestamp_us = 2;
|
|
405
572
|
*/
|
|
406
|
-
timestampUs
|
|
573
|
+
timestampUs?: bigint;
|
|
407
574
|
/**
|
|
408
575
|
* @generated from field: required livekit.proto.VideoRotation rotation = 3;
|
|
409
576
|
*/
|
|
410
|
-
rotation
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
577
|
+
rotation?: VideoRotation;
|
|
578
|
+
constructor(data?: PartialMessage<VideoFrameReceived>);
|
|
579
|
+
static readonly runtime: typeof proto2;
|
|
580
|
+
static readonly typeName = "livekit.proto.VideoFrameReceived";
|
|
581
|
+
static readonly fields: FieldList;
|
|
582
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoFrameReceived;
|
|
583
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoFrameReceived;
|
|
584
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoFrameReceived;
|
|
585
|
+
static equals(a: VideoFrameReceived | PlainMessage<VideoFrameReceived> | undefined, b: VideoFrameReceived | PlainMessage<VideoFrameReceived> | undefined): boolean;
|
|
586
|
+
}
|
|
417
587
|
/**
|
|
418
588
|
* @generated from message livekit.proto.VideoStreamEOS
|
|
419
589
|
*/
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
590
|
+
declare class VideoStreamEOS extends Message<VideoStreamEOS> {
|
|
591
|
+
constructor(data?: PartialMessage<VideoStreamEOS>);
|
|
592
|
+
static readonly runtime: typeof proto2;
|
|
593
|
+
static readonly typeName = "livekit.proto.VideoStreamEOS";
|
|
594
|
+
static readonly fields: FieldList;
|
|
595
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoStreamEOS;
|
|
596
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoStreamEOS;
|
|
597
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoStreamEOS;
|
|
598
|
+
static equals(a: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined, b: VideoStreamEOS | PlainMessage<VideoStreamEOS> | undefined): boolean;
|
|
599
|
+
}
|
|
426
600
|
/**
|
|
427
601
|
* @generated from message livekit.proto.VideoSourceResolution
|
|
428
602
|
*/
|
|
429
|
-
|
|
603
|
+
declare class VideoSourceResolution extends Message<VideoSourceResolution> {
|
|
430
604
|
/**
|
|
431
605
|
* @generated from field: required uint32 width = 1;
|
|
432
606
|
*/
|
|
433
|
-
width
|
|
607
|
+
width?: number;
|
|
434
608
|
/**
|
|
435
609
|
* @generated from field: required uint32 height = 2;
|
|
436
610
|
*/
|
|
437
|
-
height
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
611
|
+
height?: number;
|
|
612
|
+
constructor(data?: PartialMessage<VideoSourceResolution>);
|
|
613
|
+
static readonly runtime: typeof proto2;
|
|
614
|
+
static readonly typeName = "livekit.proto.VideoSourceResolution";
|
|
615
|
+
static readonly fields: FieldList;
|
|
616
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceResolution;
|
|
617
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceResolution;
|
|
618
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceResolution;
|
|
619
|
+
static equals(a: VideoSourceResolution | PlainMessage<VideoSourceResolution> | undefined, b: VideoSourceResolution | PlainMessage<VideoSourceResolution> | undefined): boolean;
|
|
620
|
+
}
|
|
444
621
|
/**
|
|
445
622
|
* @generated from message livekit.proto.VideoSourceInfo
|
|
446
623
|
*/
|
|
447
|
-
|
|
624
|
+
declare class VideoSourceInfo extends Message<VideoSourceInfo> {
|
|
448
625
|
/**
|
|
449
626
|
* @generated from field: required livekit.proto.VideoSourceType type = 1;
|
|
450
627
|
*/
|
|
451
|
-
type
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
628
|
+
type?: VideoSourceType;
|
|
629
|
+
constructor(data?: PartialMessage<VideoSourceInfo>);
|
|
630
|
+
static readonly runtime: typeof proto2;
|
|
631
|
+
static readonly typeName = "livekit.proto.VideoSourceInfo";
|
|
632
|
+
static readonly fields: FieldList;
|
|
633
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoSourceInfo;
|
|
634
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoSourceInfo;
|
|
635
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoSourceInfo;
|
|
636
|
+
static equals(a: VideoSourceInfo | PlainMessage<VideoSourceInfo> | undefined, b: VideoSourceInfo | PlainMessage<VideoSourceInfo> | undefined): boolean;
|
|
637
|
+
}
|
|
458
638
|
/**
|
|
459
639
|
* @generated from message livekit.proto.OwnedVideoSource
|
|
460
640
|
*/
|
|
461
|
-
|
|
641
|
+
declare class OwnedVideoSource extends Message<OwnedVideoSource> {
|
|
462
642
|
/**
|
|
463
643
|
* @generated from field: required livekit.proto.FfiOwnedHandle handle = 1;
|
|
464
644
|
*/
|
|
@@ -467,147 +647,14 @@ export type OwnedVideoSource = Message<"livekit.proto.OwnedVideoSource"> & {
|
|
|
467
647
|
* @generated from field: required livekit.proto.VideoSourceInfo info = 2;
|
|
468
648
|
*/
|
|
469
649
|
info?: VideoSourceInfo;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
*/
|
|
479
|
-
export declare enum VideoCodec {
|
|
480
|
-
/**
|
|
481
|
-
* @generated from enum value: VP8 = 0;
|
|
482
|
-
*/
|
|
483
|
-
VP8 = 0,
|
|
484
|
-
/**
|
|
485
|
-
* @generated from enum value: H264 = 1;
|
|
486
|
-
*/
|
|
487
|
-
H264 = 1,
|
|
488
|
-
/**
|
|
489
|
-
* @generated from enum value: AV1 = 2;
|
|
490
|
-
*/
|
|
491
|
-
AV1 = 2,
|
|
492
|
-
/**
|
|
493
|
-
* @generated from enum value: VP9 = 3;
|
|
494
|
-
*/
|
|
495
|
-
VP9 = 3
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Describes the enum livekit.proto.VideoCodec.
|
|
499
|
-
*/
|
|
500
|
-
export declare const VideoCodecSchema: GenEnum<VideoCodec>;
|
|
501
|
-
/**
|
|
502
|
-
* @generated from enum livekit.proto.VideoRotation
|
|
503
|
-
*/
|
|
504
|
-
export declare enum VideoRotation {
|
|
505
|
-
/**
|
|
506
|
-
* @generated from enum value: VIDEO_ROTATION_0 = 0;
|
|
507
|
-
*/
|
|
508
|
-
VIDEO_ROTATION_0 = 0,
|
|
509
|
-
/**
|
|
510
|
-
* @generated from enum value: VIDEO_ROTATION_90 = 1;
|
|
511
|
-
*/
|
|
512
|
-
VIDEO_ROTATION_90 = 1,
|
|
513
|
-
/**
|
|
514
|
-
* @generated from enum value: VIDEO_ROTATION_180 = 2;
|
|
515
|
-
*/
|
|
516
|
-
VIDEO_ROTATION_180 = 2,
|
|
517
|
-
/**
|
|
518
|
-
* @generated from enum value: VIDEO_ROTATION_270 = 3;
|
|
519
|
-
*/
|
|
520
|
-
VIDEO_ROTATION_270 = 3
|
|
521
|
-
}
|
|
522
|
-
/**
|
|
523
|
-
* Describes the enum livekit.proto.VideoRotation.
|
|
524
|
-
*/
|
|
525
|
-
export declare const VideoRotationSchema: GenEnum<VideoRotation>;
|
|
526
|
-
/**
|
|
527
|
-
* @generated from enum livekit.proto.VideoBufferType
|
|
528
|
-
*/
|
|
529
|
-
export declare enum VideoBufferType {
|
|
530
|
-
/**
|
|
531
|
-
* @generated from enum value: RGBA = 0;
|
|
532
|
-
*/
|
|
533
|
-
RGBA = 0,
|
|
534
|
-
/**
|
|
535
|
-
* @generated from enum value: ABGR = 1;
|
|
536
|
-
*/
|
|
537
|
-
ABGR = 1,
|
|
538
|
-
/**
|
|
539
|
-
* @generated from enum value: ARGB = 2;
|
|
540
|
-
*/
|
|
541
|
-
ARGB = 2,
|
|
542
|
-
/**
|
|
543
|
-
* @generated from enum value: BGRA = 3;
|
|
544
|
-
*/
|
|
545
|
-
BGRA = 3,
|
|
546
|
-
/**
|
|
547
|
-
* @generated from enum value: RGB24 = 4;
|
|
548
|
-
*/
|
|
549
|
-
RGB24 = 4,
|
|
550
|
-
/**
|
|
551
|
-
* @generated from enum value: I420 = 5;
|
|
552
|
-
*/
|
|
553
|
-
I420 = 5,
|
|
554
|
-
/**
|
|
555
|
-
* @generated from enum value: I420A = 6;
|
|
556
|
-
*/
|
|
557
|
-
I420A = 6,
|
|
558
|
-
/**
|
|
559
|
-
* @generated from enum value: I422 = 7;
|
|
560
|
-
*/
|
|
561
|
-
I422 = 7,
|
|
562
|
-
/**
|
|
563
|
-
* @generated from enum value: I444 = 8;
|
|
564
|
-
*/
|
|
565
|
-
I444 = 8,
|
|
566
|
-
/**
|
|
567
|
-
* @generated from enum value: I010 = 9;
|
|
568
|
-
*/
|
|
569
|
-
I010 = 9,
|
|
570
|
-
/**
|
|
571
|
-
* @generated from enum value: NV12 = 10;
|
|
572
|
-
*/
|
|
573
|
-
NV12 = 10
|
|
650
|
+
constructor(data?: PartialMessage<OwnedVideoSource>);
|
|
651
|
+
static readonly runtime: typeof proto2;
|
|
652
|
+
static readonly typeName = "livekit.proto.OwnedVideoSource";
|
|
653
|
+
static readonly fields: FieldList;
|
|
654
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OwnedVideoSource;
|
|
655
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OwnedVideoSource;
|
|
656
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OwnedVideoSource;
|
|
657
|
+
static equals(a: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined, b: OwnedVideoSource | PlainMessage<OwnedVideoSource> | undefined): boolean;
|
|
574
658
|
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
*/
|
|
578
|
-
export declare const VideoBufferTypeSchema: GenEnum<VideoBufferType>;
|
|
579
|
-
/**
|
|
580
|
-
* @generated from enum livekit.proto.VideoStreamType
|
|
581
|
-
*/
|
|
582
|
-
export declare enum VideoStreamType {
|
|
583
|
-
/**
|
|
584
|
-
* @generated from enum value: VIDEO_STREAM_NATIVE = 0;
|
|
585
|
-
*/
|
|
586
|
-
VIDEO_STREAM_NATIVE = 0,
|
|
587
|
-
/**
|
|
588
|
-
* @generated from enum value: VIDEO_STREAM_WEBGL = 1;
|
|
589
|
-
*/
|
|
590
|
-
VIDEO_STREAM_WEBGL = 1,
|
|
591
|
-
/**
|
|
592
|
-
* @generated from enum value: VIDEO_STREAM_HTML = 2;
|
|
593
|
-
*/
|
|
594
|
-
VIDEO_STREAM_HTML = 2
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* Describes the enum livekit.proto.VideoStreamType.
|
|
598
|
-
*/
|
|
599
|
-
export declare const VideoStreamTypeSchema: GenEnum<VideoStreamType>;
|
|
600
|
-
/**
|
|
601
|
-
* @generated from enum livekit.proto.VideoSourceType
|
|
602
|
-
*/
|
|
603
|
-
export declare enum VideoSourceType {
|
|
604
|
-
/**
|
|
605
|
-
* @generated from enum value: VIDEO_SOURCE_NATIVE = 0;
|
|
606
|
-
*/
|
|
607
|
-
VIDEO_SOURCE_NATIVE = 0
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Describes the enum livekit.proto.VideoSourceType.
|
|
611
|
-
*/
|
|
612
|
-
export declare const VideoSourceTypeSchema: GenEnum<VideoSourceType>;
|
|
613
|
-
//# sourceMappingURL=video_frame_pb.d.ts.map
|
|
659
|
+
|
|
660
|
+
export { CaptureVideoFrameRequest, CaptureVideoFrameResponse, NewVideoSourceRequest, NewVideoSourceResponse, NewVideoStreamRequest, NewVideoStreamResponse, OwnedVideoBuffer, OwnedVideoSource, OwnedVideoStream, VideoBufferInfo, VideoBufferInfo_ComponentInfo, VideoBufferType, VideoCodec, VideoConvertRequest, VideoConvertResponse, VideoFrameReceived, VideoResolution, VideoRotation, VideoSourceInfo, VideoSourceResolution, VideoSourceType, VideoStreamEOS, VideoStreamEvent, VideoStreamFromParticipantRequest, VideoStreamFromParticipantResponse, VideoStreamInfo, VideoStreamType };
|