OpenCV, C++ Socket video stream

Currently I have a c++ socket that when connected takes a picture from a camera and sends it to the client as a PNG.

How would I go about converting this into a video stream?

What is the MIME type for a livestream?
Do I need to save the video on one thread and send it on another?
Do i need to have a client facing application or can I just send the raw images and the browser will render it into a video.

Thanks in advance.
Registered users can post here. Sign in or register to post.