@apocaliss92/nodelink-js 0.2.1 → 0.2.3

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.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;
@@ -3310,8 +3376,12 @@ declare class BaichuanRtspServer extends EventEmitter<{
3310
3376
  private tempStreamGenerator;
3311
3377
  private nativeFanout;
3312
3378
  private noClientAutoStopTimer;
3379
+ private readonly PREBUFFER_MAX_MS;
3380
+ private prebuffer;
3313
3381
  private static isAdtsAacFrame;
3314
3382
  private static parseAdtsSamplingInfo;
3383
+ /** Returns true if the raw (packed/Annex B) frame is an IDR (H.264) or IRAP (H.265). */
3384
+ private isRawFrameKeyframe;
3315
3385
  private static parseInterleavedChannels;
3316
3386
  private static splitAnnexBNals;
3317
3387
  private static stripAdtsHeader;
@@ -3977,6 +4047,11 @@ declare class ReolinkBaichuanApi {
3977
4047
  private readonly host;
3978
4048
  private readonly username;
3979
4049
  private readonly password;
4050
+ /**
4051
+ * Set to `true` after `close()` is called.
4052
+ * Once closed, the API instance should not be reused.
4053
+ */
4054
+ private _closed;
3980
4055
  /**
3981
4056
  * Socket pool with tag-based allocation strategy.
3982
4057
  * Tags determine which sockets are shared vs dedicated:
@@ -4001,6 +4076,46 @@ declare class ReolinkBaichuanApi {
4001
4076
  * This getter maintains backward compatibility with existing code that uses `this.client`.
4002
4077
  */
4003
4078
  get client(): BaichuanClient;
4079
+ /**
4080
+ * `true` after `close()` has been called. A closed API should not be reused;
4081
+ * the consumer should create a new instance.
4082
+ */
4083
+ get isClosed(): boolean;
4084
+ /**
4085
+ * `true` when the API is usable: not closed, general socket exists, socket
4086
+ * is connected and the client is logged in.
4087
+ *
4088
+ * This is the recommended way for consumers to check whether the API is
4089
+ * still valid before issuing commands, instead of directly accessing
4090
+ * `api.client.isSocketConnected()` / `api.client.loggedIn` (which throws
4091
+ * if the socket pool was already destroyed).
4092
+ */
4093
+ get isReady(): boolean;
4094
+ /** Promise tracking an in-flight reconnection from `ensureConnected()`. */
4095
+ private _ensureConnectedPromise;
4096
+ /**
4097
+ * Ensure the "general" socket is connected and logged in.
4098
+ * If the socket is disconnected or the pool entry was destroyed, a new
4099
+ * general socket is created, logged in, and all event/push/guard listeners
4100
+ * are re-attached automatically.
4101
+ *
4102
+ * This is a **no-op** when the API is already {@link isReady}.
4103
+ *
4104
+ * @throws If `close()` was called — the API is permanently closed and a new
4105
+ * instance must be created.
4106
+ */
4107
+ ensureConnected(): Promise<void>;
4108
+ /**
4109
+ * Internal: destroy the current general socket (if any), create a new one,
4110
+ * login, and re-attach all listeners.
4111
+ */
4112
+ private reconnectGeneralSocket;
4113
+ /**
4114
+ * Attach event, push, channelInfo, and guard listeners to the current
4115
+ * "general" client. Called from the constructor and from
4116
+ * {@link reconnectGeneralSocket}.
4117
+ */
4118
+ private setupGeneralClientListeners;
4004
4119
  /**
4005
4120
  * Cached camera UID. May be initially undefined if not provided in the constructor.
4006
4121
  * Will be lazily populated on demand when needed (e.g. for recordings).
@@ -4639,11 +4754,19 @@ declare class ReolinkBaichuanApi {
4639
4754
  * Minimal per-channel inventory for NVR-connected devices.
4640
4755
  *
4641
4756
  * Intended to be fast: avoids AI/abilities and returns only the common identity + battery hints.
4757
+ *
4758
+ * @param options.source - Data source for the channel list (default: `"cgi"`):
4759
+ * - `"cgi"`: Uses HTTP `GetChannelstatus` — returns the channel list immediately,
4760
+ * no dependency on async push messages. Recommended for first-call discovery.
4761
+ * - `"baichuan"`: Uses the cmd_id 145 push cache populated when the NVR sends channel
4762
+ * info after login + event subscription. This push is *asynchronous*: if it has not
4763
+ * arrived yet, the result will have zero channels. Callers must retry (nvr.ts does this
4764
+ * with a 1-second loop). Note: explicitly requesting cmd_id 145 is not supported.
4642
4765
  */
4643
4766
  getNvrChannelsSummary(options?: {
4644
4767
  channels?: number[];
4645
4768
  timeoutMs?: number;
4646
- source?: "baichuan" | "cgi";
4769
+ source?: "cgi" | "baichuan";
4647
4770
  }): Promise<NvrChannelsSummaryCacheEntry>;
4648
4771
  /**
4649
4772
  * Group NVR/HUB channels by physical device (best-effort).
@@ -5692,16 +5815,6 @@ declare class ReolinkBaichuanApi {
5692
5815
  * Clear the device capabilities cache for a specific channel or all channels.
5693
5816
  */
5694
5817
  clearCapabilitiesCache(channel?: number): void;
5695
- /**
5696
- * Pick the best SupportItem for a channel.
5697
- * Prefers items without a name (capability items) over named items (googleHome, amazonAlexa).
5698
- */
5699
- private pickBestSupportItem;
5700
- /**
5701
- * Parse device capabilities from SupportInfo.
5702
- * Uses SupportInfo as the single source of truth with AbilityInfo as fallback.
5703
- */
5704
- private parseCapabilitiesFromSupport;
5705
5818
  /**
5706
5819
  * Parse support features from SupportInfo.
5707
5820
  */
@@ -6585,6 +6698,119 @@ declare class ReolinkBaichuanApi {
6585
6698
  * ```
6586
6699
  */
6587
6700
  standaloneGetSnapshot(): Promise<Buffer>;
6701
+ /**
6702
+ * Get the list of paired wireless chime devices.
6703
+ * cmd_id: 484 (GetDingDongList)
6704
+ *
6705
+ * @param channel - Channel number (0-based, default 0)
6706
+ * @returns Array of paired chime devices
6707
+ */
6708
+ getDingDongList(channel?: number): Promise<ChimeDevice[]>;
6709
+ /**
6710
+ * Get parameters (name, volume, LED state) for a specific wireless chime.
6711
+ * cmd_id: 485 (DingDongOpt, option getParam)
6712
+ *
6713
+ * @param chimeId - The chime device ID
6714
+ * @param channel - Channel number (0-based, default 0)
6715
+ * @returns Chime parameters
6716
+ */
6717
+ getDingDongParams(chimeId: number, channel?: number): Promise<ChimeParams>;
6718
+ /**
6719
+ * Set parameters (name, volume, LED state) for a specific wireless chime.
6720
+ * cmd_id: 485 (DingDongOpt, option setParam)
6721
+ *
6722
+ * @param chimeId - The chime device ID
6723
+ * @param params - Parameters to set (volLevel, ledState, name)
6724
+ * @param channel - Channel number (0-based, default 0)
6725
+ */
6726
+ setDingDongParams(chimeId: number, params: {
6727
+ volLevel?: number;
6728
+ ledState?: number;
6729
+ name?: string;
6730
+ }, channel?: number): Promise<void>;
6731
+ /**
6732
+ * Trigger a wireless chime to ring with a specific ringtone.
6733
+ * cmd_id: 485 (DingDongOpt, option ringWithMusic)
6734
+ *
6735
+ * @param chimeId - The chime device ID
6736
+ * @param musicId - The ringtone/music ID to play
6737
+ * @param channel - Channel number (0-based, default 0)
6738
+ */
6739
+ ringDingDong(chimeId: number, musicId: number, channel?: number): Promise<void>;
6740
+ /**
6741
+ * Get the per-event alarm configuration for paired wireless chimes.
6742
+ * cmd_id: 486 (GetDingDongCfg)
6743
+ *
6744
+ * @param channel - Channel number (0-based, default 0)
6745
+ * @returns Array of chime configurations (one per paired chime)
6746
+ */
6747
+ getDingDongCfg(channel?: number): Promise<ChimeCfg[]>;
6748
+ /**
6749
+ * Set the per-event alarm configuration for a specific wireless chime.
6750
+ * cmd_id: 487 (SetDingDongCfg)
6751
+ *
6752
+ * @param chimeId - The chime ring/device ID
6753
+ * @param eventType - Event type string (e.g. "doorbell", "package", "people")
6754
+ * @param state - 0 = disabled, 1 = enabled
6755
+ * @param musicId - Ringtone ID to use for this event type
6756
+ * @param channel - Channel number (0-based, default 0)
6757
+ */
6758
+ setDingDongCfg(chimeId: number, eventType: string, state: 0 | 1, musicId: number, channel?: number): Promise<void>;
6759
+ /** Cache of last known hardwired chime state per channel, used to avoid re-fetching on every set. */
6760
+ private _hardwiredChimeCache;
6761
+ /**
6762
+ * Get the hardwired (wired-in) chime state.
6763
+ * cmd_id: 483 (GetDingDongCtrl)
6764
+ *
6765
+ * Note: calling this may briefly trigger the physical chime to rattle.
6766
+ *
6767
+ * @param channel - Channel number (0-based, default 0)
6768
+ * @returns Hardwired chime state (type, enabled, time)
6769
+ */
6770
+ getHardwiredChime(channel?: number): Promise<HardwiredChimeState>;
6771
+ /**
6772
+ * Set the hardwired (wired-in) chime state.
6773
+ * cmd_id: 483 (SetDingDongCtrl)
6774
+ *
6775
+ * Uses the cached state from a previous getHardwiredChime call to fill in
6776
+ * missing type/time fields, avoiding a double round-trip on every set.
6777
+ * Falls back to fetching if no cache is available.
6778
+ *
6779
+ * @param params - Chime configuration (type, enabled, time)
6780
+ * @param channel - Channel number (0-based, default 0)
6781
+ */
6782
+ setHardwiredChime(params: {
6783
+ type?: string | undefined;
6784
+ enabled: boolean;
6785
+ time?: number;
6786
+ }, channel?: number): Promise<HardwiredChimeState>;
6787
+ /**
6788
+ * Play an audio file on the doorbell / chime device.
6789
+ * cmd_id: 349 (QuickReplyPlay)
6790
+ *
6791
+ * @param fileId - The audio file ID to play
6792
+ * @param channel - Channel number (0-based, default 0)
6793
+ */
6794
+ quickReplyPlay(fileId: number, channel?: number): Promise<void>;
6795
+ /**
6796
+ * Get the silent mode state of a paired wireless chime.
6797
+ * cmd_id: 609 (GetDingDongSilent)
6798
+ *
6799
+ * @param chimeId - The wireless chime device ID (from getDingDongList)
6800
+ * @param channel - Channel number (0-based, default 0)
6801
+ * @returns Wireless chime silent state (time=0 means active/not silenced)
6802
+ */
6803
+ getDingDongSilent(chimeId: number, channel?: number): Promise<WirelessChimeSilentState>;
6804
+ /**
6805
+ * Set the silent mode of a paired wireless chime.
6806
+ * cmd_id: 610 (SetDingDongSilent)
6807
+ *
6808
+ * @param chimeId - The wireless chime device ID (from getDingDongList)
6809
+ * @param time - Silence duration in seconds. 0 = not silenced (chime active), >0 = silenced for this many seconds.
6810
+ * @param channel - Channel number (0-based, default 0)
6811
+ * @returns Updated wireless chime silent state
6812
+ */
6813
+ setDingDongSilent(chimeId: number, time: number, channel?: number): Promise<WirelessChimeSilentState>;
6588
6814
  }
6589
6815
 
6590
6816
  /**
@@ -6992,6 +7218,7 @@ declare function createBaichuanEndpointsServer(opts: BaichuanEndpointsServerOpti
6992
7218
  declare function flattenAbilitiesForChannel(abilities: DeviceAbilities | undefined, channel: number): AbilityInfo | undefined;
6993
7219
  declare function abilitiesHasAny(abilities: AbilityInfo | undefined, re: RegExp): boolean;
6994
7220
  declare function parseSupportXml(xml: string): SupportInfo | undefined;
7221
+ declare function getSupportItemForChannel(support: SupportInfo | undefined, channel: number): SupportItem | undefined;
6995
7222
  declare function computeDeviceCapabilities(params: {
6996
7223
  channel: number;
6997
7224
  /** Device model name/type (best-effort). Used for heuristic capability detection. */
@@ -8499,4 +8726,4 @@ declare class CompositeRtspServer extends EventEmitter<{
8499
8726
  getClientCount(): number;
8500
8727
  }
8501
8728
 
8502
- 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 };
8729
+ 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 };