Chapter 12. Using AirPlay for streaming and external display

 

This chapter covers

  • Introduction to AirPlay
  • Streaming content over AirPlay
  • Creating a view controller for an external screen
  • Displaying content on an external screen
  • Creating an AirPlay-powered music player

Being able to wirelessly stream audio to a sound system is one of the most amazing things that some of us take for granted. Not too long ago we were looking for the 3.5 mm stereo cable that we used to play audio from our devices. Actually, most people don’t have the ability to stream audio wirelessly in their home or automobile. You can count on this changing soon, with the advent of wireless streaming solutions built into the devices you use in your everyday life—especially in your phones. With Apple’s AirPlay you’ll soon be able to have one less tangled cable lying around.

AirPlay lets you stream not only audio but also photos, videos, and even content to be used as an external screen, right from your devices. In this chapter you’ll learn more about AirPlay and its different applications. You’ll be able to then use this knowledge to build your own app, step by step. The app you’ll be building is called AirMusic, and it will be your own mini AirPlay-supported music player that can also wirelessly broadcast content on external screens. Take a look at it in figure 12.1.

Figure 12.1. You’ll be creating your own AirPlay-powered mini music player named AirMusic.

12.1. Introduction to AirPlay

12.2. Controlling and enabling AirPlay output

12.3. Using external screens with AirPlay

12.4. Summary

sitemap