@apocaliss92/nodelink-js 0.6.5 → 0.6.6
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-WQ2TQCYP.js → chunk-JQ5NSEVD.js} +61 -13
- package/dist/chunk-JQ5NSEVD.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +60 -12
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +1 -1
- package/dist/index.cjs +60 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-WQ2TQCYP.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -7033,10 +7033,12 @@ declare class ReolinkBaichuanApi {
|
|
|
7033
7033
|
* @param options.source - Data source for the channel list (default: `"cgi"`):
|
|
7034
7034
|
* - `"cgi"`: Uses HTTP `GetChannelstatus` — returns the channel list immediately,
|
|
7035
7035
|
* no dependency on async push messages. Recommended for first-call discovery.
|
|
7036
|
-
* - `"baichuan"`:
|
|
7037
|
-
*
|
|
7038
|
-
*
|
|
7039
|
-
*
|
|
7036
|
+
* - `"baichuan"`: HTTP-free discovery. Prefers the cmd_id 145 push cache when
|
|
7037
|
+
* populated; otherwise actively probes the channel slots advertised by Support
|
|
7038
|
+
* (`items[].chnID`) via `getInfo`. Use this for hubs with HTTP disabled.
|
|
7039
|
+
*
|
|
7040
|
+
* When the api was constructed with `nativeOnly`, the source is forced to
|
|
7041
|
+
* `"baichuan"` regardless of this option (no HTTP/CGI is ever attempted).
|
|
7040
7042
|
*/
|
|
7041
7043
|
getNvrChannelsSummary(options?: {
|
|
7042
7044
|
channels?: number[];
|
package/dist/index.d.ts
CHANGED
|
@@ -8363,10 +8363,12 @@ export declare class ReolinkBaichuanApi {
|
|
|
8363
8363
|
* @param options.source - Data source for the channel list (default: `"cgi"`):
|
|
8364
8364
|
* - `"cgi"`: Uses HTTP `GetChannelstatus` — returns the channel list immediately,
|
|
8365
8365
|
* no dependency on async push messages. Recommended for first-call discovery.
|
|
8366
|
-
* - `"baichuan"`:
|
|
8367
|
-
*
|
|
8368
|
-
*
|
|
8369
|
-
*
|
|
8366
|
+
* - `"baichuan"`: HTTP-free discovery. Prefers the cmd_id 145 push cache when
|
|
8367
|
+
* populated; otherwise actively probes the channel slots advertised by Support
|
|
8368
|
+
* (`items[].chnID`) via `getInfo`. Use this for hubs with HTTP disabled.
|
|
8369
|
+
*
|
|
8370
|
+
* When the api was constructed with `nativeOnly`, the source is forced to
|
|
8371
|
+
* `"baichuan"` regardless of this option (no HTTP/CGI is ever attempted).
|
|
8370
8372
|
*/
|
|
8371
8373
|
getNvrChannelsSummary(options?: {
|
|
8372
8374
|
channels?: number[];
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apocaliss92/nodelink-js",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "TypeScript library implementing Reolink Baichuan protocol (control + streaming) with CGI and RTSP helpers. Full TypeScript support with comprehensive type definitions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|