Skip to content

Commit 32a1b1b

Browse files
committed
protocol/videoprotocol: add screenshot function
Extend the protocol with the screenshot function. Signed-off-by: Rouven Czerwinski <[email protected]>
1 parent 4b4cfa9 commit 32a1b1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

labgrid/protocol/videoprotocol.py

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ def get_qualities(self):
99
@abc.abstractmethod
1010
def stream(self, quality_hint=None):
1111
raise NotImplementedError
12+
13+
@abc.abstractmethod
14+
def screenshot(self, filename):
15+
raise NotImplementedError

0 commit comments

Comments
 (0)