It’s possible to cast videos and music to Kodi transforming your Kodi box into a poor man’s Chromecast. Android devices can cast or stream content by leveraging the DLNA standard in conjunction with an app. In order to take advantage of this functionality a few features must be enabled within Kodi.
Before Kodi can be used to support casting, Airplay, UPnP, and DLNA must be enabled. In the case of Kodi running on Windows computer (such as an HTPC), I recommend downloading and installing Apple’s Bonjour Print Services for Windows. Bonjour is an open-source network service discovery protocol which allows devices to locate Kodi instances on your network. Bonjour is not required for casting from Android, but it will make discovering Kodi much easier.
OPTIONAL: If running Windows, Browse to this Apple Knowledge Base Article to download and install the Bonjour Print Services for Windows application. Reboot the host after installation.
There’s a few different Apps for casting or streaming from Android to Kodi. Download either Yatse or Kore, add your Kodi host, and use the Share controls from an application such as YouTube to Play on Kodi.
Yatse is not just for casting media but also a full-featured remote control. It’s probably the most feature-rich Kodi companion app available on Android.
Kore is the official Android remote app from Kodi.
To cast, select the Share menu from an app such as YouTube, OneDrive, or Photos and select Play on Kodi.