@livekit/protocol 1.19.2 → 1.20.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/package.json +2 -2
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_analytics_pb.d.ts +798 -0
- package/src/gen/livekit_analytics_pb.js +245 -0
- package/src/gen/livekit_internal_pb.d.ts +616 -0
- package/src/gen/livekit_internal_pb.js +189 -0
- package/src/gen/livekit_models_pb.d.ts +168 -0
- package/src/gen/livekit_models_pb.js +48 -0
- package/src/gen/livekit_rtc_pb.d.ts +18 -18
- package/src/gen/livekit_rtc_pb.js +9 -9
- package/src/gen/version.js +1 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// Copyright 2023 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.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file livekit_internal.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
|
|
22
|
+
import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
|
|
23
|
+
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum livekit.NodeType
|
|
27
|
+
*/
|
|
28
|
+
export const NodeType = /*@__PURE__*/ proto3.makeEnum(
|
|
29
|
+
"livekit.NodeType",
|
|
30
|
+
[
|
|
31
|
+
{no: 0, name: "SERVER"},
|
|
32
|
+
{no: 1, name: "CONTROLLER"},
|
|
33
|
+
{no: 2, name: "MEDIA"},
|
|
34
|
+
{no: 4, name: "TURN"},
|
|
35
|
+
{no: 5, name: "SWEEPER"},
|
|
36
|
+
{no: 6, name: "DIRECTOR"},
|
|
37
|
+
],
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum livekit.NodeState
|
|
42
|
+
*/
|
|
43
|
+
export const NodeState = /*@__PURE__*/ proto3.makeEnum(
|
|
44
|
+
"livekit.NodeState",
|
|
45
|
+
[
|
|
46
|
+
{no: 0, name: "STARTING_UP"},
|
|
47
|
+
{no: 1, name: "SERVING"},
|
|
48
|
+
{no: 2, name: "SHUTTING_DOWN"},
|
|
49
|
+
],
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from enum livekit.ICECandidateType
|
|
54
|
+
*/
|
|
55
|
+
export const ICECandidateType = /*@__PURE__*/ proto3.makeEnum(
|
|
56
|
+
"livekit.ICECandidateType",
|
|
57
|
+
[
|
|
58
|
+
{no: 0, name: "ICT_NONE"},
|
|
59
|
+
{no: 1, name: "ICT_TCP"},
|
|
60
|
+
{no: 2, name: "ICT_TLS"},
|
|
61
|
+
],
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from message livekit.Node
|
|
66
|
+
*/
|
|
67
|
+
export const Node = /*@__PURE__*/ proto3.makeMessageType(
|
|
68
|
+
"livekit.Node",
|
|
69
|
+
() => [
|
|
70
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
71
|
+
{ no: 2, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 3, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
73
|
+
{ no: 4, name: "stats", kind: "message", T: NodeStats },
|
|
74
|
+
{ no: 5, name: "type", kind: "enum", T: proto3.getEnumType(NodeType) },
|
|
75
|
+
{ no: 6, name: "state", kind: "enum", T: proto3.getEnumType(NodeState) },
|
|
76
|
+
{ no: 7, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
],
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from message livekit.NodeStats
|
|
82
|
+
*/
|
|
83
|
+
export const NodeStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
84
|
+
"livekit.NodeStats",
|
|
85
|
+
() => [
|
|
86
|
+
{ no: 1, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
87
|
+
{ no: 2, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
88
|
+
{ no: 3, name: "num_rooms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
89
|
+
{ no: 4, name: "num_clients", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
90
|
+
{ no: 5, name: "num_tracks_in", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
91
|
+
{ no: 6, name: "num_tracks_out", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
92
|
+
{ no: 36, name: "num_track_publish_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
93
|
+
{ no: 37, name: "track_publish_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
94
|
+
{ no: 38, name: "num_track_publish_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
95
|
+
{ no: 39, name: "track_publish_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
96
|
+
{ no: 40, name: "num_track_subscribe_attempts", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
97
|
+
{ no: 41, name: "track_subscribe_attempts_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
98
|
+
{ no: 42, name: "num_track_subscribe_success", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
99
|
+
{ no: 43, name: "track_subscribe_success_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
100
|
+
{ no: 7, name: "bytes_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
101
|
+
{ no: 8, name: "bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
102
|
+
{ no: 9, name: "packets_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
103
|
+
{ no: 10, name: "packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
104
|
+
{ no: 11, name: "nack_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
105
|
+
{ no: 12, name: "bytes_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
106
|
+
{ no: 13, name: "bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
107
|
+
{ no: 14, name: "packets_in_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
108
|
+
{ no: 15, name: "packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
109
|
+
{ no: 16, name: "nack_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
110
|
+
{ no: 17, name: "num_cpus", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
111
|
+
{ no: 18, name: "load_avg_last1min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
112
|
+
{ no: 19, name: "load_avg_last5min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
113
|
+
{ no: 20, name: "load_avg_last15min", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
114
|
+
{ no: 21, name: "cpu_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
115
|
+
{ no: 33, name: "memory_load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
116
|
+
{ no: 34, name: "memory_total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
117
|
+
{ no: 35, name: "memory_used", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
118
|
+
{ no: 28, name: "sys_packets_out", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
119
|
+
{ no: 29, name: "sys_packets_dropped", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
120
|
+
{ no: 30, name: "sys_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
121
|
+
{ no: 31, name: "sys_packets_dropped_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
122
|
+
{ no: 32, name: "sys_packets_dropped_pct_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
123
|
+
{ no: 22, name: "retransmit_bytes_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
124
|
+
{ no: 23, name: "retransmit_packets_out", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
125
|
+
{ no: 24, name: "retransmit_bytes_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
126
|
+
{ no: 25, name: "retransmit_packets_out_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
127
|
+
{ no: 26, name: "participant_signal_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
128
|
+
{ no: 27, name: "participant_signal_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
129
|
+
{ no: 44, name: "participant_rtc_connected", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
130
|
+
{ no: 45, name: "participant_rtc_connected_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
131
|
+
{ no: 46, name: "participant_rtc_init", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
132
|
+
{ no: 47, name: "participant_rtc_init_per_sec", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
133
|
+
{ no: 48, name: "forward_latency", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
134
|
+
{ no: 49, name: "forward_jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
135
|
+
],
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message livekit.StartSession
|
|
140
|
+
*/
|
|
141
|
+
export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
|
|
142
|
+
"livekit.StartSession",
|
|
143
|
+
() => [
|
|
144
|
+
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
+
{ no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
147
|
+
{ no: 4, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
148
|
+
{ no: 9, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
149
|
+
{ no: 10, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
150
|
+
{ no: 11, name: "client", kind: "message", T: ClientInfo },
|
|
151
|
+
{ no: 12, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
152
|
+
{ no: 13, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
153
|
+
{ no: 14, name: "grants_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
154
|
+
{ no: 15, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
155
|
+
{ no: 16, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
+
{ no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
157
|
+
{ no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
158
|
+
{ no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
159
|
+
],
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* room info that should not be returned to clients
|
|
164
|
+
*
|
|
165
|
+
* @generated from message livekit.RoomInternal
|
|
166
|
+
*/
|
|
167
|
+
export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType(
|
|
168
|
+
"livekit.RoomInternal",
|
|
169
|
+
() => [
|
|
170
|
+
{ no: 1, name: "track_egress", kind: "message", T: AutoTrackEgress },
|
|
171
|
+
{ no: 2, name: "participant_egress", kind: "message", T: AutoParticipantEgress },
|
|
172
|
+
{ no: 3, name: "playout_delay", kind: "message", T: PlayoutDelay },
|
|
173
|
+
{ no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
174
|
+
{ no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
175
|
+
{ no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
176
|
+
],
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from message livekit.ICEConfig
|
|
181
|
+
*/
|
|
182
|
+
export const ICEConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
183
|
+
"livekit.ICEConfig",
|
|
184
|
+
() => [
|
|
185
|
+
{ no: 1, name: "preference_subscriber", kind: "enum", T: proto3.getEnumType(ICECandidateType) },
|
|
186
|
+
{ no: 2, name: "preference_publisher", kind: "enum", T: proto3.getEnumType(ICECandidateType) },
|
|
187
|
+
],
|
|
188
|
+
);
|
|
189
|
+
|
|
@@ -670,6 +670,11 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
670
670
|
*/
|
|
671
671
|
attributes: { [key: string]: string };
|
|
672
672
|
|
|
673
|
+
/**
|
|
674
|
+
* @generated from field: livekit.DisconnectReason disconnect_reason = 16;
|
|
675
|
+
*/
|
|
676
|
+
disconnectReason: DisconnectReason;
|
|
677
|
+
|
|
673
678
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
674
679
|
|
|
675
680
|
static readonly runtime: typeof proto3;
|
|
@@ -2004,6 +2009,169 @@ export declare class RTPStats extends Message<RTPStats> {
|
|
|
2004
2009
|
static equals(a: RTPStats | PlainMessage<RTPStats> | undefined, b: RTPStats | PlainMessage<RTPStats> | undefined): boolean;
|
|
2005
2010
|
}
|
|
2006
2011
|
|
|
2012
|
+
/**
|
|
2013
|
+
* @generated from message livekit.RTPForwarderState
|
|
2014
|
+
*/
|
|
2015
|
+
export declare class RTPForwarderState extends Message<RTPForwarderState> {
|
|
2016
|
+
/**
|
|
2017
|
+
* @generated from field: bool started = 1;
|
|
2018
|
+
*/
|
|
2019
|
+
started: boolean;
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* @generated from field: int32 reference_layer_spatial = 2;
|
|
2023
|
+
*/
|
|
2024
|
+
referenceLayerSpatial: number;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from field: int64 pre_start_time = 3;
|
|
2028
|
+
*/
|
|
2029
|
+
preStartTime: bigint;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* @generated from field: uint64 ext_first_timestamp = 4;
|
|
2033
|
+
*/
|
|
2034
|
+
extFirstTimestamp: bigint;
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* @generated from field: uint64 dummy_start_timestamp_offset = 5;
|
|
2038
|
+
*/
|
|
2039
|
+
dummyStartTimestampOffset: bigint;
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* @generated from field: livekit.RTPMungerState rtp_munger = 6;
|
|
2043
|
+
*/
|
|
2044
|
+
rtpMunger?: RTPMungerState;
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* @generated from oneof livekit.RTPForwarderState.codec_munger
|
|
2048
|
+
*/
|
|
2049
|
+
codecMunger: {
|
|
2050
|
+
/**
|
|
2051
|
+
* @generated from field: livekit.VP8MungerState vp8_munger = 7;
|
|
2052
|
+
*/
|
|
2053
|
+
value: VP8MungerState;
|
|
2054
|
+
case: "vp8Munger";
|
|
2055
|
+
} | { case: undefined; value?: undefined };
|
|
2056
|
+
|
|
2057
|
+
constructor(data?: PartialMessage<RTPForwarderState>);
|
|
2058
|
+
|
|
2059
|
+
static readonly runtime: typeof proto3;
|
|
2060
|
+
static readonly typeName = "livekit.RTPForwarderState";
|
|
2061
|
+
static readonly fields: FieldList;
|
|
2062
|
+
|
|
2063
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPForwarderState;
|
|
2064
|
+
|
|
2065
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPForwarderState;
|
|
2066
|
+
|
|
2067
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPForwarderState;
|
|
2068
|
+
|
|
2069
|
+
static equals(a: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined, b: RTPForwarderState | PlainMessage<RTPForwarderState> | undefined): boolean;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* @generated from message livekit.RTPMungerState
|
|
2074
|
+
*/
|
|
2075
|
+
export declare class RTPMungerState extends Message<RTPMungerState> {
|
|
2076
|
+
/**
|
|
2077
|
+
* @generated from field: uint64 ext_last_sequence_number = 1;
|
|
2078
|
+
*/
|
|
2079
|
+
extLastSequenceNumber: bigint;
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* @generated from field: uint64 ext_second_last_sequence_number = 2;
|
|
2083
|
+
*/
|
|
2084
|
+
extSecondLastSequenceNumber: bigint;
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* @generated from field: uint64 ext_last_timestamp = 3;
|
|
2088
|
+
*/
|
|
2089
|
+
extLastTimestamp: bigint;
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* @generated from field: uint64 ext_second_last_timestamp = 4;
|
|
2093
|
+
*/
|
|
2094
|
+
extSecondLastTimestamp: bigint;
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* @generated from field: bool last_marker = 5;
|
|
2098
|
+
*/
|
|
2099
|
+
lastMarker: boolean;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* @generated from field: bool second_last_marker = 6;
|
|
2103
|
+
*/
|
|
2104
|
+
secondLastMarker: boolean;
|
|
2105
|
+
|
|
2106
|
+
constructor(data?: PartialMessage<RTPMungerState>);
|
|
2107
|
+
|
|
2108
|
+
static readonly runtime: typeof proto3;
|
|
2109
|
+
static readonly typeName = "livekit.RTPMungerState";
|
|
2110
|
+
static readonly fields: FieldList;
|
|
2111
|
+
|
|
2112
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RTPMungerState;
|
|
2113
|
+
|
|
2114
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RTPMungerState;
|
|
2115
|
+
|
|
2116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RTPMungerState;
|
|
2117
|
+
|
|
2118
|
+
static equals(a: RTPMungerState | PlainMessage<RTPMungerState> | undefined, b: RTPMungerState | PlainMessage<RTPMungerState> | undefined): boolean;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* @generated from message livekit.VP8MungerState
|
|
2123
|
+
*/
|
|
2124
|
+
export declare class VP8MungerState extends Message<VP8MungerState> {
|
|
2125
|
+
/**
|
|
2126
|
+
* @generated from field: int32 ext_last_picture_id = 1;
|
|
2127
|
+
*/
|
|
2128
|
+
extLastPictureId: number;
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* @generated from field: bool picture_id_used = 2;
|
|
2132
|
+
*/
|
|
2133
|
+
pictureIdUsed: boolean;
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* @generated from field: uint32 last_tl0_pic_idx = 3;
|
|
2137
|
+
*/
|
|
2138
|
+
lastTl0PicIdx: number;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated from field: bool tl0_pic_idx_used = 4;
|
|
2142
|
+
*/
|
|
2143
|
+
tl0PicIdxUsed: boolean;
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* @generated from field: bool tid_used = 5;
|
|
2147
|
+
*/
|
|
2148
|
+
tidUsed: boolean;
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* @generated from field: uint32 last_key_idx = 6;
|
|
2152
|
+
*/
|
|
2153
|
+
lastKeyIdx: number;
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* @generated from field: bool key_idx_used = 7;
|
|
2157
|
+
*/
|
|
2158
|
+
keyIdxUsed: boolean;
|
|
2159
|
+
|
|
2160
|
+
constructor(data?: PartialMessage<VP8MungerState>);
|
|
2161
|
+
|
|
2162
|
+
static readonly runtime: typeof proto3;
|
|
2163
|
+
static readonly typeName = "livekit.VP8MungerState";
|
|
2164
|
+
static readonly fields: FieldList;
|
|
2165
|
+
|
|
2166
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VP8MungerState;
|
|
2167
|
+
|
|
2168
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VP8MungerState;
|
|
2169
|
+
|
|
2170
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VP8MungerState;
|
|
2171
|
+
|
|
2172
|
+
static equals(a: VP8MungerState | PlainMessage<VP8MungerState> | undefined, b: VP8MungerState | PlainMessage<VP8MungerState> | undefined): boolean;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2007
2175
|
/**
|
|
2008
2176
|
* @generated from message livekit.TimedVersion
|
|
2009
2177
|
*/
|
|
@@ -262,6 +262,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
262
262
|
{ no: 13, name: "is_publisher", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
263
263
|
{ no: 14, name: "kind", kind: "enum", T: proto3.getEnumType(ParticipantInfo_Kind) },
|
|
264
264
|
{ no: 15, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
265
|
+
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
265
266
|
],
|
|
266
267
|
);
|
|
267
268
|
|
|
@@ -665,6 +666,53 @@ export const RTPStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
665
666
|
],
|
|
666
667
|
);
|
|
667
668
|
|
|
669
|
+
/**
|
|
670
|
+
* @generated from message livekit.RTPForwarderState
|
|
671
|
+
*/
|
|
672
|
+
export const RTPForwarderState = /*@__PURE__*/ proto3.makeMessageType(
|
|
673
|
+
"livekit.RTPForwarderState",
|
|
674
|
+
() => [
|
|
675
|
+
{ no: 1, name: "started", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
676
|
+
{ no: 2, name: "reference_layer_spatial", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
677
|
+
{ no: 3, name: "pre_start_time", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
678
|
+
{ no: 4, name: "ext_first_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
679
|
+
{ no: 5, name: "dummy_start_timestamp_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
680
|
+
{ no: 6, name: "rtp_munger", kind: "message", T: RTPMungerState },
|
|
681
|
+
{ no: 7, name: "vp8_munger", kind: "message", T: VP8MungerState, oneof: "codec_munger" },
|
|
682
|
+
],
|
|
683
|
+
);
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message livekit.RTPMungerState
|
|
687
|
+
*/
|
|
688
|
+
export const RTPMungerState = /*@__PURE__*/ proto3.makeMessageType(
|
|
689
|
+
"livekit.RTPMungerState",
|
|
690
|
+
() => [
|
|
691
|
+
{ no: 1, name: "ext_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
692
|
+
{ no: 2, name: "ext_second_last_sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
693
|
+
{ no: 3, name: "ext_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
694
|
+
{ no: 4, name: "ext_second_last_timestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
695
|
+
{ no: 5, name: "last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
696
|
+
{ no: 6, name: "second_last_marker", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
697
|
+
],
|
|
698
|
+
);
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @generated from message livekit.VP8MungerState
|
|
702
|
+
*/
|
|
703
|
+
export const VP8MungerState = /*@__PURE__*/ proto3.makeMessageType(
|
|
704
|
+
"livekit.VP8MungerState",
|
|
705
|
+
() => [
|
|
706
|
+
{ no: 1, name: "ext_last_picture_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
707
|
+
{ no: 2, name: "picture_id_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
708
|
+
{ no: 3, name: "last_tl0_pic_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
709
|
+
{ no: 4, name: "tl0_pic_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
710
|
+
{ no: 5, name: "tid_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
711
|
+
{ no: 6, name: "last_key_idx", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
712
|
+
{ no: 7, name: "key_idx_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
713
|
+
],
|
|
714
|
+
);
|
|
715
|
+
|
|
668
716
|
/**
|
|
669
717
|
* @generated from message livekit.TimedVersion
|
|
670
718
|
*/
|
|
@@ -401,12 +401,12 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
401
401
|
case: "subscriptionResponse";
|
|
402
402
|
} | {
|
|
403
403
|
/**
|
|
404
|
-
*
|
|
404
|
+
* Response relating to user inititated requests that carry a `request_id`
|
|
405
405
|
*
|
|
406
|
-
* @generated from field: livekit.
|
|
406
|
+
* @generated from field: livekit.RequestResponse request_response = 22;
|
|
407
407
|
*/
|
|
408
|
-
value:
|
|
409
|
-
case: "
|
|
408
|
+
value: RequestResponse;
|
|
409
|
+
case: "requestResponse";
|
|
410
410
|
} | {
|
|
411
411
|
/**
|
|
412
412
|
* notify to the publisher when a published track has been subscribed for the first time
|
|
@@ -1905,47 +1905,47 @@ export declare class SubscriptionResponse extends Message<SubscriptionResponse>
|
|
|
1905
1905
|
}
|
|
1906
1906
|
|
|
1907
1907
|
/**
|
|
1908
|
-
* @generated from message livekit.
|
|
1908
|
+
* @generated from message livekit.RequestResponse
|
|
1909
1909
|
*/
|
|
1910
|
-
export declare class
|
|
1910
|
+
export declare class RequestResponse extends Message<RequestResponse> {
|
|
1911
1911
|
/**
|
|
1912
1912
|
* @generated from field: uint32 request_id = 1;
|
|
1913
1913
|
*/
|
|
1914
1914
|
requestId: number;
|
|
1915
1915
|
|
|
1916
1916
|
/**
|
|
1917
|
-
* @generated from field: livekit.
|
|
1917
|
+
* @generated from field: livekit.RequestResponse.Reason reason = 2;
|
|
1918
1918
|
*/
|
|
1919
|
-
reason:
|
|
1919
|
+
reason: RequestResponse_Reason;
|
|
1920
1920
|
|
|
1921
1921
|
/**
|
|
1922
1922
|
* @generated from field: string message = 3;
|
|
1923
1923
|
*/
|
|
1924
1924
|
message: string;
|
|
1925
1925
|
|
|
1926
|
-
constructor(data?: PartialMessage<
|
|
1926
|
+
constructor(data?: PartialMessage<RequestResponse>);
|
|
1927
1927
|
|
|
1928
1928
|
static readonly runtime: typeof proto3;
|
|
1929
|
-
static readonly typeName = "livekit.
|
|
1929
|
+
static readonly typeName = "livekit.RequestResponse";
|
|
1930
1930
|
static readonly fields: FieldList;
|
|
1931
1931
|
|
|
1932
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1932
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestResponse;
|
|
1933
1933
|
|
|
1934
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1934
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestResponse;
|
|
1935
1935
|
|
|
1936
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1936
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestResponse;
|
|
1937
1937
|
|
|
1938
|
-
static equals(a:
|
|
1938
|
+
static equals(a: RequestResponse | PlainMessage<RequestResponse> | undefined, b: RequestResponse | PlainMessage<RequestResponse> | undefined): boolean;
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
1941
1941
|
/**
|
|
1942
|
-
* @generated from enum livekit.
|
|
1942
|
+
* @generated from enum livekit.RequestResponse.Reason
|
|
1943
1943
|
*/
|
|
1944
|
-
export declare enum
|
|
1944
|
+
export declare enum RequestResponse_Reason {
|
|
1945
1945
|
/**
|
|
1946
|
-
* @generated from enum value:
|
|
1946
|
+
* @generated from enum value: OK = 0;
|
|
1947
1947
|
*/
|
|
1948
|
-
|
|
1948
|
+
OK = 0,
|
|
1949
1949
|
|
|
1950
1950
|
/**
|
|
1951
1951
|
* @generated from enum value: NOT_FOUND = 1;
|
|
@@ -106,7 +106,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
106
106
|
{ no: 19, name: "reconnect", kind: "message", T: ReconnectResponse, oneof: "message" },
|
|
107
107
|
{ no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
|
|
108
108
|
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
109
|
-
{ no: 22, name: "
|
|
109
|
+
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
110
110
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
111
111
|
],
|
|
112
112
|
);
|
|
@@ -596,24 +596,24 @@ export const SubscriptionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
596
596
|
);
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
|
-
* @generated from message livekit.
|
|
599
|
+
* @generated from message livekit.RequestResponse
|
|
600
600
|
*/
|
|
601
|
-
export const
|
|
602
|
-
"livekit.
|
|
601
|
+
export const RequestResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
602
|
+
"livekit.RequestResponse",
|
|
603
603
|
() => [
|
|
604
604
|
{ no: 1, name: "request_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
605
|
-
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(
|
|
605
|
+
{ no: 2, name: "reason", kind: "enum", T: proto3.getEnumType(RequestResponse_Reason) },
|
|
606
606
|
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
607
607
|
],
|
|
608
608
|
);
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
|
-
* @generated from enum livekit.
|
|
611
|
+
* @generated from enum livekit.RequestResponse.Reason
|
|
612
612
|
*/
|
|
613
|
-
export const
|
|
614
|
-
"livekit.
|
|
613
|
+
export const RequestResponse_Reason = /*@__PURE__*/ proto3.makeEnum(
|
|
614
|
+
"livekit.RequestResponse.Reason",
|
|
615
615
|
[
|
|
616
|
-
{no: 0, name: "
|
|
616
|
+
{no: 0, name: "OK"},
|
|
617
617
|
{no: 1, name: "NOT_FOUND"},
|
|
618
618
|
{no: 2, name: "NOT_ALLOWED"},
|
|
619
619
|
{no: 3, name: "LIMIT_EXCEEDED"},
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.20.0';
|