Get live vídeo feed from camera

HI, i need to get live feed from my android camera (without opening It) and see this live feed on a video tag and send this data to an server. How can i do that?

Like an live video chat does?

If you don’t get a response on how to do it with Ionic then take a look at navigator.getUserMedia and PWA.