Connecting a computer to Android TV set-top box opens up new opportunities: from watching movies on the big screen to using the TV as a second monitor. However, many users experience compatibility issues, image lag or lack of sound. In this article, we will look at all the current methods of connecting a PC to set-top boxes based on Android TV (including models from Xiaomi Mi Box, NVIDIA Shield, Mecool and others), and also give specific recommendations for setting up for different scenarios.

It is important to understand that the connection method depends on your goals. For example, to broadcast video from a laptop, Miracast or Google Castis enough, but for games or working with graphic editors you will need wired HDMI connection with minimal latency. We will consider each option taking into account technical nuances - from the choice of cables to screen resolution settings.

If you have previously tried to connect, but encountered errors (for example, No Signal on the screen or lack of sound), at the end of the article there is a section with solutions to typical problems. We have also collected current data on supported resolutions and protocols for popular set-top box models - this information will help you avoid common mistakes.

1. Connecting via HDMI: wired method with minimal latency

The most reliable way to connect a computer to Android TV set-top box is to use HDMI cable. This method guarantees stable image and sound transmission without delays, which is critical for games, video editing or office work. However, there are nuances here: not all set-top boxes support HDMI input port (most have only output), so you may need HDMI splitter or capture (video capture device).

If your set-top box (for example NVIDIA Shield Pro 2019) is equipped with a full-fledged one HDMI-IN, the connection comes down to the following:

  • ๐Ÿ”Œ Connect one end HDMI cable to the PC video card, the other to the port HDMI-IN on the set-top box.
  • ๐Ÿ“บ Switch the signal source on the set-top box: Settings โ†’ Inputs โ†’ HDMI-IN.
  • ๐Ÿ–ฅ๏ธ On your computer, select the screen duplication or screen extension mode (Win + P in Windows).
  • ๐Ÿ”Š Check the sound: if there is none, set the set-top box as the default output device in the Windows Control Panel.

For set-top boxes without HDMI-IN (for example, Xiaomi Mi Box S or Mecool KM2) you will need HDMI capcher (from 3,000 โ‚ฝ), which converts the signal from the PC into a stream read by the set-top box. This solution is relevant for streamers or those who want to use the TV as a second monitor without a wire.

๐Ÿ’ก

If, when connecting via HDMI, the image is โ€œcroppedโ€ at the edges, check the scaling settings in the video card drivers (NVIDIA Control Panel or AMD Radeon Settings). Disable the parameter Underscan/Overscan.

โš ๏ธ Attention: When using captchers with a higher resolution 1080p a delay of up to 100 ms may occur. For games, this is critical - choose devices that support HDMI 2.1 i 4K@60Hz (for example, Elgato 4K60 Pro MK.2).

2. Wireless connection via Miracast (Wi-Fi Direct)

Miracast is a wireless image transmission standard supported most modern Android TV set-top boxes and Windows (starting from version 8.1). The advantage of the method is the absence of wires, but there are also disadvantages: possible delays (up to 50 ms) and dependence on the quality of the Wi-Fi network.

