Hi. I try to send a live stream from videocapture directly. But it appear error : message too long Do i need process the stream before sending? I hope someone can do me a favor . THX in advance. here is my testing code: import cv2 from socket import *
cap = cv2.VideoCapture(0)
sock = socket(AF_INET, SOCK_DGRAM)
while (cap.isOpend()): t, frame = cap.read() ser.sendto(frame, addr)
cap.release() cv2.destoryAllWindows()