IF the option is available.......
Firstly if your TV is model 3700, then it won't work.
Secondly the roku OS needs to be 7.7 or above for the setup to be automatic. If lower then the TV needs an update or setup manually
Those instructions are from roku
Personal experience - when option available on other phones
Turn off any VPN on both phone and TV, and try.
I can use FCAST as an app on my Nvidia Shield to see what is playing on my phone, but I dont know why that works