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