@eyepop.ai/eyepop 1.10.0 → 1.11.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/README.md +0 -1
- package/dist/eyepop.index.d.mts +25 -4
- package/dist/eyepop.index.d.ts +25 -4
- package/dist/eyepop.index.js +17 -47
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs +15 -47
- package/dist/eyepop.index.mjs.map +1 -1
- package/dist/eyepop.min.js +1 -1
- package/dist/eyepop.min.js.LICENSE.txt +0 -9
- package/package.json +5 -7
package/dist/eyepop.index.mjs
CHANGED
|
@@ -9167,52 +9167,8 @@ var LoadLiveIngressJob = class extends AbstractJob {
|
|
|
9167
9167
|
}
|
|
9168
9168
|
};
|
|
9169
9169
|
|
|
9170
|
-
//
|
|
9171
|
-
import
|
|
9172
|
-
var rnds8Pool = new Uint8Array(256);
|
|
9173
|
-
var poolPtr = rnds8Pool.length;
|
|
9174
|
-
function rng() {
|
|
9175
|
-
if (poolPtr > rnds8Pool.length - 16) {
|
|
9176
|
-
crypto.randomFillSync(rnds8Pool);
|
|
9177
|
-
poolPtr = 0;
|
|
9178
|
-
}
|
|
9179
|
-
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
9180
|
-
}
|
|
9181
|
-
|
|
9182
|
-
// ../../node_modules/uuid/dist/esm-node/stringify.js
|
|
9183
|
-
var byteToHex = [];
|
|
9184
|
-
for (let i = 0; i < 256; ++i) {
|
|
9185
|
-
byteToHex.push((i + 256).toString(16).slice(1));
|
|
9186
|
-
}
|
|
9187
|
-
function unsafeStringify(arr, offset = 0) {
|
|
9188
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
9189
|
-
}
|
|
9190
|
-
|
|
9191
|
-
// ../../node_modules/uuid/dist/esm-node/native.js
|
|
9192
|
-
import crypto2 from "crypto";
|
|
9193
|
-
var native_default = {
|
|
9194
|
-
randomUUID: crypto2.randomUUID
|
|
9195
|
-
};
|
|
9196
|
-
|
|
9197
|
-
// ../../node_modules/uuid/dist/esm-node/v4.js
|
|
9198
|
-
function v4(options, buf, offset) {
|
|
9199
|
-
if (native_default.randomUUID && !buf && !options) {
|
|
9200
|
-
return native_default.randomUUID();
|
|
9201
|
-
}
|
|
9202
|
-
options = options || {};
|
|
9203
|
-
const rnds = options.random || (options.rng || rng)();
|
|
9204
|
-
rnds[6] = rnds[6] & 15 | 64;
|
|
9205
|
-
rnds[8] = rnds[8] & 63 | 128;
|
|
9206
|
-
if (buf) {
|
|
9207
|
-
offset = offset || 0;
|
|
9208
|
-
for (let i = 0; i < 16; ++i) {
|
|
9209
|
-
buf[offset + i] = rnds[i];
|
|
9210
|
-
}
|
|
9211
|
-
return buf;
|
|
9212
|
-
}
|
|
9213
|
-
return unsafeStringify(rnds);
|
|
9214
|
-
}
|
|
9215
|
-
var v4_default = v4;
|
|
9170
|
+
// worker/webrtc_whip.ts
|
|
9171
|
+
import { v4 as uuidv4 } from "uuid";
|
|
9216
9172
|
|
|
9217
9173
|
// worker/webrtc_base.ts
|
|
9218
9174
|
import path from "path";
|
|
@@ -9460,7 +9416,7 @@ var WebrtcBase = class _WebrtcBase {
|
|
|
9460
9416
|
// worker/webrtc_whip.ts
|
|
9461
9417
|
var WebrtcWhip = class extends WebrtcBase {
|
|
9462
9418
|
constructor(stream, getSession, client, requestLogger) {
|
|
9463
|
-
super(getSession, client,
|
|
9419
|
+
super(getSession, client, uuidv4().toString(), "/liveIngress/whip", requestLogger);
|
|
9464
9420
|
this._stream = stream;
|
|
9465
9421
|
}
|
|
9466
9422
|
async start() {
|
|
@@ -10974,6 +10930,11 @@ var UserReview = /* @__PURE__ */ ((UserReview2) => {
|
|
|
10974
10930
|
UserReview2["unknown"] = "unknown";
|
|
10975
10931
|
return UserReview2;
|
|
10976
10932
|
})(UserReview || {});
|
|
10933
|
+
var AutoAnnotateTask = /* @__PURE__ */ ((AutoAnnotateTask2) => {
|
|
10934
|
+
AutoAnnotateTask2["object_detection"] = "object_detection";
|
|
10935
|
+
AutoAnnotateTask2["image_classification"] = "image_classification";
|
|
10936
|
+
return AutoAnnotateTask2;
|
|
10937
|
+
})(AutoAnnotateTask || {});
|
|
10977
10938
|
var TranscodeMode = /* @__PURE__ */ ((TranscodeMode2) => {
|
|
10978
10939
|
TranscodeMode2["original"] = "original";
|
|
10979
10940
|
TranscodeMode2["image_original_size"] = "image_original_size";
|
|
@@ -10989,6 +10950,11 @@ var ModelType = /* @__PURE__ */ ((ModelType2) => {
|
|
|
10989
10950
|
ModelType2["epdet_b1"] = "epdet_b1";
|
|
10990
10951
|
return ModelType2;
|
|
10991
10952
|
})(ModelType || {});
|
|
10953
|
+
var ModelTask = /* @__PURE__ */ ((ModelTask2) => {
|
|
10954
|
+
ModelTask2["object_detection"] = "object_detection";
|
|
10955
|
+
ModelTask2["image_classification"] = "image_classification";
|
|
10956
|
+
return ModelTask2;
|
|
10957
|
+
})(ModelTask || {});
|
|
10992
10958
|
var ModelStatus = /* @__PURE__ */ ((ModelStatus2) => {
|
|
10993
10959
|
ModelStatus2["error"] = "error";
|
|
10994
10960
|
ModelStatus2["draft"] = "draft";
|
|
@@ -11737,6 +11703,7 @@ export {
|
|
|
11737
11703
|
AnnotationType,
|
|
11738
11704
|
ArtifactType,
|
|
11739
11705
|
AssetStatus,
|
|
11706
|
+
AutoAnnotateTask,
|
|
11740
11707
|
ChangeType,
|
|
11741
11708
|
ContourType,
|
|
11742
11709
|
DataEndpoint,
|
|
@@ -11752,6 +11719,7 @@ export {
|
|
|
11752
11719
|
ModelFormat,
|
|
11753
11720
|
ModelPrecisionType,
|
|
11754
11721
|
ModelStatus,
|
|
11722
|
+
ModelTask,
|
|
11755
11723
|
ModelTrainingStage,
|
|
11756
11724
|
ModelType,
|
|
11757
11725
|
PopComponentType,
|