openharmony 鸿蒙 changelogs-multimedia

2026-08-25 浏览 (1)

Multimedia Subsystem Changelog

cl.multimedia.1 The default behavior of OH_AVCodecOnStreamChanged in the audio decoding scenario is changed.

Access Level

Public API

Reason for Change

If parameters such as the sampling rate change during audio decoding, a callback needs to be invoked to notify the caller.

Impact of the Change

This change does not require application adaptation.

Before change: If an application has registered the OH_AVCodecOnStreamChanged callback by calling OH_AudioCodec_RegisterCallback, this callback is triggered when the sampling rate or number of audio channels changes during audio decoding.

After change: If an application has registered the OH_AVCodecOnStreamChanged callback by calling OH_AudioCodec_RegisterCallback, this callback is triggered when the sampling rate or number of audio channels changes during audio decoding.

Start API Level

9

Change Since

OpenHarmony SDK 5.1.0.50

Key API/Component Changes

OH_AVCodecOnStreamChanged in native_avcodec_base.h, which is registered by OH_AudioCodec_RegisterCallback in native_avcodec_audiocodec.h

Adaptation Guide

No adaptation is required.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 changelogs-arkcomplier

openharmony 鸿蒙 changelogs-bundlemanager

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/6m6EFccx