Skip to content

Commit

Permalink
protocol/videoprotocol: add screenshot function
Browse files Browse the repository at this point in the history
Extend the protocol with the screenshot function.

Signed-off-by: Rouven Czerwinski <[email protected]>
  • Loading branch information
Emantor committed Feb 17, 2025
1 parent f0e1bbf commit 59d9a8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions labgrid/protocol/videoprotocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ def get_qualities(self):
@abc.abstractmethod
def stream(self, quality_hint=None):
raise NotImplementedError

@abc.abstractmethod
def screenshot(self, filename):
raise NotImplementedError

0 comments on commit 59d9a8c

Please sign in to comment.