To connect via Miracast:

  1. On the set-top box, activate the reception mode:
    • ๐Ÿ“ฑ For Xiaomi Mi Box: Settings โ†’ Connected devices โ†’ Wireless display.
    • ๐Ÿ“บ For NVIDIA Shield: Settings โ†’ Display and sound โ†’ Wireless display.
  • On a computer:
    • ๐Ÿ–ฅ๏ธ Windows: click Win + K, select your set-top box from the list.
    • ๐Ÿง Linux: use the utility gnome-network-displays (install via sudo apt install gnome-network-displays).
    • ๐Ÿ”„ Confirm the connection on both devices.

    Miracast supports resolution up to 1080p@30Hz (on some set-top boxes - 4K@30Hz), but for stable operation the router must support dual-band Wi-Fi (5 GHz). Otherwise, artifacts are possible. and lags.

    Make sure that the set-top box and PC support Miracast|

    Check that both devices are connected to the same Wi-Fi network (5 GHz)|

    Disable VPNs and firewalls that may block the connection|

    Update the Wi-Fi adapter drivers on your computer

    -->

    Set-top box model Miracast support Max. resolution Latency (ms)
    Xiaomi Mi Box S Yes 4K@30Hz 30โ€“50
    NVIDIA Shield TV Pro (2019) Yes 4K@60Hz 20โ€“40
    Mecool KM2 Yes 1080p@60Hz 40โ€“60
    H96 Max X3 Partially (firmware required) 1080p@30Hz 50โ€“80
    โš ๏ธ Attention: On set-top boxes with processor Amlogic S905X (for example, Tanix TX6) Miracast may be unstable due to problems with drivers. In this case, use alternative methods (Google Cast or USB-OTG).

    3. Screen casting via Google Cast (Chromecast)

    If your Android TV set-top box supports Google Cast (built-in Google TV or as a separate application), you can broadcast your computer screen through a browser Google Chrome or specialized apps. This method is convenient for displaying presentations, videos from the Internet or streams, but is not suitable for games due to high latency (100โ€“300 ms).

    Instructions for Windows/macOS:

    • ๐ŸŒ Install Google Chrome (if not installed).
    • ๐Ÿ”— Connect the set-top box and computer to the same Wi-Fi network.
    • ๐Ÿ–ฅ๏ธ In Chrome, open the menu (โ‹ฎ) โ†’ Cast โ†’ Cast tab or Cast screen.
    • ๐Ÿ“บ Select your set-top box from the list of devices.

    For Linux, use the utility mkchromecast:

    sudo apt install mkchromecast
    

    mkchromecast --video --screen

    This method allows you to broadcast the entire desktop, but the quality will be lower than when using specialized applications.

    ๐Ÿ“Š Which connection method do you use most often?
    HDMI
    Miracast
    Google Cast
    USB
    I donโ€™t connect

    Important: When broadcasting via Google Cast, audio and video may become out of sync. To reduce latency, close all background apps on your computer and use a router that supports standard Wi-Fi 6.

    4. Connection via USB (OTG) for control and file transfer

    If you do not need to duplicate the screen, but simply control the set-top box from a computer or transfer files, USB connection (mode OTG) is suitable. This method works on almost all Android TV set-top boxes, but requires enabling USB debugging.

    Step-by-step guide:

    1. ๐Ÿ”ง On the set-top box:
      • Go to Settings โ†’ About TV (or set-top box) โ†’ Build number.
      • Click on Build number 7 times to activate developer mode.
      • Go back to Settings โ†’ For developers and enable USB debugging.
  • ๐Ÿ–ฅ๏ธ On the computer:
    • Install ADB drivers (download from Google or via SDK Platform Tools).
    • Connect the set-top box to the PC via USB cable (use port USB 3.0 for stability).
    • Open the command line and check the connection:
      adb devices

      If the set-top box is displayed in the list, the connection is established.

    Now you can:

    • ๐Ÿ“ Transfer files via adb push /path/to/file /sdcard/.
    • ๐ŸŽฎ Control the set-top box from a PC via scrcpy (screen mirroring utility).
    • ๐Ÿ”ง Install APK files with command adb install app.apk.
    How to resolve the "Unauthorized" error when connecting to ADB?

    If during execution adb devices you see the status unauthorized, a window asking for permission to debug should appear on the set-top box screen. Confirm it. If the window does not appear:

    1. Reconnect the cable.

    2. Execute adb kill-serverthen adb start-server.

    3. Check whether debugging is enabled in the set-top box settings.

    โš ๏ธ Attention: On some set-top boxes (for example, X96 Mini), the USB port may not support OTG due to firmware limitations. In this case, you will need to flash a device that supports this function.

    For gamers and those who want to stream content with minimal latency, applications Steam Link or Moonlightare suitable. They allow you to stream games from a PC to Android TV set-top box via a local network with a delay of up to 10โ€“20 ms (with a good router).

    Steam Link (for games from Steam):

    • ๐ŸŽฎ Install Steam on your computer and Steam Link on your set-top box (available in Google Play).
    • ๐ŸŒ Connect both devices to the same network (preferably via cable or Wi-Fi 6).
    • ๐Ÿ–ฅ๏ธ Launch Steam on the PC, then open Steam Link on the console and follow the pairing instructions.

    Moonlight (for any games and applications):

    • ๐ŸŒ™ Install Sunshine (server) on the PC (GitHub) and Moonlight to the console.
    • ๐Ÿ”‘ Set up a paired connection via IP address your computer.
    • ๐ŸŽฎ Launch games or desktop with resolution up to 4K@120Hz (depending on hardware).

    For stable operation:

    • ๐Ÿ“ถ Use wired connection (Ethernet) for PC and set-top box.
    • ๐Ÿ”ง In settings Moonlight select bitrate 50 Mbps and codecs HEVC (for 4K) or AV1 (for 1080p).
    • ๐Ÿ”‡ Disable background downloads on your PC (torrents, updates).
    ๐Ÿ’ก

    Moonlight provides better streaming quality than Steam Link, but requires manual server setup. For beginners, itโ€™s easier to start with Steam Link, and for advanced users - Moonlight with fine-tuning the bitrate.

    6. connection

    Even with correct connection, errors may occur. Below are solutions for typical situations:

    Problem Possible cause Solution
    No Signal on the screen Incorrect resolution or refresh rate On the PC, set the resolution 1920ร—1080@60Hz and disable Underscan in the video card drivers.
    No sound Incorrect device output In Windows: Control Panel โ†’ Sound โ†’ Set the set-top box as the default device.
    Miracast delay Weak Wi-Fi signal Switch to 5 GHz or use an access point on your PC (mHotspot).
    The set-top box is not displayed in adb devices Drivers are not installed Download Google USB Driver and reinstall via Device Manager.
    Artifacts when streaming via Moonlight Low bitrate or problems with codecs Increase the bitrate to 50โ€“100 Mbps and select codecs HEVC or AV1.

    If the problem is not resolved:

    • ๐Ÿ”„ Restart the set-top box and computer.
    • ๐Ÿ“‹ Check resolution compatibility: some set-top boxes (for example, H96 Max) do not support 4K@60Hz via HDMI.
    • ๐Ÿ”ง Update the set-top box firmware and video card drivers on the PC.
    โš ๏ธ Attention: On set-top boxes with a processor Rockchip (for example, X88 Pro 10), there may be no support for HDCP 2.2, which is why Netflix and other services will not work when connected via HDMI. 4K when connected via HDMI.

    FAQ: Answers to frequently asked questions

    Is it possible to connect a MacBook to an Android TV set-top box?

    Yes, but with restrictions:

    • ๐ŸŽ For Miracast use AirParrot 3 (paid software).
    • ๐ŸŒ For Google Cast a browser is suitable Chrome ("Broadcast" function).
    • ๐Ÿ”Œ For HDMI required adapter USB-C โ†’ HDMI (for example, from Anker).

    macOS does not have built-in support for Miracast, so you will have to use third-party solutions.

    Why is there no sound when connected via HDMI?

    Causes and solutions:

    1. Wrong output device: B Windows go to Control Panel โ†’ Sound and select the set-top box as the default device.
    2. HDMI cable without sound support: Use the cable marked High Speed with Ethernet.
    3. Set-top settings: In Settings โ†’ Sound select HDMI or Auto.

    If there is still no sound, try another HDMI port on your TV or set-top box.

    What is the maximum resolution supported by my set-top box?

    Depends on the model:

    • Xiaomi Mi Box S: 4K@60Hz (HDMI 2.0).
    • NVIDIA Shield TV Pro: 4K@60Hz s support Dolby Vision.
    • Mecool KM2/KM3: 4K@60Hz, but without HDCP 2.2 (problems with Netflix in 4K).
    • H96 Max X3: 1080p@60Hz (depending on the firmware).

    Check the characteristics of your model on the manufacturer's official website.

    How to reduce the delay when playing via Moonlight?

    Optimization for minimal lag:

    1. ๐Ÿ“ถ Connect the PC and set-top box to the router via cable (Ethernet).
    2. ๐Ÿ”ง In the settings Moonlight select:
      • Bitrate: 50โ€“100 Mbps.
      • Codecs: HEVC (for NVIDIA) or AV1 (for AMD/Intel).
      • Resolution: 1080p@60Hz (even if the monitor supports 4K).
  • ๐Ÿ”‡ Close all background apps on your PC (especially torrents and updates).
  • ๐ŸŽฎ In games, disable vertical sync (V-Sync).
  • With these settings, the latency will be reduced to 10โ€“15 ms, which is acceptable for most games.

    Is it possible to use an Android TV set-top box as a second monitor for a PC?

    Yes, but with caveats:

    • ๐Ÿ”Œ Wired method: Required HDMI-capcher (for example, Elgato HD60 S+), since most set-top boxes do not have HDMI-IN.
    • ๐Ÿ“ถ Wireless method: Via Miracast or Steam Link, but there will be a delay (not suitable for working with graphics).
    • ๐Ÿ–ฅ๏ธ For office tasks: It is better to use RDP (for example, Microsoft Remote Desktop) or VNC.

    For full work with two monitors, it is recommended to use specialized devices, for example USB-C docking station with support for DisplayPort.