supervision 0.0.9000 → 0.1.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/LICENSE +21 -0
- package/README.md +23 -2
- package/dist/constants/media-renderer.d.ts +9 -0
- package/dist/constants/media-renderer.d.ts.map +1 -0
- package/dist/detections/browser-cold-detection-frame-store.d.ts +5 -0
- package/dist/detections/browser-cold-detection-frame-store.d.ts.map +1 -0
- package/dist/detections/chunked-detection-frame-source.d.ts +3 -0
- package/dist/detections/chunked-detection-frame-source.d.ts.map +1 -0
- package/dist/detections/offset-detection-frame-source.d.ts +10 -0
- package/dist/detections/offset-detection-frame-source.d.ts.map +1 -0
- package/dist/editing/mask-brush-editor.d.ts +47 -0
- package/dist/editing/mask-brush-editor.d.ts.map +1 -0
- package/dist/editing.d.ts +8 -0
- package/dist/editing.d.ts.map +1 -0
- package/dist/editing.js +265 -0
- package/dist/editing.js.map +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9419 -0
- package/dist/index.js.map +1 -0
- package/dist/mask-preparation.worker.js +823 -0
- package/dist/mask-preparation.worker.js.map +1 -0
- package/dist/media/decoded-video-sample-reader.d.ts +8 -0
- package/dist/media/decoded-video-sample-reader.d.ts.map +1 -0
- package/dist/media/media-metadata.d.ts +21 -0
- package/dist/media/media-metadata.d.ts.map +1 -0
- package/dist/media/media-normalization.d.ts +6 -0
- package/dist/media/media-normalization.d.ts.map +1 -0
- package/dist/media/media-preparation.d.ts +9 -0
- package/dist/media/media-preparation.d.ts.map +1 -0
- package/dist/media/media-probe.d.ts +3 -0
- package/dist/media/media-probe.d.ts.map +1 -0
- package/dist/media/media-source-state.d.ts +5 -0
- package/dist/media/media-source-state.d.ts.map +1 -0
- package/dist/media/media-source.d.ts +38 -0
- package/dist/media/media-source.d.ts.map +1 -0
- package/dist/media/media-stream-media-source.d.ts +27 -0
- package/dist/media/media-stream-media-source.d.ts.map +1 -0
- package/dist/media/mediabunny-media-source.d.ts +13 -0
- package/dist/media/mediabunny-media-source.d.ts.map +1 -0
- package/dist/media/static-image-media-source.d.ts +13 -0
- package/dist/media/static-image-media-source.d.ts.map +1 -0
- package/dist/playback/media-playback-controller.d.ts +24 -0
- package/dist/playback/media-playback-controller.d.ts.map +1 -0
- package/dist/render-preparation/default-render-preparation-worker.d.ts +8 -0
- package/dist/render-preparation/default-render-preparation-worker.d.ts.map +1 -0
- package/dist/render-preparation/embedded-mask-preparation-worker.d.ts +2 -0
- package/dist/render-preparation/embedded-mask-preparation-worker.d.ts.map +1 -0
- package/dist/render-preparation/mask-frame-artifact.d.ts +28 -0
- package/dist/render-preparation/mask-frame-artifact.d.ts.map +1 -0
- package/dist/render-preparation/mask-frame-compositor.d.ts +14 -0
- package/dist/render-preparation/mask-frame-compositor.d.ts.map +1 -0
- package/dist/render-preparation/mask-frame-preparer.d.ts +19 -0
- package/dist/render-preparation/mask-frame-preparer.d.ts.map +1 -0
- package/dist/render-preparation/mask-preparation-worker-count.d.ts +15 -0
- package/dist/render-preparation/mask-preparation-worker-count.d.ts.map +1 -0
- package/dist/render-preparation/mask-preparation-worker-protocol.d.ts +64 -0
- package/dist/render-preparation/mask-preparation-worker-protocol.d.ts.map +1 -0
- package/dist/render-preparation/mask-preparation.worker.d.ts +2 -0
- package/dist/render-preparation/mask-preparation.worker.d.ts.map +1 -0
- package/dist/render-preparation/prepared-render-window.d.ts +46 -0
- package/dist/render-preparation/prepared-render-window.d.ts.map +1 -0
- package/dist/render-preparation/prepared-window-timeline.d.ts +16 -0
- package/dist/render-preparation/prepared-window-timeline.d.ts.map +1 -0
- package/dist/renderers/media-renderer-core.d.ts +9 -0
- package/dist/renderers/media-renderer-core.d.ts.map +1 -0
- package/dist/renderers/media-renderer-scene.d.ts +77 -0
- package/dist/renderers/media-renderer-scene.d.ts.map +1 -0
- package/dist/renderers/media-renderer-state.d.ts +44 -0
- package/dist/renderers/media-renderer-state.d.ts.map +1 -0
- package/dist/renderers/media-renderer.d.ts +8 -0
- package/dist/renderers/media-renderer.d.ts.map +1 -0
- package/dist/renderers/pixi-annotation-overlay-layer.d.ts +25 -0
- package/dist/renderers/pixi-annotation-overlay-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-box-layer.d.ts +28 -0
- package/dist/renderers/pixi-box-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-focus-layer.d.ts +92 -0
- package/dist/renderers/pixi-focus-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-id-mask-shader.d.ts +62 -0
- package/dist/renderers/pixi-id-mask-shader.d.ts.map +1 -0
- package/dist/renderers/pixi-interaction-layer.d.ts +63 -0
- package/dist/renderers/pixi-interaction-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-interaction-presentation-layer.d.ts +84 -0
- package/dist/renderers/pixi-interaction-presentation-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-label-layer.d.ts +32 -0
- package/dist/renderers/pixi-label-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-mask-brush-preview.d.ts +26 -0
- package/dist/renderers/pixi-mask-brush-preview.d.ts.map +1 -0
- package/dist/renderers/pixi-mask-layer.d.ts +98 -0
- package/dist/renderers/pixi-mask-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-media-scene.d.ts +6 -0
- package/dist/renderers/pixi-media-scene.d.ts.map +1 -0
- package/dist/renderers/pixi-path.d.ts +15 -0
- package/dist/renderers/pixi-path.d.ts.map +1 -0
- package/dist/renderers/pixi-polygon-layer.d.ts +32 -0
- package/dist/renderers/pixi-polygon-layer.d.ts.map +1 -0
- package/dist/renderers/pixi-scene-fit.d.ts +14 -0
- package/dist/renderers/pixi-scene-fit.d.ts.map +1 -0
- package/dist/renderers/pixi-scene-layer-slot.d.ts +23 -0
- package/dist/renderers/pixi-scene-layer-slot.d.ts.map +1 -0
- package/dist/renderers/pixi-vector-layer.d.ts +24 -0
- package/dist/renderers/pixi-vector-layer.d.ts.map +1 -0
- package/dist/sessions/media-session-defaults.d.ts +21 -0
- package/dist/sessions/media-session-defaults.d.ts.map +1 -0
- package/dist/sessions/media-session-detections.d.ts +16 -0
- package/dist/sessions/media-session-detections.d.ts.map +1 -0
- package/dist/sessions/media-session-media.d.ts +19 -0
- package/dist/sessions/media-session-media.d.ts.map +1 -0
- package/dist/sessions/media-session-state.d.ts +12 -0
- package/dist/sessions/media-session-state.d.ts.map +1 -0
- package/dist/sessions/media-session.d.ts +10 -0
- package/dist/sessions/media-session.d.ts.map +1 -0
- package/dist/types/media-normalization.d.ts +119 -0
- package/dist/types/media-normalization.d.ts.map +1 -0
- package/dist/types/media-preparation.d.ts +30 -0
- package/dist/types/media-preparation.d.ts.map +1 -0
- package/dist/types/media-renderer.d.ts +115 -0
- package/dist/types/media-renderer.d.ts.map +1 -0
- package/dist/types/media-session.d.ts +242 -0
- package/dist/types/media-session.d.ts.map +1 -0
- package/dist/types/render-preparation.d.ts +164 -0
- package/dist/types/render-preparation.d.ts.map +1 -0
- package/dist/workers/worker-rpc-client.d.ts +15 -0
- package/dist/workers/worker-rpc-client.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/array-detection-frame-source.d.ts +4 -0
- package/node_modules/supervision-js-core/dist/detections/array-detection-frame-source.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/buffered-detection-timeline.d.ts +14 -0
- package/node_modules/supervision-js-core/dist/detections/buffered-detection-timeline.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/cold-detection-frame-source.d.ts +6 -0
- package/node_modules/supervision-js-core/dist/detections/cold-detection-frame-source.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/composite-detection-frame-source.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/detections/composite-detection-frame-source.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/editable-annotation-frame-session.d.ts +35 -0
- package/node_modules/supervision-js-core/dist/detections/editable-annotation-frame-session.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/memory-cold-detection-frame-store.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/detections/memory-cold-detection-frame-store.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/detections/writable-detection-frame-source.d.ts +8 -0
- package/node_modules/supervision-js-core/dist/detections/writable-detection-frame-source.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/index.d.ts +65 -0
- package/node_modules/supervision-js-core/dist/index.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/index.js +4277 -0
- package/node_modules/supervision-js-core/dist/index.js.map +1 -0
- package/node_modules/supervision-js-core/dist/interactions/annotation-editing-engine.d.ts +3 -0
- package/node_modules/supervision-js-core/dist/interactions/annotation-editing-engine.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/interactions/annotation-handles.d.ts +13 -0
- package/node_modules/supervision-js-core/dist/interactions/annotation-handles.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/interactions/detection-picker.d.ts +7 -0
- package/node_modules/supervision-js-core/dist/interactions/detection-picker.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/interactions/viewport-controller.d.ts +6 -0
- package/node_modules/supervision-js-core/dist/interactions/viewport-controller.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/box-style.d.ts +44 -0
- package/node_modules/supervision-js-core/dist/styles/box-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/default-annotation-presentation.d.ts +20 -0
- package/node_modules/supervision-js-core/dist/styles/default-annotation-presentation.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/focus-style.d.ts +37 -0
- package/node_modules/supervision-js-core/dist/styles/focus-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/interaction-style.d.ts +64 -0
- package/node_modules/supervision-js-core/dist/styles/interaction-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/keypoint-style.d.ts +19 -0
- package/node_modules/supervision-js-core/dist/styles/keypoint-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/label-style.d.ts +61 -0
- package/node_modules/supervision-js-core/dist/styles/label-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/mask-style.d.ts +55 -0
- package/node_modules/supervision-js-core/dist/styles/mask-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/polygon-style.d.ts +15 -0
- package/node_modules/supervision-js-core/dist/styles/polygon-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/polyline-style.d.ts +14 -0
- package/node_modules/supervision-js-core/dist/styles/polyline-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/source-presentation.d.ts +22 -0
- package/node_modules/supervision-js-core/dist/styles/source-presentation.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/styles/style-value.d.ts +4 -0
- package/node_modules/supervision-js-core/dist/styles/style-value.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/box-style.d.ts +58 -0
- package/node_modules/supervision-js-core/dist/types/box-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/detection-timeline.d.ts +325 -0
- package/node_modules/supervision-js-core/dist/types/detection-timeline.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/detections.d.ts +183 -0
- package/node_modules/supervision-js-core/dist/types/detections.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/editing.d.ts +140 -0
- package/node_modules/supervision-js-core/dist/types/editing.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/focus-style.d.ts +36 -0
- package/node_modules/supervision-js-core/dist/types/focus-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/interaction-style.d.ts +44 -0
- package/node_modules/supervision-js-core/dist/types/interaction-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/interaction.d.ts +70 -0
- package/node_modules/supervision-js-core/dist/types/interaction.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/keypoint-style.d.ts +30 -0
- package/node_modules/supervision-js-core/dist/types/keypoint-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/label-style.d.ts +65 -0
- package/node_modules/supervision-js-core/dist/types/label-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/mask-style.d.ts +59 -0
- package/node_modules/supervision-js-core/dist/types/mask-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/media-rendering.d.ts +204 -0
- package/node_modules/supervision-js-core/dist/types/media-rendering.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/media.d.ts +42 -0
- package/node_modules/supervision-js-core/dist/types/media.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/polygon-style.d.ts +13 -0
- package/node_modules/supervision-js-core/dist/types/polygon-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/polyline-style.d.ts +12 -0
- package/node_modules/supervision-js-core/dist/types/polyline-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/session-lifecycle.d.ts +106 -0
- package/node_modules/supervision-js-core/dist/types/session-lifecycle.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/style.d.ts +28 -0
- package/node_modules/supervision-js-core/dist/types/style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/types/viewport.d.ts +19 -0
- package/node_modules/supervision-js-core/dist/types/viewport.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/annotation-visibility.d.ts +5 -0
- package/node_modules/supervision-js-core/dist/utils/annotation-visibility.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/color-palette.d.ts +12 -0
- package/node_modules/supervision-js-core/dist/utils/color-palette.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/color.d.ts +4 -0
- package/node_modules/supervision-js-core/dist/utils/color.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/detection-conversions.d.ts +24 -0
- package/node_modules/supervision-js-core/dist/utils/detection-conversions.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/detection-frames.d.ts +16 -0
- package/node_modules/supervision-js-core/dist/utils/detection-frames.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/detection-masks.d.ts +31 -0
- package/node_modules/supervision-js-core/dist/utils/detection-masks.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/geometry.d.ts +11 -0
- package/node_modules/supervision-js-core/dist/utils/geometry.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/id-mask-frame.d.ts +18 -0
- package/node_modules/supervision-js-core/dist/utils/id-mask-frame.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/mask-style.d.ts +4 -0
- package/node_modules/supervision-js-core/dist/utils/mask-style.d.ts.map +1 -0
- package/node_modules/supervision-js-core/dist/utils/object.d.ts +2 -0
- package/node_modules/supervision-js-core/dist/utils/object.d.ts.map +1 -0
- package/node_modules/supervision-js-core/package.json +51 -0
- package/package.json +92 -16
- package/index.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pixi-scene-fit.d.ts","sourceRoot":"","sources":["../../src/renderers/pixi-scene-fit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE;IAC7C,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,GAAG,YAAY,GAAG,SAAS,CAsB3B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Container as PixiContainer } from "pixi.js";
|
|
2
|
+
export declare enum PixiSceneLayerKind {
|
|
3
|
+
Media = "media",
|
|
4
|
+
Mask = "mask",
|
|
5
|
+
Box = "box",
|
|
6
|
+
Vector = "vector",
|
|
7
|
+
Focus = "focus",
|
|
8
|
+
Preview = "preview",
|
|
9
|
+
Guide = "guide",
|
|
10
|
+
Handle = "handle",
|
|
11
|
+
Interaction = "interaction",
|
|
12
|
+
Label = "label"
|
|
13
|
+
}
|
|
14
|
+
export interface PixiSceneLayerSlot {
|
|
15
|
+
/** Open identifier: hosts may register their own layer kinds. */
|
|
16
|
+
readonly kind: string;
|
|
17
|
+
readonly order: number;
|
|
18
|
+
getDisplay(): PixiContainer | undefined;
|
|
19
|
+
setDisplay(display: PixiContainer | undefined): void;
|
|
20
|
+
}
|
|
21
|
+
export declare function createPixiSceneLayerSlot(kind: string, order?: number): PixiSceneLayerSlot;
|
|
22
|
+
export declare function syncPixiSceneLayerChildren(scene: PixiContainer | undefined, slots: readonly PixiSceneLayerSlot[]): void;
|
|
23
|
+
//# sourceMappingURL=pixi-scene-layer-slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pixi-scene-layer-slot.d.ts","sourceRoot":"","sources":["../../src/renderers/pixi-scene-layer-slot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAE1D,oBAAY,kBAAkB;IAC5B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,iEAAiE;IACjE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,UAAU,IAAI,aAAa,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI,CAAC;CACtD;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,EACZ,KAAK,SAA0B,GAC9B,kBAAkB,CAepB;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,aAAa,GAAG,SAAS,EAChC,KAAK,EAAE,SAAS,kBAAkB,EAAE,QAkBrC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type BufferedDetectionTimeline, type Detection, type AnnotationStyleContext, type KeypointStyle, type PolygonStyle, type PolylineStyle } from "supervision-js-core";
|
|
2
|
+
import type { Container as PixiContainer, Graphics as PixiGraphics } from "pixi.js";
|
|
3
|
+
export interface PixiVectorLayer {
|
|
4
|
+
createContainer(): PixiContainer;
|
|
5
|
+
drawFrame(mediaTime: number, viewportScale?: number): void;
|
|
6
|
+
invalidateDetection(id: string | number): void;
|
|
7
|
+
translateDetection(id: string | number, x: number, y: number): boolean;
|
|
8
|
+
setStyles(styles: {
|
|
9
|
+
polygonStyle?: PolygonStyle | null;
|
|
10
|
+
polylineStyle?: PolylineStyle | null;
|
|
11
|
+
keypointStyle?: KeypointStyle | null;
|
|
12
|
+
}): void;
|
|
13
|
+
destroy(): void;
|
|
14
|
+
}
|
|
15
|
+
export declare function createPixiVectorLayer(options: {
|
|
16
|
+
readonly Container: new () => PixiContainer;
|
|
17
|
+
readonly Graphics: new () => PixiGraphics;
|
|
18
|
+
readonly detectionTimeline: BufferedDetectionTimeline;
|
|
19
|
+
readonly polygonStyle?: PolygonStyle | null;
|
|
20
|
+
readonly polylineStyle?: PolylineStyle | null;
|
|
21
|
+
readonly keypointStyle?: KeypointStyle | null;
|
|
22
|
+
readonly resolveContextState?: (detection: Detection) => Partial<AnnotationStyleContext>;
|
|
23
|
+
}): PixiVectorLayer;
|
|
24
|
+
//# sourceMappingURL=pixi-vector-layer.d.ts.map
|
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,IAAI,CAAC;IAC9C,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAC7B,SAAS,EAAE,SAAS,KACjB,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtC,GAAG,eAAe,CAkRlB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DetectionBufferOptions, DetectionFrameRetentionOptions } from "supervision-js-core";
|
|
2
|
+
import type { RenderPreparationOptions } from "#types/render-preparation";
|
|
3
|
+
import type { MediaSessionAppendableDetectionOptions, MediaSessionDetectionOptions, MediaSessionMode, MediaSessionRendererOptions } from "#types/media-session";
|
|
4
|
+
export interface ResolvedMediaSessionDefaults {
|
|
5
|
+
readonly detectionBuffer: DetectionBufferOptions;
|
|
6
|
+
readonly renderPreparation: RenderPreparationOptions;
|
|
7
|
+
}
|
|
8
|
+
export declare function resolveMediaSessionDefaults(options: {
|
|
9
|
+
readonly detections?: MediaSessionDetectionOptions;
|
|
10
|
+
readonly mode?: MediaSessionMode;
|
|
11
|
+
readonly renderer?: MediaSessionRendererOptions;
|
|
12
|
+
}): ResolvedMediaSessionDefaults;
|
|
13
|
+
export declare function resolveMediaSessionAppendableRetention(options: {
|
|
14
|
+
readonly mode?: MediaSessionMode;
|
|
15
|
+
readonly appendable?: MediaSessionAppendableDetectionOptions;
|
|
16
|
+
}): DetectionFrameRetentionOptions;
|
|
17
|
+
export declare function resolveMediaSessionWritableRetention(options: {
|
|
18
|
+
readonly mode?: MediaSessionMode;
|
|
19
|
+
readonly writable?: MediaSessionAppendableDetectionOptions;
|
|
20
|
+
}): DetectionFrameRetentionOptions;
|
|
21
|
+
//# sourceMappingURL=media-session-defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-session-defaults.d.ts","sourceRoot":"","sources":["../../src/sessions/media-session-defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,8BAA8B,EAC/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,KAAK,EACV,sCAAsC,EACtC,4BAA4B,EAC5B,gBAAgB,EAChB,2BAA2B,EAC5B,MAAM,sBAAsB,CAAC;AAwC9B,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,eAAe,EAAE,sBAAsB,CAAC;IACjD,QAAQ,CAAC,iBAAiB,EAAE,wBAAwB,CAAC;CACtD;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE;IACnD,QAAQ,CAAC,UAAU,CAAC,EAAE,4BAA4B,CAAC;IACnD,QAAQ,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;CACjD,GAAG,4BAA4B,CAwE/B;AAED,wBAAgB,sCAAsC,CAAC,OAAO,EAAE;IAC9D,QAAQ,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,sCAAsC,CAAC;CAC9D,GAAG,8BAA8B,CAgCjC;AAED,wBAAgB,oCAAoC,CAAC,OAAO,EAAE;IAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,sCAAsC,CAAC;CAC5D,GAAG,8BAA8B,CAKjC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DetectionFrameSource, WritableDetectionFrameSource } from "supervision-js-core";
|
|
2
|
+
import type { MediaSessionDetectionOptions, MediaSessionOptions } from "#types/media-session";
|
|
3
|
+
import type { MediaRendererOptions } from "#types/media-renderer";
|
|
4
|
+
import type { SourcePresentationEntry } from "supervision-js-core";
|
|
5
|
+
export interface PreparedSessionDetections {
|
|
6
|
+
readonly detectionFrames?: MediaRendererOptions["detectionFrames"];
|
|
7
|
+
readonly detectionSource?: DetectionFrameSource | WritableDetectionFrameSource;
|
|
8
|
+
readonly appendableSource?: WritableDetectionFrameSource;
|
|
9
|
+
readonly appendableSources: ReadonlyMap<string, WritableDetectionFrameSource>;
|
|
10
|
+
readonly sourcePresentations: readonly SourcePresentationEntry[];
|
|
11
|
+
}
|
|
12
|
+
export declare function prepareSessionDetections(options: {
|
|
13
|
+
readonly detections: MediaSessionDetectionOptions | undefined;
|
|
14
|
+
readonly mode: MediaSessionOptions["mode"];
|
|
15
|
+
}): Promise<PreparedSessionDetections>;
|
|
16
|
+
//# sourceMappingURL=media-session-detections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-session-detections.d.ts","sourceRoot":"","sources":["../../src/sessions/media-session-detections.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAEV,4BAA4B,EAE5B,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAGnE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,eAAe,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IACnE,QAAQ,CAAC,eAAe,CAAC,EACvB,oBAAoB,GAAG,4BAA4B,CAAC;IACtD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,4BAA4B,CAAC;IACzD,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;IAC9E,QAAQ,CAAC,mBAAmB,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAClE;AAED,wBAAsB,wBAAwB,CAAC,OAAO,EAAE;IACtD,QAAQ,CAAC,UAAU,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;CAC5C,GAAG,OAAO,CAAC,yBAAyB,CAAC,CA2ErC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { MediaSessionMedia, MediaSessionMediaState, MediaSessionNormalizationOptions } from "#types/media-session";
|
|
2
|
+
import type { MediaRendererOptions } from "#types/media-renderer";
|
|
3
|
+
export interface PreparedSessionMedia {
|
|
4
|
+
readonly rendererSourceOption: Pick<MediaRendererOptions, "source" | "src">;
|
|
5
|
+
readonly state: MediaSessionMediaState;
|
|
6
|
+
destroy(): void;
|
|
7
|
+
}
|
|
8
|
+
interface PrepareSessionMediaCallbacks {
|
|
9
|
+
onNormalizationComplete(): void;
|
|
10
|
+
onNormalizationProgress(progress: {
|
|
11
|
+
progress: number;
|
|
12
|
+
processedTime: number;
|
|
13
|
+
}): void;
|
|
14
|
+
onNormalizationStart(): void;
|
|
15
|
+
}
|
|
16
|
+
export declare function prepareSessionMedia(media: MediaSessionMedia, normalize: false | MediaSessionNormalizationOptions | undefined, callbacks: PrepareSessionMediaCallbacks): Promise<PreparedSessionMedia>;
|
|
17
|
+
export declare function createEmptyMediaState(): MediaSessionMediaState;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=media-session-media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-session-media.d.ts","sourceRoot":"","sources":["../../src/sessions/media-session-media.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,gCAAgC,EACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,KAAK,CAAC,CAAC;IAC5E,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,UAAU,4BAA4B;IACpC,uBAAuB,IAAI,IAAI,CAAC;IAChC,uBAAuB,CAAC,QAAQ,EAAE;QAChC,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;KACvB,GAAG,IAAI,CAAC;IACT,oBAAoB,IAAI,IAAI,CAAC;CAC9B;AAED,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,KAAK,GAAG,gCAAgC,GAAG,SAAS,EAC/D,SAAS,EAAE,4BAA4B,GACtC,OAAO,CAAC,oBAAoB,CAAC,CA0F/B;AAED,wBAAgB,qBAAqB,IAAI,sBAAsB,CAM9D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type MediaRendererState } from "#types/media-renderer";
|
|
2
|
+
import { type RenderPreparationDiagnostics } from "#types/render-preparation";
|
|
3
|
+
import { type MediaSessionMediaState, type MediaSessionNormalizationState, type MediaSessionState } from "#types/media-session";
|
|
4
|
+
export interface MediaSessionStateSnapshotInput {
|
|
5
|
+
readonly errorMessage: string | null;
|
|
6
|
+
readonly media: MediaSessionMediaState;
|
|
7
|
+
readonly normalization: MediaSessionNormalizationState | null;
|
|
8
|
+
readonly renderPreparation: RenderPreparationDiagnostics | null;
|
|
9
|
+
readonly renderer: MediaRendererState | null;
|
|
10
|
+
}
|
|
11
|
+
export declare function createMediaSessionStateSnapshot({ errorMessage, media, normalization, renderPreparation, renderer, }: MediaSessionStateSnapshotInput): MediaSessionState;
|
|
12
|
+
//# sourceMappingURL=media-session-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-session-state.d.ts","sourceRoot":"","sources":["../../src/sessions/media-session-state.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAKL,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,QAAQ,CAAC,aAAa,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAC9D,QAAQ,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAChE,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAAC;CAC9C;AAED,wBAAgB,+BAA+B,CAAC,EAC9C,YAAY,EACZ,KAAK,EACL,aAAa,EACb,iBAAiB,EACjB,QAAQ,GACT,EAAE,8BAA8B,GAAG,iBAAiB,CAiIpD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MediaSession, MediaSessionOptions } from "#types/media-session";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a renderer-owned media session for one browser media item.
|
|
4
|
+
*
|
|
5
|
+
* Start with `container` and `media` for the default playback/rendering path.
|
|
6
|
+
* Add detections, presentation styles, interaction, normalization, or buffering
|
|
7
|
+
* options only when the host application needs them.
|
|
8
|
+
*/
|
|
9
|
+
export declare function createMediaSession(options: MediaSessionOptions): Promise<MediaSession>;
|
|
10
|
+
//# sourceMappingURL=media-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-session.d.ts","sourceRoot":"","sources":["../../src/sessions/media-session.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,YAAY,EAIZ,mBAAmB,EAEpB,MAAM,sBAAsB,CAAC;AAkB9B;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,YAAY,CAAC,CAoQvB"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MediaRendererSource } from "#types/media-renderer";
|
|
2
|
+
export declare enum MediaNormalizationContainer {
|
|
3
|
+
WebM = "webm",
|
|
4
|
+
Mp4 = "mp4"
|
|
5
|
+
}
|
|
6
|
+
export declare enum MediaNormalizationVideoCodec {
|
|
7
|
+
Vp9 = "vp9",
|
|
8
|
+
Vp8 = "vp8",
|
|
9
|
+
Avc = "avc",
|
|
10
|
+
Av1 = "av1"
|
|
11
|
+
}
|
|
12
|
+
export declare enum MediaNormalizationAudioCodec {
|
|
13
|
+
Opus = "opus",
|
|
14
|
+
Aac = "aac"
|
|
15
|
+
}
|
|
16
|
+
export declare enum MediaNormalizationFit {
|
|
17
|
+
Fill = "fill",
|
|
18
|
+
Contain = "contain",
|
|
19
|
+
Cover = "cover"
|
|
20
|
+
}
|
|
21
|
+
export declare enum MediaProbeStatus {
|
|
22
|
+
Supported = "supported",
|
|
23
|
+
Unsupported = "unsupported"
|
|
24
|
+
}
|
|
25
|
+
export declare enum MediaProbeIssueCode {
|
|
26
|
+
InputCannotRead = "inputCannotRead",
|
|
27
|
+
PrimaryVideoMissing = "primaryVideoMissing",
|
|
28
|
+
PrimaryVideoCannotDecode = "primaryVideoCannotDecode",
|
|
29
|
+
TargetVideoCannotEncode = "targetVideoCannotEncode"
|
|
30
|
+
}
|
|
31
|
+
export interface MediaNormalizationVideoOptions {
|
|
32
|
+
readonly frameRate?: number;
|
|
33
|
+
readonly width?: number;
|
|
34
|
+
readonly height?: number;
|
|
35
|
+
readonly fit?: MediaNormalizationFit;
|
|
36
|
+
readonly codec?: MediaNormalizationVideoCodec;
|
|
37
|
+
readonly bitrate?: number;
|
|
38
|
+
readonly keyFrameInterval?: number;
|
|
39
|
+
readonly forceTranscode?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface MediaNormalizationAudioOptions {
|
|
42
|
+
readonly discard?: boolean;
|
|
43
|
+
readonly codec?: MediaNormalizationAudioCodec;
|
|
44
|
+
readonly bitrate?: number;
|
|
45
|
+
readonly sampleRate?: number;
|
|
46
|
+
readonly numberOfChannels?: number;
|
|
47
|
+
readonly forceTranscode?: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface MediaNormalizationProgress {
|
|
50
|
+
readonly progress: number;
|
|
51
|
+
readonly processedTime: number;
|
|
52
|
+
}
|
|
53
|
+
export interface MediaNormalizationOptions {
|
|
54
|
+
readonly container?: MediaNormalizationContainer;
|
|
55
|
+
readonly video?: MediaNormalizationVideoOptions;
|
|
56
|
+
readonly audio?: MediaNormalizationAudioOptions;
|
|
57
|
+
readonly signal?: AbortSignal;
|
|
58
|
+
readonly onProgress?: (progress: MediaNormalizationProgress) => void;
|
|
59
|
+
readonly onOutputProgress?: (progress: MediaNormalizationOutputProgress) => void;
|
|
60
|
+
}
|
|
61
|
+
export interface MediaNormalizationOutputProgress {
|
|
62
|
+
readonly bytesWritten: number;
|
|
63
|
+
}
|
|
64
|
+
export interface MediaNormalizationInputMetadata {
|
|
65
|
+
readonly sourceMimeType: string | null;
|
|
66
|
+
readonly detectedMimeType: string | null;
|
|
67
|
+
readonly formatMimeType: string | null;
|
|
68
|
+
readonly formatName: string | null;
|
|
69
|
+
readonly duration: number | null;
|
|
70
|
+
readonly primaryVideoWidth: number | null;
|
|
71
|
+
readonly primaryVideoHeight: number | null;
|
|
72
|
+
}
|
|
73
|
+
export interface NormalizedMedia {
|
|
74
|
+
readonly blob: Blob;
|
|
75
|
+
readonly container: MediaNormalizationContainer;
|
|
76
|
+
readonly mimeType: string;
|
|
77
|
+
readonly extension: string;
|
|
78
|
+
readonly size: number;
|
|
79
|
+
readonly inputMetadata: MediaNormalizationInputMetadata;
|
|
80
|
+
}
|
|
81
|
+
export interface ProgressiveNormalizedMedia {
|
|
82
|
+
readonly completion: Promise<NormalizedMedia>;
|
|
83
|
+
readonly container: MediaNormalizationContainer;
|
|
84
|
+
readonly extension: string;
|
|
85
|
+
readonly inputMetadata: MediaNormalizationInputMetadata;
|
|
86
|
+
readonly mimeType: string;
|
|
87
|
+
readonly rendererSource: MediaRendererSource;
|
|
88
|
+
cancel(): Promise<void>;
|
|
89
|
+
}
|
|
90
|
+
export interface MediaProbeTargetProfile {
|
|
91
|
+
readonly container: MediaNormalizationContainer;
|
|
92
|
+
readonly videoCodec: MediaNormalizationVideoCodec;
|
|
93
|
+
readonly frameRate?: number;
|
|
94
|
+
readonly width?: number;
|
|
95
|
+
readonly height?: number;
|
|
96
|
+
readonly bitrate?: number;
|
|
97
|
+
}
|
|
98
|
+
export interface MediaProbeVideoTrack {
|
|
99
|
+
readonly canDecode: boolean;
|
|
100
|
+
readonly codec: string | null;
|
|
101
|
+
readonly width: number;
|
|
102
|
+
readonly height: number;
|
|
103
|
+
}
|
|
104
|
+
export interface MediaProbeIssue {
|
|
105
|
+
readonly code: MediaProbeIssueCode;
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}
|
|
108
|
+
export interface MediaProbeOptions {
|
|
109
|
+
readonly targets?: readonly MediaProbeTargetProfile[];
|
|
110
|
+
}
|
|
111
|
+
export interface MediaProbeResult {
|
|
112
|
+
readonly canRead: boolean;
|
|
113
|
+
readonly inputMetadata: MediaNormalizationInputMetadata;
|
|
114
|
+
readonly primaryVideo: MediaProbeVideoTrack | null;
|
|
115
|
+
readonly target: MediaProbeTargetProfile | null;
|
|
116
|
+
readonly issues: readonly MediaProbeIssue[];
|
|
117
|
+
readonly status: MediaProbeStatus;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=media-normalization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-normalization.d.ts","sourceRoot":"","sources":["../../src/types/media-normalization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,2BAA2B;IACrC,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,4BAA4B;IACtC,GAAG,QAAQ;IACX,GAAG,QAAQ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,aAAa,EAAE,+BAA+B,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAChD,QAAQ,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;CACnC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { MediaNormalizationOptions, MediaProbeOptions, MediaProbeResult, NormalizedMedia, ProgressiveNormalizedMedia } from "#types/media-normalization";
|
|
2
|
+
/**
|
|
3
|
+
* Options for probing an uploaded media file and normalizing it to a renderable
|
|
4
|
+
* browser profile.
|
|
5
|
+
*/
|
|
6
|
+
export interface MediaPreparationOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Probe targets and browser support checks.
|
|
9
|
+
*/
|
|
10
|
+
readonly probe?: MediaProbeOptions;
|
|
11
|
+
/**
|
|
12
|
+
* Normalization settings layered on top of the selected probe target.
|
|
13
|
+
*/
|
|
14
|
+
readonly normalization?: MediaNormalizationOptions;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Fully normalized media prepared for URL/blob-based rendering.
|
|
18
|
+
*/
|
|
19
|
+
export interface PreparedMedia {
|
|
20
|
+
readonly probe: MediaProbeResult;
|
|
21
|
+
readonly normalizedMedia: NormalizedMedia;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Progressively normalized media prepared for renderer-owned streaming.
|
|
25
|
+
*/
|
|
26
|
+
export interface ProgressivePreparedMedia {
|
|
27
|
+
readonly probe: MediaProbeResult;
|
|
28
|
+
readonly normalizedMedia: ProgressiveNormalizedMedia;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=media-preparation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-preparation.d.ts","sourceRoot":"","sources":["../../src/types/media-preparation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,iBAAiB,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,yBAAyB,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC;CACtD"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { DetectionBufferOptions, DetectionFrameSource, MediaFrameDiagnostics, MediaRendererDiagnosticsOptions, MediaRendererFit, MediaRendererPresentation, MediaRendererState, MediaRendererStateController, MediaSourceState } from "supervision-js-core";
|
|
2
|
+
import type { DetectionFrame } from "supervision-js-core";
|
|
3
|
+
import type { DetectionPickResult, DetectionSelectionOptions, MediaInteractionOptions } from "supervision-js-core";
|
|
4
|
+
import type { DecodedMediaSource } from "#media/media-source";
|
|
5
|
+
import type { RenderPreparationOptions } from "#types/render-preparation";
|
|
6
|
+
import type { AnnotationEditingEngine, PreviewOverlayData } from "supervision-js-core";
|
|
7
|
+
import type { MaskBrushPreviewOptions } from "../editing";
|
|
8
|
+
export { MediaRendererFit, MediaRendererPlaybackState, MediaSourceStatus, } from "supervision-js-core";
|
|
9
|
+
export type { MediaFrameDiagnostics, MediaFrameRenderTimings, MediaRendererDiagnosticsOptions, MediaRendererPresentation, MediaRendererQuality, MediaRendererState, MediaDisplayAdjustments, MediaSourceState, } from "supervision-js-core";
|
|
10
|
+
/** Clock used by semantic detection frames supplied to a media renderer. */
|
|
11
|
+
export declare enum DetectionTimelineOrigin {
|
|
12
|
+
/** Detection times already use the decoded media source's native timeline. */
|
|
13
|
+
MediaTimeline = "mediaTimeline",
|
|
14
|
+
/** Detection time zero corresponds to the first decoded media sample. */
|
|
15
|
+
MediaStart = "mediaStart"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Lower-level renderer options.
|
|
19
|
+
*
|
|
20
|
+
* Most applications should prefer `createMediaSession`, which wires media
|
|
21
|
+
* preparation, detection buffering, and render preparation with defaults.
|
|
22
|
+
*/
|
|
23
|
+
export interface MediaRendererOptions extends MediaRendererPresentation {
|
|
24
|
+
readonly container: HTMLElement;
|
|
25
|
+
readonly src?: string | URL | Request;
|
|
26
|
+
readonly source?: MediaRendererSource;
|
|
27
|
+
readonly autoPlay?: boolean;
|
|
28
|
+
readonly loop?: boolean;
|
|
29
|
+
readonly playbackRate?: number;
|
|
30
|
+
/**
|
|
31
|
+
* No-op in the current video-only renderer. Audio playback is deferred.
|
|
32
|
+
*/
|
|
33
|
+
readonly muted?: boolean;
|
|
34
|
+
readonly fit?: MediaRendererFit;
|
|
35
|
+
/**
|
|
36
|
+
* Caps Pixi's render resolution relative to device pixels.
|
|
37
|
+
*
|
|
38
|
+
* Lower values reduce GPU memory and fill-rate pressure. For example,
|
|
39
|
+
* capping a Retina display from DPR 2 to 1 renders one quarter as many
|
|
40
|
+
* pixels, which can be useful for long videos or browsers under load.
|
|
41
|
+
*/
|
|
42
|
+
readonly maxDevicePixelRatio?: number;
|
|
43
|
+
readonly detectionFrames?: readonly DetectionFrame[];
|
|
44
|
+
readonly detectionSource?: DetectionFrameSource;
|
|
45
|
+
readonly detectionBuffer?: DetectionBufferOptions;
|
|
46
|
+
/**
|
|
47
|
+
* Aligns detection timestamps with media whose first presentation timestamp
|
|
48
|
+
* is not zero. Defaults to `MediaTimeline` for backward compatibility.
|
|
49
|
+
*/
|
|
50
|
+
readonly detectionTimelineOrigin?: DetectionTimelineOrigin;
|
|
51
|
+
readonly interaction?: MediaInteractionOptions;
|
|
52
|
+
readonly renderPreparation?: RenderPreparationOptions;
|
|
53
|
+
readonly diagnostics?: MediaRendererDiagnosticsOptions;
|
|
54
|
+
readonly editingEngine?: AnnotationEditingEngine;
|
|
55
|
+
readonly maskBrush?: MaskBrushPreviewOptions;
|
|
56
|
+
/** Creates a media-sized brush preview after the source metadata is known. */
|
|
57
|
+
readonly createMaskBrush?: (dimensions: {
|
|
58
|
+
readonly width: number;
|
|
59
|
+
readonly height: number;
|
|
60
|
+
}) => MaskBrushPreviewOptions;
|
|
61
|
+
readonly previewOverlay?: () => PreviewOverlayData | null;
|
|
62
|
+
readonly onFrame?: (diagnostics: MediaFrameDiagnostics) => void;
|
|
63
|
+
readonly onSource?: (state: MediaSourceState) => void;
|
|
64
|
+
readonly onState?: (state: MediaRendererState) => void;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Provider contract for opening decoded media.
|
|
68
|
+
*
|
|
69
|
+
* This is primarily useful for advanced integrations. The default session path
|
|
70
|
+
* supplies the built-in browser/Mediabunny source.
|
|
71
|
+
*/
|
|
72
|
+
export interface MediaRendererSource {
|
|
73
|
+
open(): Promise<DecodedMediaSource>;
|
|
74
|
+
}
|
|
75
|
+
/** Screen-space bounds of a detection label after renderer layout. */
|
|
76
|
+
export interface DetectionLabelBounds {
|
|
77
|
+
readonly x: number;
|
|
78
|
+
readonly y: number;
|
|
79
|
+
readonly width: number;
|
|
80
|
+
readonly height: number;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Lower-level renderer controller.
|
|
84
|
+
*
|
|
85
|
+
* Prefer `MediaSession` for application code unless you need to own media
|
|
86
|
+
* preparation and detection buffering yourself.
|
|
87
|
+
*/
|
|
88
|
+
export interface MediaRenderer extends MediaRendererStateController {
|
|
89
|
+
play(): Promise<void>;
|
|
90
|
+
pause(): void;
|
|
91
|
+
seek(mediaTime: number): Promise<void>;
|
|
92
|
+
stepForward(): Promise<void>;
|
|
93
|
+
stepBackward(): Promise<void>;
|
|
94
|
+
setPlaybackRate(playbackRate: number): void;
|
|
95
|
+
/** Re-read detections and redraw the currently presented media frame. */
|
|
96
|
+
refresh(): Promise<void>;
|
|
97
|
+
setSelectedDetection(selection: DetectionSelectionOptions | null): DetectionPickResult | null;
|
|
98
|
+
destroy(): void;
|
|
99
|
+
getViewportTransform(): import("supervision-js-core").ViewportTransform;
|
|
100
|
+
setViewportTransform(transform: Partial<Omit<import("supervision-js-core").ViewportTransform, "locked">>): void;
|
|
101
|
+
setViewportLocked(locked: boolean): void;
|
|
102
|
+
screenToMedia(point: import("supervision-js-core").Point): import("supervision-js-core").Point;
|
|
103
|
+
mediaToScreen(point: import("supervision-js-core").Point): import("supervision-js-core").Point;
|
|
104
|
+
/**
|
|
105
|
+
* Returns the label rectangle exactly as laid out by the renderer.
|
|
106
|
+
*
|
|
107
|
+
* Coordinates are relative to the renderer container and already include
|
|
108
|
+
* fit, pan, zoom, screen-stable label sizing, and media-edge clamping.
|
|
109
|
+
*/
|
|
110
|
+
getDetectionLabelBounds(detectionId: string | number): DetectionLabelBounds | null;
|
|
111
|
+
panViewportBy(dx: number, dy: number): void;
|
|
112
|
+
zoomViewportAt(point: import("supervision-js-core").Point, factor: number): void;
|
|
113
|
+
zoomViewportFromWheel(point: import("supervision-js-core").Point, deltaY: number): void;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=media-renderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-renderer.d.ts","sourceRoot":"","sources":["../../src/types/media-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,+BAA+B,EAC/B,gBAAgB,EAChB,yBAAyB,EACzB,kBAAkB,EAClB,4BAA4B,EAC5B,gBAAgB,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAA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