This can be done with a few simple steps.
Download and install the DroidCam app from the Google Play Store on your Redmi Note.
Download and install the DroidCam Client app on your PC from the Dev47Apps website.
Connect your Redmi Note to your PC using a USB cable.
Open the DroidCam app on your Redmi Note and select "USB" as the connection method.
Open the DroidCam Client app on your PC and enter the IP address and port number displayed on your Redmi Note into the corresponding fields in the DroidCam Client app.
Click on the "Start" button to connect the DroidCam Client to the DroidCam app on your Redmi Note.
In your preferred video conferencing or streaming application, select "DroidCam" as the video source.