Module Description
The multimedia subsystem provides a set of simple and easy-to-use APIs for you to access the system and use media resources.
NOTE
The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
This subsystem offers the following audio and video services:
-
Audio and video playback (AVPlayer9+)
-
Audio and video recording (AVRecorder9+)
-
Video transcoding (AVTranscoder12+)
-
Obtaining audio and video metadata (AVMetadataExtractor11+)
-
Obtaining video thumbnails AVImageGenerator12+
-
Screen capture (AVScreenCaptureRecorder12+)
Modules to Import
import { media } from '@kit.MediaKit';
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range
openharmony 鸿蒙 errorcode-media
openharmony 鸿蒙 capi-avplayer-base-h
openharmony 鸿蒙 capi-avimage-generator-h
openharmony 鸿蒙 capi-avscreencapture-oh-rect
openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback
openharmony 鸿蒙 capi-avsinkbase
openharmony 鸿蒙 capi-avmetadataextractor
openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability