Added ram-capture method

This commit is contained in:
Joel Collins 2020-01-15 11:53:24 +00:00
parent cdac9d0ac3
commit 397f6ef19f
2 changed files with 58 additions and 0 deletions

View file

@ -15,6 +15,11 @@ _actions = {
"view_class": camera.CaptureAPI,
"conditions": True,
},
"ramCapture": {
"rule": "/camera/ram-capture/",
"view_class": camera.RAMCaptureAPI,
"conditions": True,
},
"previewStart": {
"rule": "/camera/preview/start",
"view_class": camera.GPUPreviewStartAPI,