Those bad experiences are usually due to poor wifi equpment though - many routers mess up mDNS which means that devices that relying broadcasts work poorly. In your case Chromecasts, Avahi and similar (AirPlay falls also into this category).
So I'd check your router if you keep having issues.
So I'd check your router if you keep having issues.