Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

AirPlay

From Wikipedia, the free encyclopedia
Proprietary wireless streaming protocol developed by Apple Inc.
This article is about the software. For the radio term, seeAirplay. For the defunct airline, seePlay (airline). For other uses, seeAirplay (disambiguation).

AirPlay
Logos of AirPlay 2
AirPlay video (left) and AirPlay audio (right)
DeveloperApple Inc.
TypeWireless media streaming
Released
  • June 7, 2004; 21 years ago (June 7, 2004) (as AirTunes)[1]
  • September 1, 2010 (AirPlay)
  • November 22, 2010 (for iOS)
  • June 6, 2011 (mirroring)
  • May 29, 2018 (AirPlay 2)
Websiteapple.com/airplay

AirPlay is aproprietarywirelesscommunication protocolstack/suite developed byApple Inc. that allows thestreaming ofmultimedia and device screens, together with relatedmetadata, between compatible devices. Originally implemented only in Apple's own software and hardware, the company has since licensed the AirPlay protocol stack to third-party manufacturers and it has been implemented on devices such astelevision sets andhome audio systems. AirPlay works through either a directpeer-to-peer connection between devices or through an infrastructurelocal network.[2]

History

[edit]

In 2004, Apple introducedAirTunes[3] as a new feature ofiTunes 4.6. It allowed music streaming over a network to anAirPort Express, which was equipped with a3.5 mm analog-digital audio jack for speakers or other audio devices. In 2010, Apple introduced a new iteration of the AirTunes technology, now called AirPlay, as part ofiOS 4.2. It supported audio and now video streaming to theApple TV, and later added screen-mirroring and eventually support for a broad range of 3rd-party AirPlay-compatible speakers and AV equipment.

Apple announced AirPlay 2 at its annualWWDC conference on June 5, 2017. It was scheduled for release along withiOS 11 in the third quarter of 2017, but was delayed until June 2018.[4][5] Compared to the original version, AirPlay 2 improves buffering; adds streaming audio to stereo pairs of speakers (e.g. stereo pairs of individual HomePods; AirPlay and its predecessor, AirTunes have always been stereo);[6] allows audio to be sent to multiple devices in different rooms;[7] and control by Control Center, the Home app, or Siri,[8] functionality that was only available previously usingiTunes undermacOS orWindows.[9]

History of AirPlay
2004Launch as AirTunes for iTunes and AirPort Express
2010Launch on iOS 4 as AirPlay
2018AirPlay 2 launch on iOS 11.4
2021macOS Monterey (12) includes receiver capability on compatible Macs


Video streamed from an iPad (sender) to an Apple TV (receiver) using AirPlay

AirPlay sender devices include computers runningiTunes, andiOS devices such asiPhones,iPods, andiPads runningiOS 4.2 or greater, and devices can send AirPlay over Wi-Fi or Ethernet.OS X Mountain Lion supports display mirroring via AirPlay on systems containing 2nd generation Intel Core processors or later.[10]

In 2016,HTC released the"10", also known as "One M10", an Android phone with Apple AirPlay streaming.[11]

As of iOS 4.3, third-party apps like ApowerMirror,[12] AirServer, and Reflector may send compatible audio and video streams over AirPlay.[13] TheiTunes Remote app on iOS can be used to control media playback and select AirPlay streaming receivers for iTunes running on a Mac or PC.[14]

As of macOS 10.14, there is nopublic API for third-party developers to integrate AirPlay 2 into their macOS apps. However, there are third-party streamers such asAirfoil. In May 2019, a third-party developer released a macOS app that can stream audio using AirPlay 2.[15] The app includes a helper tool called "AirPlay Enabler" that usescode injection to bypass restrictions to the AirPlay 2private API on macOS.[16]

Receivers

[edit]

AirPlay receiver devices includeApple TV,HomePod, third-party speakers and the discontinuedAirPort Express, which included a combined analog and opticalS/PDIF audio output connector. Compatible devices can receive AirPlay over Wi-Fi or Ethernet. Some open-source projects have reverse-engineered the audio part of the protocol, enabling any computer to be turned into an AirPlay receiver for audio.[17]

