The media_standard repository provides a set of simple and easy-to-use APIs for you to access the system and media resources.
It offers various media services covering audio, videos, and media storage. The following media capabilities are provided:
- Audio playback and recording
- Video playback and recording
Figure 1 Position in the subsystem architecture
The structure of the repository directory is as follows:
/foundation/multimedia/player_framework
├── interfaces # interface
│ ├── kits # Application interface
│ └── inner_api # APIs between systems
├── frameworks # client process implementation
│ ├── js # js napi implementation
│ ├── native # native c++ implementation
├── services # Service implementation
│ ├── include # External header files of services
│ ├── services # Service framework
│ │ ├── player # Player C/S framework
│ │ ├── recorder # Recorder C/S framework
│ │ ├── avcodec # Codec C/S framework
│ │ ├── avcodeclist # Codec capability C/S framework
│ │ ├── avmetadatahelper # Metadata C/S framework
│ │ ├── media_data_source # Datasource C/S framework
│ │ ├── sa_media # Media master process C/S framework
│ │ ├── factory # Engine factory
│ │ ├── engine_intf # Engine factory API
│ ├── engine #
│ │ ├── histreamer # Engine implementation
│ │ │ ├── avmetadatahelper # Metadata & frame engine
│ │ │ ├── player # Player engine
│ │ │ ├── recorder # Recorder engine
│ │ │ ├── factory # Engine factory implementation
│ ├── utils # Basic resources of the subsystem
├── test # test code
├── BUILD.gn # compile entry
└── bundle.json # component description file