harmony 鸿蒙native_avsource.h
native_avsource.h
Overview
The native_avsource.h file declares the native APIs used to construct audio and video resource objects.
Since
10
Related Modules
Summary
Functions
Name | Description |
---|---|
*OH_AVSource_CreateWithURI (char *uri) | Creates an OH_AVSource instance based on a URI. |
*OH_AVSource_CreateWithFD (int32_t fd, int64_t offset, int64_t size) | Creates an OH_AVSource instance based on a file descriptor (FD). |
OH_AVSource_Destroy (OH_AVSource *source) | Destroys an OH_AVSource instance and clears internal resources. An instance can be destroyed only once. |
*OH_AVSource_GetSourceFormat (OH_AVSource *source) | Obtains the basic information about a media resource. |
*OH_AVSource_GetTrackFormat (OH_AVSource *source, uint32_t trackIndex) | Obtains the basic information about a track. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