while True loop for recording
This commit is contained in:
parent
6ba71b52e7
commit
7ad0724f0e
1 changed files with 15 additions and 14 deletions
|
@ -118,6 +118,7 @@ class CameraPiBackend(Backend):
|
||||||
while True:
|
while True:
|
||||||
self.camera.wait_recording(2)
|
self.camera.wait_recording(2)
|
||||||
else:
|
else:
|
||||||
|
while True:
|
||||||
connection = self.server_socket.accept()[0].makefile('wb')
|
connection = self.server_socket.accept()[0].makefile('wb')
|
||||||
self.logger.info('Accepted client connection on port {}'.
|
self.logger.info('Accepted client connection on port {}'.
|
||||||
format(self.listen_port))
|
format(self.listen_port))
|
||||||
|
|
Loading…
Reference in a new issue