1 Star 0 Fork 4.9K

平凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
FormatSource.md 4.93 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

FormatSource

Overview

Related Modules:

Format

Description:

Defines the demuxer data source.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

type

SourceType 

union {

  

   int   fd

  

   char   url [URL_LEN]

  

   BufferStream *   stream

}; 

Defines information about different types of data sources.

Details

Field Documentation

fd

int FormatSource::fd

Description:

Local file descriptor

stream

[BufferStream](BufferStream.md)* FormatSource::stream

Description:

Pointer to the function for reading buffer stream data

type

[SourceType](Format.md#ga3ae727773c367ac1041d72ac770a0ab1) FormatSource::type

Description:

Data source type. For details, see SourceType.

url

char FormatSource::url[[URL_LEN](Format.md#ga1ac54dd3b9b49c1800b5f502a87650be)]

Description:

Network URI or local file path. The maximum length is specified by URL_LEN.

1
https://gitee.com/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助