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

  1. intFormatSource::fd

Description:

Local file descriptor

stream

  1. [BufferStream]($api-api-SmartVision-Devices-BufferStream.md)*FormatSource::stream

Description:

Pointer to the function for reading buffer stream data

type

  1. [SourceType]($api-api-SmartVision-Devices-Format.md#ga3ae727773c367ac1041d72ac770a0ab1) FormatSource::type

Description:

Data source type. For details, see SourceType.

url

  1. charFormatSource::url[[URL_LEN]($api-api-SmartVision-Devices-Format.md#ga1ac54dd3b9b49c1800b5f502a87650be)]

Description:

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