Delegate starting stream worker
This commit is contained in:
parent
6e22376d9e
commit
2c38a7dc43
2 changed files with 3 additions and 6 deletions
|
|
@ -30,15 +30,10 @@ class BaseCamera(metaclass=ABCMeta):
|
|||
self.event = ClientEvent()
|
||||
self.stop = False # Used to indicate that the stream loop should break
|
||||
|
||||
self.stream_timeout = 20
|
||||
|
||||
self.stream_active = False
|
||||
self.record_active = False
|
||||
self.preview_active = False
|
||||
|
||||
# Start the stream worker on init
|
||||
self.start_worker()
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def configuration(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue