Cv2.videocapture(0) opencv not recieveing webcam video feed

I am using Opencv and I am able to receive video feed from webcam using cv2.videocapture(0) on localhost but after deploying the project I can’t access web cam feed

It shows blank

I am not familiar with OpenCV. From opencv document I can find, cv2.videocapture(0) will capture video from the connected camera. I think it is why it doesn’t work after deploying it to Render since there is no connected camera in Render server.