Skip to content

Commit c89f25c

Browse files
committed
fix video stream
1 parent e929c0e commit c89f25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderbot/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def streamVideo():
188188
h.add('Age', 0)
189189
h.add('Cache-Control', 'no-cache, private')
190190
h.add('Pragma', 'no-cache')
191-
return Response(video_stream(cam), headers=h, mimetype="multipart/x-mixed-replace; boundary=--BOUNDARYSTRING")
191+
return Response(video_stream(Camera.get_instance()), headers=h, mimetype="multipart/x-mixed-replace; boundary=--BOUNDARYSTRING")
192192
except Exception:
193193
pass
194194

0 commit comments

Comments
 (0)