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