The Digital Audio Access Protocol (DAAP) is the
proprietary protocol introduced by
Apple in its
iTunes
iTunes () is a software program that acts as a media player, media library, mobile device management utility, and the client app for the iTunes Store. Developed by Apple Inc., it is used to purchase, play, download, and organize digital mul ...
software to share media across a local network.
DAAP addresses the same problems for Apple as the
UPnP AV standards address for members of the
Digital Living Network Alliance
Digital Living Network Alliance (DLNA; originally named Digital Home Working Group, DHWG) was founded by a group of PC and consumer electronics companies in June 2003 (with Intel in the lead role) to develop and promote a set of interoperability ...
(DLNA).
Description
The DAAP protocol was originally introduced in iTunes version 4.0.
["Unofficial DAAP protocol documentation"](_blank)
by Daniel Garcia, retrieved December 2, 2006 Initially, Apple did not officially release a protocol description, but it has been reverse-engineered to a sufficient degree that reimplementations of the protocol for non-iTunes platforms have been possible.
A DAAP server is a specialized
HTTP server, which performs two functions. It sends a list of songs and it streams requested songs to clients. There are also provisions to notify the client of changes to the server. Requests are sent to the server by the client in form of URLs and are responded to with data in mime-type, which can be converted to
XML by the client. iTunes uses the
zeroconf (also known as
Bonjour) service to announce and discover DAAP shares on a local
subnet. The DAAP service uses
TCP
TCP may refer to:
Science and technology
* Transformer coupled plasma
* Tool Center Point, see Robot end effector
Computing
* Transmission Control Protocol, a fundamental Internet standard
* Telephony control protocol, a Bluetooth communication s ...
port 3689 by default.
DAAP is one of two media sharing schemes that Apple has currently released. The other,
Digital Photo Access Protocol (DPAP), is used by
iPhoto for sharing images. They both rely on an underlying protocol,
Digital Media Access Protocol (DMAP).
Early versions of iTunes allowed users to connect to shares across the Internet, however, in recent versions only computers on the same subnet can share music (workarounds such as
port tunneling are possible). ''
The Register'' speculates that Apple made this move in response to pressure from the record labels.
"Apple halts iTunes' Internet sharing ability"
by Tony Smith, ''The Register'', May 28, 2003, retrieved August 31, 2006 More recent versions of iTunes also limit the number of clients to 5 unique IP addresses within a 24-hour period.
DAAP has also been implemented in other non-iTunes media applications such as Banshee, Amarok
Amarok may refer to:
Music
* Amarok (band), a Spanish progressive rock band
* ''Amarok'' (Mike Oldfield album), 1990
* ''Amarok'' (Nargaroth album), 2000
* ''Amarok'', 2010 album by Francisco López (musician)
Other uses
* Amarok (wolf), in In ...
, Exaile (with a plugin), Songbird (with a plugin), Rhythmbox, and WiFiTunes.
DAAP authentication
Beginning with iTunes 4.2, Apple introduced authentication to DAAP sharing, meaning that the only clients that could connect to iTunes servers were other instances of iTunes. This was further modified in iTunes 4.5 to use a custom hashing algorithm, rather than the standard MD5 function used previously. Both authentication methods were successfully reverse engineered within months of release.
With iTunes 7.0, a new 'Client-DAAP-Validation' header hash is needed when connecting to an iTunes 7.0 server. This does not affect third-party DAAP servers, but all current DAAP clients (including official iTunes before iTunes 7.0) will fail to connect to an iTunes 7.0 server, receiving a '403 Forbidden' HTTP error. The iTunes 7.0 authentication traffic analysis seem to indicate that a certificate exchange is performed to calculate the hash sent in the 'Client-DAAP-Validation' header. This authentication has not yet been reverse engineered.
DAAP clients
DAAP servers
See also
* List of software using Digital Audio Access Protocol
A ''list'' is any set of items in a row. List or lists may also refer to:
People
* List (surname)
Organizations
* List College, an undergraduate division of the Jewish Theological Seminary of America
* SC Germania List
The SC Germania L ...
* Digital Audio Control Protocol Digital Audio Control Protocol (DACP) is a protocol used by the iTunes and other audio player and server applications on Mac, Windows and Linux computers, enabling remote control by mobile devices such as iPhone and Android phones and tablet com ...
* Remote Audio Output Protocol
Notes and references
{{Music industry
Apple Inc. services
ITunes
Data transmission
Network protocols
Computer-related introductions in 2003