Rust client for the Reolink API. It is based on the CGI/API version 8 (2023-4).
blocking
(default): provides the blockingReolinkClient
chrono
(default): providesInto
andFrom
conversions for theTime
type.
- Async client
- Automatically get a token for APIs that require it (e.g.
download
) - Automatic token renewal
- Automatic logout when the client is dropped, to avoid token starvation (each device accepts a limited number of live tokens)
- Library-specific types/enums where applicable
- A download API that gives access to headers (e.g. byte-range request header, response content-type)
See the Camera HTTP API Version 8 - 2023-4 for details about each API.
System:
- GetAbility
- GetDevInfo
- GetDevName
- SetDevName
- GetTime
- SetTime
- GetAutoMaint
- SetAutoMaint
- GetHddInfo
- Format
- Upgrade
- Restore
- Reboot
- UpgradePrepare
- GetAutoUpgrade
- SetAutoUpgrade
- CheckFirmware
- UpgradeOnline
- UpgradeStatus
- GetChannelStatus
Security:
- Login
- Logout
- GetUser
- AddUser
- DelUser
- ModifyUser
- GetOnline
- Disconnect
- GetSysCfg
- SetSysCfg
Network:
- GetLocalLink
- SetLocalLink
- GetDdns
- SetDdns
- GetEmail
- SetEmail
- GetEmailV20
- SetEmailV20
- TestEmail
- GetFtp
- SetFtp
- GetFtpV20
- SetFtpV20
- TestFtp
- GetNtp
- SetNtp
- GetNetPort
- SetNetPort
- GetUpnp
- SetUpnp
- GetWifi
- SetWifi
- TestWifi
- ScanWifi
- GetWifiSignal
- GetPush
- SetPush
- GetPushV20
- SetPushV20
- GetPushCfg
- SetPushCfg
- GetP2p
- SetP2p
- GetCertificateInfo
- CertificateClear
- GetRtspUrl
Video input:
- GetImage
- SetImage
- GetOsd
- SetOsd
- GetIsp
- SetIsp
- GetMask
- SetMask
- GetCrop
- SetCrop
- GetStitch
- SetStitch
Enc:
- GetEnc
- SetEnc
Record:
- GetRec
- SetRec
- GetRecV20
- SetRecV20
- Search
- Download
- Snap
- Playback
- NvrDownload
PTZ:
- GetPtzPreset
- SetPtzPreset
- GetPtzPatrol
- SetPtzPatrol
- PtzCtrl
- GetPtzSerial
- SetPtzSerial
- GetPtzTattern
- SetPtzTattern
- GetAutoFocus
- SetAutoFocus
- GetZoomFocus
- StartZoomFocus
- GetPtzGuard
- SetPtzGuard
- GetPtzCheckState
- PtzCheck
Alarm:
- GetAlarm
- SetAlarm
- GetMdAlarm
- SetMdAlarm
- GetMdState
- GetAudioAlarm
- SetAudioAlarm
- GetAudioAlarmV20
- SetAudioAlarmV20
- GetBuzzerAlarmV20
- SetBuzzerAlarmV20
- AudioAlarmPlay
LED:
- GetIrLights
- SetIrLights
- GetPowerLed
- SetPowerLed
- GetWhiteLed
- SetWhiteLed
- GetAiAlarm
- SetAiAlarm
- SetAlarmArea
AI:
- GetAiCfg
- SetAiCfg
- GetAiState