mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-24 07:09:59 +00:00
update multimedia/player_framework/avplayer.h.
Signed-off-by: baoxy92 <baoxianyue@hisilicon.com>
This commit is contained in:
parent
7abdc20a6a
commit
c1ef67e5fa
@ -48,6 +48,29 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief MediaKeySession field.
|
||||
* @since 12
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef struct MediaKeySession MediaKeySession;
|
||||
/**
|
||||
* @brief DRM_MediaKeySystemInfo field.
|
||||
* @since 12
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef struct DRM_MediaKeySystemInfo DRM_MediaKeySystemInfo;
|
||||
|
||||
/**
|
||||
* @brief Call back will be invoked when updating DRM information.
|
||||
* @param player Player instance.
|
||||
* @param mediaKeySystemInfo DRM information.
|
||||
* @return DRM_ERR_INVALID_VAL when the params checked failure, return DRM_ERR_OK when function called successfully.
|
||||
* @since 12
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef void (*Player_MediaKeySystemInfoCallback)(OH_AVPlayer *player, DRM_MediaKeySystemInfo* mediaKeySystemInfo);
|
||||
|
||||
/**
|
||||
* @brief Create a player
|
||||
* @syscap SystemCapability.Multimedia.Media.AVPlayer
|
||||
|
Loading…
Reference in New Issue
Block a user