@livekit/rtc-node 0.13.24 → 0.13.25
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_filter.cjs +2 -2
- package/dist/audio_filter.cjs.map +1 -1
- package/dist/audio_filter.js +1 -1
- package/dist/audio_filter.js.map +1 -1
- package/dist/audio_frame.cjs +9 -5
- package/dist/audio_frame.cjs.map +1 -1
- package/dist/audio_frame.d.cts +2 -7
- package/dist/audio_frame.d.ts +2 -7
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +8 -4
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_mixer.cjs +1 -1
- package/dist/audio_mixer.cjs.map +1 -1
- package/dist/audio_mixer.d.cts +1 -6
- package/dist/audio_mixer.d.ts +1 -6
- package/dist/audio_mixer.js +1 -1
- package/dist/audio_mixer.js.map +1 -1
- package/dist/audio_resampler.cjs +20 -12
- package/dist/audio_resampler.cjs.map +1 -1
- package/dist/audio_resampler.d.cts +6 -6
- package/dist/audio_resampler.d.ts +6 -6
- package/dist/audio_resampler.d.ts.map +1 -1
- package/dist/audio_resampler.js +12 -4
- package/dist/audio_resampler.js.map +1 -1
- package/dist/audio_source.cjs +11 -7
- package/dist/audio_source.cjs.map +1 -1
- package/dist/audio_source.d.cts +1 -7
- package/dist/audio_source.d.ts +1 -7
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +8 -3
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.cjs +16 -6
- package/dist/audio_stream.cjs.map +1 -1
- package/dist/audio_stream.d.cts +1 -14
- package/dist/audio_stream.d.ts +1 -14
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/audio_stream.js +15 -5
- package/dist/audio_stream.js.map +1 -1
- package/dist/data_streams/index.d.cts +2 -10
- package/dist/data_streams/index.d.ts +2 -10
- package/dist/data_streams/stream_reader.cjs +8 -0
- package/dist/data_streams/stream_reader.cjs.map +1 -1
- package/dist/data_streams/stream_reader.d.cts +2 -10
- package/dist/data_streams/stream_reader.d.ts +2 -10
- package/dist/data_streams/stream_reader.d.ts.map +1 -1
- package/dist/data_streams/stream_reader.js +8 -0
- package/dist/data_streams/stream_reader.js.map +1 -1
- package/dist/data_streams/stream_writer.d.cts +2 -10
- package/dist/data_streams/stream_writer.d.ts +2 -10
- package/dist/data_streams/types.cjs.map +1 -1
- package/dist/data_streams/types.d.cts +2 -10
- package/dist/data_streams/types.d.ts +2 -10
- package/dist/data_streams/types.d.ts.map +1 -1
- package/dist/e2ee.cjs +21 -21
- package/dist/e2ee.cjs.map +1 -1
- package/dist/e2ee.d.cts +1 -2
- package/dist/e2ee.d.ts +1 -2
- package/dist/e2ee.d.ts.map +1 -1
- package/dist/e2ee.js +2 -2
- package/dist/e2ee.js.map +1 -1
- package/dist/ffi_client.cjs +11 -12
- package/dist/ffi_client.cjs.map +1 -1
- package/dist/ffi_client.d.cts +3 -16
- package/dist/ffi_client.d.ts +3 -16
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/ffi_client.js +5 -3
- package/dist/ffi_client.js.map +1 -1
- package/dist/frame_processor.cjs +13 -2
- package/dist/frame_processor.cjs.map +1 -1
- package/dist/frame_processor.d.cts +5 -8
- package/dist/frame_processor.d.ts +5 -8
- package/dist/frame_processor.d.ts.map +1 -1
- package/dist/frame_processor.js +10 -1
- package/dist/frame_processor.js.map +1 -1
- package/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/participant.cjs +38 -38
- package/dist/participant.cjs.map +1 -1
- package/dist/participant.d.cts +2 -15
- package/dist/participant.d.ts +2 -15
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +12 -12
- package/dist/participant.js.map +1 -1
- package/dist/room.cjs +14 -14
- package/dist/room.cjs.map +1 -1
- package/dist/room.d.cts +2 -15
- package/dist/room.d.ts +2 -15
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +10 -10
- package/dist/room.js.map +1 -1
- package/dist/rpc.cjs.map +1 -1
- package/dist/rpc.d.cts +1 -2
- package/dist/rpc.d.ts +1 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js.map +1 -1
- package/dist/{stream_reader-Ch2zvjU3.d.cts → stream_reader-CuG4b8Y-.d.cts} +1 -1
- package/dist/{stream_reader-DRyR29vo.d.ts → stream_reader-CuG4b8Y-.d.ts} +1 -1
- package/dist/track.cjs +3 -3
- package/dist/track.cjs.map +1 -1
- package/dist/track.d.cts +1 -14
- package/dist/track.d.ts +1 -14
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +1 -1
- package/dist/track.js.map +1 -1
- package/dist/track_publication.cjs +4 -4
- package/dist/track_publication.cjs.map +1 -1
- package/dist/track_publication.d.cts +1 -14
- package/dist/track_publication.d.ts +1 -14
- package/dist/track_publication.d.ts.map +1 -1
- package/dist/track_publication.js +2 -2
- 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 +42 -42
- package/dist/video_frame.cjs.map +1 -1
- package/dist/video_frame.d.cts +1 -6
- package/dist/video_frame.d.ts +1 -6
- package/dist/video_frame.d.ts.map +1 -1
- package/dist/video_frame.js +2 -2
- package/dist/video_frame.js.map +1 -1
- package/dist/video_source.cjs +5 -5
- package/dist/video_source.cjs.map +1 -1
- package/dist/video_source.d.cts +1 -14
- package/dist/video_source.d.ts +1 -14
- package/dist/video_source.d.ts.map +1 -1
- package/dist/video_source.js +2 -2
- package/dist/video_source.js.map +1 -1
- package/dist/video_stream.cjs +12 -4
- package/dist/video_stream.cjs.map +1 -1
- package/dist/video_stream.d.cts +1 -14
- package/dist/video_stream.d.ts +1 -14
- package/dist/video_stream.d.ts.map +1 -1
- package/dist/video_stream.js +10 -2
- package/dist/video_stream.js.map +1 -1
- package/package.json +7 -37
- package/src/audio_filter.ts +2 -2
- package/src/audio_frame.ts +17 -5
- package/src/audio_mixer.ts +1 -1
- package/src/audio_resampler.ts +14 -4
- package/src/audio_source.ts +13 -5
- package/src/audio_stream.ts +21 -6
- package/src/data_streams/stream_reader.ts +19 -1
- package/src/data_streams/types.ts +1 -1
- package/src/e2ee.ts +3 -3
- package/src/ffi_client.ts +7 -5
- package/src/frame_processor.ts +21 -0
- package/src/index.ts +6 -5
- package/src/participant.ts +17 -17
- package/src/room.ts +22 -22
- package/src/rpc.ts +1 -1
- package/src/tests/e2e.test.ts +11 -8
- package/src/track.ts +4 -4
- package/src/track_publication.ts +6 -6
- package/src/version.ts +1 -1
- package/src/video_frame.ts +3 -3
- package/src/video_source.ts +3 -3
- package/src/video_stream.ts +15 -3
- package/Cargo.toml +0 -25
- package/build.rs +0 -9
- package/dist/napi/native.cjs +0 -301
- package/dist/napi/native.d.cjs +0 -17
- package/dist/napi/native.d.cjs.map +0 -1
- package/dist/napi/native.d.d.cts +0 -21
- package/dist/napi/native.d.d.ts +0 -21
- package/dist/napi/native.d.js +0 -1
- package/dist/napi/native.d.js.map +0 -1
- package/dist/napi/native.d.ts +0 -19
- package/dist/napi/native.js +0 -15
- package/dist/native.cjs +0 -301
- package/dist/native.d.ts +0 -19
- package/dist/native.js +0 -15
- package/dist/proto/audio_frame_pb.cjs +0 -1357
- package/dist/proto/audio_frame_pb.cjs.map +0 -1
- package/dist/proto/audio_frame_pb.d.cts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts +0 -1183
- package/dist/proto/audio_frame_pb.d.ts.map +0 -1
- package/dist/proto/audio_frame_pb.js +0 -1283
- package/dist/proto/audio_frame_pb.js.map +0 -1
- package/dist/proto/data_stream_pb.cjs +0 -1638
- package/dist/proto/data_stream_pb.cjs.map +0 -1
- package/dist/proto/data_stream_pb.d.cts +0 -1449
- package/dist/proto/data_stream_pb.d.ts +0 -1449
- package/dist/proto/data_stream_pb.d.ts.map +0 -1
- package/dist/proto/data_stream_pb.js +0 -1559
- package/dist/proto/data_stream_pb.js.map +0 -1
- package/dist/proto/e2ee_pb.cjs +0 -746
- package/dist/proto/e2ee_pb.cjs.map +0 -1
- package/dist/proto/e2ee_pb.d.cts +0 -653
- package/dist/proto/e2ee_pb.d.ts +0 -653
- package/dist/proto/e2ee_pb.d.ts.map +0 -1
- package/dist/proto/e2ee_pb.js +0 -696
- package/dist/proto/e2ee_pb.js.map +0 -1
- package/dist/proto/ffi_pb.cjs +0 -477
- package/dist/proto/ffi_pb.cjs.map +0 -1
- package/dist/proto/ffi_pb.d.cts +0 -1321
- package/dist/proto/ffi_pb.d.ts +0 -1321
- package/dist/proto/ffi_pb.d.ts.map +0 -1
- package/dist/proto/ffi_pb.js +0 -444
- package/dist/proto/ffi_pb.js.map +0 -1
- package/dist/proto/handle_pb.cjs +0 -53
- package/dist/proto/handle_pb.cjs.map +0 -1
- package/dist/proto/handle_pb.d.cts +0 -31
- package/dist/proto/handle_pb.d.ts +0 -31
- package/dist/proto/handle_pb.d.ts.map +0 -1
- package/dist/proto/handle_pb.js +0 -29
- package/dist/proto/handle_pb.js.map +0 -1
- package/dist/proto/participant_pb.cjs +0 -173
- package/dist/proto/participant_pb.cjs.map +0 -1
- package/dist/proto/participant_pb.d.cts +0 -218
- package/dist/proto/participant_pb.d.ts +0 -218
- package/dist/proto/participant_pb.d.ts.map +0 -1
- package/dist/proto/participant_pb.js +0 -145
- package/dist/proto/participant_pb.js.map +0 -1
- package/dist/proto/room_pb.cjs +0 -3374
- package/dist/proto/room_pb.cjs.map +0 -1
- package/dist/proto/room_pb.d.cts +0 -3028
- package/dist/proto/room_pb.d.ts +0 -3028
- package/dist/proto/room_pb.d.ts.map +0 -1
- package/dist/proto/room_pb.js +0 -3232
- package/dist/proto/room_pb.js.map +0 -1
- package/dist/proto/rpc_pb.cjs +0 -328
- package/dist/proto/rpc_pb.cjs.map +0 -1
- package/dist/proto/rpc_pb.d.cts +0 -267
- package/dist/proto/rpc_pb.d.ts +0 -267
- package/dist/proto/rpc_pb.d.ts.map +0 -1
- package/dist/proto/rpc_pb.js +0 -294
- package/dist/proto/rpc_pb.js.map +0 -1
- package/dist/proto/stats_pb.cjs +0 -1370
- package/dist/proto/stats_pb.cjs.map +0 -1
- package/dist/proto/stats_pb.d.cts +0 -1764
- package/dist/proto/stats_pb.d.ts +0 -1764
- package/dist/proto/stats_pb.d.ts.map +0 -1
- package/dist/proto/stats_pb.js +0 -1300
- package/dist/proto/stats_pb.js.map +0 -1
- package/dist/proto/track_pb.cjs +0 -630
- package/dist/proto/track_pb.cjs.map +0 -1
- package/dist/proto/track_pb.d.cts +0 -542
- package/dist/proto/track_pb.d.ts +0 -542
- package/dist/proto/track_pb.d.ts.map +0 -1
- package/dist/proto/track_pb.js +0 -584
- package/dist/proto/track_pb.js.map +0 -1
- package/dist/proto/track_publication_pb.cjs +0 -194
- package/dist/proto/track_publication_pb.cjs.map +0 -1
- package/dist/proto/track_publication_pb.d.cts +0 -135
- package/dist/proto/track_publication_pb.d.ts +0 -135
- package/dist/proto/track_publication_pb.d.ts.map +0 -1
- package/dist/proto/track_publication_pb.js +0 -164
- package/dist/proto/track_publication_pb.js.map +0 -1
- package/dist/proto/video_frame_pb.cjs +0 -723
- package/dist/proto/video_frame_pb.cjs.map +0 -1
- package/dist/proto/video_frame_pb.d.cts +0 -667
- package/dist/proto/video_frame_pb.d.ts +0 -667
- package/dist/proto/video_frame_pb.d.ts.map +0 -1
- package/dist/proto/video_frame_pb.js +0 -673
- package/dist/proto/video_frame_pb.js.map +0 -1
- package/src/lib.rs +0 -9
- package/src/napi/native.cjs +0 -301
- package/src/napi/native.d.ts +0 -19
- package/src/napi/native.js +0 -15
- package/src/nodejs.rs +0 -134
- package/src/proto/audio_frame_pb.ts +0 -2270
- package/src/proto/data_stream_pb.ts +0 -2674
- package/src/proto/e2ee_pb.ts +0 -1231
- package/src/proto/ffi_pb.ts +0 -1700
- package/src/proto/handle_pb.ts +0 -69
- package/src/proto/participant_pb.ts +0 -351
- package/src/proto/room_pb.ts +0 -5661
- package/src/proto/rpc_pb.ts +0 -539
- package/src/proto/stats_pb.ts +0 -3050
- package/src/proto/track_pb.ts +0 -1040
- package/src/proto/track_publication_pb.ts +0 -284
- package/src/proto/video_frame_pb.ts +0 -1236
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 LiveKit, Inc.
|
|
2
|
-
//
|
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
// you may not use this file except in compliance with the License.
|
|
5
|
-
// You may obtain a copy of the License at
|
|
6
|
-
//
|
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
//
|
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
// See the License for the specific language governing permissions and
|
|
13
|
-
// limitations under the License.
|
|
14
|
-
|
|
15
|
-
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
|
|
16
|
-
// @generated from file track_publication.proto (package livekit.proto, syntax proto2)
|
|
17
|
-
/* eslint-disable */
|
|
18
|
-
// @ts-nocheck
|
|
19
|
-
|
|
20
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
-
import { Message, proto2 } from "@bufbuild/protobuf";
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Video quality for simulcasted tracks.
|
|
25
|
-
*
|
|
26
|
-
* @generated from enum livekit.proto.VideoQuality
|
|
27
|
-
*/
|
|
28
|
-
export enum VideoQuality {
|
|
29
|
-
/**
|
|
30
|
-
* @generated from enum value: VIDEO_QUALITY_LOW = 0;
|
|
31
|
-
*/
|
|
32
|
-
LOW = 0,
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @generated from enum value: VIDEO_QUALITY_MEDIUM = 1;
|
|
36
|
-
*/
|
|
37
|
-
MEDIUM = 1,
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @generated from enum value: VIDEO_QUALITY_HIGH = 2;
|
|
41
|
-
*/
|
|
42
|
-
HIGH = 2,
|
|
43
|
-
}
|
|
44
|
-
// Retrieve enum metadata with: proto2.getEnumType(VideoQuality)
|
|
45
|
-
proto2.util.setEnumType(VideoQuality, "livekit.proto.VideoQuality", [
|
|
46
|
-
{ no: 0, name: "VIDEO_QUALITY_LOW" },
|
|
47
|
-
{ no: 1, name: "VIDEO_QUALITY_MEDIUM" },
|
|
48
|
-
{ no: 2, name: "VIDEO_QUALITY_HIGH" },
|
|
49
|
-
]);
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Enable/Disable a remote track publication
|
|
53
|
-
*
|
|
54
|
-
* @generated from message livekit.proto.EnableRemoteTrackPublicationRequest
|
|
55
|
-
*/
|
|
56
|
-
export class EnableRemoteTrackPublicationRequest extends Message<EnableRemoteTrackPublicationRequest> {
|
|
57
|
-
/**
|
|
58
|
-
* @generated from field: required uint64 track_publication_handle = 1;
|
|
59
|
-
*/
|
|
60
|
-
trackPublicationHandle?: bigint;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @generated from field: required bool enabled = 2;
|
|
64
|
-
*/
|
|
65
|
-
enabled?: boolean;
|
|
66
|
-
|
|
67
|
-
constructor(data?: PartialMessage<EnableRemoteTrackPublicationRequest>) {
|
|
68
|
-
super();
|
|
69
|
-
proto2.util.initPartial(data, this);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
73
|
-
static readonly typeName = "livekit.proto.EnableRemoteTrackPublicationRequest";
|
|
74
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
75
|
-
{ no: 1, name: "track_publication_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
76
|
-
{ no: 2, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
|
|
77
|
-
]);
|
|
78
|
-
|
|
79
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnableRemoteTrackPublicationRequest {
|
|
80
|
-
return new EnableRemoteTrackPublicationRequest().fromBinary(bytes, options);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnableRemoteTrackPublicationRequest {
|
|
84
|
-
return new EnableRemoteTrackPublicationRequest().fromJson(jsonValue, options);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnableRemoteTrackPublicationRequest {
|
|
88
|
-
return new EnableRemoteTrackPublicationRequest().fromJsonString(jsonString, options);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
static equals(a: EnableRemoteTrackPublicationRequest | PlainMessage<EnableRemoteTrackPublicationRequest> | undefined, b: EnableRemoteTrackPublicationRequest | PlainMessage<EnableRemoteTrackPublicationRequest> | undefined): boolean {
|
|
92
|
-
return proto2.util.equals(EnableRemoteTrackPublicationRequest, a, b);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @generated from message livekit.proto.EnableRemoteTrackPublicationResponse
|
|
98
|
-
*/
|
|
99
|
-
export class EnableRemoteTrackPublicationResponse extends Message<EnableRemoteTrackPublicationResponse> {
|
|
100
|
-
constructor(data?: PartialMessage<EnableRemoteTrackPublicationResponse>) {
|
|
101
|
-
super();
|
|
102
|
-
proto2.util.initPartial(data, this);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
106
|
-
static readonly typeName = "livekit.proto.EnableRemoteTrackPublicationResponse";
|
|
107
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
108
|
-
]);
|
|
109
|
-
|
|
110
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnableRemoteTrackPublicationResponse {
|
|
111
|
-
return new EnableRemoteTrackPublicationResponse().fromBinary(bytes, options);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnableRemoteTrackPublicationResponse {
|
|
115
|
-
return new EnableRemoteTrackPublicationResponse().fromJson(jsonValue, options);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnableRemoteTrackPublicationResponse {
|
|
119
|
-
return new EnableRemoteTrackPublicationResponse().fromJsonString(jsonString, options);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
static equals(a: EnableRemoteTrackPublicationResponse | PlainMessage<EnableRemoteTrackPublicationResponse> | undefined, b: EnableRemoteTrackPublicationResponse | PlainMessage<EnableRemoteTrackPublicationResponse> | undefined): boolean {
|
|
123
|
-
return proto2.util.equals(EnableRemoteTrackPublicationResponse, a, b);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* update a remote track publication dimension
|
|
129
|
-
*
|
|
130
|
-
* @generated from message livekit.proto.UpdateRemoteTrackPublicationDimensionRequest
|
|
131
|
-
*/
|
|
132
|
-
export class UpdateRemoteTrackPublicationDimensionRequest extends Message<UpdateRemoteTrackPublicationDimensionRequest> {
|
|
133
|
-
/**
|
|
134
|
-
* @generated from field: required uint64 track_publication_handle = 1;
|
|
135
|
-
*/
|
|
136
|
-
trackPublicationHandle?: bigint;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @generated from field: required uint32 width = 2;
|
|
140
|
-
*/
|
|
141
|
-
width?: number;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* @generated from field: required uint32 height = 3;
|
|
145
|
-
*/
|
|
146
|
-
height?: number;
|
|
147
|
-
|
|
148
|
-
constructor(data?: PartialMessage<UpdateRemoteTrackPublicationDimensionRequest>) {
|
|
149
|
-
super();
|
|
150
|
-
proto2.util.initPartial(data, this);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
154
|
-
static readonly typeName = "livekit.proto.UpdateRemoteTrackPublicationDimensionRequest";
|
|
155
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
156
|
-
{ no: 1, name: "track_publication_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
157
|
-
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
158
|
-
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */, req: true },
|
|
159
|
-
]);
|
|
160
|
-
|
|
161
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRemoteTrackPublicationDimensionRequest {
|
|
162
|
-
return new UpdateRemoteTrackPublicationDimensionRequest().fromBinary(bytes, options);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRemoteTrackPublicationDimensionRequest {
|
|
166
|
-
return new UpdateRemoteTrackPublicationDimensionRequest().fromJson(jsonValue, options);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRemoteTrackPublicationDimensionRequest {
|
|
170
|
-
return new UpdateRemoteTrackPublicationDimensionRequest().fromJsonString(jsonString, options);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
static equals(a: UpdateRemoteTrackPublicationDimensionRequest | PlainMessage<UpdateRemoteTrackPublicationDimensionRequest> | undefined, b: UpdateRemoteTrackPublicationDimensionRequest | PlainMessage<UpdateRemoteTrackPublicationDimensionRequest> | undefined): boolean {
|
|
174
|
-
return proto2.util.equals(UpdateRemoteTrackPublicationDimensionRequest, a, b);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* @generated from message livekit.proto.UpdateRemoteTrackPublicationDimensionResponse
|
|
180
|
-
*/
|
|
181
|
-
export class UpdateRemoteTrackPublicationDimensionResponse extends Message<UpdateRemoteTrackPublicationDimensionResponse> {
|
|
182
|
-
constructor(data?: PartialMessage<UpdateRemoteTrackPublicationDimensionResponse>) {
|
|
183
|
-
super();
|
|
184
|
-
proto2.util.initPartial(data, this);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
188
|
-
static readonly typeName = "livekit.proto.UpdateRemoteTrackPublicationDimensionResponse";
|
|
189
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
190
|
-
]);
|
|
191
|
-
|
|
192
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateRemoteTrackPublicationDimensionResponse {
|
|
193
|
-
return new UpdateRemoteTrackPublicationDimensionResponse().fromBinary(bytes, options);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateRemoteTrackPublicationDimensionResponse {
|
|
197
|
-
return new UpdateRemoteTrackPublicationDimensionResponse().fromJson(jsonValue, options);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateRemoteTrackPublicationDimensionResponse {
|
|
201
|
-
return new UpdateRemoteTrackPublicationDimensionResponse().fromJsonString(jsonString, options);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
static equals(a: UpdateRemoteTrackPublicationDimensionResponse | PlainMessage<UpdateRemoteTrackPublicationDimensionResponse> | undefined, b: UpdateRemoteTrackPublicationDimensionResponse | PlainMessage<UpdateRemoteTrackPublicationDimensionResponse> | undefined): boolean {
|
|
205
|
-
return proto2.util.equals(UpdateRemoteTrackPublicationDimensionResponse, a, b);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* For tracks that support simulcasting, adjust subscribed quality.
|
|
211
|
-
*
|
|
212
|
-
* @generated from message livekit.proto.SetRemoteTrackPublicationQualityRequest
|
|
213
|
-
*/
|
|
214
|
-
export class SetRemoteTrackPublicationQualityRequest extends Message<SetRemoteTrackPublicationQualityRequest> {
|
|
215
|
-
/**
|
|
216
|
-
* @generated from field: required uint64 track_publication_handle = 1;
|
|
217
|
-
*/
|
|
218
|
-
trackPublicationHandle?: bigint;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* @generated from field: required livekit.proto.VideoQuality quality = 2;
|
|
222
|
-
*/
|
|
223
|
-
quality?: VideoQuality;
|
|
224
|
-
|
|
225
|
-
constructor(data?: PartialMessage<SetRemoteTrackPublicationQualityRequest>) {
|
|
226
|
-
super();
|
|
227
|
-
proto2.util.initPartial(data, this);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
231
|
-
static readonly typeName = "livekit.proto.SetRemoteTrackPublicationQualityRequest";
|
|
232
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
233
|
-
{ no: 1, name: "track_publication_handle", kind: "scalar", T: 4 /* ScalarType.UINT64 */, req: true },
|
|
234
|
-
{ no: 2, name: "quality", kind: "enum", T: proto2.getEnumType(VideoQuality), req: true },
|
|
235
|
-
]);
|
|
236
|
-
|
|
237
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRemoteTrackPublicationQualityRequest {
|
|
238
|
-
return new SetRemoteTrackPublicationQualityRequest().fromBinary(bytes, options);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRemoteTrackPublicationQualityRequest {
|
|
242
|
-
return new SetRemoteTrackPublicationQualityRequest().fromJson(jsonValue, options);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRemoteTrackPublicationQualityRequest {
|
|
246
|
-
return new SetRemoteTrackPublicationQualityRequest().fromJsonString(jsonString, options);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
static equals(a: SetRemoteTrackPublicationQualityRequest | PlainMessage<SetRemoteTrackPublicationQualityRequest> | undefined, b: SetRemoteTrackPublicationQualityRequest | PlainMessage<SetRemoteTrackPublicationQualityRequest> | undefined): boolean {
|
|
250
|
-
return proto2.util.equals(SetRemoteTrackPublicationQualityRequest, a, b);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @generated from message livekit.proto.SetRemoteTrackPublicationQualityResponse
|
|
256
|
-
*/
|
|
257
|
-
export class SetRemoteTrackPublicationQualityResponse extends Message<SetRemoteTrackPublicationQualityResponse> {
|
|
258
|
-
constructor(data?: PartialMessage<SetRemoteTrackPublicationQualityResponse>) {
|
|
259
|
-
super();
|
|
260
|
-
proto2.util.initPartial(data, this);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
static readonly runtime: typeof proto2 = proto2;
|
|
264
|
-
static readonly typeName = "livekit.proto.SetRemoteTrackPublicationQualityResponse";
|
|
265
|
-
static readonly fields: FieldList = proto2.util.newFieldList(() => [
|
|
266
|
-
]);
|
|
267
|
-
|
|
268
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRemoteTrackPublicationQualityResponse {
|
|
269
|
-
return new SetRemoteTrackPublicationQualityResponse().fromBinary(bytes, options);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRemoteTrackPublicationQualityResponse {
|
|
273
|
-
return new SetRemoteTrackPublicationQualityResponse().fromJson(jsonValue, options);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRemoteTrackPublicationQualityResponse {
|
|
277
|
-
return new SetRemoteTrackPublicationQualityResponse().fromJsonString(jsonString, options);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
static equals(a: SetRemoteTrackPublicationQualityResponse | PlainMessage<SetRemoteTrackPublicationQualityResponse> | undefined, b: SetRemoteTrackPublicationQualityResponse | PlainMessage<SetRemoteTrackPublicationQualityResponse> | undefined): boolean {
|
|
281
|
-
return proto2.util.equals(SetRemoteTrackPublicationQualityResponse, a, b);
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|