Android Multimedia Framework Architecture - Simplified Notes
1. Java Layer (Application Level)
- MediaPlayer - Used to play audio/video.
- MediaRecorder - Used to record audio/video.
- These classes are part of the Android SDK and used directly by developers.
2. Media JNI (Java Native Interface)
- Acts as a bridge between Java code and native C/C++ libraries.
- Translates Java calls into native calls for performance.
3. Native C Libraries
- Handle low-level processing like:
* Media encoding/decoding
* Format handling
* Codec implementation
4. Media Server (System Service)
- Coordinates multimedia tasks.
- Ensures secure and efficient access to hardware resources.
- Interfaces with media components like PV modules.
5. PV Components (OpenCORE-Based)
- PV Player - Handles media playback.
- PV Author - Handles media recording (authoring).
- These are native components that work behind the scenes.
6. IMediaPlayer & IMediaRecorder
- Internal interfaces between Media Framework and Media Server.
- Allow asynchronous and inter-process communication.