@apocaliss92/nodelink-js 0.2.5 → 0.3.5
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 +48 -82
- package/dist/{chunk-EG5IY3CM.js → chunk-UDS2UR4S.js} +444 -20
- package/dist/chunk-UDS2UR4S.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +78 -16
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +1 -1
- package/dist/index.cjs +1071 -210
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +211 -70
- package/dist/index.d.ts +193 -69
- package/dist/index.js +580 -142
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
- package/dist/chunk-EG5IY3CM.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1961,6 +1961,22 @@ declare class BaichuanClient extends EventEmitter<{
|
|
|
1961
1961
|
private static readonly coverPreviewBackoffMs;
|
|
1962
1962
|
private static readonly COVER_PREVIEW_INITIAL_BACKOFF_MS;
|
|
1963
1963
|
private static readonly COVER_PREVIEW_MAX_BACKOFF_MS;
|
|
1964
|
+
/**
|
|
1965
|
+
* Per-client snapshot (cmd_id=109) serialization queue.
|
|
1966
|
+
*
|
|
1967
|
+
* WHY: On NVR/multi-camera devices sharing one socket, concurrent snapshot requests
|
|
1968
|
+
* can cause JPEG data to mix (even with per-request msgNum filtering):
|
|
1969
|
+
* - Camera A and B both send frames on same socket
|
|
1970
|
+
* - Frame listener is global per socket
|
|
1971
|
+
* - Timing quirks can cause chunk reordering or listener confusion
|
|
1972
|
+
*
|
|
1973
|
+
* FIX: Serialize all cmd_id=109 requests on THIS client instance.
|
|
1974
|
+
* Each snapshot waits for previous one to complete before starting.
|
|
1975
|
+
* This ensures clean frame sequences per request, zero data corruption.
|
|
1976
|
+
*
|
|
1977
|
+
* Impact: Snapshots are ~0–50ms slower per camera (negligible for users).
|
|
1978
|
+
*/
|
|
1979
|
+
private snapshotQueueTail;
|
|
1964
1980
|
private readonly opts;
|
|
1965
1981
|
private readonly debugCfg;
|
|
1966
1982
|
private readonly logger;
|
|
@@ -2307,6 +2323,7 @@ declare class BaichuanClient extends EventEmitter<{
|
|
|
2307
2323
|
private sendBinaryFileDownload6482;
|
|
2308
2324
|
private sendBinaryFileInfoListReplay5;
|
|
2309
2325
|
private sendBinarySnapshot109;
|
|
2326
|
+
private sendBinarySnapshot109Impl;
|
|
2310
2327
|
/**
|
|
2311
2328
|
* Send CoverPreview command (cmd_id=298) to get an I-frame from a past recording.
|
|
2312
2329
|
* Similar to sendBinarySnapshot109 but handles the stream header + frame format
|
|
@@ -7011,7 +7028,7 @@ interface DiscoveredDevice {
|
|
|
7011
7028
|
/** Firmware version (if available) */
|
|
7012
7029
|
firmwareVersion?: string;
|
|
7013
7030
|
/** Discovery method used to find this device */
|
|
7014
|
-
discoveryMethod: "http_probe" | "udp_broadcast" | "udp_direct";
|
|
7031
|
+
discoveryMethod: "http_probe" | "udp_broadcast" | "udp_direct" | "tcp_port_scan" | "arp" | "dhcp" | "onvif";
|
|
7015
7032
|
/** Whether HTTPS is supported */
|
|
7016
7033
|
supportsHttps?: boolean;
|
|
7017
7034
|
/** Whether the device is accessible via HTTP */
|
|
@@ -7041,6 +7058,20 @@ type DiscoveryOptions = {
|
|
|
7041
7058
|
enableUdpDiscovery?: boolean;
|
|
7042
7059
|
/** Whether to enable HTTP port scanning (default: true) */
|
|
7043
7060
|
enableHttpScanning?: boolean;
|
|
7061
|
+
/** Whether to enable TCP port 9000 scanning (Baichuan protocol). Works with all Reolink devices. (default: false) */
|
|
7062
|
+
enableTcpPortScan?: boolean;
|
|
7063
|
+
/** Timeout per TCP port probe in milliseconds (default: 1500) */
|
|
7064
|
+
tcpProbeTimeoutMs?: number;
|
|
7065
|
+
/** Whether to enable ARP table lookup for Reolink MAC prefix (ec:71:db). Similar to Home Assistant DHCP discovery. (default: false) */
|
|
7066
|
+
enableArpLookup?: boolean;
|
|
7067
|
+
/** Whether to enable passive DHCP listening for Reolink devices (requires root/NET_RAW). (default: false) */
|
|
7068
|
+
enableDhcpListener?: boolean;
|
|
7069
|
+
/** Timeout for DHCP listener in milliseconds (default: 10000) */
|
|
7070
|
+
dhcpListenerTimeoutMs?: number;
|
|
7071
|
+
/** Whether to enable ONVIF WS-Discovery (multicast probe on 239.255.255.250:3702). Most Reolink cameras support ONVIF. (default: false) */
|
|
7072
|
+
enableOnvifDiscovery?: boolean;
|
|
7073
|
+
/** Timeout for ONVIF WS-Discovery in milliseconds (default: 5000) */
|
|
7074
|
+
onvifDiscoveryTimeoutMs?: number;
|
|
7044
7075
|
/** Ports to scan for HTTP (default: [80, 443]) */
|
|
7045
7076
|
httpPorts?: number[];
|
|
7046
7077
|
};
|
|
@@ -7052,6 +7083,36 @@ declare function discoverViaHttpScan(options: DiscoveryOptions): Promise<Discove
|
|
|
7052
7083
|
* Discover devices via UDP broadcast (for battery cameras).
|
|
7053
7084
|
*/
|
|
7054
7085
|
declare function discoverViaUdpBroadcast(options: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7086
|
+
/**
|
|
7087
|
+
* Discover Reolink devices by reading the system ARP table and filtering
|
|
7088
|
+
* for Reolink MAC address prefixes (EC:71:DB). This mirrors the DHCP-based
|
|
7089
|
+
* discovery used by Home Assistant but reads the already-populated ARP cache
|
|
7090
|
+
* instead of sniffing live DHCP packets.
|
|
7091
|
+
*
|
|
7092
|
+
* Works on Linux, macOS, and Docker containers (reads /proc/net/arp or `arp -a`).
|
|
7093
|
+
*/
|
|
7094
|
+
declare function discoverViaArpTable(options: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7095
|
+
/**
|
|
7096
|
+
* Discover Reolink devices by passively listening for DHCP traffic (port 67/68).
|
|
7097
|
+
* Parses DHCP ACK/REQUEST packets and filters for Reolink MAC prefix or hostname.
|
|
7098
|
+
* Requires root or CAP_NET_RAW (typical in Docker with --net=host).
|
|
7099
|
+
*
|
|
7100
|
+
* This mirrors Home Assistant's DHCP discovery: matches hostname "reolink*" or MAC "EC:71:DB".
|
|
7101
|
+
*/
|
|
7102
|
+
declare function discoverViaDhcpListener(options: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7103
|
+
/**
|
|
7104
|
+
* Discover Reolink devices by scanning TCP port 9000 (Baichuan protocol).
|
|
7105
|
+
* This is the most reliable method — every Reolink camera/NVR listens on port 9000.
|
|
7106
|
+
* It only checks if the port is open; it does not authenticate or extract device info.
|
|
7107
|
+
*/
|
|
7108
|
+
declare function discoverViaTcpPortScan(options: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7109
|
+
/**
|
|
7110
|
+
* Discover devices via ONVIF WS-Discovery (multicast probe on 239.255.255.250:3702).
|
|
7111
|
+
* Most Reolink cameras and NVRs support ONVIF and will respond with their service
|
|
7112
|
+
* endpoint (XAddrs), model, and scopes. This is the standard IP camera discovery
|
|
7113
|
+
* mechanism used by NVRs, VMS, and similar software.
|
|
7114
|
+
*/
|
|
7115
|
+
declare function discoverViaOnvif(options: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7055
7116
|
/**
|
|
7056
7117
|
* Discover Reolink devices on the local network using multiple methods.
|
|
7057
7118
|
* This is a "best effort" discovery that tries HTTP port scanning and UDP broadcast.
|
|
@@ -7074,52 +7135,41 @@ declare function discoverViaUdpBroadcast(options: DiscoveryOptions): Promise<Dis
|
|
|
7074
7135
|
*/
|
|
7075
7136
|
declare function discoverReolinkDevices(options?: DiscoveryOptions): Promise<DiscoveredDevice[]>;
|
|
7076
7137
|
|
|
7077
|
-
interface AutodiscoveryClientOptions {
|
|
7078
|
-
/**
|
|
7079
|
-
networkCidr?: string;
|
|
7080
|
-
/** Username to use for authentication attempts (default: "admin") */
|
|
7081
|
-
username?: string;
|
|
7082
|
-
/** Password to use for authentication attempts (default: empty, will try unauthenticated) */
|
|
7083
|
-
password?: string;
|
|
7084
|
-
/** Timeout per HTTP probe in milliseconds (default: 2000) */
|
|
7085
|
-
httpProbeTimeoutMs?: number;
|
|
7086
|
-
/** Maximum number of concurrent HTTP probes (default: 50) */
|
|
7087
|
-
maxConcurrentProbes?: number;
|
|
7088
|
-
/** Logger instance for debug output */
|
|
7089
|
-
logger?: Logger;
|
|
7090
|
-
/** Ports to scan for HTTP (default: [80, 443]) */
|
|
7091
|
-
httpPorts?: number[];
|
|
7092
|
-
/** Interval between discovery scans in milliseconds (default: 60000 = 60 seconds) */
|
|
7138
|
+
interface AutodiscoveryClientOptions extends DiscoveryOptions {
|
|
7139
|
+
/** Interval between discovery scans in milliseconds (default: 120000 = 2 minutes) */
|
|
7093
7140
|
scanIntervalMs?: number;
|
|
7094
7141
|
/** Whether to start discovery automatically on construction (default: false) */
|
|
7095
7142
|
autoStart?: boolean;
|
|
7096
|
-
/**
|
|
7097
|
-
|
|
7098
|
-
/**
|
|
7099
|
-
|
|
7143
|
+
/** Called when new (previously unseen) devices are discovered */
|
|
7144
|
+
onDeviceDiscovered?: (device: DiscoveredDevice) => void;
|
|
7145
|
+
/** Called when an existing device's info is updated (e.g. model filled in) */
|
|
7146
|
+
onDeviceUpdated?: (device: DiscoveredDevice) => void;
|
|
7100
7147
|
}
|
|
7101
7148
|
/**
|
|
7102
|
-
*
|
|
7103
|
-
*
|
|
7149
|
+
* Continuous discovery client for Reolink cameras on the network.
|
|
7150
|
+
* Runs periodic scans using all configured discovery methods and maintains
|
|
7151
|
+
* an always-up-to-date list of discovered devices.
|
|
7104
7152
|
*
|
|
7105
|
-
*
|
|
7106
|
-
*
|
|
7153
|
+
* Supports callbacks for new/updated devices, making it ideal for plugins
|
|
7154
|
+
* that want to be notified as cameras appear (e.g. battery cameras waking up).
|
|
7107
7155
|
*
|
|
7108
7156
|
* @example
|
|
7109
7157
|
* ```typescript
|
|
7110
7158
|
* const client = new AutodiscoveryClient({
|
|
7111
|
-
*
|
|
7112
|
-
*
|
|
7113
|
-
* scanIntervalMs:
|
|
7159
|
+
* enableArpLookup: true,
|
|
7160
|
+
* enableOnvifDiscovery: true,
|
|
7161
|
+
* scanIntervalMs: 60_000,
|
|
7114
7162
|
* autoStart: true,
|
|
7163
|
+
* onDeviceDiscovered: (device) => {
|
|
7164
|
+
* console.log(`New device: ${device.host} (${device.model})`);
|
|
7165
|
+
* },
|
|
7115
7166
|
* });
|
|
7116
7167
|
*
|
|
7117
|
-
* //
|
|
7168
|
+
* // Get the current list
|
|
7118
7169
|
* const devices = client.getDiscoveredDevices();
|
|
7119
|
-
* console.log(`Trovate ${devices.length} telecamere`);
|
|
7120
7170
|
*
|
|
7121
|
-
* //
|
|
7122
|
-
*
|
|
7171
|
+
* // Stop
|
|
7172
|
+
* client.stop();
|
|
7123
7173
|
* ```
|
|
7124
7174
|
*/
|
|
7125
7175
|
declare class AutodiscoveryClient {
|
|
@@ -7128,70 +7178,42 @@ declare class AutodiscoveryClient {
|
|
|
7128
7178
|
private scanTimer;
|
|
7129
7179
|
private isRunning;
|
|
7130
7180
|
private currentScanPromise;
|
|
7131
|
-
/**
|
|
7132
|
-
* Costruttore del client di autodiscovery.
|
|
7133
|
-
*
|
|
7134
|
-
* @param options - Opzioni di configurazione per il discovery
|
|
7135
|
-
*/
|
|
7136
7181
|
constructor(options?: AutodiscoveryClientOptions);
|
|
7137
7182
|
/**
|
|
7138
|
-
*
|
|
7139
|
-
* Se già in esecuzione, non fa nulla.
|
|
7183
|
+
* Start continuous discovery. If already running, does nothing.
|
|
7140
7184
|
*/
|
|
7141
7185
|
start(): void;
|
|
7142
7186
|
/**
|
|
7143
|
-
*
|
|
7144
|
-
* Se non è in esecuzione, non fa nulla.
|
|
7187
|
+
* Stop continuous discovery. If not running, does nothing.
|
|
7145
7188
|
*/
|
|
7146
7189
|
stop(): void;
|
|
7147
7190
|
/**
|
|
7148
|
-
*
|
|
7149
|
-
*
|
|
7150
|
-
* @returns Array di dispositivi discoverati, ordinati per host
|
|
7191
|
+
* Returns the current list of discovered devices, sorted by host IP.
|
|
7151
7192
|
*/
|
|
7152
7193
|
getDiscoveredDevices(): DiscoveredDevice[];
|
|
7153
7194
|
/**
|
|
7154
|
-
*
|
|
7155
|
-
*
|
|
7156
|
-
* @returns Numero di dispositivi discoverati
|
|
7195
|
+
* Returns the number of currently discovered devices.
|
|
7157
7196
|
*/
|
|
7158
7197
|
getDeviceCount(): number;
|
|
7159
7198
|
/**
|
|
7160
|
-
*
|
|
7161
|
-
*
|
|
7162
|
-
* @returns `true` se il discovery è in esecuzione, `false` altrimenti
|
|
7199
|
+
* Returns whether continuous discovery is currently running.
|
|
7163
7200
|
*/
|
|
7164
7201
|
isActive(): boolean;
|
|
7165
7202
|
/**
|
|
7166
|
-
*
|
|
7167
|
-
*
|
|
7168
|
-
*
|
|
7169
|
-
* @returns Promise che si risolve quando lo scan è completato
|
|
7203
|
+
* Force an immediate scan (doesn't wait for the scheduled interval).
|
|
7204
|
+
* If a scan is already in progress, waits for it to complete.
|
|
7170
7205
|
*/
|
|
7171
7206
|
scanNow(): Promise<void>;
|
|
7172
7207
|
/**
|
|
7173
|
-
*
|
|
7174
|
-
*
|
|
7175
|
-
* @param host - Indirizzo IP del dispositivo da rimuovere
|
|
7176
|
-
* @returns `true` se il dispositivo è stato rimosso, `false` se non era presente
|
|
7208
|
+
* Remove a device from the discovered list.
|
|
7177
7209
|
*/
|
|
7178
7210
|
removeDevice(host: string): boolean;
|
|
7179
7211
|
/**
|
|
7180
|
-
*
|
|
7212
|
+
* Clear all discovered devices.
|
|
7181
7213
|
*/
|
|
7182
7214
|
clearDevices(): void;
|
|
7183
|
-
/**
|
|
7184
|
-
* Esegue un singolo scan della rete.
|
|
7185
|
-
*/
|
|
7186
7215
|
private performScan;
|
|
7187
|
-
/**
|
|
7188
|
-
* Unisce le informazioni di un dispositivo esistente con quelle di un nuovo scan.
|
|
7189
|
-
* Restituisce il dispositivo aggiornato se ci sono state modifiche, altrimenti `null`.
|
|
7190
|
-
*/
|
|
7191
7216
|
private mergeDeviceInfo;
|
|
7192
|
-
/**
|
|
7193
|
-
* Programma il prossimo scan.
|
|
7194
|
-
*/
|
|
7195
7217
|
private scheduleNextScan;
|
|
7196
7218
|
}
|
|
7197
7219
|
|
|
@@ -7779,6 +7801,125 @@ interface ReplayHttpServer {
|
|
|
7779
7801
|
*/
|
|
7780
7802
|
declare function createReplayHttpServer(options: ReplayHttpServerOptions): Promise<ReplayHttpServer>;
|
|
7781
7803
|
|
|
7804
|
+
/**
|
|
7805
|
+
* Go2rtcTcpServer — Lightweight TCP server that feeds raw Annex-B video
|
|
7806
|
+
* (H.264 / H.265) and ADTS AAC audio frames to go2rtc via a plain TCP
|
|
7807
|
+
* connection.
|
|
7808
|
+
*
|
|
7809
|
+
* go2rtc configuration example:
|
|
7810
|
+
* streams:
|
|
7811
|
+
* camera_main: tcp://127.0.0.1:{port}
|
|
7812
|
+
*
|
|
7813
|
+
* go2rtc auto-detects the codec from the bitstream (SPS/PPS/VPS NALUs).
|
|
7814
|
+
*
|
|
7815
|
+
* Lifecycle:
|
|
7816
|
+
* 1. Server starts listening immediately on the configured port.
|
|
7817
|
+
* 2. When the first TCP client connects the native camera stream is started.
|
|
7818
|
+
* 3. Frames are fan-out to every connected client (go2rtc typically opens
|
|
7819
|
+
* one connection, but multiple are supported).
|
|
7820
|
+
* 4. When the last client disconnects a grace period runs before stopping
|
|
7821
|
+
* the native stream (avoids thrashing on rapid reconnects).
|
|
7822
|
+
* 5. A prebuffer ring keeps the last few seconds of frames so new clients
|
|
7823
|
+
* get IDR-aligned fast startup without waiting for the next keyframe.
|
|
7824
|
+
*/
|
|
7825
|
+
|
|
7826
|
+
interface Go2rtcTcpServerOptions {
|
|
7827
|
+
/** API instance (required). */
|
|
7828
|
+
api: ReolinkBaichuanApi;
|
|
7829
|
+
/** Channel number (required). */
|
|
7830
|
+
channel: number;
|
|
7831
|
+
/** Stream profile (required). */
|
|
7832
|
+
profile: StreamProfile;
|
|
7833
|
+
/** TrackMix tele/autotrack variant. */
|
|
7834
|
+
variant?: NativeVideoStreamVariant;
|
|
7835
|
+
/** Host to listen on (default: "127.0.0.1"). */
|
|
7836
|
+
listenHost?: string;
|
|
7837
|
+
/** Port to listen on (default: 0 = OS picks). */
|
|
7838
|
+
listenPort?: number;
|
|
7839
|
+
/** Logger. */
|
|
7840
|
+
logger?: Logger;
|
|
7841
|
+
/**
|
|
7842
|
+
* External identifier for dedicated socket session.
|
|
7843
|
+
* When provided, a dedicated BaichuanClient is created for the stream,
|
|
7844
|
+
* isolating it from other streams on the shared socket.
|
|
7845
|
+
*/
|
|
7846
|
+
deviceId?: string;
|
|
7847
|
+
/** Grace period in ms before stopping native stream after last client disconnects (default: 30 000). */
|
|
7848
|
+
gracePeriodMs?: number;
|
|
7849
|
+
/** Maximum prebuffer window in ms (default: 3 000). */
|
|
7850
|
+
prebufferMs?: number;
|
|
7851
|
+
/** Maximum write buffer per client before dropping the connection (default: 100 MB). */
|
|
7852
|
+
maxBufferBytes?: number;
|
|
7853
|
+
/**
|
|
7854
|
+
* When true, the native camera stream is started immediately on start()
|
|
7855
|
+
* rather than waiting for the first TCP client. This ensures frames are
|
|
7856
|
+
* already flowing (and the prebuffer is warm) when go2rtc connects.
|
|
7857
|
+
* Default: true.
|
|
7858
|
+
*/
|
|
7859
|
+
prestartStream?: boolean;
|
|
7860
|
+
}
|
|
7861
|
+
declare class Go2rtcTcpServer extends EventEmitter<{
|
|
7862
|
+
client: [string];
|
|
7863
|
+
clientDisconnected: [string];
|
|
7864
|
+
error: [Error];
|
|
7865
|
+
close: [];
|
|
7866
|
+
listening: [{
|
|
7867
|
+
host: string;
|
|
7868
|
+
port: number;
|
|
7869
|
+
}];
|
|
7870
|
+
}> {
|
|
7871
|
+
private readonly api;
|
|
7872
|
+
private readonly channel;
|
|
7873
|
+
private readonly profile;
|
|
7874
|
+
private readonly variant;
|
|
7875
|
+
private readonly listenHost;
|
|
7876
|
+
private readonly listenPort;
|
|
7877
|
+
private readonly logger;
|
|
7878
|
+
private readonly deviceId;
|
|
7879
|
+
private readonly gracePeriodMs;
|
|
7880
|
+
private readonly prebufferMaxMs;
|
|
7881
|
+
private readonly maxBufferBytes;
|
|
7882
|
+
private readonly prestartStream;
|
|
7883
|
+
private active;
|
|
7884
|
+
private server;
|
|
7885
|
+
private resolvedPort;
|
|
7886
|
+
private nativeFanout;
|
|
7887
|
+
private nativeStreamActive;
|
|
7888
|
+
private dedicatedSessionRelease;
|
|
7889
|
+
private detectedVideoType;
|
|
7890
|
+
private connectedClients;
|
|
7891
|
+
private clientSockets;
|
|
7892
|
+
private stopGraceTimer;
|
|
7893
|
+
private prebuffer;
|
|
7894
|
+
constructor(options: Go2rtcTcpServerOptions);
|
|
7895
|
+
/** Start listening. Resolves once the TCP server is bound. */
|
|
7896
|
+
start(): Promise<void>;
|
|
7897
|
+
/** Stop the server and all active streams. */
|
|
7898
|
+
stop(): Promise<void>;
|
|
7899
|
+
/** The actual port the server is listening on (available after start()). */
|
|
7900
|
+
get port(): number | undefined;
|
|
7901
|
+
/** The go2rtc-compatible source URL. */
|
|
7902
|
+
get go2rtcSourceUrl(): string | undefined;
|
|
7903
|
+
/** Number of currently connected clients. */
|
|
7904
|
+
get clientCount(): number;
|
|
7905
|
+
private handleClient;
|
|
7906
|
+
private feedClient;
|
|
7907
|
+
/**
|
|
7908
|
+
* Convert a native frame to wire-ready Annex-B.
|
|
7909
|
+
* Audio frames are skipped — raw TCP carries only video (Annex-B).
|
|
7910
|
+
* go2rtc auto-detects the codec from SPS/PPS/VPS NALUs.
|
|
7911
|
+
*/
|
|
7912
|
+
private convertFrame;
|
|
7913
|
+
/** Check if an Annex-B buffer contains a keyframe (IDR for H.264, IRAP for H.265). */
|
|
7914
|
+
private isAnnexBKeyframe;
|
|
7915
|
+
/** Split Annex-B byte stream into individual NAL units. */
|
|
7916
|
+
private static splitAnnexBNals;
|
|
7917
|
+
private startNativeStream;
|
|
7918
|
+
private stopNativeStream;
|
|
7919
|
+
private removeClient;
|
|
7920
|
+
private scheduleStop;
|
|
7921
|
+
}
|
|
7922
|
+
|
|
7782
7923
|
/**
|
|
7783
7924
|
* Baichuan HTTP Stream Server - Serves a Baichuan video stream over HTTP (MPEG-TS).
|
|
7784
7925
|
* A simpler alternative to an RTSP server.
|
|
@@ -8751,4 +8892,4 @@ declare class CompositeRtspServer extends EventEmitter<{
|
|
|
8751
8892
|
getClientCount(): number;
|
|
8752
8893
|
}
|
|
8753
8894
|
|
|
8754
|
-
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 };
|
|
8895
|
+
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, Go2rtcTcpServer, type Go2rtcTcpServerOptions, 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, discoverViaArpTable, discoverViaDhcpListener, discoverViaHttpScan, discoverViaOnvif, discoverViaTcpPortScan, 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 };
|