|
Version: 1.2 Posted: 2006-05-11 Build Requirements: XCode 2.2, or Java 2 SDK for Windows, and QuickTime 7 Runtime Requirements: Java 1.5 and QuickTime 7, or later, recommended Download Sample (CustomMedia.zip, 68.6K) |
||||||
DescriptionThe user is prompted to select a QTVR Panoramic movie file. The media object and SampleDescription of all of the tracks that are found in the opened movie are printed. Factory methods are used to create Media subclasses based on the media type. If a match is not found, for QuickTime's default media types, a search is performed to see if the application has registered knowledge of custom or application specific media types. If a match is still not found the factory will return a GenericMedia object. Standard Media calls can still be performed on a GenericMedia class - it is only if the application requires specific functionality and support for specific media or media handlers that custom media classes have to be written. This mechanism can be used to integrate those custom classes within the existing framework. Document Revision History
|
|