Miracast

From HandWiki
Short description: Peer-to-peer wireless screencasting standard

Miracast is a wireless communications standard created by the Wi-Fi Alliance which is designed to transmit video and sound directly from devices (such as laptops, tablets, or smartphones) to display receivers (such as TVs, monitors, or projectors). It can roughly be described as "HDMI over Wi-Fi", replacing cables in favor of wireless.[1] The protocol is utilised in many devices and is used or branded under various names by different manufacturers, including Smart View[2][3] and AllShare Cast (by Samsung), SmartShare (by LG), screen mirroring (by Sony), Cast (in Windows 11), wireless display and screen casting.[4][5][6]

Development

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

In 2017, Wi-Fi Alliance stated Miracast as a use for Wi-Fi Direct.[11]

The Wi-Fi Alliance maintains a list of certified devices, which numbered over 6,700 (As of March 2017)[12]

Technical details

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).[13] 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.[14][15][16][17]

Version history

Version Date Remarks[18]
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-31 Corrected heading errors in sections 4.3 and 4.4.

Miracast as a use for Wi-Fi Direct.[11]

Miracast hardware now supports HD, FHD and 4K screen streaming.

Functionality

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.[19] 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.[20]

Types of media streamed

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.[21]

Display resolution

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

Video

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

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

Issues

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. Also, as a certified hardware standard, Miracast device support is 100% OEM determined. A software, firmware or OS update doesn't grant Miracast on uncertified hardware, even if the minimum requirements are met. (ex: Apple MacBooks, even with compatible Intel Core processors and Wi-Fi support that would be able to do Miracast if they were using Windows, either natively or under BootCamp, are not supported.)

Miracast was a feature of Android 4.2 "Jelly Bean" of 2012, but it only lasted until Android 6.0 "Marshmallow" of 2015, when Google replaced it with the Google Cast protocol. Computerworld observed that "Miracast never quite caught on as a standard".[23]

Hardware and software support

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.

Windows and Linux PCs

Microsoft also added support for Miracast in Windows 8.1 (announced in June 2013)[25][26] 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).

Since Windows 10 Version 2004 was released a user needs to add "Wireless Display" as a optional Windows add-in feature in the Settings app to have a device receive video as a Miracast display sink on compatible hardware (using the UWP-based "Connect" app).[27] Windows 11 has the "Connect" app only as an optional add-in since RTM launch. Windows 8.1 supports broadcasting/sending the screen via Miracast.[28] Developers can also implement Miracast on top of the built-in Wi-Fi Direct support in Windows 7 and Windows 8.[29] 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.[30][31][32] 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.[33]

Android

Miracast support was built into stock Android as of version 4.2 (Android Jelly Bean)[34][35][36] - as of January 2013, the LG Nexus 4 and Sony's Xperia Z, ZL, T and V officially supported the function,[37] as did HTC One, Motorola in their Droid Maxx and Droid Ultra flagships, and Samsung in its Galaxy S III and Galaxy Note II under the moniker AllShare Cast.[38] The Galaxy S4 uses Samsung Link for its implementation.[39] Some devices such as the Nexus 7 don't support it due to hardware limitations.[40]

