@camstack/addon-provider-rtsp 0.1.12 → 0.1.14
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/assets/icon.svg +11 -5
- package/dist/addon.d.mts +15 -10
- package/dist/addon.d.ts +15 -10
- package/dist/addon.js +511 -247
- package/dist/addon.js.map +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/chunk-BXTWJIXO.mjs +560 -0
- package/dist/chunk-BXTWJIXO.mjs.map +1 -0
- package/dist/index.d.mts +79 -44
- package/dist/index.d.ts +79 -44
- package/dist/index.js +519 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/package.json +13 -7
- package/dist/chunk-2B5J5HPN.mjs +0 -294
- package/dist/chunk-2B5J5HPN.mjs.map +0 -1
package/assets/icon.svg
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<!-- RTSP addon icon — Lucide `Radio` symbol (broadcast waves around a
|
|
2
|
+
center point). Communicates "real-time streaming protocol" without
|
|
3
|
+
leaning on the WiFi metaphor (which suggested wireless rather than
|
|
4
|
+
IP-stream). Stroke color is the brand orange used for "live
|
|
5
|
+
stream" affordances elsewhere in the UI. -->
|
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="#f97316" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
7
|
+
<path d="M16.247 7.761a6 6 0 0 1 0 8.478"/>
|
|
8
|
+
<path d="M19.075 4.933a10 10 0 0 1 0 14.134"/>
|
|
9
|
+
<path d="M4.925 19.067a10 10 0 0 1 0-14.134"/>
|
|
10
|
+
<path d="M7.753 16.239a6 6 0 0 1 0-8.478"/>
|
|
11
|
+
<circle cx="12" cy="12" r="2" fill="#f97316"/>
|
|
6
12
|
</svg>
|
package/dist/addon.d.mts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseDeviceProvider, DeviceType, DeviceConstructor, IDevice, ProviderRegistration, ConfigUISchema, CreateDeviceSpec, FieldProbeResult } from '@camstack/types';
|
|
2
2
|
|
|
3
|
-
declare class RtspProviderAddon
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
declare class RtspProviderAddon extends BaseDeviceProvider {
|
|
4
|
+
protected readonly addonId = "provider-rtsp";
|
|
5
|
+
protected readonly providerName = "RTSP";
|
|
6
|
+
protected readonly deviceClasses: Partial<Record<DeviceType, DeviceConstructor<IDevice>>>;
|
|
7
|
+
constructor();
|
|
8
|
+
protected onInitialize(): Promise<ProviderRegistration[]>;
|
|
9
|
+
protected onGetCreationSchema(type: DeviceType): Promise<ConfigUISchema | null>;
|
|
10
|
+
protected onCreateDevice(type: DeviceType, config: Record<string, unknown>): Promise<CreateDeviceSpec>;
|
|
11
|
+
testCreationField(input: {
|
|
12
|
+
type: DeviceType;
|
|
13
|
+
key: string;
|
|
14
|
+
value: unknown;
|
|
15
|
+
}): Promise<FieldProbeResult>;
|
|
16
|
+
private republishAll;
|
|
12
17
|
}
|
|
13
18
|
|
|
14
19
|
export { RtspProviderAddon };
|
package/dist/addon.d.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseDeviceProvider, DeviceType, DeviceConstructor, IDevice, ProviderRegistration, ConfigUISchema, CreateDeviceSpec, FieldProbeResult } from '@camstack/types';
|
|
2
2
|
|
|
3
|
-
declare class RtspProviderAddon
|
|
4
|
-
readonly
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
declare class RtspProviderAddon extends BaseDeviceProvider {
|
|
4
|
+
protected readonly addonId = "provider-rtsp";
|
|
5
|
+
protected readonly providerName = "RTSP";
|
|
6
|
+
protected readonly deviceClasses: Partial<Record<DeviceType, DeviceConstructor<IDevice>>>;
|
|
7
|
+
constructor();
|
|
8
|
+
protected onInitialize(): Promise<ProviderRegistration[]>;
|
|
9
|
+
protected onGetCreationSchema(type: DeviceType): Promise<ConfigUISchema | null>;
|
|
10
|
+
protected onCreateDevice(type: DeviceType, config: Record<string, unknown>): Promise<CreateDeviceSpec>;
|
|
11
|
+
testCreationField(input: {
|
|
12
|
+
type: DeviceType;
|
|
13
|
+
key: string;
|
|
14
|
+
value: unknown;
|
|
15
|
+
}): Promise<FieldProbeResult>;
|
|
16
|
+
private republishAll;
|
|
12
17
|
}
|
|
13
18
|
|
|
14
19
|
export { RtspProviderAddon };
|