Since the foundation of Android's multimedia platform is PacketVideo's OpenCORE, in this section we will review OpenCORE's architecture and services. OpenCORE is a Java open source multimedia platform supporting the following:
■ Interfaces for third-party and hardware media codecs, input and output devices, and content policies
■ Media playback, streaming, downloading, and progressive playback, including 3GPP, MPEG-4, AAC, and MP3 containers
■ Video and image encoders and decoders, including MPEG-4, H.263, and AVC (H.264), and JPEG
■ Speech codecs, including AMR-NB and AMR-WB
■ Media recording, including 3GPP, MPEG-4, and JPEG
■ Video telephony based on the 324-M standard
■ PV test framework to ensure robustness and stability; profiling tools for memory and CPU usage
OpenCORE provides all this functionality in a well-laid-out set of services, which are diagrammed in figure 10.1.
NOTE The current Android SDK does not support video recording via the API. Video recording is still possible but is specific to the phone vendor.
As you can see from figure 10.1, OpenCORE's architecture has excellent support for multimedia and numerous codecs. In the next section we are going to dive right in and use the Android API to play audio files.
Was this article helpful?