harmony 鸿蒙Multimedia Subsystem Changelog
Multimedia Subsystem Changelog
c1.multimedia.1 Internal Audio Recording APIs in ohos.multimedia.audio Are Deprecated
Access Level
Public
Reason for Change
The internal audio recording APIs of the audio framework are incorporated to the screen capture module of the playback framework.
Change Impact
This change is a non-compatible change. Applications developed on API version 10 or 11 can still use internal audio recording APIs. However, applications developed on API version 12 can no longer obtain valid data using these deprecated APIs. Instead, they must use the screen capture module of Media Kit.
Change Since
OpenHarmony SDK 5.0.0.23
Deprecated APIs
- Member variable playbackCaptureConfig?: AudioPlaybackCaptureConfig; in AudioCapturerOptions
- Member filterOptions: CaptureFilterOptions; in AudioPlaybackCaptureConfig and AudioPlaybackCaptureConfig
- Member usages: Array<StreamUsage> in CaptureFilterOptions and CaptureFilterOptions
Adaptation Guide
For details, see AVScreenCapture of Media Kit.
c1.multimedia.2 Internal Audio Recording APIs in native_audiostream_base.h Are Deprecated
Access Level
Public
Reason for Change
The internal audio recording APIs of the audio framework are incorporated to the screen capture module of the playback framework.
Change Impact
This change is a non-compatible change. Applications developed on API version 10 or 11 can still use internal audio recording APIs. However, applications developed on API version 12 can no longer obtain valid data using these deprecated APIs. Instead, they must use the screen capture module of Media Kit.
Change Since
OpenHarmony SDK 5.0.0.23
Deprecated APIs
Enumerated value AUDIOSTREAM_SOURCE_TYPE_PLAYBACK_CAPTURE of OH_AudioStream_SourceType.
Adaptation Guide
For details, see AVScreenCapture of Media Kit.
你可能感兴趣的鸿蒙文章
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