Jump to content

Miracast

From Wikipedia, the free encyclopedia

Miracast is a wireless communications standard created by the Wi-Fi Alliance which is designed to transmit video and sound from devices (such as laptops or smartphones) to display receivers (such as TVs, monitors, or projectors). It uses Wi-Fi Direct to create an ad hoc encrypted Wi-Fi connection[1] and can roughly be described as "HDMI over Wi-Fi", replacing cables in favor of radio waves.[2] Miracast is utilised in many devices and is used or branded under various names by different manufacturers, including Smart View (by Samsung),[3][4] SmartShare (by LG), screen mirroring (by Sony), easy mirroring (by Panasonic), Cast (in Windows 11) and Connect (in Windows 10), wireless display and screen casting.[5][6][7]

A related enterprise protocol named Miracast over Infrastructure (MS-MICE) functions using a central local area network instead and is supported in Microsoft Windows.[8]

Development

[edit]

The Wi-Fi Alliance launched the Miracast certification program at the end of 2012.[9] Devices that are Miracast-certified can communicate with each other, regardless of manufacturer. Nvidia announced support in 2012 for their Tegra 3 platform,[10] and Freescale Semiconductor, Texas Instruments, Qualcomm, Marvell Technology Group and other chip vendors have also announced their plans to support the Miracast standard.[11][12]

The Wi-Fi Alliance maintains a list of certified device models, which numbered over 13,200 as of 31 October 2024.[13]

Technical details

[edit]

Miracast is based on the peer-to-peer Wi-Fi Direct standard. It allows sending up to 1080p HD video (H.264 codec) and 5.1 surround sound (AAC and AC3 are optional codecs, mandated codec is linear pulse-code modulation – 16 bits 48 kHz 2 channels).[14] The connection is created via WPS and therefore is secured with WPA2. IPv4 is used on the Internet layer. On the transport layer, TCP or UDP are used. On the application layer, the stream is initiated and controlled via RTSP, RTP for the data transfer.[15][16][17][18]

Version history

[edit]
Version Date Remarks[19]
1.0 2012-08-24 Public release version
1.1 2014-04-24 Public release for HDCPv2.2 updates.
2.0 2017-04-21 Release 2 final version.
2.1 2017-07-21 Corrected heading errors in sections 4.3 and 4.4.
Miracast as a use for Wi-Fi Direct.[1]
Miracast hardware now supports HD, FHD and 4K screen streaming.

Functionality

[edit]

The technology was promoted to work across devices, regardless of brand. Miracast devices negotiate settings for each connection, which simplifies the process for the users. In particular, it obviates having to worry about format or codec details.[20] Miracast is "effectively a wireless HDMI cable, copying everything from one screen to another using the H.264 codec and its own digital rights management (DRM) layer emulating the HDMI system". The Wi-Fi Alliance suggested that Miracast could also be used by a set-top box wanting to stream content to a TV or tablet.

Both devices (the sender and the receiver) need to be Miracast certified for the technology to work. However, to stream music and movies to a non-certified device, Miracast adapters are available that plug into HDMI or USB ports.[21] Certification does not mandate a maximum latency (i.e. the time between the display of pictures on the source and display of the mirrored image on the sync display). Even with certification, it is possible an underpowered device will be constrained in performance or bandwidth.[citation needed]

Types of media streamed

[edit]

Miracast can stream videos that are in 1080p, media with DRM such as DVDs, as well as protected premium content streaming, enabling devices to stream feature films and other copy-protected materials. This is accomplished by using a Wi-Fi version of the same trusted content mechanisms used on cable-based HDMI and DisplayPort connections.[22]

Display resolution

[edit]
  • 27 Consumer Electronics Association (CEA) formats, from 640 × 480 up to 4096 × 2160 pixels, and from 24 to 60 frames per second (fps)
  • 34 Video Electronics Standards Association (VESA) formats, from 800 × 600 up to 2560 × 1600 pixels, and from 30 to 60 fps
  • 12 handheld formats, from 640 × 360 up to 960 × 540 pixels, and from 30 to 60 fps
  • Mandatory: 1280 × 720p30 (HD)
  • Optional: 3840 × 2160p60 (4K Ultra HD)[23]

Video

[edit]

Mandatory: ITU-T H.264 (Advanced Video Coding [AVC]) for HD and Ultra HD video; supports several profiles in transcoding and non-transcoding modes, including Constrained Baseline Profile (CBP), at levels ranging from 3.1 to 5.2

Optional: ITU-T H.265 (High Efficiency Video Coding [HEVC]) for HD and Ultra HD video; supports several profiles in transcoding and non-transcoding modes, including Main Profile, Main 444, SCC-8 bit 444, Main 444 10, at levels ranging from 3.1 to 5.1

Audio

[edit]

Mandated audio codec: Linear Pulse-Code Modulation (LPCM) 16 bits, 48 kHz sampling, 2 channels

Optional audio codecs, including:

  • LPCM mode 16 bits, 44.1 kHz sampling, 2 channels
  • Advanced Audio Coding (AAC) modes
  • Dolby Advanced Codec 3 (AC3) modes
  • E-AC-3
  • Dolby TrueHD, Dolby MAT modes
  • DTS-HD mode
  • MPEG-4 AAC and MPEG-H 3D Audio modes
  • AAC-ELDv2

Hardware and software support

[edit]

A device's wireless network adapter must support Wi-Fi Direct and Virtual Wi-Fi for it to work with Miracast; generally most adapters built since 2013 should meet the criteria. In Windows computers this can be checked by looking at the adapter's NDIS version which must be 6.3 or above.[24] However Miracast support also depends on the software implementation by manufacturers. Most modern devices support Miracast, with notable exceptions being products from Google[25] and Apple.[26]

Windows and Linux PCs

[edit]
Cast in Windows 11 having discovered three Miracast receivers and attempting to connect to one (shortcut ⊞ Win+K)

Microsoft also added support for Miracast in Windows 8.1 (announced in June 2013)[27][28] and available on hardware with supported Miracast drivers from hardware (GPU) manufacturers. Windows 10 and Windows 11 support Miracast transmitting along with User Input Back Channel (UIBC) support to allow for human interface devices (touch screens, mouse, keyboard) abbreviated as HID, to also have wireless connectivity (provided the host hardware also supports this). The transmit feature is built-in from launch for all Miracast devices with no additional setup past using the WIN+K keystroke to pair with a compatible display sink (including Microsoft's own Wireless Display Adapter).

Developers can also implement Miracast on top of the built-in Wi-Fi Direct support in Windows 7 and Windows 8.[29] Windows 8.1 supports broadcasting/sending the screen via Miracast.[30] Another way to support Miracast in Windows is with Intel's proprietary WiDi (v3.5 or higher).

While Linux does not feature native support, several add-on software solutions exist.[31][32][33] In the GNOME ecosystem, the GNOME Network Displays application has allowed for Miracast screen sharing. As part of the 2023 Google Summer of Code, an effort to integrate this as a feature in the GNOME Settings was announced, which would mean functionality would be had out of the box with that desktop environment.[34]

Windows Wireless Display

[edit]

Windows 11 and Windows 10 (since Windows 10 version 2004) also have the ability to use Miracast to make a monitor display (of a computer running Windows) act as a secondary screen of another device. This feature can be set up in the Projecting to this PC setting. It requires the downloading of the optional Wireless Display add-in feature in Windows, which adds the UWP-based Wireless Display app (known as Connect before Windows 11 version 22H2)[35