From 9947173d895b5962d715b3fe911c857b6ffed1b9 Mon Sep 17 00:00:00 2001 From: AOL Date: Mon, 16 Aug 2021 02:30:34 +0000 Subject: [PATCH] fix multimedia readme issue according to review suggestion Signed-off-by: magekkkk --- en/readme/multimedia.md | 24 ++++++++++--------- ...23\345\255\220\347\263\273\347\273\237.md" | 20 +++++++++------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/en/readme/multimedia.md b/en/readme/multimedia.md index 8d899b7f5d4..24ab2a08833 100755 --- a/en/readme/multimedia.md +++ b/en/readme/multimedia.md @@ -18,12 +18,14 @@ This subsystem offers various media services covering audio, videos, and cameras - Photographing and recording \(with cameras\) -**Figure 1** Subsystem architecture +## Architecture + +**Figure 1** Common architecture of the multimedia subsystem ![](figures/en-us_image_0000001163462711.png) -**Figure 2** Architecture of the subsystem suitable for the small system +**Figure 2** Architecture of the multimedia subsystem suitable for the small system ![](figures/multimedia-subsystem-architecture.png) @@ -80,28 +82,28 @@ Hardware-based decoding and encoding functions of audio and video data are devic You can use the APIs in any of the provided classes based on your development requirements. -- For details about how to call media APIs to implement the video recording, preview, and playback, see _Multimedia Development Guide_. +- For details about how to call media APIs to implement the video recording, preview, and playback, see [_Multimedia Development Guide_](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-multimedia.md). - For a simple player, use **Player** and **Recorder** classes to quickly implement the playback and recording features. - The **CameraKit** class provides a group of effective methods for controlling a camera, which facilitates the camera development. - You can create a **CameraKit** object and register various callbacks to respond to many events in the multimedia module. Then, create a **Camera** object to operate camera resources, for example, to start preview, recording, and stream capturing, and set related parameters. ## Installation -- Load the kernel and related drivers before installing the repository. For details, see readme files of kernel and driver subsystems. +Load the kernel and related drivers before installing the repository. For details, see readme files of kernel and driver subsystems. ## Repositories Involved -multimedia\_camera\_lite +[multimedia\_camera\_lite](https://gitee.com/openharmony/multimedia_camera_lite) -multimedia\_audio\_lite +[multimedia\_audio\_lite](https://gitee.com/openharmony/multimedia_audio_lite) -multimedia\_media\_lite +[multimedia\_media\_lite](https://gitee.com/openharmony/multimedia_media_lite) -multimedia\_utils\_lite +[multimedia\_utils\_lite](https://gitee.com/openharmony/multimedia_utils_lite) -multimedia\_camera\_standard +[multimedia\_camera\_standard](https://gitee.com/openharmony/multimedia_camera_standard) -multimedia\_audio\_standard +[multimedia\_audio\_standard](https://gitee.com/openharmony/multimedia_audio_standard) -multimedia\_media\_standard +[multimedia\_media\_standard](https://gitee.com/openharmony/multimedia_media_standard) diff --git "a/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" index 0c10e871954..8de5b3b9ba3 100755 --- "a/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" @@ -18,6 +18,8 @@ - 相机拍照和录制。 +## 系统架构 + **图 1** OpenHarmony媒体子系统通用架构图 @@ -82,28 +84,28 @@ 如架构图示意,媒体提供了三大类功能接口,开发者可以根据使用诉求,综合使用一类或多类接口: -- 应用开发者使用媒体接口实现录像、预览和播放音视频,使用可以参考《多媒体开发指南》。 +- 应用开发者使用媒体接口实现录像、预览和播放音视频,使用可以参考[多媒体开发指南](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-multimedia.md)。 - 当使用简单播放录制功能时,可以使用Player和Recorder快速完成播放和录制功能。 - 提供了一组控制相机的有效接口,可以让用户方便开发使用相机。 - 开发者先创建camerakit组件对象,注册各种事件回调,这些事件回调是用来响应多媒体模块中事件响应的,之后调用创建camera就可以创建一个操作camera资源的对象,使用这个对象可以启动预览、录像或抓拍取流,及设置取流的相关参数。 ## 安装 -- 请提前加载内核及相关驱动,参考内核及驱动子系统readme。 +请提前加载内核及相关驱动,参考内核及驱动子系统readme。 ## 相关仓 -multimedia\_camera\_lite +[multimedia\_camera\_lite](https://gitee.com/openharmony/multimedia_camera_lite) -multimedia\_audio\_lite +[multimedia\_audio\_lite](https://gitee.com/openharmony/multimedia_audio_lite) -multimedia\_media\_lite +[multimedia\_media\_lite](https://gitee.com/openharmony/multimedia_media_lite) -multimedia\_utils\_lite +[multimedia\_utils\_lite](https://gitee.com/openharmony/multimedia_utils_lite) -multimedia\_camera\_standard +[multimedia\_camera\_standard](https://gitee.com/openharmony/multimedia_camera_standard) -multimedia\_audio\_standard +[multimedia\_audio\_standard](https://gitee.com/openharmony/multimedia_audio_standard) -multimedia\_media\_standard +[multimedia\_media\_standard](https://gitee.com/openharmony/multimedia_media_standard) -- Gitee