mirror of
https://github.com/koush/scrypted.git
synced 2026-05-06 22:20:28 +01:00
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>
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.