Assuming your device has an IR blaster, you may quickly generate a control for your webcam. You can use Redmi Wireless or another program to create a control for your webcam.