typedef struct OH_AVDataSourceExt {...} OH_AVDataSourceExt The struct describes a user-defined data source. User-defined data can be passed to its callback functions through the userData parameter.
Since: 20
Related module: CodecBase
Header file: native_avcodec_base.h
| Name | Description |
|---|---|
| int64_t size | Total size of the data source, in bytes. |
| OH_AVDataSourceReadAtExt readAt | Callback for reading data from the data source. |