Stream video from OpenCV to Web Browser

Hello,

I am looking for assistance in finding the best solution for sending a video stream from a USB camera with minimal latency.

My goal is to capture frames using OpenCV, perform some processing on them, and then send both the original video stream and the processed analytics to a web browser. I plan to implement this in C++.

Specifically, my question is: What is the best technical solution for sending the original video stream to a web server after capturing the frames with OpenCV? I need to capture the frames because I want to perform some processing, but at the same time, I want to send the original stream to the web server.

Thank you for your help.