harmony 鸿蒙native_avdemuxer.h
native_avdemuxer.h
Overview
The native_avdemuxer.h file declares the native APIs used for audio and video decapsulation.
Since
10
Related Modules
Summary
Functions
Name | Description |
---|---|
*OH_AVDemuxer_CreateWithSource (OH_AVSource *source) | Creates an OH_AVDemuxer instance based on an OH_AVSource instance. |
OH_AVDemuxer_Destroy (OH_AVDemuxer *demuxer) | Destroys an OH_AVDemuxer instance and clears internal resources. |
OH_AVDemuxer_SelectTrackByID (OH_AVDemuxer *demuxer, uint32_t trackIndex) | Selects a track, from which the demuxer reads data. |
OH_AVDemuxer_UnselectTrackByID (OH_AVDemuxer *demuxer, uint32_t trackIndex) | Deselects a track. The demuxer no longer reads data from a track after it is deselected. |
OH_AVDemuxer_ReadSample (OH_AVDemuxer *demuxer, uint32_t trackIndex, OH_AVMemory *sample, OH_AVCodecBufferAttr *info) | Obtains the compressed frame and related information at the current position from the selected track. |
OH_AVDemuxer_SeekToTime (OH_AVDemuxer *demuxer, int64_t millisecond, OH_AVSeekMode mode) | Seeks to the specified time for all the selected tracks based on a seek mode. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