I don't know why but due to some strange reason, I am unable to cast the screen on my device. YouTube and other apps with chromecast support are working perfectly fine. I am on stock rom with google play services 5.0.84. Chromecast apk version 1.7.4.
The way it happens is that when I click on cast screen on chromecast app, it tries to connect, the TV goes blank for 5 sec and then it doesn't connect. Any help would be highly appreciated.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?