Since Android 6.0 Marshmallow released in 2015, Google dropped[23] Miracast support in favor of their own proprietary Google Cast protocol[23] which was introduced with their Chromecast device.[41] Despite this there are third-party Miracast apps for Android available.[42] Some Android vendors have stepped in by supporting Miracast through their customized versions of the OS (for example: Smart View on Samsung's One UI, Cast on Xiaomi's MIUI, Screencast on Oppo's ColorOS, Wireless Projection on Huawei's EMUI, HTC Sense, LG UX, Asus ZenUI, Sony Xperia devices, OnePlus's OxygenOS etc.).[43] The performance and quality of the streamed video is dependent on the device's hardware.

Nokia devices, which ran a near-stock version of Android, originally did not support Miracast. However, Nokia 7 Plus, 8, 8 Sirocco, and 8.1 smartphones that have been upgraded to Android 9 or 10 are able to support Miracast, after enabling Wireless Display Certification in Developer Options. Devices such as Nokia 2.3, 2.4, 3.4, 5.4, and 8.3 5G have Miracast support enabled by default.[44] The same option is present to stock Android as well, with Google describing it as based on the "Wi-Fi Alliance Wi-Fi Display Specification",[45] but it tends to be useless as Miracast code was removed.[46]

Other mobile platforms

Miracast is also built into Windows Phone 8.1.[28]

In October 2013, BlackBerry released its 10.2.1 update to most of the existing BlackBerry 10 devices available at that time. As of March 2015, the BlackBerry Q10, Q5, Z30, and later models support Miracast streaming; the BlackBerry Z10 does not support Miracast, due to hardware limitations.[47]

(As of April 2016) the Ubuntu Touch-powered Meizu Pro 5 supported Miracast in OTA-11.[48]

Other devices

The Roku streaming stick and Roku TV started providing support for Miracast starting October 2014.[49] On 23 September 2014, Microsoft announced the Microsoft Wireless Display Adaptor, a USB-powered HDMI dongle for high definition televisions.[50][51] Actiontec Electronics also supports Miracast with its line of ScreenBeam products.[52]

In 2019, the Xbox One gained Miracast support using the optional downloadable Wireless Display app.[5] Also in 2019 the Amazon Fire TV Stick 4K gained Miracast support.[53]

See also

References

  1. On Wifi-Display, Democratic Republics and Miracles, Patrick Herrmann, on the development of Miraclecast, 2014-02-17.
  2. Kew-Denniss, Zachary (2023-07-22). "Samsung screen mirroring finally supports casting to a Chromecast" (in en). https://www.androidpolice.com/samsung-google-cast/. 
  3. "Display your Galaxy tablet on a TV with Smart View" (in en-CA). https://www.samsung.com/ca/support/mobile-devices/galaxy-tablet-smart-view/. 
  4. Hoffman, Chris (March 15, 2019). "Wireless Display Standards Explained: AirPlay, Miracast, WiDi, Chromecast, and DLNA". https://www.howtogeek.com/177145/wireless-display-standards-explained-airplay-miracast-widi-chromecast-and-dlna/. 
  5. 5.0 5.1 Hoffman, Chris (2013-12-04). "Wireless Display Standards Explained: AirPlay, Miracast, WiDi, Chromecast, and DLNA" (in en). https://www.howtogeek.com/177145/wireless-display-standards-explained-airplay-miracast-widi-chromecast-and-dlna/. 
  6. "Connect a wireless display to your Windows PC - Microsoft Support". https://support.microsoft.com/en-us/windows/connect-a-wireless-display-to-your-windows-pc-f2239d99-3e61-bbcb-646e-c9d881bd39c4. 
  7. "Wi-Fi Alliance to Launch Wi-Fi CERTIFIED Miracast to Deliver Display Applications". Wi-Fi Alliance. https://www.wi-fi.org/news-events/newsroom/wi-fi-alliance-to-launch-wi-fi-certified-miracast-to-deliver-display. 
  8. "Nvidia supports Miracast". 26 July 2012. https://www.engadget.com/2012/07/26/nvidia-throws-support-behind-miracast/. 
  9. "Airplay for all?". 10 July 2012. https://arstechnica.com/information-technology/2012/07/airplay-for-all-miracast-promises-video-streaming-without-the-router/. 
  10. "NVIDIA Announces Compatibility with WiFi Display Miracast Specification". http://www.anandtech.com/show/6116/nvidia-announces-compatibility-with-wifi-display-miracast-specification. 
  11. 11.0 11.1 "Wi-Fi Direct". Wi-Fi Alliance. https://www.wi-fi.org/discover-wi-fi/wi-fi-direct. 
  12. "Product finder results". Promotional web site. Wi-Fi Alliance. http://www.wi-fi.org/product-finder-results?capabilities=2. 
  13. "What formats does Miracast support?". http://www.wi-fi.org/knowledge-center/faq/what-formats-does-miracast-support. 
  14. "Miracast unter Linux ist schrecklich", golem.de, 2014-02-02.
  15. "Wi-Fi Certified Miracast : Extending the Wi-Fi experience to seamless video display". https://www.wi-fi.org/sites/default/files/uploads/wp_Miracast_Industry_20120919.pdf. 
  16. Lutz, Zachary (2012-07-26). "NVIDIA throws support behind Miracast as wireless display standard". https://www.engadget.com/2012/07/26/nvidia-throws-support-behind-miracast/. 
  17. Brodkin, Jon (2012-07-10). "AirPlay for all? Miracast promises video streaming without the router". https://arstechnica.com/information-technology/2012/07/airplay-for-all-miracast-promises-video-streaming-without-the-router/. 
  18. "certification url check". Wi-Fi Alliance. https://www.wi-fi.org/download.php?file=/sites/default/files/private/Wi-Fi_Display_Technical_Specification_v2.1_0.pdf. 
  19. Wagner, Kyle (19 September 2012). "What Is Miracast?". Gizmodo. https://gizmodo.com/5944578/what-is-miracast. 
  20. Chacos, Brad (21 September 2012). "How Miracast Could Finally Make Your Smartphone Run Your Home Theater". Digital Trends. http://www.digitaltrends.com/mobile/how-miracast-could-finally-make-your-smartphone-run-your-home-theater/#ixzz2AnD9bG7X. 
  21. Parrish, Kevin (19 September 2012). "Wi-Fi Alliance Announces First Miracast-Certified Devices". http://www.tomshardware.com/news/Wi-Fi-Direct-Miracast-Wi-Fi-Alliance-WiDi-HDMI,17746.html. 
  22. "certification url check". Wi-Fi Alliance. https://www.wi-fi.org/download.php?file=/sites/default/files/private/Wi-Fi%20CERTIFIED%20Miracast%20Technical%20Overview_20170725.pdf. 
  23. 23.0 23.1 23.2 Raphael, J.R. (2017-12-05). "Android nostalgia: 13 once-trumpeted features that quietly faded away". https://www.computerworld.com/article/3239864/android/android-nostalgia-old-features.html. 
  24. Shareef, Tashreef (2022-11-01). "5 Ways to Check If Your Windows 11 PC Supports Miracast" (in en). https://www.makeuseof.com/windows-11-miracast-compatibility/. 
  25. "Miracast for Windows 10". http://windowsable.com/set-use-miracast-windows-10/. 
  26. "What's New For The Enterprise In Windows 8.1". http://blogs.windows.com/windows/b/springboard/archive/2013/06/03/what-s-new-for-the-enterprise-in-windows-8-1.aspx. 
  27. Jones, Luke (31 August 2020). "Windows 10 Wireless Display is Now Optional and Not Available by Default". https://winbuzzer.com/2020/08/31/windows-10-wireless-display-is-now-optional-and-not-available-by-default-xcxwbn/. 
  28. 28.0 28.1 "Windows 8.1 on your big screen with Miracast". 2013-11-12. http://blogs.windows.com/windows/b/windowsexperience/archive/2013/11/12/windows-8-1-on-your-big-screen-with-miracast.aspx. 
  29. "DMR support for Wi-Fi Direct (WFD-01)". 2013-07-26. http://msdn.microsoft.com/en-us/library/windows/hardware/jj124675.aspx. 
  30. "GNOME Network Displays". https://gitlab.gnome.org/GNOME/gnome-network-displays. 
  31. "Miraclecast". 7 May 2022. https://github.com/albfan/miraclecast#readme. 
  32. "WDS". 4 August 2022. https://github.com/intel/wds#readme. 
  33. Bouvier, Scott (May 6, 2023). "Wireless Displays & New System Panel Among GNOME's GSoC Plans". OMG! Linux. https://www.omglinux.com/gnome-gsoc-2023-projects-interesting. 
  34. "Miracast: Everything to know about mirroring Android". 2013-09-24. http://howto.cnet.com/8301-11310_39-57604270-285/miracast-everything-to-know-about-mirroring-android. 
  35. "Android Kitkat Overview". 2013-10-31. http://developer.android.com/about/versions/kitkat.html. 
  36. Android 4.2 adds official support for Miracast wireless display
  37. "Wi-Fi Miracast Screen Mirroring demoed on the Xperia T [Video"]. 3 December 2012. http://www.xperiablog.net/2012/12/03/wi-fi-miracast-screen-mirroring-demoed-on-the-xperia-t-video/. 
  38. Umpad, Leomar (2014-11-16). "How Do I Mirror My Samsung Galaxy Phone's Screen on My TV?". https://www.tech-recipes.com/rx/51287/how-do-i-mirror-my-samsung-galaxy-phones-screen-on-my-tv/. 
  39. "Trying Samsung's renewed application: Samsung Link". 2013-03-27. http://www.sammobile.com/2013/03/27/trying-samsungs-renewd-application-samsung-link/. 
  40. "PSA: Nexus 7 and Nexus 10 do not support Miracast wireless display". 2012-11-19. http://phandroid.com/2012/11/19/psa-nexus-7-and-nexus-10-do-not-support-miracast-wireless-display/. 
  41. Smith, Ryan. "Google's Chromecast 2 is Powered By Marvell's ARMADA 1500 Mini Plus - Dual-Core Cortex-A7". https://www.anandtech.com/show/9688/googles-chromecast-2-is-powered-by-marvells-armada-1500-mini-plus-dual-cortexa7. 
  42. "Top 5 Miracast App for Android | Miracast | Apowersoft". https://www.apowersoft.com/best-miracast-app-for-android.html. 
  43. See, for example, HTC Connect.
  44. "How to Cast/Project screen on Nokia smartphones (Step-by-step)". 21 April 2021. https://nokiapoweruser.com/video-cast-screen-on-nokia-8-7-plus-8-1-8-sirocco-without-chromecast/. 
  45. "Configure on-device developer options" (in en). https://developer.android.com/studio/debug/dev-options. 
  46. Davenport, Corbin (19 April 2022). "Android Developer Options Explained: Here's everything you can do with these settings" (in en). https://www.xda-developers.com/android-developer-options/. 
  47. "Miracast Will not Be Available on the BlackBerry Z10, Wi-Fi Direct Supported Instead". MobileNations. 14 Aug 2013. http://crackberry.com/miracast-will-not-be-available-blackberry-z10. 
  48. "Touch/ReleaseNotes/OTA-11 - Ubuntu Wiki". https://wiki.ubuntu.com/Touch/ReleaseNotes/OTA-11. 
  49. "Introducing Roku Screen Mirroring Beta for Microsoft Windows and Android Devices". https://blog.roku.com/blog/2014/10/02/introducing-roku-screen-mirroring-beta-for-microsoft-windows-and-android-devices. 
  50. LeBlanc, Brandon (23 September 2014). "Announcing the Microsoft Wireless Display Adapter". Windows Experience Blog (Microsoft Corporation). https://blogs.windows.com/windowsexperience/2014/09/23/announcing-the-microsoft-wireless-display-adapter/. 
  51. Sams, Brad (9 October 2014). "Hands On: Microsoft Wireless Display Adapter". Neowin. https://www.neowin.net/news/hands-on-microsoft-wireless-display-adapter/. 
  52. "Wireless Display Solutions | Miracast | ScreenBeam". http://www.screenbeam.com/. 
  53. Kerns, Taylor (2019-04-05). "Amazon Fire TV Stick 4K picks up Miracast display mirroring" (in en). https://www.androidpolice.com/2019/04/05/amazon-fire-tv-stick-4k-picks-up-miracast-display-mirroring/. 

External links