How to livestream video feed with opencv-python over Internet?


I am asking if it is possible to use openCV to livestream a video feed to a streaming site like youtube? I am using realsense d435i camera and is able to open the video feed on OpenCV, but is unsure on how to proceed to livestream the said video feed online such that it can be viewed through the Internet. Any advice or libraries used is appreciated.

you can use pyvirtualcam, combined with whatever program is required for the streaming (OBS Studio?)