Motion - Feature Request 2009x 07x 19x 034851

Feature Request: stop capturing or close video device when there's nothing to do with the data

Description

when only http streaming is used and there are no active clients, it is wasteful to keep grabbing images, even at 2 per second - every cpu-second counts when laptop is on battery. further, device could even be outright closed in such case, reducing power draw even more. so my suggestion is: add idleness detection and close device when there are no active "consumers" - i.e. no jpeg, no movie output configured and no active http clients. safeguards may need to be built in to prevent frequent "flapping" of the device - i.e. when client comes and goes. to tackle that, some hysteresis interval will need to be incorporated into inactivity detection logic. also, opening the device may take noticeable time which will introduce delay before actual pictures are served when device is first turned on. this may be unacceptable for some users, so provide an option for them to disable this logic and keep camera always on no matter what.

-- DeomidRyabkov - 19 Jul 2009

Follow up

Comments

FeatureRequestForm edit

TopicTitle stop capturing or close video device when there's nothing to do with the data
FeatureRequestStatus New
SubmittedBy WikiGuest
Topic revision: r1 - 19 Jul 2009, DeomidRyabkov
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.