• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Media<a name="EN-US_TOPIC_0000001147574647"></a>
2
3-   [Introduction](#section1158716411637)
4-   [Directory Structure](#section161941989596)
5-   [Repositories Involved](#section1533973044317)
6
7## Introduction<a name="section1158716411637"></a>
8
9The  **media\_standard**  repository provides a set of simple and easy-to-use APIs for you to access the system and media resources.
10
11It offers various media services covering audio, videos, and media storage. The following media capabilities are provided:
12
13-   Audio playback and recording
14-   Video playback and recording
15
16**Figure  1**  Position in the subsystem architecture<a name="fig99659301300"></a>
17
18
19![](figures/en-us_image_0000001105973932.png)
20
21## Directory Structure<a name="section161941989596"></a>
22
23The structure of the repository directory is as follows:
24```
25/foundation/multimedia/media_standard
26├── frameworks                           # Framework code
27│   ├── innerkitsimpl                    # Native framework implementation
28│   ├── kitsimpl                         # JS framework implementation
29│   ├── videodisplaymanager              # Video display implementation
30├── interfaces                           # External APIs
31│   ├── innerkits                        # Native external interface files
32│   └── kits                             # External JS API files
33├── services                             # Service implementation
34│   ├── include                          # External header files of services
35│   ├── services                         # Service framework
36│   │   ├── player                       # Player C/S framework
37│   │   ├── recorder                     # Recorder C/S framework
38│   │   ├── avcodec                      # Codec C/S framework
39│   │   ├── avcodeclist                  # Codec capability C/S framework
40│   │   ├── avmetadatahelper             # Metadata C/S framework
41│   │   ├── media_data_source            # Datasource C/S framework
42│   │   ├── sa_media                     # Media master process C/S framework
43│   │   ├── factory                      # Engine factory
44│   │   ├── engine_intf                  # Engine factory API
45│   ├── engine                           # Engine implementation
46│   │   ├── gstreamer                    # Gstreamer engine
47│   │   │   ├── player                   # Player engine
48│   │   │   ├── recorder                 # Recorder engine
49│   │   │   ├── avcodec                  # Codec engine
50│   │   │   ├── avcodeclist              # Codec capability engine
51│   │   │   ├── avmetadatahelper         # Metadata engine
52│   │   │   ├── plugins                  # Engine self-developed plugins
53│   │   │   ├── common                   # Engine General Resources
54│   │   │   ├── factory                  # Engine factory implementation
55│   │   │   ├── loader                   # Engine resources loading
56│   ├── utils                            # Basic resources of the subsystem
57├── LICENSE                              # License file
58└── ohos.build                           # Build file
59```
60
61## Repositories Involved<a name="section1533973044317"></a>
62
63Media repository: multimedia\media_standard