Question:  Is there an optimal setup to run Camera.ui on?
I've just discovered Camera.UI, I've previously run Homebridge for home automation alone.

I run my Homebridge instance as a Ubuntu Server VM on an ESXi 6.7 server running on a Dell R720 server.  As it was previously only used for home automation and integration with HomeKit, the VM only has 32gb of storage and had 2gb Ram.  I have a video card that I use with my MacOS VM which runs security spy.  

So far, while I can get all the features of HSV to work, the video is really choppy and inconsistent.  I've optimised my camera feeds as much as possible (key frames etc) but have to sacrifice bit rate and even resolution in order to get a half decent video service via Camera.ui.  I also had to turn one of my cameras to H.264 from H.265.  I'm only running 4 cameras, so surely it isn't so taxing on my system?

My question is:  Is there anything I should do to make my VM more powerful in order to run Camera.ui? Or is there an optimal setup?  Are my problems due to running in Ubuntu Server? Perhaps I should shut the MacOS instance down and passthrough my video card to the Ubuntu server that runs Homebridge? 

Camera.UI has opened my eyes, I'd really like to ditch the power hungry ESXi all together and run on a pi4 or similar, but the experience has to be consistent.

Please help. Thank you.