Make use of camera in pc and live stream

I want to live stream a video captured from camera using p5.js.
I’m using this camera: AR0234CS, Full HD, 120FPS, USB3 Global Shutter Camera
This is possible? any ideas how to implement?

Hi! Welcome to the forum!

Did you try the video library already? It might work out of the box

Are you using p5.js? If so please set the topic category to p5.js not Processing. And if so did you try createVideo?

(By the way, if you just want to stream video to, for example, YouTube, I highly recommend to use OBS Studio which supports video input and screen capture to video recording and streaming. Even if you want to modify the image with Processing or p5.js, you might end up using OBS to grab the window and stream to the server)