Strictly speaking about screen casting, the subject of this thread.
If your device wasn't among the handful announced by Google to receive early stock support, then this mod writes to a protected part of the /data partition and therefore requires root access.
If you want to cast local files compatible with Chromecast or use media services such as Plex, Netflix, Hulu, etc etc, you ought to have no problem with with a stock anything.