@apocaliss92/nodelink-js 0.4.13 → 0.4.15
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/{chunk-R5AJV73A.js → chunk-6KYLA4YI.js} +23 -2
- package/dist/chunk-6KYLA4YI.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +22 -1
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +1 -1
- package/dist/index.cjs +22 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-R5AJV73A.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1865,6 +1865,19 @@ interface EncStreamOptions {
|
|
|
1865
1865
|
encoderTypes: Array<"vbr" | "cbr">;
|
|
1866
1866
|
/** Encoder profiles Reolink exposes in the app. */
|
|
1867
1867
|
encoderProfiles: Array<"high" | "main" | "baseline">;
|
|
1868
|
+
/**
|
|
1869
|
+
* Keyframe-interval (GOP) range merged from the live `getEnc`
|
|
1870
|
+
* response. `cmd_146` (`getStreamInfoList`) only exposes a
|
|
1871
|
+
* `defaultGop` per resolution; the actual valid `{cur, min, max}`
|
|
1872
|
+
* comes from the `<Compression>` block of `cmd_56`. We surface both
|
|
1873
|
+
* here so UI consumers can populate a single GOP slider without
|
|
1874
|
+
* juggling two responses.
|
|
1875
|
+
*/
|
|
1876
|
+
gopRange?: {
|
|
1877
|
+
cur?: number;
|
|
1878
|
+
min?: number;
|
|
1879
|
+
max?: number;
|
|
1880
|
+
};
|
|
1868
1881
|
}
|
|
1869
1882
|
/**
|
|
1870
1883
|
* Reply from `getEncOptions` — the set of allowable values for `setEnc`,
|
package/dist/index.d.ts
CHANGED
|
@@ -4785,6 +4785,19 @@ export declare interface EncStreamOptions {
|
|
|
4785
4785
|
encoderTypes: Array<"vbr" | "cbr">;
|
|
4786
4786
|
/** Encoder profiles Reolink exposes in the app. */
|
|
4787
4787
|
encoderProfiles: Array<"high" | "main" | "baseline">;
|
|
4788
|
+
/**
|
|
4789
|
+
* Keyframe-interval (GOP) range merged from the live `getEnc`
|
|
4790
|
+
* response. `cmd_146` (`getStreamInfoList`) only exposes a
|
|
4791
|
+
* `defaultGop` per resolution; the actual valid `{cur, min, max}`
|
|
4792
|
+
* comes from the `<Compression>` block of `cmd_56`. We surface both
|
|
4793
|
+
* here so UI consumers can populate a single GOP slider without
|
|
4794
|
+
* juggling two responses.
|
|
4795
|
+
*/
|
|
4796
|
+
gopRange?: {
|
|
4797
|
+
cur?: number;
|
|
4798
|
+
min?: number;
|
|
4799
|
+
max?: number;
|
|
4800
|
+
};
|
|
4788
4801
|
}
|
|
4789
4802
|
|
|
4790
4803
|
/**
|