How to Cast VLC via wifi on Android TV without lag and downwards compression?

I have no idea how you fix this. But, can confirm I can cast from VLC to my Chromecast dongle in the back of my LCD TV without any problems