@apocaliss92/nodelink-js 0.1.20 → 0.2.2
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/README.md +20 -1
- package/dist/{DiagnosticsTools-NUMCYEKQ.js → DiagnosticsTools-FNLGCOVA.js} +2 -2
- package/dist/{chunk-EHWVA3SG.js → chunk-MN7GUZT7.js} +981 -250
- package/dist/chunk-MN7GUZT7.js.map +1 -0
- package/dist/{chunk-YPU7RAEY.js → chunk-NLTB7GTA.js} +17 -1
- package/dist/{chunk-YPU7RAEY.js.map → chunk-NLTB7GTA.js.map} +1 -1
- package/dist/cli/rtsp-server.cjs +978 -247
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +1002 -249
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +246 -16
- package/dist/index.d.ts +260 -15
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-EHWVA3SG.js.map +0 -1
- /package/dist/{DiagnosticsTools-NUMCYEKQ.js.map → DiagnosticsTools-FNLGCOVA.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -125,6 +125,14 @@ declare const BC_CMD_ID_PUSH_NET_INFO = 464;
|
|
|
125
125
|
declare const BC_CMD_ID_PUSH_DINGDONG_LIST = 484;
|
|
126
126
|
declare const BC_CMD_ID_PUSH_SLEEP_STATUS = 623;
|
|
127
127
|
declare const BC_CMD_ID_PUSH_COORDINATE_POINT_LIST = 723;
|
|
128
|
+
declare const BC_CMD_ID_DING_DONG_CTRL = 483;
|
|
129
|
+
declare const BC_CMD_ID_GET_DING_DONG_LIST = 484;
|
|
130
|
+
declare const BC_CMD_ID_DING_DONG_OPT = 485;
|
|
131
|
+
declare const BC_CMD_ID_GET_DING_DONG_CFG = 486;
|
|
132
|
+
declare const BC_CMD_ID_SET_DING_DONG_CFG = 487;
|
|
133
|
+
declare const BC_CMD_ID_QUICK_REPLY_PLAY = 349;
|
|
134
|
+
declare const BC_CMD_ID_GET_DING_DONG_SILENT = 609;
|
|
135
|
+
declare const BC_CMD_ID_SET_DING_DONG_SILENT = 610;
|
|
128
136
|
|
|
129
137
|
type EncryptionProtocol = {
|
|
130
138
|
kind: "none";
|
|
@@ -1128,6 +1136,8 @@ interface DeviceCapabilities {
|
|
|
1128
1136
|
isDoorbell: boolean;
|
|
1129
1137
|
/** True when device supports autotracking (smartTrack in AiCfg). */
|
|
1130
1138
|
hasAutotracking: boolean;
|
|
1139
|
+
/** True when device is a doorbell (can potentially support wireless chime) or has dingDong abilities explicitly detected. */
|
|
1140
|
+
hasWirelessChime: boolean;
|
|
1131
1141
|
}
|
|
1132
1142
|
type DeviceObjectType = string;
|
|
1133
1143
|
interface DeviceSupportFlags {
|
|
@@ -1165,6 +1175,12 @@ interface DeviceCapabilitiesDebugInfo {
|
|
|
1165
1175
|
supportPirSch?: number;
|
|
1166
1176
|
/** Selected SupportItem chnID */
|
|
1167
1177
|
supportItemChnID?: number;
|
|
1178
|
+
/** Wireless chime IDs from GetDingDongList (cmd 484) */
|
|
1179
|
+
dingDongListIds?: number[];
|
|
1180
|
+
/** Wireless chime IDs from GetDingDongCfg (cmd 486) */
|
|
1181
|
+
dingDongCfgIds?: number[];
|
|
1182
|
+
/** Error message if chime discovery failed */
|
|
1183
|
+
wirelessChimeError?: string;
|
|
1168
1184
|
}
|
|
1169
1185
|
interface DeviceCapabilitiesResult {
|
|
1170
1186
|
abilities?: DeviceAbilities;
|
|
@@ -1808,6 +1824,56 @@ declare function getVideoclipClientInfo(headers: Record<string, string | string[
|
|
|
1808
1824
|
* @returns Decision with mode, reason, and client info
|
|
1809
1825
|
*/
|
|
1810
1826
|
declare function decideVideoclipTranscodeMode(headers: Record<string, string | string[] | undefined>, forceMode?: VideoclipTranscodeMode): VideoclipModeDecision;
|
|
1827
|
+
/** A paired wireless chime device as returned by GetDingDongList. */
|
|
1828
|
+
interface ChimeDevice {
|
|
1829
|
+
id: number;
|
|
1830
|
+
name: string;
|
|
1831
|
+
/** 0 = offline, 1 = online */
|
|
1832
|
+
netState: number;
|
|
1833
|
+
}
|
|
1834
|
+
/** Wireless chime parameters returned by DingDongOpt (option 2 / getParam). */
|
|
1835
|
+
interface ChimeParams {
|
|
1836
|
+
name?: string;
|
|
1837
|
+
/** Volume level (0-4 typical) */
|
|
1838
|
+
volLevel?: number;
|
|
1839
|
+
/** LED state: 0 = off, 1 = on */
|
|
1840
|
+
ledState?: number;
|
|
1841
|
+
}
|
|
1842
|
+
/** Per-event alarm config entry inside a chime's GetDingDongCfg response. */
|
|
1843
|
+
interface ChimeAlarmCfg {
|
|
1844
|
+
/** Whether this event type triggers the chime: 0 = off, 1 = on */
|
|
1845
|
+
valid: number;
|
|
1846
|
+
/** Ringtone / music ID */
|
|
1847
|
+
musicId: number;
|
|
1848
|
+
}
|
|
1849
|
+
/** Per-chime config from GetDingDongCfg. */
|
|
1850
|
+
interface ChimeCfg {
|
|
1851
|
+
/** Chime ring ID */
|
|
1852
|
+
id: number;
|
|
1853
|
+
/** Map of event type string → alarm config */
|
|
1854
|
+
type: Record<string, ChimeAlarmCfg>;
|
|
1855
|
+
}
|
|
1856
|
+
/** Hardwired (wired-in) chime state from GetDingDongCtrl / SetDingDongCtrl. */
|
|
1857
|
+
interface HardwiredChimeState {
|
|
1858
|
+
/** Chime type string (e.g. "dingdong", "single", "dual") */
|
|
1859
|
+
type: string;
|
|
1860
|
+
/** Whether the chime is enabled */
|
|
1861
|
+
enabled: boolean;
|
|
1862
|
+
/** Duration / timing value */
|
|
1863
|
+
time: number;
|
|
1864
|
+
}
|
|
1865
|
+
/** Wireless chime silent mode state from GetDingDongSilent / SetDingDongSilent. */
|
|
1866
|
+
interface WirelessChimeSilentState {
|
|
1867
|
+
/** The wireless chime device ID */
|
|
1868
|
+
id: number;
|
|
1869
|
+
/**
|
|
1870
|
+
* Silent mode duration in seconds.
|
|
1871
|
+
* 0 = not silenced (chime active), >0 = silenced for this many seconds.
|
|
1872
|
+
*/
|
|
1873
|
+
time: number;
|
|
1874
|
+
/** Whether the chime is currently active (not silenced). Derived: time === 0 */
|
|
1875
|
+
active: boolean;
|
|
1876
|
+
}
|
|
1811
1877
|
|
|
1812
1878
|
type BaichuanClientOptions = {
|
|
1813
1879
|
host: string;
|
|
@@ -1888,6 +1954,13 @@ declare class BaichuanClient extends EventEmitter<{
|
|
|
1888
1954
|
* and may leave device-side sessions in a bad state.
|
|
1889
1955
|
*/
|
|
1890
1956
|
private static readonly coverPreviewQueueTail;
|
|
1957
|
+
/**
|
|
1958
|
+
* Global CoverPreview backoff – increases on 400 rejection, resets on success.
|
|
1959
|
+
* Prevents flooding the camera when it's overwhelmed.
|
|
1960
|
+
*/
|
|
1961
|
+
private static readonly coverPreviewBackoffMs;
|
|
1962
|
+
private static readonly COVER_PREVIEW_INITIAL_BACKOFF_MS;
|
|
1963
|
+
private static readonly COVER_PREVIEW_MAX_BACKOFF_MS;
|
|
1891
1964
|
private readonly opts;
|
|
1892
1965
|
private readonly debugCfg;
|
|
1893
1966
|
private readonly logger;
|
|
@@ -2238,6 +2311,10 @@ declare class BaichuanClient extends EventEmitter<{
|
|
|
2238
2311
|
* Send CoverPreview command (cmd_id=298) to get an I-frame from a past recording.
|
|
2239
2312
|
* Similar to sendBinarySnapshot109 but handles the stream header + frame format
|
|
2240
2313
|
* instead of JPEG.
|
|
2314
|
+
*
|
|
2315
|
+
* Retry is minimal (2 attempts) – the global backoff in `withSerializedCoverPreview`
|
|
2316
|
+
* throttles subsequent requests when the camera is overwhelmed.
|
|
2317
|
+
* PCAP analysis shows the camera routinely rejects the first request with 400.
|
|
2241
2318
|
*/
|
|
2242
2319
|
sendBinaryCoverPreview(params: {
|
|
2243
2320
|
cmdId: number;
|
|
@@ -2252,10 +2329,6 @@ declare class BaichuanClient extends EventEmitter<{
|
|
|
2252
2329
|
streamType?: number;
|
|
2253
2330
|
encryption?: EncryptionProtocol;
|
|
2254
2331
|
timeoutMs?: number;
|
|
2255
|
-
/** Maximum retry attempts on 400 rejection (default: 5). PCAP analysis shows camera often rejects first few requests. */
|
|
2256
|
-
maxRetries?: number;
|
|
2257
|
-
/** Delay between retries in ms (default: 1000). */
|
|
2258
|
-
retryDelayMs?: number;
|
|
2259
2332
|
}): Promise<Buffer>;
|
|
2260
2333
|
/**
|
|
2261
2334
|
* Internal: single attempt for sendBinaryCoverPreview
|
|
@@ -3970,6 +4043,11 @@ declare class ReolinkBaichuanApi {
|
|
|
3970
4043
|
private readonly host;
|
|
3971
4044
|
private readonly username;
|
|
3972
4045
|
private readonly password;
|
|
4046
|
+
/**
|
|
4047
|
+
* Set to `true` after `close()` is called.
|
|
4048
|
+
* Once closed, the API instance should not be reused.
|
|
4049
|
+
*/
|
|
4050
|
+
private _closed;
|
|
3973
4051
|
/**
|
|
3974
4052
|
* Socket pool with tag-based allocation strategy.
|
|
3975
4053
|
* Tags determine which sockets are shared vs dedicated:
|
|
@@ -3994,6 +4072,46 @@ declare class ReolinkBaichuanApi {
|
|
|
3994
4072
|
* This getter maintains backward compatibility with existing code that uses `this.client`.
|
|
3995
4073
|
*/
|
|
3996
4074
|
get client(): BaichuanClient;
|
|
4075
|
+
/**
|
|
4076
|
+
* `true` after `close()` has been called. A closed API should not be reused;
|
|
4077
|
+
* the consumer should create a new instance.
|
|
4078
|
+
*/
|
|
4079
|
+
get isClosed(): boolean;
|
|
4080
|
+
/**
|
|
4081
|
+
* `true` when the API is usable: not closed, general socket exists, socket
|
|
4082
|
+
* is connected and the client is logged in.
|
|
4083
|
+
*
|
|
4084
|
+
* This is the recommended way for consumers to check whether the API is
|
|
4085
|
+
* still valid before issuing commands, instead of directly accessing
|
|
4086
|
+
* `api.client.isSocketConnected()` / `api.client.loggedIn` (which throws
|
|
4087
|
+
* if the socket pool was already destroyed).
|
|
4088
|
+
*/
|
|
4089
|
+
get isReady(): boolean;
|
|
4090
|
+
/** Promise tracking an in-flight reconnection from `ensureConnected()`. */
|
|
4091
|
+
private _ensureConnectedPromise;
|
|
4092
|
+
/**
|
|
4093
|
+
* Ensure the "general" socket is connected and logged in.
|
|
4094
|
+
* If the socket is disconnected or the pool entry was destroyed, a new
|
|
4095
|
+
* general socket is created, logged in, and all event/push/guard listeners
|
|
4096
|
+
* are re-attached automatically.
|
|
4097
|
+
*
|
|
4098
|
+
* This is a **no-op** when the API is already {@link isReady}.
|
|
4099
|
+
*
|
|
4100
|
+
* @throws If `close()` was called — the API is permanently closed and a new
|
|
4101
|
+
* instance must be created.
|
|
4102
|
+
*/
|
|
4103
|
+
ensureConnected(): Promise<void>;
|
|
4104
|
+
/**
|
|
4105
|
+
* Internal: destroy the current general socket (if any), create a new one,
|
|
4106
|
+
* login, and re-attach all listeners.
|
|
4107
|
+
*/
|
|
4108
|
+
private reconnectGeneralSocket;
|
|
4109
|
+
/**
|
|
4110
|
+
* Attach event, push, channelInfo, and guard listeners to the current
|
|
4111
|
+
* "general" client. Called from the constructor and from
|
|
4112
|
+
* {@link reconnectGeneralSocket}.
|
|
4113
|
+
*/
|
|
4114
|
+
private setupGeneralClientListeners;
|
|
3997
4115
|
/**
|
|
3998
4116
|
* Cached camera UID. May be initially undefined if not provided in the constructor.
|
|
3999
4117
|
* Will be lazily populated on demand when needed (e.g. for recordings).
|
|
@@ -4632,11 +4750,19 @@ declare class ReolinkBaichuanApi {
|
|
|
4632
4750
|
* Minimal per-channel inventory for NVR-connected devices.
|
|
4633
4751
|
*
|
|
4634
4752
|
* Intended to be fast: avoids AI/abilities and returns only the common identity + battery hints.
|
|
4753
|
+
*
|
|
4754
|
+
* @param options.source - Data source for the channel list (default: `"cgi"`):
|
|
4755
|
+
* - `"cgi"`: Uses HTTP `GetChannelstatus` — returns the channel list immediately,
|
|
4756
|
+
* no dependency on async push messages. Recommended for first-call discovery.
|
|
4757
|
+
* - `"baichuan"`: Uses the cmd_id 145 push cache populated when the NVR sends channel
|
|
4758
|
+
* info after login + event subscription. This push is *asynchronous*: if it has not
|
|
4759
|
+
* arrived yet, the result will have zero channels. Callers must retry (nvr.ts does this
|
|
4760
|
+
* with a 1-second loop). Note: explicitly requesting cmd_id 145 is not supported.
|
|
4635
4761
|
*/
|
|
4636
4762
|
getNvrChannelsSummary(options?: {
|
|
4637
4763
|
channels?: number[];
|
|
4638
4764
|
timeoutMs?: number;
|
|
4639
|
-
source?: "
|
|
4765
|
+
source?: "cgi" | "baichuan";
|
|
4640
4766
|
}): Promise<NvrChannelsSummaryCacheEntry>;
|
|
4641
4767
|
/**
|
|
4642
4768
|
* Group NVR/HUB channels by physical device (best-effort).
|
|
@@ -5685,16 +5811,6 @@ declare class ReolinkBaichuanApi {
|
|
|
5685
5811
|
* Clear the device capabilities cache for a specific channel or all channels.
|
|
5686
5812
|
*/
|
|
5687
5813
|
clearCapabilitiesCache(channel?: number): void;
|
|
5688
|
-
/**
|
|
5689
|
-
* Pick the best SupportItem for a channel.
|
|
5690
|
-
* Prefers items without a name (capability items) over named items (googleHome, amazonAlexa).
|
|
5691
|
-
*/
|
|
5692
|
-
private pickBestSupportItem;
|
|
5693
|
-
/**
|
|
5694
|
-
* Parse device capabilities from SupportInfo.
|
|
5695
|
-
* Uses SupportInfo as the single source of truth with AbilityInfo as fallback.
|
|
5696
|
-
*/
|
|
5697
|
-
private parseCapabilitiesFromSupport;
|
|
5698
5814
|
/**
|
|
5699
5815
|
* Parse support features from SupportInfo.
|
|
5700
5816
|
*/
|
|
@@ -6578,6 +6694,119 @@ declare class ReolinkBaichuanApi {
|
|
|
6578
6694
|
* ```
|
|
6579
6695
|
*/
|
|
6580
6696
|
standaloneGetSnapshot(): Promise<Buffer>;
|
|
6697
|
+
/**
|
|
6698
|
+
* Get the list of paired wireless chime devices.
|
|
6699
|
+
* cmd_id: 484 (GetDingDongList)
|
|
6700
|
+
*
|
|
6701
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6702
|
+
* @returns Array of paired chime devices
|
|
6703
|
+
*/
|
|
6704
|
+
getDingDongList(channel?: number): Promise<ChimeDevice[]>;
|
|
6705
|
+
/**
|
|
6706
|
+
* Get parameters (name, volume, LED state) for a specific wireless chime.
|
|
6707
|
+
* cmd_id: 485 (DingDongOpt, option getParam)
|
|
6708
|
+
*
|
|
6709
|
+
* @param chimeId - The chime device ID
|
|
6710
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6711
|
+
* @returns Chime parameters
|
|
6712
|
+
*/
|
|
6713
|
+
getDingDongParams(chimeId: number, channel?: number): Promise<ChimeParams>;
|
|
6714
|
+
/**
|
|
6715
|
+
* Set parameters (name, volume, LED state) for a specific wireless chime.
|
|
6716
|
+
* cmd_id: 485 (DingDongOpt, option setParam)
|
|
6717
|
+
*
|
|
6718
|
+
* @param chimeId - The chime device ID
|
|
6719
|
+
* @param params - Parameters to set (volLevel, ledState, name)
|
|
6720
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6721
|
+
*/
|
|
6722
|
+
setDingDongParams(chimeId: number, params: {
|
|
6723
|
+
volLevel?: number;
|
|
6724
|
+
ledState?: number;
|
|
6725
|
+
name?: string;
|
|
6726
|
+
}, channel?: number): Promise<void>;
|
|
6727
|
+
/**
|
|
6728
|
+
* Trigger a wireless chime to ring with a specific ringtone.
|
|
6729
|
+
* cmd_id: 485 (DingDongOpt, option ringWithMusic)
|
|
6730
|
+
*
|
|
6731
|
+
* @param chimeId - The chime device ID
|
|
6732
|
+
* @param musicId - The ringtone/music ID to play
|
|
6733
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6734
|
+
*/
|
|
6735
|
+
ringDingDong(chimeId: number, musicId: number, channel?: number): Promise<void>;
|
|
6736
|
+
/**
|
|
6737
|
+
* Get the per-event alarm configuration for paired wireless chimes.
|
|
6738
|
+
* cmd_id: 486 (GetDingDongCfg)
|
|
6739
|
+
*
|
|
6740
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6741
|
+
* @returns Array of chime configurations (one per paired chime)
|
|
6742
|
+
*/
|
|
6743
|
+
getDingDongCfg(channel?: number): Promise<ChimeCfg[]>;
|
|
6744
|
+
/**
|
|
6745
|
+
* Set the per-event alarm configuration for a specific wireless chime.
|
|
6746
|
+
* cmd_id: 487 (SetDingDongCfg)
|
|
6747
|
+
*
|
|
6748
|
+
* @param chimeId - The chime ring/device ID
|
|
6749
|
+
* @param eventType - Event type string (e.g. "doorbell", "package", "people")
|
|
6750
|
+
* @param state - 0 = disabled, 1 = enabled
|
|
6751
|
+
* @param musicId - Ringtone ID to use for this event type
|
|
6752
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6753
|
+
*/
|
|
6754
|
+
setDingDongCfg(chimeId: number, eventType: string, state: 0 | 1, musicId: number, channel?: number): Promise<void>;
|
|
6755
|
+
/** Cache of last known hardwired chime state per channel, used to avoid re-fetching on every set. */
|
|
6756
|
+
private _hardwiredChimeCache;
|
|
6757
|
+
/**
|
|
6758
|
+
* Get the hardwired (wired-in) chime state.
|
|
6759
|
+
* cmd_id: 483 (GetDingDongCtrl)
|
|
6760
|
+
*
|
|
6761
|
+
* Note: calling this may briefly trigger the physical chime to rattle.
|
|
6762
|
+
*
|
|
6763
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6764
|
+
* @returns Hardwired chime state (type, enabled, time)
|
|
6765
|
+
*/
|
|
6766
|
+
getHardwiredChime(channel?: number): Promise<HardwiredChimeState>;
|
|
6767
|
+
/**
|
|
6768
|
+
* Set the hardwired (wired-in) chime state.
|
|
6769
|
+
* cmd_id: 483 (SetDingDongCtrl)
|
|
6770
|
+
*
|
|
6771
|
+
* Uses the cached state from a previous getHardwiredChime call to fill in
|
|
6772
|
+
* missing type/time fields, avoiding a double round-trip on every set.
|
|
6773
|
+
* Falls back to fetching if no cache is available.
|
|
6774
|
+
*
|
|
6775
|
+
* @param params - Chime configuration (type, enabled, time)
|
|
6776
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6777
|
+
*/
|
|
6778
|
+
setHardwiredChime(params: {
|
|
6779
|
+
type?: string | undefined;
|
|
6780
|
+
enabled: boolean;
|
|
6781
|
+
time?: number;
|
|
6782
|
+
}, channel?: number): Promise<HardwiredChimeState>;
|
|
6783
|
+
/**
|
|
6784
|
+
* Play an audio file on the doorbell / chime device.
|
|
6785
|
+
* cmd_id: 349 (QuickReplyPlay)
|
|
6786
|
+
*
|
|
6787
|
+
* @param fileId - The audio file ID to play
|
|
6788
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6789
|
+
*/
|
|
6790
|
+
quickReplyPlay(fileId: number, channel?: number): Promise<void>;
|
|
6791
|
+
/**
|
|
6792
|
+
* Get the silent mode state of a paired wireless chime.
|
|
6793
|
+
* cmd_id: 609 (GetDingDongSilent)
|
|
6794
|
+
*
|
|
6795
|
+
* @param chimeId - The wireless chime device ID (from getDingDongList)
|
|
6796
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6797
|
+
* @returns Wireless chime silent state (time=0 means active/not silenced)
|
|
6798
|
+
*/
|
|
6799
|
+
getDingDongSilent(chimeId: number, channel?: number): Promise<WirelessChimeSilentState>;
|
|
6800
|
+
/**
|
|
6801
|
+
* Set the silent mode of a paired wireless chime.
|
|
6802
|
+
* cmd_id: 610 (SetDingDongSilent)
|
|
6803
|
+
*
|
|
6804
|
+
* @param chimeId - The wireless chime device ID (from getDingDongList)
|
|
6805
|
+
* @param time - Silence duration in seconds. 0 = not silenced (chime active), >0 = silenced for this many seconds.
|
|
6806
|
+
* @param channel - Channel number (0-based, default 0)
|
|
6807
|
+
* @returns Updated wireless chime silent state
|
|
6808
|
+
*/
|
|
6809
|
+
setDingDongSilent(chimeId: number, time: number, channel?: number): Promise<WirelessChimeSilentState>;
|
|
6581
6810
|
}
|
|
6582
6811
|
|
|
6583
6812
|
/**
|
|
@@ -6985,6 +7214,7 @@ declare function createBaichuanEndpointsServer(opts: BaichuanEndpointsServerOpti
|
|
|
6985
7214
|
declare function flattenAbilitiesForChannel(abilities: DeviceAbilities | undefined, channel: number): AbilityInfo | undefined;
|
|
6986
7215
|
declare function abilitiesHasAny(abilities: AbilityInfo | undefined, re: RegExp): boolean;
|
|
6987
7216
|
declare function parseSupportXml(xml: string): SupportInfo | undefined;
|
|
7217
|
+
declare function getSupportItemForChannel(support: SupportInfo | undefined, channel: number): SupportItem | undefined;
|
|
6988
7218
|
declare function computeDeviceCapabilities(params: {
|
|
6989
7219
|
channel: number;
|
|
6990
7220
|
/** Device model name/type (best-effort). Used for heuristic capability detection. */
|
|
@@ -8492,4 +8722,4 @@ declare class CompositeRtspServer extends EventEmitter<{
|
|
|
8492
8722
|
getClientCount(): number;
|
|
8493
8723
|
}
|
|
8494
8724
|
|
|
8495
|
-
export { type AIDetectionState, type AIEvent, type AIState, type AbilityInfo, type AccessUserListConfig, AesStreamDecryptor, type AiAlarmConfig, type AiConfig, type AiDenoiseConfig, type AiKey, type AiTypesCacheEntry, type AnyBuffer, type AudioAlarmParams, type AudioCfgConfig, type AudioConfig, type AudioTaskConfig, type AutoDetectInputs, type AutoDetectMode, type AutoDetectResult, AutodiscoveryClient, type AutodiscoveryClientOptions, BC_AES_IV, BC_CLASS_FILE_DOWNLOAD, BC_CLASS_LEGACY, BC_CLASS_MODERN_20, BC_CLASS_MODERN_24, BC_CLASS_MODERN_24_ALT, BC_CMD_ID_ABILITY_INFO, BC_CMD_ID_ALARM_EVENT_LIST, BC_CMD_ID_AUDIO_ALARM_PLAY, BC_CMD_ID_CHANNEL_INFO_ALL, BC_CMD_ID_CMD_123, BC_CMD_ID_CMD_209, BC_CMD_ID_CMD_265, BC_CMD_ID_CMD_440, BC_CMD_ID_COVER_PREVIEW, BC_CMD_ID_COVER_RESPONSE, BC_CMD_ID_COVER_STANDALONE_458, BC_CMD_ID_COVER_STANDALONE_459, BC_CMD_ID_COVER_STANDALONE_460, BC_CMD_ID_COVER_STANDALONE_461, BC_CMD_ID_COVER_STANDALONE_462, BC_CMD_ID_FILE_INFO_LIST_CLOSE, BC_CMD_ID_FILE_INFO_LIST_DL_VIDEO, BC_CMD_ID_FILE_INFO_LIST_DOWNLOAD, BC_CMD_ID_FILE_INFO_LIST_GET, BC_CMD_ID_FILE_INFO_LIST_OPEN, BC_CMD_ID_FILE_INFO_LIST_REPLAY, BC_CMD_ID_FILE_INFO_LIST_STOP, BC_CMD_ID_FIND_REC_VIDEO_CLOSE, BC_CMD_ID_FIND_REC_VIDEO_GET, BC_CMD_ID_FIND_REC_VIDEO_OPEN, BC_CMD_ID_FLOODLIGHT_STATUS_LIST, BC_CMD_ID_GET_ABILITY_SUPPORT, BC_CMD_ID_GET_ACCESS_USER_LIST, BC_CMD_ID_GET_AI_ALARM, BC_CMD_ID_GET_AI_CFG, BC_CMD_ID_GET_AI_DENOISE, BC_CMD_ID_GET_AUDIO_ALARM, BC_CMD_ID_GET_AUDIO_CFG, BC_CMD_ID_GET_AUDIO_TASK, BC_CMD_ID_GET_BATTERY_INFO, BC_CMD_ID_GET_BATTERY_INFO_LIST, BC_CMD_ID_GET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_GET_DAY_RECORDS, BC_CMD_ID_GET_EMAIL_TASK, BC_CMD_ID_GET_FTP_TASK, BC_CMD_ID_GET_HDD_INFO_LIST, BC_CMD_ID_GET_KIT_AP_CFG, BC_CMD_ID_GET_LED_STATE, BC_CMD_ID_GET_MOTION_ALARM, BC_CMD_ID_GET_ONLINE_USER_LIST, BC_CMD_ID_GET_OSD_DATETIME, BC_CMD_ID_GET_PIR_INFO, BC_CMD_ID_GET_PTZ_POSITION, BC_CMD_ID_GET_PTZ_PRESET, BC_CMD_ID_GET_RECORD, BC_CMD_ID_GET_RECORD_CFG, BC_CMD_ID_GET_REC_ENC_CFG, BC_CMD_ID_GET_SIREN_STATUS, BC_CMD_ID_GET_SLEEP_STATE, BC_CMD_ID_GET_STREAM_INFO_LIST, BC_CMD_ID_GET_SUPPORT, BC_CMD_ID_GET_SYSTEM_GENERAL, BC_CMD_ID_GET_TIMELAPSE_CFG, BC_CMD_ID_GET_VIDEO_INPUT, BC_CMD_ID_GET_WHITE_LED, BC_CMD_ID_GET_WIFI, BC_CMD_ID_GET_WIFI_SIGNAL, BC_CMD_ID_GET_ZOOM_FOCUS, BC_CMD_ID_LOGIN, BC_CMD_ID_LOGOUT, BC_CMD_ID_PING, BC_CMD_ID_PTZ_CONTROL, BC_CMD_ID_PTZ_CONTROL_PRESET, BC_CMD_ID_PUSH_COORDINATE_POINT_LIST, BC_CMD_ID_PUSH_DINGDONG_LIST, BC_CMD_ID_PUSH_NET_INFO, BC_CMD_ID_PUSH_SERIAL, BC_CMD_ID_PUSH_SLEEP_STATUS, BC_CMD_ID_PUSH_VIDEO_INPUT, BC_CMD_ID_SET_AI_ALARM, BC_CMD_ID_SET_AI_CFG, BC_CMD_ID_SET_AUDIO_TASK, BC_CMD_ID_SET_MOTION_ALARM, BC_CMD_ID_SET_PIR_INFO, BC_CMD_ID_SET_WHITE_LED_STATE, BC_CMD_ID_SET_WHITE_LED_TASK, BC_CMD_ID_SET_ZOOM_FOCUS, BC_CMD_ID_SUPPORT, BC_CMD_ID_TALK, BC_CMD_ID_TALK_ABILITY, BC_CMD_ID_TALK_CONFIG, BC_CMD_ID_TALK_RESET, BC_CMD_ID_UDP_KEEP_ALIVE, BC_CMD_ID_VIDEO, BC_CMD_ID_VIDEO_STOP, BC_MAGIC, BC_MAGIC_REV, BC_TCP_DEFAULT_PORT, BC_XML_KEY, type BaichuanCachedPush, BaichuanClient, type BaichuanClientOptions, type BaichuanCoordinatePointListPush, type BaichuanDingdongListPush, type BaichuanEndpointsServerOptions, BaichuanEventEmitter, type BaichuanFrame, BaichuanFrameParser, type BaichuanGetOsdDatetimeResult, type BaichuanHeader, BaichuanHlsServer, type BaichuanHlsServerOptions, BaichuanHttpStreamServer, type BaichuanHttpStreamServerOptions, type BaichuanLedState, BaichuanMjpegServer, type BaichuanMjpegServerOptions, type BaichuanNetInfoPush, type BaichuanOsdChannelName, type BaichuanOsdDatetime, type BaichuanRecordCfg, type BaichuanRecordSchedule, BaichuanRtspServer, type BaichuanRtspServerOptions, type BaichuanSerialPush, type BaichuanSettingsPushCacheEntry, type BaichuanSleepState, type BaichuanSleepStatusPush, type BaichuanStreamEncodeTable, type BaichuanStreamInfo, type BaichuanStreamInfoList, type BaichuanTransport, type BaichuanVideoInputPush, BaichuanVideoStream, type BaichuanVideoStreamOptions, BaichuanWebRTCServer, type BaichuanWebRTCServerOptions, type BaichuanWifi, type BaichuanWifiSignal, type BatteryInfo, type BatteryInfoResponse, type BcMedia, type BcMediaAac, type BcMediaAdpcm, BcMediaAnnexBDecoder, type BcMediaAnnexBDecoderStats, type BcMediaAnnexBInfo, type BcMediaAudioFrame, type BcMediaAudioType, BcMediaCodec, type BcMediaIframe, type BcMediaInfoV1, type BcMediaInfoV2, type BcMediaPframe, type BcMediaType, type BcMediaVideoFrame, type BcMediaVideoType, type BcUdpDiscoveryMethod, BcUdpStream, type BcUdpStreamOptions, type CgiAbility, type CgiAbilityChn, type CgiAbilityLeaf, type CgiAiKey, type CgiAiStateValue, type CgiAudioAlarmPlayParam, type CgiBattery, type CgiChannelStatusEntry, type CgiChnTypeInfoValue, type CgiDetectionState, type CgiDevInfo, type CgiDeviceInfoEntries, type CgiEnc, type CgiEncStream, type CgiEncValue, type CgiGetAbilityResponse, type CgiGetAbilityValue, type CgiGetAiStateResponse, type CgiGetChannelstatusResponse, type CgiGetChannelstatusValue, type CgiGetChnTypeInfoResponse, type CgiGetDevInfoResponse, type CgiGetDevInfoValue, type CgiGetEncResponse, type CgiGetOsdValue, type CgiGetRtspUrlResponse, type CgiGetRtspUrlValue, type CgiGetVideoclipsParams, type CgiNetPort, type CgiOsd, type CgiPirInfo, type CgiPtzPreset, type CgiSetOsdParam, type CgiSetPirInfoParam, type CgiSetWhiteLedParam, type CgiWhiteLed, type ChannelPushCacheEntry, type ChannelPushDataEntry, type ChannelRecordingFile, type ChannelStreamMetadata, type CollectNvrDiagnosticsOptions, CompositeRtspServer, type CompositeRtspServerOptions, CompositeStream, type CompositeStreamOptions, type CompositeStreamPipOptions, DUAL_LENS_DUAL_MOTION_MODELS, DUAL_LENS_MODELS, DUAL_LENS_SINGLE_MOTION_MODELS, type DayNightThresholdConfig, type DebugConfig, type DebugOptions, type DeviceAbilities, type DeviceCapabilities, type DeviceCapabilitiesCacheEntry, type DeviceCapabilitiesDebugInfo, type DeviceCapabilitiesResult, type DeviceInfoResponse, type DeviceInputData, type DeviceObjectType, type DeviceStatusResponse, type DeviceSupportFlags, type DeviceType, type DiagnosticsCollectorResult, type DiagnosticsStreamKind, type DiscoveredDevice, type DiscoveryOptions, type DownloadRecordingParams, type DualLensChannelAnalysis, type DualLensChannelInfo, type EmailTaskConfig, type EncryptionProtocol, type Events, type EventsResponse, type FloodlightTaskConfig, type FtpTaskConfig, type GetRecordingVideoResult, type GetRecordingVideoStats, type GetVideoclipsParams, type GetVodUrlParams, H264RtpDepacketizer, H265RtpDepacketizer, type HddInfoListConfig, type HlsCodec, type HlsHttpResponse, type HlsServerStatus, type HlsSession, HlsSessionManager, type HlsSessionManagerOptions, type HlsSessionParams, Intercom, type IntercomOptions, type JsonObject, type JsonPrimitive, type JsonValue, type LastSleepProbe, type LogLevel, type Logger, type LoggerCallback, type LoginResponseValue, type MaxEncryption, type MediaStream, type MjpegFrame, MjpegTransformer, type MjpegTransformerOptions, type MotionAlarmConfig, type MotionEvent, NVR_HUB_EXACT_TYPES, NVR_HUB_MODEL_PATTERNS, type NativeVideoStreamVariant, type NvrChannelsSummaryCacheEntry, type OnlineUserListConfig, type OsdChannel, type OsdConfig, type OsdTime, type ParsedRecordingFileName, type PipPosition, type PirConfig, type PirState, type PlaybackSnapshotStreamInfo, type PtzCommand, type PtzPosition, type PtzPreset, type RecEncConfig, type RecordingAudioCodec, type RecordingDetectionClass, type RecordingDevType, type RecordingFile, type RecordingPlaybackUrls, type RecordingStreamType, type RecordingVideoCodec, type RecordingVodFlags, type RecordingVodStreamHint, type RecordingsCacheEntry, type RecordingsQueueItem, type ReolinkAiNotification, ReolinkBaichuanApi, type ReolinkBaichuanChannelIdentity, type ReolinkBaichuanChannelInfo, type ReolinkBaichuanDeviceSummary, type ReolinkBaichuanNetworkInfo, type ReolinkBaichuanPorts, ReolinkCgiApi, type ReolinkCmdRequest, type ReolinkCmdResponse, type ReolinkCmdResponseExt, type ReolinkDayNightNotification, type ReolinkDeviceInfo, type ReolinkDeviceInfoTag, type ReolinkEvent, ReolinkHttpClient, type ReolinkHttpClientOptions, type ReolinkJson, type ReolinkMotionNotification, type ReolinkNvrChannelInfo, type ReolinkNvrDeviceGroupSummary, type ReolinkNvrDeviceGroupsResult, type ReolinkSimpleEvent, type ReolinkSimpleEventType, type ReolinkSupportedStream, type ReolinkVideoStreamOptionsResult, type ReolinkVisitorNotification, type ReplayHttpServer, type ReplayHttpServerOptions, type ResponseMediaStreamOptions, type Rfc4571ApiFactoryContext, type Rfc4571Client, Rfc4571Muxer, type Rfc4571ReplayServer, type Rfc4571ReplayServerOptions, type Rfc4571TcpServer, type Rfc4571TcpServerOptions, type RtpPacketizationOptions, type RtspCreateOptions, type RtspProxyServerOptions, type RtspStreamProfile, type RunAllDiagnosticsConsecutivelyParams, type RunAllDiagnosticsConsecutivelyResult, type RunMultifocalDiagnosticsConsecutivelyParams, type RunMultifocalDiagnosticsConsecutivelyResult, type SirenState, type SirenStatusConfig, type SleepState, type SleepStatus, type StreamMetadata, type StreamProfile, type StreamSamplingOptions, type StreamSamplingSelection, type SupportConfig, type SupportInfo, type SupportItem, type SystemGeneralConfig, type TalkAbility$1 as TalkAbility, type TalkAudioConfig, type TalkConfig, type TalkSession$1 as TalkSession, type TalkSessionInfo, type TimelapseCfgConfig, type TwoWayAudioConfig, type VideoCodec, type VideoInputConfig, type VideoParamSets, type VideoStreamOptions, type VideoStreamOptionsCacheEntry, type VideoType, type VideoclipClientInfo, type VideoclipModeDecision, type VideoclipThumbnailResult, type VideoclipTranscodeMode, type VodFile, type VodSearchResponse, type VodSearchResult, type VodSearchStatus, type WakeUpOptions, type WebRTCAnswer, type WebRTCIceCandidate, type WebRTCOffer, type WebRTCSessionInfo, type WhiteLedConfig, type WhiteLedState, type ZoomFocusStatus, type ZoomFocusTriplet, abilitiesHasAny, aesDecrypt, aesEncrypt, asLogger, autoDetectDeviceType, bcDecrypt, bcEncrypt, bcHeaderHasPayloadOffset, buildAacAudioSpecificConfigHex, buildAbilityInfoExtensionXml, buildBinaryExtensionXml, buildChannelExtensionXml, buildFloodlightManualXml, buildHlsRedirectUrl, buildLoginXml, buildLogoutXml, buildPreviewStopXml, buildPreviewStopXmlV11, buildPreviewXml, buildPreviewXmlV11, buildPtzControlXml, buildPtzPresetXml, buildPtzPresetXmlV2, buildRfc4571Sdp, buildRtspPath, buildRtspUrl, buildSirenManualXml, buildSirenTimesXml, buildStartZoomFocusXml, buildWhiteLedStateXml, collectCgiDiagnostics, collectMultifocalDiagnostics, collectNativeDiagnostics, collectNvrDiagnostics, computeDeviceCapabilities, convertToAnnexB as convertH265ToAnnexB, convertToAnnexB$1 as convertToAnnexB, convertToLengthPrefixed, createBaichuanEndpointsServer, createDebugGateLogger, createDiagnosticsBundle, createLogger, createMjpegBoundary, createNativeStream, createNullLogger, createReplayHttpServer, createRfc4571TcpServer, createRfc4571TcpServerForReplay, createRtspProxyServer, createTaggedLogger, decideVideoclipTranscodeMode, decodeHeader, deriveAesKey, detectIosClient, detectVideoCodecFromNal, discoverReolinkDevices, discoverViaHttpScan, discoverViaUdpBroadcast, discoverViaUdpDirect, encodeHeader, extractH264ParamSetsFromAccessUnit, extractH265ParamSetsFromAccessUnit, extractPpsFromAnnexB, extractSpsFromAnnexB, extractVpsFromAnnexB, flattenAbilitiesForChannel, formatMjpegFrame, getConstructedVideoStreamOptions, getGlobalLogger, getH265NalType, getMjpegContentType, getVideoStream, getVideoclipClientInfo, getXmlText, hasStartCodes as hasH265StartCodes, hasStartCodes$1 as hasStartCodes, isDualLenseModel, isH264KeyframeAnnexB, isH265Irap, isH265KeyframeAnnexB, isNvrHubModel, isTcpFailureThatShouldFallbackToUdp, isValidH264AnnexBAccessUnit, isValidH265AnnexBAccessUnit, maskUid, md5HexUpper, md5StrModern, normalizeUid, packetizeAacAdtsFrame, packetizeAacRawFrame, packetizeH264, packetizeH265, parseAdtsHeader, parseBcMedia, parseRecordingFileName, parseSupportXml, printNvrDiagnostics, runAllDiagnosticsConsecutively, runMultifocalDiagnosticsConsecutively, sampleStreams, setGlobalLogger, splitAnnexBToNalPayloads$1 as splitAnnexBToNalPayloads, splitAnnexBToNals, splitAnnexBToNalPayloads as splitH265AnnexBToNalPayloads, testChannelStreams, xmlEscape, zipDirectory };
|
|
8725
|
+
export { type AIDetectionState, type AIEvent, type AIState, type AbilityInfo, type AccessUserListConfig, AesStreamDecryptor, type AiAlarmConfig, type AiConfig, type AiDenoiseConfig, type AiKey, type AiTypesCacheEntry, type AnyBuffer, type AudioAlarmParams, type AudioCfgConfig, type AudioConfig, type AudioTaskConfig, type AutoDetectInputs, type AutoDetectMode, type AutoDetectResult, AutodiscoveryClient, type AutodiscoveryClientOptions, BC_AES_IV, BC_CLASS_FILE_DOWNLOAD, BC_CLASS_LEGACY, BC_CLASS_MODERN_20, BC_CLASS_MODERN_24, BC_CLASS_MODERN_24_ALT, BC_CMD_ID_ABILITY_INFO, BC_CMD_ID_ALARM_EVENT_LIST, BC_CMD_ID_AUDIO_ALARM_PLAY, BC_CMD_ID_CHANNEL_INFO_ALL, BC_CMD_ID_CMD_123, BC_CMD_ID_CMD_209, BC_CMD_ID_CMD_265, BC_CMD_ID_CMD_440, BC_CMD_ID_COVER_PREVIEW, BC_CMD_ID_COVER_RESPONSE, BC_CMD_ID_COVER_STANDALONE_458, BC_CMD_ID_COVER_STANDALONE_459, BC_CMD_ID_COVER_STANDALONE_460, BC_CMD_ID_COVER_STANDALONE_461, BC_CMD_ID_COVER_STANDALONE_462, BC_CMD_ID_DING_DONG_CTRL, BC_CMD_ID_DING_DONG_OPT, BC_CMD_ID_FILE_INFO_LIST_CLOSE, BC_CMD_ID_FILE_INFO_LIST_DL_VIDEO, BC_CMD_ID_FILE_INFO_LIST_DOWNLOAD, BC_CMD_ID_FILE_INFO_LIST_GET, BC_CMD_ID_FILE_INFO_LIST_OPEN, BC_CMD_ID_FILE_INFO_LIST_REPLAY, BC_CMD_ID_FILE_INFO_LIST_STOP, BC_CMD_ID_FIND_REC_VIDEO_CLOSE, BC_CMD_ID_FIND_REC_VIDEO_GET, BC_CMD_ID_FIND_REC_VIDEO_OPEN, BC_CMD_ID_FLOODLIGHT_STATUS_LIST, BC_CMD_ID_GET_ABILITY_SUPPORT, BC_CMD_ID_GET_ACCESS_USER_LIST, BC_CMD_ID_GET_AI_ALARM, BC_CMD_ID_GET_AI_CFG, BC_CMD_ID_GET_AI_DENOISE, BC_CMD_ID_GET_AUDIO_ALARM, BC_CMD_ID_GET_AUDIO_CFG, BC_CMD_ID_GET_AUDIO_TASK, BC_CMD_ID_GET_BATTERY_INFO, BC_CMD_ID_GET_BATTERY_INFO_LIST, BC_CMD_ID_GET_DAY_NIGHT_THRESHOLD, BC_CMD_ID_GET_DAY_RECORDS, BC_CMD_ID_GET_DING_DONG_CFG, BC_CMD_ID_GET_DING_DONG_LIST, BC_CMD_ID_GET_DING_DONG_SILENT, BC_CMD_ID_GET_EMAIL_TASK, BC_CMD_ID_GET_FTP_TASK, BC_CMD_ID_GET_HDD_INFO_LIST, BC_CMD_ID_GET_KIT_AP_CFG, BC_CMD_ID_GET_LED_STATE, BC_CMD_ID_GET_MOTION_ALARM, BC_CMD_ID_GET_ONLINE_USER_LIST, BC_CMD_ID_GET_OSD_DATETIME, BC_CMD_ID_GET_PIR_INFO, BC_CMD_ID_GET_PTZ_POSITION, BC_CMD_ID_GET_PTZ_PRESET, BC_CMD_ID_GET_RECORD, BC_CMD_ID_GET_RECORD_CFG, BC_CMD_ID_GET_REC_ENC_CFG, BC_CMD_ID_GET_SIREN_STATUS, BC_CMD_ID_GET_SLEEP_STATE, BC_CMD_ID_GET_STREAM_INFO_LIST, BC_CMD_ID_GET_SUPPORT, BC_CMD_ID_GET_SYSTEM_GENERAL, BC_CMD_ID_GET_TIMELAPSE_CFG, BC_CMD_ID_GET_VIDEO_INPUT, BC_CMD_ID_GET_WHITE_LED, BC_CMD_ID_GET_WIFI, BC_CMD_ID_GET_WIFI_SIGNAL, BC_CMD_ID_GET_ZOOM_FOCUS, BC_CMD_ID_LOGIN, BC_CMD_ID_LOGOUT, BC_CMD_ID_PING, BC_CMD_ID_PTZ_CONTROL, BC_CMD_ID_PTZ_CONTROL_PRESET, BC_CMD_ID_PUSH_COORDINATE_POINT_LIST, BC_CMD_ID_PUSH_DINGDONG_LIST, BC_CMD_ID_PUSH_NET_INFO, BC_CMD_ID_PUSH_SERIAL, BC_CMD_ID_PUSH_SLEEP_STATUS, BC_CMD_ID_PUSH_VIDEO_INPUT, BC_CMD_ID_QUICK_REPLY_PLAY, BC_CMD_ID_SET_AI_ALARM, BC_CMD_ID_SET_AI_CFG, BC_CMD_ID_SET_AUDIO_TASK, BC_CMD_ID_SET_DING_DONG_CFG, BC_CMD_ID_SET_DING_DONG_SILENT, BC_CMD_ID_SET_MOTION_ALARM, BC_CMD_ID_SET_PIR_INFO, BC_CMD_ID_SET_WHITE_LED_STATE, BC_CMD_ID_SET_WHITE_LED_TASK, BC_CMD_ID_SET_ZOOM_FOCUS, BC_CMD_ID_SUPPORT, BC_CMD_ID_TALK, BC_CMD_ID_TALK_ABILITY, BC_CMD_ID_TALK_CONFIG, BC_CMD_ID_TALK_RESET, BC_CMD_ID_UDP_KEEP_ALIVE, BC_CMD_ID_VIDEO, BC_CMD_ID_VIDEO_STOP, BC_MAGIC, BC_MAGIC_REV, BC_TCP_DEFAULT_PORT, BC_XML_KEY, type BaichuanCachedPush, BaichuanClient, type BaichuanClientOptions, type BaichuanCoordinatePointListPush, type BaichuanDingdongListPush, type BaichuanEndpointsServerOptions, BaichuanEventEmitter, type BaichuanFrame, BaichuanFrameParser, type BaichuanGetOsdDatetimeResult, type BaichuanHeader, BaichuanHlsServer, type BaichuanHlsServerOptions, BaichuanHttpStreamServer, type BaichuanHttpStreamServerOptions, type BaichuanLedState, BaichuanMjpegServer, type BaichuanMjpegServerOptions, type BaichuanNetInfoPush, type BaichuanOsdChannelName, type BaichuanOsdDatetime, type BaichuanRecordCfg, type BaichuanRecordSchedule, BaichuanRtspServer, type BaichuanRtspServerOptions, type BaichuanSerialPush, type BaichuanSettingsPushCacheEntry, type BaichuanSleepState, type BaichuanSleepStatusPush, type BaichuanStreamEncodeTable, type BaichuanStreamInfo, type BaichuanStreamInfoList, type BaichuanTransport, type BaichuanVideoInputPush, BaichuanVideoStream, type BaichuanVideoStreamOptions, BaichuanWebRTCServer, type BaichuanWebRTCServerOptions, type BaichuanWifi, type BaichuanWifiSignal, type BatteryInfo, type BatteryInfoResponse, type BcMedia, type BcMediaAac, type BcMediaAdpcm, BcMediaAnnexBDecoder, type BcMediaAnnexBDecoderStats, type BcMediaAnnexBInfo, type BcMediaAudioFrame, type BcMediaAudioType, BcMediaCodec, type BcMediaIframe, type BcMediaInfoV1, type BcMediaInfoV2, type BcMediaPframe, type BcMediaType, type BcMediaVideoFrame, type BcMediaVideoType, type BcUdpDiscoveryMethod, BcUdpStream, type BcUdpStreamOptions, type CgiAbility, type CgiAbilityChn, type CgiAbilityLeaf, type CgiAiKey, type CgiAiStateValue, type CgiAudioAlarmPlayParam, type CgiBattery, type CgiChannelStatusEntry, type CgiChnTypeInfoValue, type CgiDetectionState, type CgiDevInfo, type CgiDeviceInfoEntries, type CgiEnc, type CgiEncStream, type CgiEncValue, type CgiGetAbilityResponse, type CgiGetAbilityValue, type CgiGetAiStateResponse, type CgiGetChannelstatusResponse, type CgiGetChannelstatusValue, type CgiGetChnTypeInfoResponse, type CgiGetDevInfoResponse, type CgiGetDevInfoValue, type CgiGetEncResponse, type CgiGetOsdValue, type CgiGetRtspUrlResponse, type CgiGetRtspUrlValue, type CgiGetVideoclipsParams, type CgiNetPort, type CgiOsd, type CgiPirInfo, type CgiPtzPreset, type CgiSetOsdParam, type CgiSetPirInfoParam, type CgiSetWhiteLedParam, type CgiWhiteLed, type ChannelPushCacheEntry, type ChannelPushDataEntry, type ChannelRecordingFile, type ChannelStreamMetadata, type ChimeAlarmCfg, type ChimeCfg, type ChimeDevice, type ChimeParams, type CollectNvrDiagnosticsOptions, CompositeRtspServer, type CompositeRtspServerOptions, CompositeStream, type CompositeStreamOptions, type CompositeStreamPipOptions, DUAL_LENS_DUAL_MOTION_MODELS, DUAL_LENS_MODELS, DUAL_LENS_SINGLE_MOTION_MODELS, type DayNightThresholdConfig, type DebugConfig, type DebugOptions, type DeviceAbilities, type DeviceCapabilities, type DeviceCapabilitiesCacheEntry, type DeviceCapabilitiesDebugInfo, type DeviceCapabilitiesResult, type DeviceInfoResponse, type DeviceInputData, type DeviceObjectType, type DeviceStatusResponse, type DeviceSupportFlags, type DeviceType, type DiagnosticsCollectorResult, type DiagnosticsStreamKind, type DiscoveredDevice, type DiscoveryOptions, type DownloadRecordingParams, type DualLensChannelAnalysis, type DualLensChannelInfo, type EmailTaskConfig, type EncryptionProtocol, type Events, type EventsResponse, type FloodlightTaskConfig, type FtpTaskConfig, type GetRecordingVideoResult, type GetRecordingVideoStats, type GetVideoclipsParams, type GetVodUrlParams, H264RtpDepacketizer, H265RtpDepacketizer, type HardwiredChimeState, type HddInfoListConfig, type HlsCodec, type HlsHttpResponse, type HlsServerStatus, type HlsSession, HlsSessionManager, type HlsSessionManagerOptions, type HlsSessionParams, Intercom, type IntercomOptions, type JsonObject, type JsonPrimitive, type JsonValue, type LastSleepProbe, type LogLevel, type Logger, type LoggerCallback, type LoginResponseValue, type MaxEncryption, type MediaStream, type MjpegFrame, MjpegTransformer, type MjpegTransformerOptions, type MotionAlarmConfig, type MotionEvent, NVR_HUB_EXACT_TYPES, NVR_HUB_MODEL_PATTERNS, type NativeVideoStreamVariant, type NvrChannelsSummaryCacheEntry, type OnlineUserListConfig, type OsdChannel, type OsdConfig, type OsdTime, type ParsedRecordingFileName, type PipPosition, type PirConfig, type PirState, type PlaybackSnapshotStreamInfo, type PtzCommand, type PtzPosition, type PtzPreset, type RecEncConfig, type RecordingAudioCodec, type RecordingDetectionClass, type RecordingDevType, type RecordingFile, type RecordingPlaybackUrls, type RecordingStreamType, type RecordingVideoCodec, type RecordingVodFlags, type RecordingVodStreamHint, type RecordingsCacheEntry, type RecordingsQueueItem, type ReolinkAiNotification, ReolinkBaichuanApi, type ReolinkBaichuanChannelIdentity, type ReolinkBaichuanChannelInfo, type ReolinkBaichuanDeviceSummary, type ReolinkBaichuanNetworkInfo, type ReolinkBaichuanPorts, ReolinkCgiApi, type ReolinkCmdRequest, type ReolinkCmdResponse, type ReolinkCmdResponseExt, type ReolinkDayNightNotification, type ReolinkDeviceInfo, type ReolinkDeviceInfoTag, type ReolinkEvent, ReolinkHttpClient, type ReolinkHttpClientOptions, type ReolinkJson, type ReolinkMotionNotification, type ReolinkNvrChannelInfo, type ReolinkNvrDeviceGroupSummary, type ReolinkNvrDeviceGroupsResult, type ReolinkSimpleEvent, type ReolinkSimpleEventType, type ReolinkSupportedStream, type ReolinkVideoStreamOptionsResult, type ReolinkVisitorNotification, type ReplayHttpServer, type ReplayHttpServerOptions, type ResponseMediaStreamOptions, type Rfc4571ApiFactoryContext, type Rfc4571Client, Rfc4571Muxer, type Rfc4571ReplayServer, type Rfc4571ReplayServerOptions, type Rfc4571TcpServer, type Rfc4571TcpServerOptions, type RtpPacketizationOptions, type RtspCreateOptions, type RtspProxyServerOptions, type RtspStreamProfile, type RunAllDiagnosticsConsecutivelyParams, type RunAllDiagnosticsConsecutivelyResult, type RunMultifocalDiagnosticsConsecutivelyParams, type RunMultifocalDiagnosticsConsecutivelyResult, type SirenState, type SirenStatusConfig, type SleepState, type SleepStatus, type StreamMetadata, type StreamProfile, type StreamSamplingOptions, type StreamSamplingSelection, type SupportConfig, type SupportInfo, type SupportItem, type SystemGeneralConfig, type TalkAbility$1 as TalkAbility, type TalkAudioConfig, type TalkConfig, type TalkSession$1 as TalkSession, type TalkSessionInfo, type TimelapseCfgConfig, type TwoWayAudioConfig, type VideoCodec, type VideoInputConfig, type VideoParamSets, type VideoStreamOptions, type VideoStreamOptionsCacheEntry, type VideoType, type VideoclipClientInfo, type VideoclipModeDecision, type VideoclipThumbnailResult, type VideoclipTranscodeMode, type VodFile, type VodSearchResponse, type VodSearchResult, type VodSearchStatus, type WakeUpOptions, type WebRTCAnswer, type WebRTCIceCandidate, type WebRTCOffer, type WebRTCSessionInfo, type WhiteLedConfig, type WhiteLedState, type WirelessChimeSilentState, type ZoomFocusStatus, type ZoomFocusTriplet, abilitiesHasAny, aesDecrypt, aesEncrypt, asLogger, autoDetectDeviceType, bcDecrypt, bcEncrypt, bcHeaderHasPayloadOffset, buildAacAudioSpecificConfigHex, buildAbilityInfoExtensionXml, buildBinaryExtensionXml, buildChannelExtensionXml, buildFloodlightManualXml, buildHlsRedirectUrl, buildLoginXml, buildLogoutXml, buildPreviewStopXml, buildPreviewStopXmlV11, buildPreviewXml, buildPreviewXmlV11, buildPtzControlXml, buildPtzPresetXml, buildPtzPresetXmlV2, buildRfc4571Sdp, buildRtspPath, buildRtspUrl, buildSirenManualXml, buildSirenTimesXml, buildStartZoomFocusXml, buildWhiteLedStateXml, collectCgiDiagnostics, collectMultifocalDiagnostics, collectNativeDiagnostics, collectNvrDiagnostics, computeDeviceCapabilities, convertToAnnexB as convertH265ToAnnexB, convertToAnnexB$1 as convertToAnnexB, convertToLengthPrefixed, createBaichuanEndpointsServer, createDebugGateLogger, createDiagnosticsBundle, createLogger, createMjpegBoundary, createNativeStream, createNullLogger, createReplayHttpServer, createRfc4571TcpServer, createRfc4571TcpServerForReplay, createRtspProxyServer, createTaggedLogger, decideVideoclipTranscodeMode, decodeHeader, deriveAesKey, detectIosClient, detectVideoCodecFromNal, discoverReolinkDevices, discoverViaHttpScan, discoverViaUdpBroadcast, discoverViaUdpDirect, encodeHeader, extractH264ParamSetsFromAccessUnit, extractH265ParamSetsFromAccessUnit, extractPpsFromAnnexB, extractSpsFromAnnexB, extractVpsFromAnnexB, flattenAbilitiesForChannel, formatMjpegFrame, getConstructedVideoStreamOptions, getGlobalLogger, getH265NalType, getMjpegContentType, getSupportItemForChannel, getVideoStream, getVideoclipClientInfo, getXmlText, hasStartCodes as hasH265StartCodes, hasStartCodes$1 as hasStartCodes, isDualLenseModel, isH264KeyframeAnnexB, isH265Irap, isH265KeyframeAnnexB, isNvrHubModel, isTcpFailureThatShouldFallbackToUdp, isValidH264AnnexBAccessUnit, isValidH265AnnexBAccessUnit, maskUid, md5HexUpper, md5StrModern, normalizeUid, packetizeAacAdtsFrame, packetizeAacRawFrame, packetizeH264, packetizeH265, parseAdtsHeader, parseBcMedia, parseRecordingFileName, parseSupportXml, printNvrDiagnostics, runAllDiagnosticsConsecutively, runMultifocalDiagnosticsConsecutively, sampleStreams, setGlobalLogger, splitAnnexBToNalPayloads$1 as splitAnnexBToNalPayloads, splitAnnexBToNals, splitAnnexBToNalPayloads as splitH265AnnexBToNalPayloads, testChannelStreams, xmlEscape, zipDirectory };
|