Added buffer_count as an argument of streaming
This commit is contained in:
parent
968bd339c2
commit
2d946637eb
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ class CameraProtocol(Protocol):
|
|||
"""Acquire one image from the preview stream and return its size"""
|
||||
...
|
||||
|
||||
def start_streaming(self, main_resolution) -> None:
|
||||
def start_streaming(self, main_resolution, buffer_count) -> None:
|
||||
"""Start (or stop and restart) the camera with the given resolution
|
||||
for the main stream"""
|
||||
...
|
||||
|
|
@ -193,7 +193,7 @@ class CameraStub(BaseCamera):
|
|||
raise NotImplementedError("Cameras must not inherit from CameraStub")
|
||||
|
||||
@thing_action
|
||||
def start_streaming(self, main_resolution) -> None:
|
||||
def start_streaming(self, main_resolution, buffer_count) -> None:
|
||||
"""Start (or stop and restart) the camera with the given resolution
|
||||
for the main stream"""
|
||||
raise NotImplementedError("Cameras must not inherit from CameraStub")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue