Moto G5 Screen Mirroring

When i connect my tv in wi fi direct on my phone both places i get the message of connected i e.
Moto g5 screen mirroring. I did all the instructions correctly but screen mirroring just doesn t work. Features such as timeline nearby sharing focus assist and many more were introduced. Microsoft updated the connect app and gave it a native support for screen mirroring. Use a tv with chromecast built in.
Make sure your phone and chromecast or tv with chromecast are connected to the same wi fi network. I am using moto g5 plus and samsung 55 6900 series smart tv. I made sure screen mirroring option is on always allow but when i get to my android phone roku 3 doesn t show up when i click cast. To mirror your screen on a tv showing all apps and screens you use on your phone you must.
However when i click on cast on my moto it keep searching the device and don t cast anything to tv. With in moto wi fi direct as well as my tv screen. I m using a moto g6 so i m not sure if that has to do with it. One of the most important feature which went unnoticed was the ability to mirror your smartphones display on your pc wirelessly.