GetResult

Function Usage

Obtains the result from the specified output plugin (appsink).

Prototype

MxstBufferAndMetadataOutput GetResult(const std::string& elementName, const std::vector<std::string>& dataSourceVec, const uint32_t& msTimeOut = DELAY_TIME);

Parameter Description

Parameter

Input/Output

Description

elementName

Input

Name of the output plugin appsink

dataSourceVec

Input

Data source corresponding to the metadata, which is used to obtain the specified metadata.

msTimeOut

Input

Timeout interval (ms). The default timeout is 3s.

Return Parameter Description

Data Structure

Description

MxstBufferAndMetadataOutput

Obtained buffer and metadata