@camstack/addon-decoder-ffmpeg 1.2.59 → 1.2.61
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/index.js +32 -3
- package/dist/index.mjs +32 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12678,7 +12678,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12678
12678
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12679
12679
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12680
12680
|
*/
|
|
12681
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12681
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12682
|
+
/**
|
|
12683
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12684
|
+
*
|
|
12685
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12686
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12687
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12688
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12689
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12690
|
+
* three child cameras offline for four hours.
|
|
12691
|
+
*
|
|
12692
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12693
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12694
|
+
* that cannot tell simply never sets it.
|
|
12695
|
+
*/
|
|
12696
|
+
alreadyOnboarded: boolean().optional(),
|
|
12697
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12698
|
+
onboardedDeviceId: number().optional(),
|
|
12699
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12700
|
+
onboardedName: string().optional()
|
|
12682
12701
|
});
|
|
12683
12702
|
/**
|
|
12684
12703
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -12725,7 +12744,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
12725
12744
|
id: string(),
|
|
12726
12745
|
name: string(),
|
|
12727
12746
|
type: string()
|
|
12728
|
-
}))), method(object({
|
|
12747
|
+
}))), method(object({ stableId: string() }), object({ deviceId: number() }), {
|
|
12748
|
+
kind: "mutation",
|
|
12749
|
+
timeoutMs: 3 * 6e4
|
|
12750
|
+
}), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
12729
12751
|
kind: "mutation",
|
|
12730
12752
|
auth: "admin"
|
|
12731
12753
|
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
@@ -13006,7 +13028,8 @@ method(object({
|
|
|
13006
13028
|
targetId: number()
|
|
13007
13029
|
}), MigrateDeviceResultSchema, {
|
|
13008
13030
|
kind: "mutation",
|
|
13009
|
-
auth: "admin"
|
|
13031
|
+
auth: "admin",
|
|
13032
|
+
timeoutMs: 12 * 6e4
|
|
13010
13033
|
}), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
|
|
13011
13034
|
deviceId: number(),
|
|
13012
13035
|
name: string()
|
|
@@ -30865,6 +30888,12 @@ Object.freeze({
|
|
|
30865
30888
|
addonId: null,
|
|
30866
30889
|
access: "view"
|
|
30867
30890
|
},
|
|
30891
|
+
"deviceProvider.reloadDevice": {
|
|
30892
|
+
capName: "device-provider",
|
|
30893
|
+
capScope: "system",
|
|
30894
|
+
addonId: null,
|
|
30895
|
+
access: "create"
|
|
30896
|
+
},
|
|
30868
30897
|
"deviceProvider.start": {
|
|
30869
30898
|
capName: "device-provider",
|
|
30870
30899
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -12674,7 +12674,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12674
12674
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12675
12675
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12676
12676
|
*/
|
|
12677
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12677
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12678
|
+
/**
|
|
12679
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12680
|
+
*
|
|
12681
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12682
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12683
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12684
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12685
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12686
|
+
* three child cameras offline for four hours.
|
|
12687
|
+
*
|
|
12688
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12689
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12690
|
+
* that cannot tell simply never sets it.
|
|
12691
|
+
*/
|
|
12692
|
+
alreadyOnboarded: boolean().optional(),
|
|
12693
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12694
|
+
onboardedDeviceId: number().optional(),
|
|
12695
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12696
|
+
onboardedName: string().optional()
|
|
12678
12697
|
});
|
|
12679
12698
|
/**
|
|
12680
12699
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -12721,7 +12740,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
12721
12740
|
id: string(),
|
|
12722
12741
|
name: string(),
|
|
12723
12742
|
type: string()
|
|
12724
|
-
}))), method(object({
|
|
12743
|
+
}))), method(object({ stableId: string() }), object({ deviceId: number() }), {
|
|
12744
|
+
kind: "mutation",
|
|
12745
|
+
timeoutMs: 3 * 6e4
|
|
12746
|
+
}), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
12725
12747
|
kind: "mutation",
|
|
12726
12748
|
auth: "admin"
|
|
12727
12749
|
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
@@ -13002,7 +13024,8 @@ method(object({
|
|
|
13002
13024
|
targetId: number()
|
|
13003
13025
|
}), MigrateDeviceResultSchema, {
|
|
13004
13026
|
kind: "mutation",
|
|
13005
|
-
auth: "admin"
|
|
13027
|
+
auth: "admin",
|
|
13028
|
+
timeoutMs: 12 * 6e4
|
|
13006
13029
|
}), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
|
|
13007
13030
|
deviceId: number(),
|
|
13008
13031
|
name: string()
|
|
@@ -30861,6 +30884,12 @@ Object.freeze({
|
|
|
30861
30884
|
addonId: null,
|
|
30862
30885
|
access: "view"
|
|
30863
30886
|
},
|
|
30887
|
+
"deviceProvider.reloadDevice": {
|
|
30888
|
+
capName: "device-provider",
|
|
30889
|
+
capScope: "system",
|
|
30890
|
+
addonId: null,
|
|
30891
|
+
access: "create"
|
|
30892
|
+
},
|
|
30864
30893
|
"deviceProvider.start": {
|
|
30865
30894
|
capName: "device-provider",
|
|
30866
30895
|
capScope: "system",
|