We can send content directly from the Xiaomi smartphone to suitable devices, such as TVs or smart TVs or Fire TV sticks, for direct playback of files. To do this, the smartphone must be on the same wireless network as the receiving device. The Xiaomi device first establishes the connection.

Android 10 | MIUI 12.0
Wi-Fi Direct -  Open the  Settings
Wi-Fi Direct -  Tap on  Wi-Fi
Wi-Fi Direct -  Tap on  Additional settings
Wi-Fi Direct -  Tap on  Wi-Fi Direct
Wi-Fi Direct -  Choose an  available device  to send an invitation
  1. Open the Settings
  2. Tap on Wi-Fi
  3. Tap on Additional settings
  4. Tap on Wi-Fi Direct
  5. Choose an available device to send an invitation

Xiaomi Instructions