Motion - Webcam Timeout
You are here: Foswiki>Motion Web>WebcamTimeout (11 Jul 2006, PeterHolik)Edit Attach

Timeout Webcam after 10 seconds nothing could be written

Description of Patch

If a webcamthread can not write for 10 seconds (caused by EAGAIN) drop the connection.

The connection is dropped by assuming errno = ETIMEDOUT.

Hint: The 10 seconds timeout starts after the sendbufferqueue of the linux tcpstack is full.

Maybe there is a discussion about the timeout of 10 seconds, or should this be configureable?

Installation of Patch

Download the patch file. Then copy it to the motion source directory and issue the command

patch < webcam_timeout.diff

Then re-build Motion and test the patch.

Change History of Patch

  • 1.0 Initial revision

Discussion and Comments


Topic revision: r1 - 11 Jul 2006, PeterHolik
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.