mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-23 12:58:37 +00:00
upgraded media video streaming
This commit is contained in:
parent
dd713c24cd
commit
2815296592
@ -247,7 +247,7 @@ class WebcamImageSender:
|
||||
|
||||
_, buffer = cv2.imencode('.jpg', frame)
|
||||
image_base64 = base64.b64encode(buffer)
|
||||
self.socketio.emit("image", image_base64.decode('utf-8'))
|
||||
self.socketio.emit("video_stream_image", image_base64.decode('utf-8'))
|
||||
|
||||
cap.release()
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user