02.04.2013 Views

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C H A P T E R 5<br />

Extending the QT<strong>Kit</strong>Player To Stream Audio and Video<br />

[movieDocument showWindows];<br />

}<br />

else<br />

{<br />

NSRunAlertPanel(@"Invalid movie", @"The url is not a valid movie.", nil,<br />

nil, nil);<br />

success = NO;<br />

}<br />

}<br />

return success;<br />

This wraps up the code additions for your QT<strong>Kit</strong>Player application. Now you’re ready to build and<br />

compile the application and play streaming audio and video over the Internet.<br />

What’s Next?<br />

You’ve extended the QT<strong>Kit</strong>Player beyond its early incarnations as a simple media player, adding<br />

editing, importing, exporting, and now streaming capabilities. In the next chapter, you’ll provide<br />

new enhancements to the player that will enable you to play back as many as six different <strong>QuickTime</strong><br />

movies, including <strong>QuickTime</strong> VR, streaming audio and video, wired sprite movies, and other<br />

multimedia content.<br />

You’ll have a multimedia engine at your disposal that you can use to launch a variety of <strong>QuickTime</strong><br />

content, much as you would do with an interactive movie kiosk. The steps to create this engine are<br />

spelled out in the next chapter and enable you to build on what you’ve learned so far in this<br />

programming guide.<br />

What’s Next? 97<br />

2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!