AirPlay and DiskStation

Hello, I am Allen Kao, Senior Manager of Software Development Group at Synology. Today I’d like to share with you how Apple AirPlay technology works with Synology DiskStation.

In late 2010, Apple released the second generation of Apple TV to replace its previously larger and pricier predecessor. So what’s different? The new Apple TV doesn’t come with any internal mass storage; it simply streams media content from iTunes Store or Mac/PC.

If you are enthusiastic about Synology DiskStation, you may have already been playing around with various multimedia features in DSM and wondering what could happen if DiskStation meets Apple TV. We would like to share with our blog readers some of our insights and the research that Synology Development team has done.

Home Sharing

Currently there are two major media sharing protocols used in Apple TV, namely Home Sharing and AirPlay. The difference between the two protocols doesn’t always seem easily distinguishable to most people. Here is how it works. When you enable Home Sharing on your Apple TV, you will be asked to enter your Apple ID before connecting to your iTunes library. Only upon successful authentication will you be able to browse your media collection, either purchased from iTunes Store or ripped from CDs, that is stored in your PC or Mac and control the playback using the remote of the Apple TV.

Although we have evidence that the protocol of Home Sharing is much the same as the DAAP (Digital Audio Access Protocol) used in iTunes Server, the authentication mechanism prevents us from developing a solution to browse your media collection on your DiskStation and control the playback using the remote.

AirPlay

After the enormous success of iOS devices and the release of new Apple TV, Apple decided to enhance what was originally used in Apple Airport Express, AirTunes, and rename it Airplay. Now the redesigned protocol is able to stream photos and videos, in addition to your music collection.

In Apple’s blueprint of a home media network, centralized media library hosted by iTunes would allow all iOS devices and other iTunes clients to stream media content via Home Sharing. The main difference between AirPlay and Home Sharing is that the latter is based on a client-server architecture, while the former illustrates a similar concept to a Point-to-Point architecture.

However, there is a setback for this type of client-server structure — users are wondering if they could share media content between iOS devices and iTunes clients without a centralized library. Apple addressed the issue with AirPlay, which illustrates a close concept to a point-to-point structure, and managed to allow media content on your iOS devices be pushed to Apple TV.

Given the increasing need to share media content between clients without limitation, we will see more and more 3rd-party AirPlay-compatible devices in the market this year and I expect it would become a standard soon for home-stereo sound system.

How would DiskStation integrate with AirPlay?

Audio Station

Audio Station is a web application on Synology DiskStation Manager (DSM) which allows you to manage your music collection stored on your DiskStation. If you are a fan of this app, you are bound to notice that this application could also play music through attached USB speakers and UPNP/DLNA media renderers within your home network.

The characteristics of AirPlay-compatible devices have a lot of resemblance to the media renderers, allowing these devices to become compatible with Audio Station. Once we have the Airplay-compatible devices acting as legitimate media renderers, choosing the one device you are looking for in Audio Station would become very easy. You will be able to manage the playing queue and control everything else just like you could with other media renderers. After all, you don’t need to have an iPhone or iPad to enjoy the high-quality sound from your AirPlay stereo system.

DS audio

DS audio is an iPhone and iPad app that allows you to enjoy your music on the go. In this app, We have integrated many core functions available in Audio Station. However, there is one feature still missing in DS audio – you can’t see a list of UPNP/DLNA media renderers, like you could do in Audio Station.

Should DS audio support UPNP/DLNA media renderers in the future, it allows you to control your music naturally and intuitively on your iPhone or iPad to any AirPlay compatible devices – it’d be like holding an audio remote in your hand.

Support for more audio formats

Not all media formats are supported by AirPlay on iPhone or iPad. We will enhance Airplay by using some of our audio transcoding techniques to support more formats than AirPlay originally can, especially for certain popular lossless formats like FLAC or APE. This will be a powerful feature to Synology’s audio streaming support, as Home Sharing on Apple TV stream limited formats supported only by iTunes.

Summary

As Apple is releasing specifications for home stereo manufacturers to build AirPlay-compatible devices, I believe devices that are cheaper, like AirPlay wireless sound adapter, would prove to become popular in the home environment. Ultimately, a versatile control center created by Synology DiskStation and its rich applications could see a promising future for its own.

- Allen

Update on May 21

The good news is that AirPlay is available on your DiskStation now! Please join our Beta Program, update your DSM and enjoy streaming the music from the DiskStation to the entire house with AirPlay-enable speakers!