What's new
Battery cameras behind a Home Hub or NVR
- A battery camera paired to a Home Hub (or an NVR) has no UID of its own in reostream, so it was treated like a wired camera and its streams ran around the clock, which keeps it awake and drains it in days. Set
battery = trueon it (or tick Battery under Settings > Camera list) and it sleeps until someone watches, like any other battery camera.wake_on_rtsp = truelets an RTSP reader such as go2rtc wake it too. Motion for these comes throughmotion_topic, and the battery level isn't read yet. See "Battery cameras behind a Home Hub or NVR" in docs/setup.md (#43, thanks Syst3m1cAn0maly for the writeup).
Lighter on CPU and memory
- reostream no longer packs video into the HTTP
.tsformat when nothing is reading it, which is most setups where Frigate reads RTSP. It also reads each camera message's header much faster and reuses its buffers. On my 23-stream fleet that's 20% less CPU per Mbps, and memory down from 95 MB to 68 MB.
Fixes
- Two-way talk offers G.711 first again, with 16 kHz PCM after it. Since v0.2.4 PCM came first, and some setups lost the talk button in Frigate (#50, thanks xhbl for digging into it). If yours is still missing it on this version, let me know on #50.
- Behind an NVR, a camera that dropped and came back could have its
_subpath carry its main stream too, at about twice the frame rate, until reostream restarted. reostream now only takes a stream's video from the request it made for it, and logs it when the recorder sends one it didn't ask for (#49, thanks kgibbons04 for the detailed report). - A battery camera whose motion sensor wakes it every minute or two for nothing (wind in a field) no longer has its stream woken every time: after 3 wakes in 10 minutes reostream stops waking it for motion for 15 minutes, longer if it keeps going, and logs it.
motion_wake = falseon the camera turns its live motion off altogether. The camera's own recording isn't affected (#48, thanks xerxes201). - An RTSP session that set up a stream and closed without playing it could make reostream undercount the readers still playing.
Docs
- New on the tested list: D800, RLC-410W, RLC-1224A, Omvi X16 PoE and Omvi 2i PoE, plus newer firmware on the Duo 3 PoE and Lumus Pro, and main and sub into Frigate on the RLC-522. Thank you all!
Update
docker pull ghcr.io/volttech21/reostream:latest, then recreate the container (your config is kept). On Unraid, if Check for Updates doesn't pick it up, use Force Update in the Docker tab's Advanced View.