Skip to content

Commit

Permalink
fix video stream
Browse files Browse the repository at this point in the history
  • Loading branch information
previ committed Dec 24, 2023
1 parent e929c0e commit c89f25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coderbot/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def streamVideo():
h.add('Age', 0)
h.add('Cache-Control', 'no-cache, private')
h.add('Pragma', 'no-cache')
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")
except Exception:
pass

Expand Down

0 comments on commit c89f25c

Please sign in to comment.