In this instance, I’m using Wi-Fi connection method.
Both the devices are connected. And, you are done.
Also, check it out the flip and rotate settings in client program to customize it as per your need. You can now use your android as webcam in the chatting program you want. Also, you can use the different connection method as per your convenience.
Hint: In your video chatting program (For instance: Skype), choose the video option as the method you are using (For instance: WO Webcam).