We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e929c0e commit c89f25cCopy full SHA for c89f25c
coderbot/api.py
@@ -188,7 +188,7 @@ def streamVideo():
188
h.add('Age', 0)
189
h.add('Cache-Control', 'no-cache, private')
190
h.add('Pragma', 'no-cache')
191
- return Response(video_stream(cam), headers=h, mimetype="multipart/x-mixed-replace; boundary=--BOUNDARYSTRING")
+ return Response(video_stream(Camera.get_instance()), headers=h, mimetype="multipart/x-mixed-replace; boundary=--BOUNDARYSTRING")
192
except Exception:
193
pass
194
0 commit comments