@livekit/protocol 1.27.1 → 1.28.1
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/gen/livekit_agent_dispatch_pb.cjs +385 -0
- package/dist/gen/livekit_agent_dispatch_pb.cjs.map +1 -0
- package/dist/gen/livekit_agent_dispatch_pb.d.ts +174 -0
- package/dist/gen/livekit_agent_dispatch_pb.d.ts.map +1 -0
- package/dist/gen/livekit_agent_dispatch_pb.js +356 -0
- package/dist/gen/livekit_agent_dispatch_pb.js.map +1 -0
- package/dist/gen/livekit_agent_pb.cjs +881 -0
- package/dist/gen/livekit_agent_pb.cjs.map +1 -0
- package/dist/gen/livekit_agent_pb.d.ts +575 -0
- package/dist/gen/livekit_agent_pb.d.ts.map +1 -0
- package/dist/gen/livekit_agent_pb.js +840 -0
- package/dist/gen/livekit_agent_pb.js.map +1 -0
- package/dist/gen/livekit_analytics_pb.cjs +1087 -0
- package/dist/gen/livekit_analytics_pb.cjs.map +1 -0
- package/dist/gen/livekit_analytics_pb.d.ts +679 -0
- package/dist/gen/livekit_analytics_pb.d.ts.map +1 -0
- package/dist/gen/livekit_analytics_pb.js +1053 -0
- package/dist/gen/livekit_analytics_pb.js.map +1 -0
- package/dist/gen/livekit_egress_pb.cjs +2476 -0
- package/dist/gen/livekit_egress_pb.cjs.map +1 -0
- package/dist/gen/livekit_egress_pb.d.ts +1720 -0
- package/dist/gen/livekit_egress_pb.d.ts.map +1 -0
- package/dist/gen/livekit_egress_pb.js +2417 -0
- package/dist/gen/livekit_egress_pb.js.map +1 -0
- package/dist/gen/livekit_ingress_pb.cjs +1050 -0
- package/dist/gen/livekit_ingress_pb.cjs.map +1 -0
- package/dist/gen/livekit_ingress_pb.d.ts +660 -0
- package/dist/gen/livekit_ingress_pb.d.ts.map +1 -0
- package/dist/gen/livekit_ingress_pb.js +1011 -0
- package/dist/gen/livekit_ingress_pb.js.map +1 -0
- package/dist/gen/livekit_internal_pb.cjs +998 -0
- package/dist/gen/livekit_internal_pb.cjs.map +1 -0
- package/dist/gen/livekit_internal_pb.d.ts +481 -0
- package/dist/gen/livekit_internal_pb.d.ts.map +1 -0
- package/dist/gen/livekit_internal_pb.js +968 -0
- package/dist/gen/livekit_internal_pb.js.map +1 -0
- package/dist/gen/livekit_metrics_pb.cjs +371 -0
- package/dist/gen/livekit_metrics_pb.cjs.map +1 -0
- package/dist/gen/livekit_metrics_pb.d.ts +304 -0
- package/dist/gen/livekit_metrics_pb.d.ts.map +1 -0
- package/dist/gen/livekit_metrics_pb.js +344 -0
- package/dist/gen/livekit_metrics_pb.js.map +1 -0
- package/dist/gen/livekit_models_pb.cjs +3323 -0
- package/dist/gen/livekit_models_pb.cjs.map +1 -0
- package/dist/gen/livekit_models_pb.d.ts +2024 -0
- package/dist/gen/livekit_models_pb.d.ts.map +1 -0
- package/dist/gen/livekit_models_pb.js +3249 -0
- package/dist/gen/livekit_models_pb.js.map +1 -0
- package/dist/gen/livekit_room_pb.cjs +1080 -0
- package/dist/gen/livekit_room_pb.cjs.map +1 -0
- package/dist/gen/livekit_room_pb.d.ts +580 -0
- package/dist/gen/livekit_room_pb.d.ts.map +1 -0
- package/dist/gen/livekit_room_pb.js +1038 -0
- package/dist/gen/livekit_room_pb.js.map +1 -0
- package/dist/gen/livekit_rtc_pb.cjs +2261 -0
- package/dist/gen/livekit_rtc_pb.cjs.map +1 -0
- package/dist/gen/livekit_rtc_pb.d.ts +1602 -0
- package/dist/gen/livekit_rtc_pb.d.ts.map +1 -0
- package/dist/gen/livekit_rtc_pb.js +2192 -0
- package/dist/gen/livekit_rtc_pb.js.map +1 -0
- package/dist/gen/livekit_sip_pb.cjs +2118 -0
- package/dist/gen/livekit_sip_pb.cjs.map +1 -0
- package/dist/gen/livekit_sip_pb.d.ts +1226 -0
- package/dist/gen/livekit_sip_pb.d.ts.map +1 -0
- package/dist/gen/livekit_sip_pb.js +2061 -0
- package/dist/gen/livekit_sip_pb.js.map +1 -0
- package/dist/gen/livekit_webhook_pb.cjs +111 -0
- package/dist/gen/livekit_webhook_pb.cjs.map +1 -0
- package/dist/gen/livekit_webhook_pb.d.ts +71 -0
- package/dist/gen/livekit_webhook_pb.d.ts.map +1 -0
- package/dist/gen/livekit_webhook_pb.js +88 -0
- package/dist/gen/livekit_webhook_pb.js.map +1 -0
- package/dist/gen/version.cjs +28 -0
- package/dist/gen/version.cjs.map +1 -0
- package/dist/gen/version.d.ts +2 -0
- package/dist/gen/version.d.ts.map +1 -0
- package/dist/gen/version.js +5 -0
- package/dist/gen/version.js.map +1 -0
- package/dist/index.cjs +51 -0
- package/dist/index.cjs.map +1 -0
- package/{src → dist}/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/{src → dist}/index.js +5 -2
- package/dist/index.js.map +1 -0
- package/package.json +18 -12
- package/src/gen/livekit_agent_dispatch_pb.d.ts +0 -253
- package/src/gen/livekit_agent_dispatch_pb.js +0 -103
- package/src/gen/livekit_agent_pb.d.ts +0 -741
- package/src/gen/livekit_agent_pb.js +0 -266
- package/src/gen/livekit_analytics_pb.d.ts +0 -889
- package/src/gen/livekit_analytics_pb.js +0 -264
- package/src/gen/livekit_egress_pb.d.ts +0 -2056
- package/src/gen/livekit_egress_pb.js +0 -594
- package/src/gen/livekit_ingress_pb.d.ts +0 -843
- package/src/gen/livekit_ingress_pb.js +0 -269
- package/src/gen/livekit_internal_pb.d.ts +0 -622
- package/src/gen/livekit_internal_pb.js +0 -191
- package/src/gen/livekit_metrics_pb.d.ts +0 -355
- package/src/gen/livekit_metrics_pb.js +0 -94
- package/src/gen/livekit_models_pb.d.ts +0 -2539
- package/src/gen/livekit_models_pb.js +0 -819
- package/src/gen/livekit_room_pb.d.ts +0 -774
- package/src/gen/livekit_room_pb.js +0 -259
- package/src/gen/livekit_rtc_pb.d.ts +0 -2001
- package/src/gen/livekit_rtc_pb.js +0 -634
- package/src/gen/livekit_sip_pb.d.ts +0 -1508
- package/src/gen/livekit_sip_pb.js +0 -468
- package/src/gen/livekit_webhook_pb.d.ts +0 -105
- package/src/gen/livekit_webhook_pb.js +0 -42
- package/src/gen/version.d.ts +0 -1
- package/src/gen/version.js +0 -2
|
@@ -0,0 +1,1053 @@
|
|
|
1
|
+
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
2
|
+
import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
3
|
+
import { EgressInfo } from "./livekit_egress_pb.js";
|
|
4
|
+
import { IngressInfo } from "./livekit_ingress_pb.js";
|
|
5
|
+
import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo } from "./livekit_sip_pb.js";
|
|
6
|
+
var StreamType = /* @__PURE__ */ ((StreamType2) => {
|
|
7
|
+
StreamType2[StreamType2["UPSTREAM"] = 0] = "UPSTREAM";
|
|
8
|
+
StreamType2[StreamType2["DOWNSTREAM"] = 1] = "DOWNSTREAM";
|
|
9
|
+
return StreamType2;
|
|
10
|
+
})(StreamType || {});
|
|
11
|
+
proto3.util.setEnumType(StreamType, "livekit.StreamType", [
|
|
12
|
+
{ no: 0, name: "UPSTREAM" },
|
|
13
|
+
{ no: 1, name: "DOWNSTREAM" }
|
|
14
|
+
]);
|
|
15
|
+
var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => {
|
|
16
|
+
AnalyticsEventType2[AnalyticsEventType2["ROOM_CREATED"] = 0] = "ROOM_CREATED";
|
|
17
|
+
AnalyticsEventType2[AnalyticsEventType2["ROOM_ENDED"] = 1] = "ROOM_ENDED";
|
|
18
|
+
AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_JOINED"] = 2] = "PARTICIPANT_JOINED";
|
|
19
|
+
AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_LEFT"] = 3] = "PARTICIPANT_LEFT";
|
|
20
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED"] = 4] = "TRACK_PUBLISHED";
|
|
21
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_REQUESTED"] = 20] = "TRACK_PUBLISH_REQUESTED";
|
|
22
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_UNPUBLISHED"] = 5] = "TRACK_UNPUBLISHED";
|
|
23
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBED"] = 6] = "TRACK_SUBSCRIBED";
|
|
24
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_REQUESTED"] = 21] = "TRACK_SUBSCRIBE_REQUESTED";
|
|
25
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_FAILED"] = 25] = "TRACK_SUBSCRIBE_FAILED";
|
|
26
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_UNSUBSCRIBED"] = 7] = "TRACK_UNSUBSCRIBED";
|
|
27
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISHED_UPDATE"] = 10] = "TRACK_PUBLISHED_UPDATE";
|
|
28
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_MUTED"] = 23] = "TRACK_MUTED";
|
|
29
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_UNMUTED"] = 24] = "TRACK_UNMUTED";
|
|
30
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_PUBLISH_STATS"] = 26] = "TRACK_PUBLISH_STATS";
|
|
31
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_SUBSCRIBE_STATS"] = 27] = "TRACK_SUBSCRIBE_STATS";
|
|
32
|
+
AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_ACTIVE"] = 11] = "PARTICIPANT_ACTIVE";
|
|
33
|
+
AnalyticsEventType2[AnalyticsEventType2["PARTICIPANT_RESUMED"] = 22] = "PARTICIPANT_RESUMED";
|
|
34
|
+
AnalyticsEventType2[AnalyticsEventType2["EGRESS_STARTED"] = 12] = "EGRESS_STARTED";
|
|
35
|
+
AnalyticsEventType2[AnalyticsEventType2["EGRESS_ENDED"] = 13] = "EGRESS_ENDED";
|
|
36
|
+
AnalyticsEventType2[AnalyticsEventType2["EGRESS_UPDATED"] = 28] = "EGRESS_UPDATED";
|
|
37
|
+
AnalyticsEventType2[AnalyticsEventType2["TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"] = 14] = "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY";
|
|
38
|
+
AnalyticsEventType2[AnalyticsEventType2["RECONNECTED"] = 15] = "RECONNECTED";
|
|
39
|
+
AnalyticsEventType2[AnalyticsEventType2["INGRESS_CREATED"] = 18] = "INGRESS_CREATED";
|
|
40
|
+
AnalyticsEventType2[AnalyticsEventType2["INGRESS_DELETED"] = 19] = "INGRESS_DELETED";
|
|
41
|
+
AnalyticsEventType2[AnalyticsEventType2["INGRESS_STARTED"] = 16] = "INGRESS_STARTED";
|
|
42
|
+
AnalyticsEventType2[AnalyticsEventType2["INGRESS_ENDED"] = 17] = "INGRESS_ENDED";
|
|
43
|
+
AnalyticsEventType2[AnalyticsEventType2["INGRESS_UPDATED"] = 29] = "INGRESS_UPDATED";
|
|
44
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_CREATED"] = 30] = "SIP_INBOUND_TRUNK_CREATED";
|
|
45
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_INBOUND_TRUNK_DELETED"] = 31] = "SIP_INBOUND_TRUNK_DELETED";
|
|
46
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_CREATED"] = 32] = "SIP_OUTBOUND_TRUNK_CREATED";
|
|
47
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_OUTBOUND_TRUNK_DELETED"] = 33] = "SIP_OUTBOUND_TRUNK_DELETED";
|
|
48
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_CREATED"] = 34] = "SIP_DISPATCH_RULE_CREATED";
|
|
49
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_DISPATCH_RULE_DELETED"] = 35] = "SIP_DISPATCH_RULE_DELETED";
|
|
50
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_PARTICIPANT_CREATED"] = 36] = "SIP_PARTICIPANT_CREATED";
|
|
51
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_INCOMING"] = 37] = "SIP_CALL_INCOMING";
|
|
52
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_STARTED"] = 38] = "SIP_CALL_STARTED";
|
|
53
|
+
AnalyticsEventType2[AnalyticsEventType2["SIP_CALL_ENDED"] = 39] = "SIP_CALL_ENDED";
|
|
54
|
+
return AnalyticsEventType2;
|
|
55
|
+
})(AnalyticsEventType || {});
|
|
56
|
+
proto3.util.setEnumType(AnalyticsEventType, "livekit.AnalyticsEventType", [
|
|
57
|
+
{ no: 0, name: "ROOM_CREATED" },
|
|
58
|
+
{ no: 1, name: "ROOM_ENDED" },
|
|
59
|
+
{ no: 2, name: "PARTICIPANT_JOINED" },
|
|
60
|
+
{ no: 3, name: "PARTICIPANT_LEFT" },
|
|
61
|
+
{ no: 4, name: "TRACK_PUBLISHED" },
|
|
62
|
+
{ no: 20, name: "TRACK_PUBLISH_REQUESTED" },
|
|
63
|
+
{ no: 5, name: "TRACK_UNPUBLISHED" },
|
|
64
|
+
{ no: 6, name: "TRACK_SUBSCRIBED" },
|
|
65
|
+
{ no: 21, name: "TRACK_SUBSCRIBE_REQUESTED" },
|
|
66
|
+
{ no: 25, name: "TRACK_SUBSCRIBE_FAILED" },
|
|
67
|
+
{ no: 7, name: "TRACK_UNSUBSCRIBED" },
|
|
68
|
+
{ no: 10, name: "TRACK_PUBLISHED_UPDATE" },
|
|
69
|
+
{ no: 23, name: "TRACK_MUTED" },
|
|
70
|
+
{ no: 24, name: "TRACK_UNMUTED" },
|
|
71
|
+
{ no: 26, name: "TRACK_PUBLISH_STATS" },
|
|
72
|
+
{ no: 27, name: "TRACK_SUBSCRIBE_STATS" },
|
|
73
|
+
{ no: 11, name: "PARTICIPANT_ACTIVE" },
|
|
74
|
+
{ no: 22, name: "PARTICIPANT_RESUMED" },
|
|
75
|
+
{ no: 12, name: "EGRESS_STARTED" },
|
|
76
|
+
{ no: 13, name: "EGRESS_ENDED" },
|
|
77
|
+
{ no: 28, name: "EGRESS_UPDATED" },
|
|
78
|
+
{ no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY" },
|
|
79
|
+
{ no: 15, name: "RECONNECTED" },
|
|
80
|
+
{ no: 18, name: "INGRESS_CREATED" },
|
|
81
|
+
{ no: 19, name: "INGRESS_DELETED" },
|
|
82
|
+
{ no: 16, name: "INGRESS_STARTED" },
|
|
83
|
+
{ no: 17, name: "INGRESS_ENDED" },
|
|
84
|
+
{ no: 29, name: "INGRESS_UPDATED" },
|
|
85
|
+
{ no: 30, name: "SIP_INBOUND_TRUNK_CREATED" },
|
|
86
|
+
{ no: 31, name: "SIP_INBOUND_TRUNK_DELETED" },
|
|
87
|
+
{ no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED" },
|
|
88
|
+
{ no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED" },
|
|
89
|
+
{ no: 34, name: "SIP_DISPATCH_RULE_CREATED" },
|
|
90
|
+
{ no: 35, name: "SIP_DISPATCH_RULE_DELETED" },
|
|
91
|
+
{ no: 36, name: "SIP_PARTICIPANT_CREATED" },
|
|
92
|
+
{ no: 37, name: "SIP_CALL_INCOMING" },
|
|
93
|
+
{ no: 38, name: "SIP_CALL_STARTED" },
|
|
94
|
+
{ no: 39, name: "SIP_CALL_ENDED" }
|
|
95
|
+
]);
|
|
96
|
+
const _AnalyticsVideoLayer = class _AnalyticsVideoLayer extends Message {
|
|
97
|
+
constructor(data) {
|
|
98
|
+
super();
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: int32 layer = 1;
|
|
101
|
+
*/
|
|
102
|
+
this.layer = 0;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: uint32 packets = 2;
|
|
105
|
+
*/
|
|
106
|
+
this.packets = 0;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: uint64 bytes = 3;
|
|
109
|
+
*/
|
|
110
|
+
this.bytes = protoInt64.zero;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: uint32 frames = 4;
|
|
113
|
+
*/
|
|
114
|
+
this.frames = 0;
|
|
115
|
+
proto3.util.initPartial(data, this);
|
|
116
|
+
}
|
|
117
|
+
static fromBinary(bytes, options) {
|
|
118
|
+
return new _AnalyticsVideoLayer().fromBinary(bytes, options);
|
|
119
|
+
}
|
|
120
|
+
static fromJson(jsonValue, options) {
|
|
121
|
+
return new _AnalyticsVideoLayer().fromJson(jsonValue, options);
|
|
122
|
+
}
|
|
123
|
+
static fromJsonString(jsonString, options) {
|
|
124
|
+
return new _AnalyticsVideoLayer().fromJsonString(jsonString, options);
|
|
125
|
+
}
|
|
126
|
+
static equals(a, b) {
|
|
127
|
+
return proto3.util.equals(_AnalyticsVideoLayer, a, b);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
_AnalyticsVideoLayer.runtime = proto3;
|
|
131
|
+
_AnalyticsVideoLayer.typeName = "livekit.AnalyticsVideoLayer";
|
|
132
|
+
_AnalyticsVideoLayer.fields = proto3.util.newFieldList(() => [
|
|
133
|
+
{
|
|
134
|
+
no: 1,
|
|
135
|
+
name: "layer",
|
|
136
|
+
kind: "scalar",
|
|
137
|
+
T: 5
|
|
138
|
+
/* ScalarType.INT32 */
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
no: 2,
|
|
142
|
+
name: "packets",
|
|
143
|
+
kind: "scalar",
|
|
144
|
+
T: 13
|
|
145
|
+
/* ScalarType.UINT32 */
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
no: 3,
|
|
149
|
+
name: "bytes",
|
|
150
|
+
kind: "scalar",
|
|
151
|
+
T: 4
|
|
152
|
+
/* ScalarType.UINT64 */
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
no: 4,
|
|
156
|
+
name: "frames",
|
|
157
|
+
kind: "scalar",
|
|
158
|
+
T: 13
|
|
159
|
+
/* ScalarType.UINT32 */
|
|
160
|
+
}
|
|
161
|
+
]);
|
|
162
|
+
let AnalyticsVideoLayer = _AnalyticsVideoLayer;
|
|
163
|
+
const _AnalyticsStream = class _AnalyticsStream extends Message {
|
|
164
|
+
constructor(data) {
|
|
165
|
+
super();
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: uint32 ssrc = 1;
|
|
168
|
+
*/
|
|
169
|
+
this.ssrc = 0;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: uint32 primary_packets = 2;
|
|
172
|
+
*/
|
|
173
|
+
this.primaryPackets = 0;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: uint64 primary_bytes = 3;
|
|
176
|
+
*/
|
|
177
|
+
this.primaryBytes = protoInt64.zero;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: uint32 retransmit_packets = 4;
|
|
180
|
+
*/
|
|
181
|
+
this.retransmitPackets = 0;
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: uint64 retransmit_bytes = 5;
|
|
184
|
+
*/
|
|
185
|
+
this.retransmitBytes = protoInt64.zero;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: uint32 padding_packets = 6;
|
|
188
|
+
*/
|
|
189
|
+
this.paddingPackets = 0;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: uint64 padding_bytes = 7;
|
|
192
|
+
*/
|
|
193
|
+
this.paddingBytes = protoInt64.zero;
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: uint32 packets_lost = 8;
|
|
196
|
+
*/
|
|
197
|
+
this.packetsLost = 0;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: uint32 frames = 9;
|
|
200
|
+
*/
|
|
201
|
+
this.frames = 0;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: uint32 rtt = 10;
|
|
204
|
+
*/
|
|
205
|
+
this.rtt = 0;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: uint32 jitter = 11;
|
|
208
|
+
*/
|
|
209
|
+
this.jitter = 0;
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: uint32 nacks = 12;
|
|
212
|
+
*/
|
|
213
|
+
this.nacks = 0;
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: uint32 plis = 13;
|
|
216
|
+
*/
|
|
217
|
+
this.plis = 0;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: uint32 firs = 14;
|
|
220
|
+
*/
|
|
221
|
+
this.firs = 0;
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: repeated livekit.AnalyticsVideoLayer video_layers = 15;
|
|
224
|
+
*/
|
|
225
|
+
this.videoLayers = [];
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: uint32 packets_out_of_order = 19;
|
|
228
|
+
*/
|
|
229
|
+
this.packetsOutOfOrder = 0;
|
|
230
|
+
proto3.util.initPartial(data, this);
|
|
231
|
+
}
|
|
232
|
+
static fromBinary(bytes, options) {
|
|
233
|
+
return new _AnalyticsStream().fromBinary(bytes, options);
|
|
234
|
+
}
|
|
235
|
+
static fromJson(jsonValue, options) {
|
|
236
|
+
return new _AnalyticsStream().fromJson(jsonValue, options);
|
|
237
|
+
}
|
|
238
|
+
static fromJsonString(jsonString, options) {
|
|
239
|
+
return new _AnalyticsStream().fromJsonString(jsonString, options);
|
|
240
|
+
}
|
|
241
|
+
static equals(a, b) {
|
|
242
|
+
return proto3.util.equals(_AnalyticsStream, a, b);
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
_AnalyticsStream.runtime = proto3;
|
|
246
|
+
_AnalyticsStream.typeName = "livekit.AnalyticsStream";
|
|
247
|
+
_AnalyticsStream.fields = proto3.util.newFieldList(() => [
|
|
248
|
+
{
|
|
249
|
+
no: 1,
|
|
250
|
+
name: "ssrc",
|
|
251
|
+
kind: "scalar",
|
|
252
|
+
T: 13
|
|
253
|
+
/* ScalarType.UINT32 */
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
no: 2,
|
|
257
|
+
name: "primary_packets",
|
|
258
|
+
kind: "scalar",
|
|
259
|
+
T: 13
|
|
260
|
+
/* ScalarType.UINT32 */
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
no: 3,
|
|
264
|
+
name: "primary_bytes",
|
|
265
|
+
kind: "scalar",
|
|
266
|
+
T: 4
|
|
267
|
+
/* ScalarType.UINT64 */
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
no: 4,
|
|
271
|
+
name: "retransmit_packets",
|
|
272
|
+
kind: "scalar",
|
|
273
|
+
T: 13
|
|
274
|
+
/* ScalarType.UINT32 */
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
no: 5,
|
|
278
|
+
name: "retransmit_bytes",
|
|
279
|
+
kind: "scalar",
|
|
280
|
+
T: 4
|
|
281
|
+
/* ScalarType.UINT64 */
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
no: 6,
|
|
285
|
+
name: "padding_packets",
|
|
286
|
+
kind: "scalar",
|
|
287
|
+
T: 13
|
|
288
|
+
/* ScalarType.UINT32 */
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
no: 7,
|
|
292
|
+
name: "padding_bytes",
|
|
293
|
+
kind: "scalar",
|
|
294
|
+
T: 4
|
|
295
|
+
/* ScalarType.UINT64 */
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
no: 8,
|
|
299
|
+
name: "packets_lost",
|
|
300
|
+
kind: "scalar",
|
|
301
|
+
T: 13
|
|
302
|
+
/* ScalarType.UINT32 */
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
no: 9,
|
|
306
|
+
name: "frames",
|
|
307
|
+
kind: "scalar",
|
|
308
|
+
T: 13
|
|
309
|
+
/* ScalarType.UINT32 */
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
no: 10,
|
|
313
|
+
name: "rtt",
|
|
314
|
+
kind: "scalar",
|
|
315
|
+
T: 13
|
|
316
|
+
/* ScalarType.UINT32 */
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
no: 11,
|
|
320
|
+
name: "jitter",
|
|
321
|
+
kind: "scalar",
|
|
322
|
+
T: 13
|
|
323
|
+
/* ScalarType.UINT32 */
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
no: 12,
|
|
327
|
+
name: "nacks",
|
|
328
|
+
kind: "scalar",
|
|
329
|
+
T: 13
|
|
330
|
+
/* ScalarType.UINT32 */
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
no: 13,
|
|
334
|
+
name: "plis",
|
|
335
|
+
kind: "scalar",
|
|
336
|
+
T: 13
|
|
337
|
+
/* ScalarType.UINT32 */
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
no: 14,
|
|
341
|
+
name: "firs",
|
|
342
|
+
kind: "scalar",
|
|
343
|
+
T: 13
|
|
344
|
+
/* ScalarType.UINT32 */
|
|
345
|
+
},
|
|
346
|
+
{ no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true },
|
|
347
|
+
{ no: 17, name: "start_time", kind: "message", T: Timestamp },
|
|
348
|
+
{ no: 18, name: "end_time", kind: "message", T: Timestamp },
|
|
349
|
+
{
|
|
350
|
+
no: 19,
|
|
351
|
+
name: "packets_out_of_order",
|
|
352
|
+
kind: "scalar",
|
|
353
|
+
T: 13
|
|
354
|
+
/* ScalarType.UINT32 */
|
|
355
|
+
}
|
|
356
|
+
]);
|
|
357
|
+
let AnalyticsStream = _AnalyticsStream;
|
|
358
|
+
const _AnalyticsStat = class _AnalyticsStat extends Message {
|
|
359
|
+
constructor(data) {
|
|
360
|
+
super();
|
|
361
|
+
/**
|
|
362
|
+
* unique id for this stat
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: string id = 14;
|
|
365
|
+
*/
|
|
366
|
+
this.id = "";
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string analytics_key = 1;
|
|
369
|
+
*/
|
|
370
|
+
this.analyticsKey = "";
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: livekit.StreamType kind = 2;
|
|
373
|
+
*/
|
|
374
|
+
this.kind = 0 /* UPSTREAM */;
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: string node = 4;
|
|
377
|
+
*/
|
|
378
|
+
this.node = "";
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string room_id = 5;
|
|
381
|
+
*/
|
|
382
|
+
this.roomId = "";
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string room_name = 6;
|
|
385
|
+
*/
|
|
386
|
+
this.roomName = "";
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: string participant_id = 7;
|
|
389
|
+
*/
|
|
390
|
+
this.participantId = "";
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: string track_id = 8;
|
|
393
|
+
*/
|
|
394
|
+
this.trackId = "";
|
|
395
|
+
/**
|
|
396
|
+
* average score
|
|
397
|
+
*
|
|
398
|
+
* @generated from field: float score = 9;
|
|
399
|
+
*/
|
|
400
|
+
this.score = 0;
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: repeated livekit.AnalyticsStream streams = 10;
|
|
403
|
+
*/
|
|
404
|
+
this.streams = [];
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: string mime = 11;
|
|
407
|
+
*/
|
|
408
|
+
this.mime = "";
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: float min_score = 12;
|
|
411
|
+
*/
|
|
412
|
+
this.minScore = 0;
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: float median_score = 13;
|
|
415
|
+
*/
|
|
416
|
+
this.medianScore = 0;
|
|
417
|
+
proto3.util.initPartial(data, this);
|
|
418
|
+
}
|
|
419
|
+
static fromBinary(bytes, options) {
|
|
420
|
+
return new _AnalyticsStat().fromBinary(bytes, options);
|
|
421
|
+
}
|
|
422
|
+
static fromJson(jsonValue, options) {
|
|
423
|
+
return new _AnalyticsStat().fromJson(jsonValue, options);
|
|
424
|
+
}
|
|
425
|
+
static fromJsonString(jsonString, options) {
|
|
426
|
+
return new _AnalyticsStat().fromJsonString(jsonString, options);
|
|
427
|
+
}
|
|
428
|
+
static equals(a, b) {
|
|
429
|
+
return proto3.util.equals(_AnalyticsStat, a, b);
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
_AnalyticsStat.runtime = proto3;
|
|
433
|
+
_AnalyticsStat.typeName = "livekit.AnalyticsStat";
|
|
434
|
+
_AnalyticsStat.fields = proto3.util.newFieldList(() => [
|
|
435
|
+
{
|
|
436
|
+
no: 14,
|
|
437
|
+
name: "id",
|
|
438
|
+
kind: "scalar",
|
|
439
|
+
T: 9
|
|
440
|
+
/* ScalarType.STRING */
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
no: 1,
|
|
444
|
+
name: "analytics_key",
|
|
445
|
+
kind: "scalar",
|
|
446
|
+
T: 9
|
|
447
|
+
/* ScalarType.STRING */
|
|
448
|
+
},
|
|
449
|
+
{ no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) },
|
|
450
|
+
{ no: 3, name: "time_stamp", kind: "message", T: Timestamp },
|
|
451
|
+
{
|
|
452
|
+
no: 4,
|
|
453
|
+
name: "node",
|
|
454
|
+
kind: "scalar",
|
|
455
|
+
T: 9
|
|
456
|
+
/* ScalarType.STRING */
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
no: 5,
|
|
460
|
+
name: "room_id",
|
|
461
|
+
kind: "scalar",
|
|
462
|
+
T: 9
|
|
463
|
+
/* ScalarType.STRING */
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
no: 6,
|
|
467
|
+
name: "room_name",
|
|
468
|
+
kind: "scalar",
|
|
469
|
+
T: 9
|
|
470
|
+
/* ScalarType.STRING */
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
no: 7,
|
|
474
|
+
name: "participant_id",
|
|
475
|
+
kind: "scalar",
|
|
476
|
+
T: 9
|
|
477
|
+
/* ScalarType.STRING */
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
no: 8,
|
|
481
|
+
name: "track_id",
|
|
482
|
+
kind: "scalar",
|
|
483
|
+
T: 9
|
|
484
|
+
/* ScalarType.STRING */
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
no: 9,
|
|
488
|
+
name: "score",
|
|
489
|
+
kind: "scalar",
|
|
490
|
+
T: 2
|
|
491
|
+
/* ScalarType.FLOAT */
|
|
492
|
+
},
|
|
493
|
+
{ no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true },
|
|
494
|
+
{
|
|
495
|
+
no: 11,
|
|
496
|
+
name: "mime",
|
|
497
|
+
kind: "scalar",
|
|
498
|
+
T: 9
|
|
499
|
+
/* ScalarType.STRING */
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
no: 12,
|
|
503
|
+
name: "min_score",
|
|
504
|
+
kind: "scalar",
|
|
505
|
+
T: 2
|
|
506
|
+
/* ScalarType.FLOAT */
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
no: 13,
|
|
510
|
+
name: "median_score",
|
|
511
|
+
kind: "scalar",
|
|
512
|
+
T: 2
|
|
513
|
+
/* ScalarType.FLOAT */
|
|
514
|
+
}
|
|
515
|
+
]);
|
|
516
|
+
let AnalyticsStat = _AnalyticsStat;
|
|
517
|
+
const _AnalyticsStats = class _AnalyticsStats extends Message {
|
|
518
|
+
constructor(data) {
|
|
519
|
+
super();
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: repeated livekit.AnalyticsStat stats = 1;
|
|
522
|
+
*/
|
|
523
|
+
this.stats = [];
|
|
524
|
+
proto3.util.initPartial(data, this);
|
|
525
|
+
}
|
|
526
|
+
static fromBinary(bytes, options) {
|
|
527
|
+
return new _AnalyticsStats().fromBinary(bytes, options);
|
|
528
|
+
}
|
|
529
|
+
static fromJson(jsonValue, options) {
|
|
530
|
+
return new _AnalyticsStats().fromJson(jsonValue, options);
|
|
531
|
+
}
|
|
532
|
+
static fromJsonString(jsonString, options) {
|
|
533
|
+
return new _AnalyticsStats().fromJsonString(jsonString, options);
|
|
534
|
+
}
|
|
535
|
+
static equals(a, b) {
|
|
536
|
+
return proto3.util.equals(_AnalyticsStats, a, b);
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
_AnalyticsStats.runtime = proto3;
|
|
540
|
+
_AnalyticsStats.typeName = "livekit.AnalyticsStats";
|
|
541
|
+
_AnalyticsStats.fields = proto3.util.newFieldList(() => [
|
|
542
|
+
{ no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true }
|
|
543
|
+
]);
|
|
544
|
+
let AnalyticsStats = _AnalyticsStats;
|
|
545
|
+
const _AnalyticsClientMeta = class _AnalyticsClientMeta extends Message {
|
|
546
|
+
constructor(data) {
|
|
547
|
+
super();
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: string region = 1;
|
|
550
|
+
*/
|
|
551
|
+
this.region = "";
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string node = 2;
|
|
554
|
+
*/
|
|
555
|
+
this.node = "";
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: string client_addr = 3;
|
|
558
|
+
*/
|
|
559
|
+
this.clientAddr = "";
|
|
560
|
+
/**
|
|
561
|
+
* @generated from field: uint32 client_connect_time = 4;
|
|
562
|
+
*/
|
|
563
|
+
this.clientConnectTime = 0;
|
|
564
|
+
/**
|
|
565
|
+
* udp, tcp, turn
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: string connection_type = 5;
|
|
568
|
+
*/
|
|
569
|
+
this.connectionType = "";
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: livekit.ReconnectReason reconnect_reason = 6;
|
|
572
|
+
*/
|
|
573
|
+
this.reconnectReason = ReconnectReason.RR_UNKNOWN;
|
|
574
|
+
proto3.util.initPartial(data, this);
|
|
575
|
+
}
|
|
576
|
+
static fromBinary(bytes, options) {
|
|
577
|
+
return new _AnalyticsClientMeta().fromBinary(bytes, options);
|
|
578
|
+
}
|
|
579
|
+
static fromJson(jsonValue, options) {
|
|
580
|
+
return new _AnalyticsClientMeta().fromJson(jsonValue, options);
|
|
581
|
+
}
|
|
582
|
+
static fromJsonString(jsonString, options) {
|
|
583
|
+
return new _AnalyticsClientMeta().fromJsonString(jsonString, options);
|
|
584
|
+
}
|
|
585
|
+
static equals(a, b) {
|
|
586
|
+
return proto3.util.equals(_AnalyticsClientMeta, a, b);
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
_AnalyticsClientMeta.runtime = proto3;
|
|
590
|
+
_AnalyticsClientMeta.typeName = "livekit.AnalyticsClientMeta";
|
|
591
|
+
_AnalyticsClientMeta.fields = proto3.util.newFieldList(() => [
|
|
592
|
+
{
|
|
593
|
+
no: 1,
|
|
594
|
+
name: "region",
|
|
595
|
+
kind: "scalar",
|
|
596
|
+
T: 9
|
|
597
|
+
/* ScalarType.STRING */
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
no: 2,
|
|
601
|
+
name: "node",
|
|
602
|
+
kind: "scalar",
|
|
603
|
+
T: 9
|
|
604
|
+
/* ScalarType.STRING */
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
no: 3,
|
|
608
|
+
name: "client_addr",
|
|
609
|
+
kind: "scalar",
|
|
610
|
+
T: 9
|
|
611
|
+
/* ScalarType.STRING */
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
no: 4,
|
|
615
|
+
name: "client_connect_time",
|
|
616
|
+
kind: "scalar",
|
|
617
|
+
T: 13
|
|
618
|
+
/* ScalarType.UINT32 */
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
no: 5,
|
|
622
|
+
name: "connection_type",
|
|
623
|
+
kind: "scalar",
|
|
624
|
+
T: 9
|
|
625
|
+
/* ScalarType.STRING */
|
|
626
|
+
},
|
|
627
|
+
{ no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
628
|
+
{ no: 7, name: "geo_hash", kind: "scalar", T: 9, opt: true },
|
|
629
|
+
{ no: 8, name: "country", kind: "scalar", T: 9, opt: true },
|
|
630
|
+
{ no: 9, name: "isp_asn", kind: "scalar", T: 13, opt: true }
|
|
631
|
+
]);
|
|
632
|
+
let AnalyticsClientMeta = _AnalyticsClientMeta;
|
|
633
|
+
const _AnalyticsEvent = class _AnalyticsEvent extends Message {
|
|
634
|
+
constructor(data) {
|
|
635
|
+
super();
|
|
636
|
+
/**
|
|
637
|
+
* unique id for this event
|
|
638
|
+
*
|
|
639
|
+
* @generated from field: string id = 25;
|
|
640
|
+
*/
|
|
641
|
+
this.id = "";
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: livekit.AnalyticsEventType type = 1;
|
|
644
|
+
*/
|
|
645
|
+
this.type = 0 /* ROOM_CREATED */;
|
|
646
|
+
/**
|
|
647
|
+
* @generated from field: string room_id = 3;
|
|
648
|
+
*/
|
|
649
|
+
this.roomId = "";
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: string participant_id = 5;
|
|
652
|
+
*/
|
|
653
|
+
this.participantId = "";
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: string track_id = 7;
|
|
656
|
+
*/
|
|
657
|
+
this.trackId = "";
|
|
658
|
+
/**
|
|
659
|
+
* @generated from field: string analytics_key = 10;
|
|
660
|
+
*/
|
|
661
|
+
this.analyticsKey = "";
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: string egress_id = 13;
|
|
664
|
+
*/
|
|
665
|
+
this.egressId = "";
|
|
666
|
+
/**
|
|
667
|
+
* @generated from field: string ingress_id = 19;
|
|
668
|
+
*/
|
|
669
|
+
this.ingressId = "";
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: livekit.VideoQuality max_subscribed_video_quality = 14;
|
|
672
|
+
*/
|
|
673
|
+
this.maxSubscribedVideoQuality = VideoQuality.LOW;
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: string mime = 16;
|
|
676
|
+
*/
|
|
677
|
+
this.mime = "";
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: string error = 20;
|
|
680
|
+
*/
|
|
681
|
+
this.error = "";
|
|
682
|
+
/**
|
|
683
|
+
* @generated from field: int32 video_layer = 22;
|
|
684
|
+
*/
|
|
685
|
+
this.videoLayer = 0;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from field: string node_id = 24;
|
|
688
|
+
*/
|
|
689
|
+
this.nodeId = "";
|
|
690
|
+
/**
|
|
691
|
+
* @generated from field: string sip_call_id = 26;
|
|
692
|
+
*/
|
|
693
|
+
this.sipCallId = "";
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string sip_trunk_id = 28;
|
|
696
|
+
*/
|
|
697
|
+
this.sipTrunkId = "";
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: string sip_dispatch_rule_id = 31;
|
|
700
|
+
*/
|
|
701
|
+
this.sipDispatchRuleId = "";
|
|
702
|
+
proto3.util.initPartial(data, this);
|
|
703
|
+
}
|
|
704
|
+
static fromBinary(bytes, options) {
|
|
705
|
+
return new _AnalyticsEvent().fromBinary(bytes, options);
|
|
706
|
+
}
|
|
707
|
+
static fromJson(jsonValue, options) {
|
|
708
|
+
return new _AnalyticsEvent().fromJson(jsonValue, options);
|
|
709
|
+
}
|
|
710
|
+
static fromJsonString(jsonString, options) {
|
|
711
|
+
return new _AnalyticsEvent().fromJsonString(jsonString, options);
|
|
712
|
+
}
|
|
713
|
+
static equals(a, b) {
|
|
714
|
+
return proto3.util.equals(_AnalyticsEvent, a, b);
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
_AnalyticsEvent.runtime = proto3;
|
|
718
|
+
_AnalyticsEvent.typeName = "livekit.AnalyticsEvent";
|
|
719
|
+
_AnalyticsEvent.fields = proto3.util.newFieldList(() => [
|
|
720
|
+
{
|
|
721
|
+
no: 25,
|
|
722
|
+
name: "id",
|
|
723
|
+
kind: "scalar",
|
|
724
|
+
T: 9
|
|
725
|
+
/* ScalarType.STRING */
|
|
726
|
+
},
|
|
727
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) },
|
|
728
|
+
{ no: 2, name: "timestamp", kind: "message", T: Timestamp },
|
|
729
|
+
{
|
|
730
|
+
no: 3,
|
|
731
|
+
name: "room_id",
|
|
732
|
+
kind: "scalar",
|
|
733
|
+
T: 9
|
|
734
|
+
/* ScalarType.STRING */
|
|
735
|
+
},
|
|
736
|
+
{ no: 4, name: "room", kind: "message", T: Room },
|
|
737
|
+
{
|
|
738
|
+
no: 5,
|
|
739
|
+
name: "participant_id",
|
|
740
|
+
kind: "scalar",
|
|
741
|
+
T: 9
|
|
742
|
+
/* ScalarType.STRING */
|
|
743
|
+
},
|
|
744
|
+
{ no: 6, name: "participant", kind: "message", T: ParticipantInfo },
|
|
745
|
+
{
|
|
746
|
+
no: 7,
|
|
747
|
+
name: "track_id",
|
|
748
|
+
kind: "scalar",
|
|
749
|
+
T: 9
|
|
750
|
+
/* ScalarType.STRING */
|
|
751
|
+
},
|
|
752
|
+
{ no: 8, name: "track", kind: "message", T: TrackInfo },
|
|
753
|
+
{
|
|
754
|
+
no: 10,
|
|
755
|
+
name: "analytics_key",
|
|
756
|
+
kind: "scalar",
|
|
757
|
+
T: 9
|
|
758
|
+
/* ScalarType.STRING */
|
|
759
|
+
},
|
|
760
|
+
{ no: 11, name: "client_info", kind: "message", T: ClientInfo },
|
|
761
|
+
{ no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta },
|
|
762
|
+
{
|
|
763
|
+
no: 13,
|
|
764
|
+
name: "egress_id",
|
|
765
|
+
kind: "scalar",
|
|
766
|
+
T: 9
|
|
767
|
+
/* ScalarType.STRING */
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
no: 19,
|
|
771
|
+
name: "ingress_id",
|
|
772
|
+
kind: "scalar",
|
|
773
|
+
T: 9
|
|
774
|
+
/* ScalarType.STRING */
|
|
775
|
+
},
|
|
776
|
+
{ no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
|
|
777
|
+
{ no: 15, name: "publisher", kind: "message", T: ParticipantInfo },
|
|
778
|
+
{
|
|
779
|
+
no: 16,
|
|
780
|
+
name: "mime",
|
|
781
|
+
kind: "scalar",
|
|
782
|
+
T: 9
|
|
783
|
+
/* ScalarType.STRING */
|
|
784
|
+
},
|
|
785
|
+
{ no: 17, name: "egress", kind: "message", T: EgressInfo },
|
|
786
|
+
{ no: 18, name: "ingress", kind: "message", T: IngressInfo },
|
|
787
|
+
{
|
|
788
|
+
no: 20,
|
|
789
|
+
name: "error",
|
|
790
|
+
kind: "scalar",
|
|
791
|
+
T: 9
|
|
792
|
+
/* ScalarType.STRING */
|
|
793
|
+
},
|
|
794
|
+
{ no: 21, name: "rtp_stats", kind: "message", T: RTPStats },
|
|
795
|
+
{
|
|
796
|
+
no: 22,
|
|
797
|
+
name: "video_layer",
|
|
798
|
+
kind: "scalar",
|
|
799
|
+
T: 5
|
|
800
|
+
/* ScalarType.INT32 */
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
no: 24,
|
|
804
|
+
name: "node_id",
|
|
805
|
+
kind: "scalar",
|
|
806
|
+
T: 9
|
|
807
|
+
/* ScalarType.STRING */
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
no: 26,
|
|
811
|
+
name: "sip_call_id",
|
|
812
|
+
kind: "scalar",
|
|
813
|
+
T: 9
|
|
814
|
+
/* ScalarType.STRING */
|
|
815
|
+
},
|
|
816
|
+
{ no: 27, name: "sip_call", kind: "message", T: SIPCallInfo },
|
|
817
|
+
{
|
|
818
|
+
no: 28,
|
|
819
|
+
name: "sip_trunk_id",
|
|
820
|
+
kind: "scalar",
|
|
821
|
+
T: 9
|
|
822
|
+
/* ScalarType.STRING */
|
|
823
|
+
},
|
|
824
|
+
{ no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
825
|
+
{ no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
826
|
+
{
|
|
827
|
+
no: 31,
|
|
828
|
+
name: "sip_dispatch_rule_id",
|
|
829
|
+
kind: "scalar",
|
|
830
|
+
T: 9
|
|
831
|
+
/* ScalarType.STRING */
|
|
832
|
+
},
|
|
833
|
+
{ no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo }
|
|
834
|
+
]);
|
|
835
|
+
let AnalyticsEvent = _AnalyticsEvent;
|
|
836
|
+
const _AnalyticsEvents = class _AnalyticsEvents extends Message {
|
|
837
|
+
constructor(data) {
|
|
838
|
+
super();
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: repeated livekit.AnalyticsEvent events = 1;
|
|
841
|
+
*/
|
|
842
|
+
this.events = [];
|
|
843
|
+
proto3.util.initPartial(data, this);
|
|
844
|
+
}
|
|
845
|
+
static fromBinary(bytes, options) {
|
|
846
|
+
return new _AnalyticsEvents().fromBinary(bytes, options);
|
|
847
|
+
}
|
|
848
|
+
static fromJson(jsonValue, options) {
|
|
849
|
+
return new _AnalyticsEvents().fromJson(jsonValue, options);
|
|
850
|
+
}
|
|
851
|
+
static fromJsonString(jsonString, options) {
|
|
852
|
+
return new _AnalyticsEvents().fromJsonString(jsonString, options);
|
|
853
|
+
}
|
|
854
|
+
static equals(a, b) {
|
|
855
|
+
return proto3.util.equals(_AnalyticsEvents, a, b);
|
|
856
|
+
}
|
|
857
|
+
};
|
|
858
|
+
_AnalyticsEvents.runtime = proto3;
|
|
859
|
+
_AnalyticsEvents.typeName = "livekit.AnalyticsEvents";
|
|
860
|
+
_AnalyticsEvents.fields = proto3.util.newFieldList(() => [
|
|
861
|
+
{ no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true }
|
|
862
|
+
]);
|
|
863
|
+
let AnalyticsEvents = _AnalyticsEvents;
|
|
864
|
+
const _AnalyticsRoomParticipant = class _AnalyticsRoomParticipant extends Message {
|
|
865
|
+
constructor(data) {
|
|
866
|
+
super();
|
|
867
|
+
/**
|
|
868
|
+
* @generated from field: string id = 1;
|
|
869
|
+
*/
|
|
870
|
+
this.id = "";
|
|
871
|
+
/**
|
|
872
|
+
* @generated from field: string identity = 2;
|
|
873
|
+
*/
|
|
874
|
+
this.identity = "";
|
|
875
|
+
/**
|
|
876
|
+
* @generated from field: string name = 3;
|
|
877
|
+
*/
|
|
878
|
+
this.name = "";
|
|
879
|
+
/**
|
|
880
|
+
* @generated from field: livekit.ParticipantInfo.State state = 4;
|
|
881
|
+
*/
|
|
882
|
+
this.state = ParticipantInfo_State.JOINING;
|
|
883
|
+
proto3.util.initPartial(data, this);
|
|
884
|
+
}
|
|
885
|
+
static fromBinary(bytes, options) {
|
|
886
|
+
return new _AnalyticsRoomParticipant().fromBinary(bytes, options);
|
|
887
|
+
}
|
|
888
|
+
static fromJson(jsonValue, options) {
|
|
889
|
+
return new _AnalyticsRoomParticipant().fromJson(jsonValue, options);
|
|
890
|
+
}
|
|
891
|
+
static fromJsonString(jsonString, options) {
|
|
892
|
+
return new _AnalyticsRoomParticipant().fromJsonString(jsonString, options);
|
|
893
|
+
}
|
|
894
|
+
static equals(a, b) {
|
|
895
|
+
return proto3.util.equals(_AnalyticsRoomParticipant, a, b);
|
|
896
|
+
}
|
|
897
|
+
};
|
|
898
|
+
_AnalyticsRoomParticipant.runtime = proto3;
|
|
899
|
+
_AnalyticsRoomParticipant.typeName = "livekit.AnalyticsRoomParticipant";
|
|
900
|
+
_AnalyticsRoomParticipant.fields = proto3.util.newFieldList(() => [
|
|
901
|
+
{
|
|
902
|
+
no: 1,
|
|
903
|
+
name: "id",
|
|
904
|
+
kind: "scalar",
|
|
905
|
+
T: 9
|
|
906
|
+
/* ScalarType.STRING */
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
no: 2,
|
|
910
|
+
name: "identity",
|
|
911
|
+
kind: "scalar",
|
|
912
|
+
T: 9
|
|
913
|
+
/* ScalarType.STRING */
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
no: 3,
|
|
917
|
+
name: "name",
|
|
918
|
+
kind: "scalar",
|
|
919
|
+
T: 9
|
|
920
|
+
/* ScalarType.STRING */
|
|
921
|
+
},
|
|
922
|
+
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) },
|
|
923
|
+
{ no: 5, name: "joined_at", kind: "message", T: Timestamp }
|
|
924
|
+
]);
|
|
925
|
+
let AnalyticsRoomParticipant = _AnalyticsRoomParticipant;
|
|
926
|
+
const _AnalyticsRoom = class _AnalyticsRoom extends Message {
|
|
927
|
+
constructor(data) {
|
|
928
|
+
super();
|
|
929
|
+
/**
|
|
930
|
+
* @generated from field: string id = 1;
|
|
931
|
+
*/
|
|
932
|
+
this.id = "";
|
|
933
|
+
/**
|
|
934
|
+
* @generated from field: string name = 2;
|
|
935
|
+
*/
|
|
936
|
+
this.name = "";
|
|
937
|
+
/**
|
|
938
|
+
* @generated from field: string project_id = 5;
|
|
939
|
+
*/
|
|
940
|
+
this.projectId = "";
|
|
941
|
+
/**
|
|
942
|
+
* @generated from field: repeated livekit.AnalyticsRoomParticipant participants = 4;
|
|
943
|
+
*/
|
|
944
|
+
this.participants = [];
|
|
945
|
+
proto3.util.initPartial(data, this);
|
|
946
|
+
}
|
|
947
|
+
static fromBinary(bytes, options) {
|
|
948
|
+
return new _AnalyticsRoom().fromBinary(bytes, options);
|
|
949
|
+
}
|
|
950
|
+
static fromJson(jsonValue, options) {
|
|
951
|
+
return new _AnalyticsRoom().fromJson(jsonValue, options);
|
|
952
|
+
}
|
|
953
|
+
static fromJsonString(jsonString, options) {
|
|
954
|
+
return new _AnalyticsRoom().fromJsonString(jsonString, options);
|
|
955
|
+
}
|
|
956
|
+
static equals(a, b) {
|
|
957
|
+
return proto3.util.equals(_AnalyticsRoom, a, b);
|
|
958
|
+
}
|
|
959
|
+
};
|
|
960
|
+
_AnalyticsRoom.runtime = proto3;
|
|
961
|
+
_AnalyticsRoom.typeName = "livekit.AnalyticsRoom";
|
|
962
|
+
_AnalyticsRoom.fields = proto3.util.newFieldList(() => [
|
|
963
|
+
{
|
|
964
|
+
no: 1,
|
|
965
|
+
name: "id",
|
|
966
|
+
kind: "scalar",
|
|
967
|
+
T: 9
|
|
968
|
+
/* ScalarType.STRING */
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
no: 2,
|
|
972
|
+
name: "name",
|
|
973
|
+
kind: "scalar",
|
|
974
|
+
T: 9
|
|
975
|
+
/* ScalarType.STRING */
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
no: 5,
|
|
979
|
+
name: "project_id",
|
|
980
|
+
kind: "scalar",
|
|
981
|
+
T: 9
|
|
982
|
+
/* ScalarType.STRING */
|
|
983
|
+
},
|
|
984
|
+
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
985
|
+
{ no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true }
|
|
986
|
+
]);
|
|
987
|
+
let AnalyticsRoom = _AnalyticsRoom;
|
|
988
|
+
const _AnalyticsNodeRooms = class _AnalyticsNodeRooms extends Message {
|
|
989
|
+
constructor(data) {
|
|
990
|
+
super();
|
|
991
|
+
/**
|
|
992
|
+
* @generated from field: string node_id = 1;
|
|
993
|
+
*/
|
|
994
|
+
this.nodeId = "";
|
|
995
|
+
/**
|
|
996
|
+
* @generated from field: uint64 sequence_number = 2;
|
|
997
|
+
*/
|
|
998
|
+
this.sequenceNumber = protoInt64.zero;
|
|
999
|
+
/**
|
|
1000
|
+
* @generated from field: repeated livekit.AnalyticsRoom rooms = 4;
|
|
1001
|
+
*/
|
|
1002
|
+
this.rooms = [];
|
|
1003
|
+
proto3.util.initPartial(data, this);
|
|
1004
|
+
}
|
|
1005
|
+
static fromBinary(bytes, options) {
|
|
1006
|
+
return new _AnalyticsNodeRooms().fromBinary(bytes, options);
|
|
1007
|
+
}
|
|
1008
|
+
static fromJson(jsonValue, options) {
|
|
1009
|
+
return new _AnalyticsNodeRooms().fromJson(jsonValue, options);
|
|
1010
|
+
}
|
|
1011
|
+
static fromJsonString(jsonString, options) {
|
|
1012
|
+
return new _AnalyticsNodeRooms().fromJsonString(jsonString, options);
|
|
1013
|
+
}
|
|
1014
|
+
static equals(a, b) {
|
|
1015
|
+
return proto3.util.equals(_AnalyticsNodeRooms, a, b);
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
_AnalyticsNodeRooms.runtime = proto3;
|
|
1019
|
+
_AnalyticsNodeRooms.typeName = "livekit.AnalyticsNodeRooms";
|
|
1020
|
+
_AnalyticsNodeRooms.fields = proto3.util.newFieldList(() => [
|
|
1021
|
+
{
|
|
1022
|
+
no: 1,
|
|
1023
|
+
name: "node_id",
|
|
1024
|
+
kind: "scalar",
|
|
1025
|
+
T: 9
|
|
1026
|
+
/* ScalarType.STRING */
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
no: 2,
|
|
1030
|
+
name: "sequence_number",
|
|
1031
|
+
kind: "scalar",
|
|
1032
|
+
T: 4
|
|
1033
|
+
/* ScalarType.UINT64 */
|
|
1034
|
+
},
|
|
1035
|
+
{ no: 3, name: "timestamp", kind: "message", T: Timestamp },
|
|
1036
|
+
{ no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true }
|
|
1037
|
+
]);
|
|
1038
|
+
let AnalyticsNodeRooms = _AnalyticsNodeRooms;
|
|
1039
|
+
export {
|
|
1040
|
+
AnalyticsClientMeta,
|
|
1041
|
+
AnalyticsEvent,
|
|
1042
|
+
AnalyticsEventType,
|
|
1043
|
+
AnalyticsEvents,
|
|
1044
|
+
AnalyticsNodeRooms,
|
|
1045
|
+
AnalyticsRoom,
|
|
1046
|
+
AnalyticsRoomParticipant,
|
|
1047
|
+
AnalyticsStat,
|
|
1048
|
+
AnalyticsStats,
|
|
1049
|
+
AnalyticsStream,
|
|
1050
|
+
AnalyticsVideoLayer,
|
|
1051
|
+
StreamType
|
|
1052
|
+
};
|
|
1053
|
+
//# sourceMappingURL=livekit_analytics_pb.js.map
|