• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Multimedia Subsystem Changelog
2
3## cl.multimedia.1 	The default behavior of OH_AVCodecOnStreamChanged in the audio decoding scenario is changed.
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11If parameters such as the sampling rate change during audio decoding, a callback needs to be invoked to notify the caller.
12
13**Impact of the Change**
14
15This change does not require application adaptation.
16
17Before 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.
18
19After 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.
20
21**Start API Level**
22
239
24
25**Change Since**
26
27OpenHarmony SDK 5.1.0.50
28
29**Key API/Component Changes**
30
31**OH_AVCodecOnStreamChanged** in **native_avcodec_base.h**, which is registered by **OH_AudioCodec_RegisterCallback** in **native_avcodec_audiocodec.h**
32
33**Adaptation Guide**
34
35No adaptation is required.
36