Files
scrypted/plugins/reolink
JoshADC eefab888a7 reolink: logout expired token sessions before renewing (#1979)
The ReolinkCameraClient never called the Logout API before requesting a
new token, causing stale sessions to accumulate on the camera. When the
camera's session limit was reached (~68 min cycle), it would close the
RTMP/RTSP connection, dropping the stream.

Add a logout() method that releases the old token session before login()
requests a new one, matching the pattern already used by ReolinkNvrClient.
This prevents session buildup and eliminates periodic stream drops.

Fixes #1873

Co-authored-by: Josh Casada <joshcasada@Joshs-Mac-mini.ts.net lan>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 08:23:11 -07:00
..
2024-11-15 10:02:02 -08:00
2025-11-27 18:24:35 -08:00
2025-11-27 18:24:35 -08:00
2023-08-20 11:02:29 -07:00

Reolink Plugin for Scrypted

Reolink Cameras offer both RTMP and RTSP streams. RTMP streams are more reliable than RTSP on Reolink Cameras, and offers 3 streaming tiers. RTMP streams will be preferred by default. The defaults can be changed in the camera's Rebroadcast Stream Management settings.

Feature Support

* Reolink Cameras
    * Two Way Audio - Reolink Two Way Audio is not supported. It is a proprietary and undocumented protocol.
* Reolink Doorbells
    * Enable the Doorbell checkbox in the Scrypted settings for the Reolink device.
    * The Reolink Doorbell supports two way audio via ONVIF. Reolink Cameras do not support this feature.

Some Reolink cameras support the ONVIF protocol. It may be worth experimenting with the ONVIF plugin instead. Using the Reolink Plugin is generally recommended due to the additional stream that is made available.

Camera Setup

Ensure that the following Server Settings are enabled. HTTPS must be disabled due to Reolink not handling https redirects properly.

image