However, because not all third-party receivers implement Apple's DRM encryption, some media, such as iTunes Store's own rights-protected music (Apple's own "FairPlay" encryption),YouTube, andNetflix, cannot stream to those devices or software. On Apple TV, starting with firmware 6.0, the DRM scheme is enforced: devices without it cannot be used.[18]

AirPlay wireless technology is integrated into speaker docks, AV receivers, and stereo systems from various companies. Song titles, artists, album names, elapsed and remaining time, and album artwork can appear on AirPlay-enabled speakers with graphical displays. Often these receivers are built to only support the audio component of AirPlay, much like AirTunes.

Bluetooth devices (headsets, speakers) that support theA2DP profile also appear as AirPlay receivers when paired with an iOS device, although Bluetooth is a device-to-device protocol that does not rely on a wireless network access point.

During the January 2019 Consumer Electronics Show (CES) in Las Vegas, television makers Samsung, LG, Vizio, and Sony announced they would be producing sets with built-in AirPlay 2 receiving capability.[19] LG announced that television models that are AirPlay 2-enabled will include the 2019 OLED, NanoCell SM9X, UHD UM7X, and LG NanoCell SM8X models.[20]

In September 2020,Roku added AirPlay 2 support as part of the 9.4 update on select 4K Roku devices. In April 2021, the 10.0 update added support for more Roku TVs and Players.[21]

DuringWWDC 2021, Apple announced thatmacOS Monterey would include AirPlay receiver compatibility for compatible Macs.

Protocols

[edit]

AirPlay and AirTunes can work over alocal network (LAN), through eitherWi-Fi orEthernet, or (since 2017) directly to each other usingWi-Fi Direct, allowing devices to connect without a central LAN.[22] This method ofpeer-to-peer connecting is now preferred by AirPlay, but Apple notes that the protocol establishes a connection "using the method that’s the most responsive".[2]

The AirTunes part of the AirPlay protocol stack usesUDP for streaming audio and is based on theReal Time Streaming Protocol.[23] The streams are transcoded using theApple Lossless codec with 44100 Hz and 2 channels symmetrically encrypted withAES, requiring the receiver to have access to the appropriate key to decrypt the streams.[24] The stream is buffered for approximately 2 seconds before playback begins, resulting in a small delay before audio is output after starting an AirPlay stream.[25]

The protocol supports metadata packets that determine the final output volume on the receiving end. This makes it possible to always send audio data unprocessed at its original full volume, preventing sound quality deterioration due to reduction inbit depth and thus sound quality which would otherwise occur if changes in volume were made to the source stream before transmitting. It also makes possible the streaming of one source to multiple targets each with its own volume control, and for volume adjustments to be applied instantly, instead of being delayed by the 2 second buffer period.The AirPort Express' streaming media capabilities use Apple'sRemote Audio Output Protocol (RAOP), a proprietary variant ofRTSP/RTP. UsingWDS-bridging,[26] the AirPort Express can allow AirPlay functionality (as well as Internet access,file andprint sharing, etc.) across a larger distance in a mixed environment of wired and up to 10 wireless clients.

AirPlay Mirroring

[edit]

AtWWDC 2011,Steve Jobs, then CEO ofApple Inc., announced AirPlay Mirroring as a feature iniOS 5 where the user can stream the screen from aniPad 2 to anHDTV wirelessly and securely without the need for cables.[27][28]

AirPlay is a different technology from AirPlay Mirroring, as the former allows specific content formats to be streamed, while the latter allows the whole screen to be broadcast from a variety of iOS devices and iTunes to an Apple TV (2nd Gen or later). The exact composition of the protocols that AirPlay Mirroring uses have not yet fully been discovered, or reverse-engineered.[28] However, an unofficial AirPlay protocol specification is available.[29] Supported hardware (when using OS X Mountain Lion or later) includes any 2011 or later iMac, Mac mini, MacBook Air, MacBook Pro, or the Mac Pro (late 2013 or newer).[30]

Reverse engineering

[edit]

When the protocol was known as AirTunes, it wasreverse-engineered byJon Lech Johansen in 2008.[24]

On April 8, 2011, James Laird reverse-engineered and released the private key used by the AppleAirPort Express to decrypt incoming audio streams.[31] The release of this key means that third-party software and devices modified to use the key will be able to decrypt and play back or store AirPlay streams.[32] Laird released ShairPort as an example of an audio-only software receiver implementation of AirPlay.[33] Soon more followed and in 2012 the first AirPlay audio and video receiver for PC came with a product called AirServer.[34][35]

An open-source AirPlay mirroring server (receiver) known asRPiPlay is available for theRaspberry Pi andDesktop Linux operating systems. The author describes it as being based on dsafa22's Android mirroring server, which was in turn based on Juho Vähä-Herttua's ShairPlay.[36]

With Shairport Sync,[37] there is an implementation that supports AirPlay and parts of AirPlay 2 that runs on Linux and FreeBSD and works well on embedded devices such as Raspberry Pis or OpenWrt-powered routers.

See also

[edit]

Notes

[edit]
  1. ^"Apple Unveils AirPort Express for Mac & PC Users".Apple.com. June 7, 2004. Archived fromthe original on March 29, 2011. RetrievedApril 12, 2012.
  2. ^ab"Use AirPlay with Apple devices".Apple Support. RetrievedJuly 15, 2024.
  3. ^Brownlee, John (September 1, 2010)."September iPod Event: In iOS 4.2, AirTunes Becomes AirPlay".Cult of Mac. RetrievedApril 21, 2024.
  4. ^"Apple unveils iOS 11 with P2P Apple Pay transfers, a new sound for Siri, AirPlay 2, more".AppleInsider. June 5, 2017. RetrievedApril 21, 2024.
  5. ^"iOS 11.4 brings stereo pairs and multi-room audio with AirPlay 2".Apple.com. May 29, 2018. RetrievedMay 29, 2018.
  6. ^"iOS 11.4 brings stereo pairs and multi-room audio with AirPlay 2".Apple Newsroom. RetrievedMay 9, 2019.
  7. ^"AirPlay 2 FAQ: What it is, how it works, and which devices support it".Macworld. RetrievedJune 22, 2018.
  8. ^"iOS 11 brings new features to iPhone and iPad this fall".Apple.com. RetrievedJune 6, 2017.
  9. ^"Use AirPlay to stream content from iTunes on your computer".Apple Support. RetrievedJune 30, 2017.
  10. ^"About AirPlay Mirroring in OS X Mountain Lion".Apple.com. RetrievedAugust 6, 2012.
  11. ^"HTC's 10 is the first Android phone with Apple AirPlay streaming".Engadget. April 12, 2016.
  12. ^"ApowerMirror".Apowersoft. RetrievedSeptember 10, 2017.
  13. ^Rose, Michael."iOS 4.3 spotlight: AirPlay improvements and 720p playback".TUAW.AOL. Archived fromthe original on March 12, 2011. RetrievedMay 5, 2011.
  14. ^"iTunes Remote".Apple.com. Archived fromthe original on September 13, 2010.
  15. ^"Optimus Player".Optimus Player. May 7, 2019. RetrievedMay 8, 2019.
  16. ^Mo, Darren (May 7, 2019)."A helper tool that enables Optimus Player to stream audio using AirPlay 2".GitHub. RetrievedMay 9, 2019.
  17. ^"How-To: Turn your Raspberry Pi into a AirPlay receiver to stream music from your iPhone".Raspberry Pi HQ. July 27, 2013. RetrievedApril 21, 2024.
  18. ^Kafasis, Paul (September 20, 2013)."Warning on Apple TV version 6.0".Under the Microscope.Rogue Amoeba. RetrievedApril 21, 2024.
  19. ^"At CES 2019, Apple finally sets iTunes, AirPlay loose".CNET. RetrievedJanuary 12, 2019.
  20. ^Rossignol, Joe (March 5, 2019)."LG's Latest Smart TVs Will Receive AirPlay 2 Update in Mid 2019".MacRumors. RetrievedApril 2, 2019.
  21. ^"How do I use AirPlay and HomeKit with my Roku streaming device?".Roku website. RetrievedNovember 2, 2020.
  22. ^Bell, Killian (June 4, 2014)."AirPlay no longer requires a Wi-Fi network in iOS 8". RetrievedApril 21, 2024.
  23. ^Donenfeld, Jason A."AirTunes 2 Protocol".ZX2C4. RetrievedApril 21, 2024.
  24. ^abHanselmann, Michael (December 16, 2008)."Add Remote Audio Output Protocol stream output plugin" (Mailing list). Archived fromthe original on November 4, 2021. RetrievedApril 29, 2012.
  25. ^"Preventing audio delays while watching videos with Airfoil".Rogue Amoeba. RetrievedAugust 18, 2012.
  26. ^"Apple WDS Setup".Apple.com. February 11, 2011. RetrievedApril 12, 2012.
  27. ^"iOS5 – AirPlay Mirroring for iPad 2".Apple.com. Archived fromthe original on September 23, 2011. RetrievedApril 12, 2012.
  28. ^ab"Exploring Airplay Mirroring Internals".Aoren. August 20, 2011.
  29. ^"Unofficial AirPlay Protocol Specification".nto.github.com. May 29, 2012. RetrievedMay 29, 2012.
  30. ^"About AirPlay Mirroring in OS X".Apple.com. RetrievedJanuary 13, 2015.
  31. ^Laird, James (April 8, 2011)."RAOP/Airtunes".vlc-devel (Mailing list).
  32. ^Cheng, Jacqui (April 11, 2011)."ShairPort emulates AirPort Express to receive AirPlay streams".Ars Technica. RetrievedApril 11, 2011.
  33. ^Laird, James (April 11, 2011)."ShairPort 0.02 released". Archived fromthe original on April 27, 2011. RetrievedApril 11, 2011.
  34. ^"Wireless Mirroring from iPad to PC Now a Reality with AirServer".Learning in Hand. May 5, 2012. RetrievedApril 21, 2024.
  35. ^"History".AirServer. RetrievedApril 21, 2024.
  36. ^"RPiPlay: Authors".GitHub. March 30, 2023.
  37. ^"Shairport Sync".GitHub. May 6, 2023.

External links

[edit]
Wikimedia Commons has media related toAirPlay.
Wi-Fi base stations by Apple
Hardware
Software
iOS and iOS-based products
Hardware
iPhone (models)
iPad (models)
Discontinued
iPod Touch
Other
iOS logo
Software
OS versions
Derived from iOS
Features
SDK & API
Bundled apps
Discontinued
Apple apps
Discontinued
Services
Discontinued
Other
Products
Hardware
Mac
iPod
iPhone
iPad
Other
Software
Operating
systems
Services
Financial
Media
Communication
Retail
Support
Other
Companies
Subsidiaries
Acquisitions
Partnerships
Design andmarketing
Legal issues and
labour relations
Related
People
CEOs
Board chairs
Other
executives
Current
Former
Founders
  • Italics indicate discontinued products, services, or defunct companies.
  • Category
Retrieved from "https://en.wikipedia.org/w/index.php?title=AirPlay&oldid=1335969990"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp